org.geotools.feature.type
Class ComplexTypeImpl

Object
  extended by PropertyTypeImpl
      extended by AttributeTypeImpl
          extended by ComplexTypeImpl
All Implemented Interfaces:
AttributeType, ComplexType, PropertyType
Direct Known Subclasses:
FeatureTypeImpl

public class ComplexTypeImpl
extends AttributeTypeImpl
implements ComplexType

Base class for complex types.

Author:
gabriel, Ben Caradoc-Davies, CSIRO Exploration and Mining
Module:
modules/library/main (gt-main.jar)

Field Summary
 
Fields inherited from class AttributeTypeImpl
identified
 
Fields inherited from class PropertyTypeImpl
binding, description, isAbstract, name, restrictions, superType, userData
 
Constructor Summary
ComplexTypeImpl(Name name, Collection<PropertyDescriptor> properties, boolean identified, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description)
           
 
Method Summary
 boolean equals(Object o)
          Override of equals.
 Class<Collection<Property>> getBinding()
           
 PropertyDescriptor getDescriptor(Name name)
           
 PropertyDescriptor getDescriptor(String name)
           
 Collection<PropertyDescriptor> getDescriptors()
           
 int hashCode()
          Override of hashcode.
 boolean isInline()
           
 String toString()
           
 
Methods inherited from class AttributeTypeImpl
createDefaultValue, getSuper, isIdentified, parse
 
Methods inherited from class PropertyTypeImpl
getDescription, getName, getRestrictions, getUserData, isAbstract
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface AttributeType
getSuper, isIdentified
 
Methods inherited from interface PropertyType
getDescription, getName, getRestrictions, getUserData, isAbstract
 

Constructor Detail

ComplexTypeImpl

public ComplexTypeImpl(Name name,
                       Collection<PropertyDescriptor> properties,
                       boolean identified,
                       boolean isAbstract,
                       List<Filter> restrictions,
                       AttributeType superType,
                       InternationalString description)
Method Detail

getBinding

public Class<Collection<Property>> getBinding()
Specified by:
getBinding in interface ComplexType
Specified by:
getBinding in interface PropertyType
Overrides:
getBinding in class PropertyTypeImpl

getDescriptors

public Collection<PropertyDescriptor> getDescriptors()
Specified by:
getDescriptors in interface ComplexType

getDescriptor

public PropertyDescriptor getDescriptor(Name name)
Specified by:
getDescriptor in interface ComplexType

getDescriptor

public PropertyDescriptor getDescriptor(String name)
Specified by:
getDescriptor in interface ComplexType

isInline

public boolean isInline()
Specified by:
isInline in interface ComplexType

equals

public boolean equals(Object o)
Description copied from class: AttributeTypeImpl
Override of equals.

Specified by:
equals in interface PropertyType
Overrides:
equals in class AttributeTypeImpl
Parameters:
o - the object to be tested for equality.
Returns:
whether other is equal to this attribute Type.

hashCode

public int hashCode()
Description copied from class: AttributeTypeImpl
Override of hashcode.

Specified by:
hashCode in interface PropertyType
Overrides:
hashCode in class AttributeTypeImpl

toString

public String toString()
Overrides:
toString in class AttributeTypeImpl


Copyright © 1996-2010 Geotools. All Rights Reserved.