Package org.geotools.feature.type
Class FeatureTypeImpl
- Object
- 
- PropertyTypeImpl
- 
- AttributeTypeImpl
- 
- ComplexTypeImpl
- 
- FeatureTypeImpl
 
 
 
 
- 
- All Implemented Interfaces:
- AttributeType,- ComplexType,- FeatureType,- PropertyType
 - Direct Known Subclasses:
- SimpleFeatureTypeImpl,- UniqueNameFeatureTypeImpl
 
 public class FeatureTypeImpl extends ComplexTypeImpl implements FeatureType Base implementation of FeatureType.- Author:
- gabriel
 
- 
- 
Field Summary- 
Fields inherited from class AttributeTypeImplidentified
 - 
Fields inherited from class PropertyTypeImplbinding, description, isAbstract, name, restrictions, superType, userData
 
- 
 - 
Constructor SummaryConstructors Constructor Description FeatureTypeImpl(Name name, Collection<PropertyDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Override of equals.CoordinateReferenceSystemgetCoordinateReferenceSystem()The coordinate reference system of the feature.GeometryDescriptorgetGeometryDescriptor()Describe the default geometric attribute for this feature.inthashCode()Override of hashcode.- 
Methods inherited from class ComplexTypeImplgetBinding, getDescriptor, getDescriptor, getDescriptors, isInline, toString
 - 
Methods inherited from class AttributeTypeImplcreateDefaultValue, getSuper, isIdentified, parse
 - 
Methods inherited from class PropertyTypeImplgetDescription, getName, getRestrictions, getUserData, isAbstract
 - 
Methods inherited from interface AttributeTypegetSuper
 - 
Methods inherited from interface ComplexTypegetBinding, getDescriptor, getDescriptor, getDescriptors, isInline
 - 
Methods inherited from interface FeatureTypeisIdentified
 - 
Methods inherited from interface PropertyTypegetDescription, getName, getRestrictions, getUserData, isAbstract
 
- 
 
- 
- 
- 
Constructor Detail- 
FeatureTypeImplpublic FeatureTypeImpl(Name name, Collection<PropertyDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description) 
 
- 
 - 
Method Detail- 
getCoordinateReferenceSystempublic CoordinateReferenceSystem getCoordinateReferenceSystem() Description copied from interface:FeatureTypeThe coordinate reference system of the feature.This value is derived from the default geometry attribute: ((GeometryType)getDefaultGeometry().getType()).getCRS(); This method will return nullin the case where no default geometric attribute is defined.- Specified by:
- getCoordinateReferenceSystemin interface- FeatureType
- Returns:
- The coordinate referencing system, or null.
 
 - 
getGeometryDescriptorpublic GeometryDescriptor getGeometryDescriptor() Description copied from interface:FeatureTypeDescribe the default geometric attribute for this feature.This method returns nullin the case where no such attribute exists.- Specified by:
- getGeometryDescriptorin interface- FeatureType
- Returns:
- The descriptor of the default geometry attribute, or null.
 
 - 
equalspublic boolean equals(Object o) Description copied from class:AttributeTypeImplOverride of equals.- Specified by:
- equalsin interface- PropertyType
- Overrides:
- equalsin class- ComplexTypeImpl
- Parameters:
- o- the object to be tested for equality.
- Returns:
- whether other is equal to this attribute Type.
 
 - 
hashCodepublic int hashCode() Description copied from class:AttributeTypeImplOverride of hashcode.- Specified by:
- hashCodein interface- PropertyType
- Overrides:
- hashCodein class- AttributeTypeImpl
- Returns:
- getName().hashCode()
 
 
- 
 
-