Package org.geotools.feature.type
Class GeometryTypeImpl
Object
PropertyTypeImpl
AttributeTypeImpl
GeometryTypeImpl
- All Implemented Interfaces:
- AttributeType,- GeometryType,- PropertyType
AttributeType for hold geometry implementations, maintains CRS information.
- 
Field SummaryFieldsFields inherited from class AttributeTypeImplidentifiedFields inherited from class PropertyTypeImplbinding, description, isAbstract, name, restrictions, superType, userData
- 
Constructor SummaryConstructorsConstructorDescriptionGeometryTypeImpl(Name name, Class binding, CoordinateReferenceSystem crs, boolean identified, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanOverride of equals.The coordinate reference system in which geometries are defined.inthashCode()Override of hashcode.Methods inherited from class AttributeTypeImplcreateDefaultValue, getSuper, isIdentified, parse, toStringMethods inherited from class PropertyTypeImplgetBinding, getDescription, getName, getRestrictions, getUserData, isAbstractMethods inherited from interface AttributeTypegetSuper, isIdentifiedMethods inherited from interface PropertyTypegetBinding, getDescription, getName, getRestrictions, getUserData, isAbstract
- 
Field Details- 
CRS
 
- 
- 
Constructor Details- 
GeometryTypeImplpublic GeometryTypeImpl(Name name, Class binding, CoordinateReferenceSystem crs, boolean identified, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description) 
 
- 
- 
Method Details- 
getCoordinateReferenceSystemDescription copied from interface:GeometryTypeThe coordinate reference system in which geometries are defined.This method may return null, but this should only occur in cases where the actual crs is not known. A common case is when a shapefile does not have an accompanied .prj file.- Specified by:
- getCoordinateReferenceSystemin interface- GeometryType
 
- 
hashCodepublic int hashCode()Description copied from class:AttributeTypeImplOverride of hashcode.- Specified by:
- hashCodein interface- PropertyType
- Overrides:
- hashCodein class- AttributeTypeImpl
- Returns:
- getName().hashCode()
 
- 
equalsDescription copied from class:AttributeTypeImplOverride of equals.- Specified by:
- equalsin interface- PropertyType
- Overrides:
- equalsin class- AttributeTypeImpl
- Parameters:
- other- the object to be tested for equality.
- Returns:
- whether other is equal to this attribute Type.
 
 
-