Package org.geotools.feature.type
Class GeometryDescriptorImpl
Object
PropertyDescriptorImpl
AttributeDescriptorImpl
GeometryDescriptorImpl
- All Implemented Interfaces:
AttributeDescriptor,GeometryDescriptor,PropertyDescriptor
-
Field Summary
Fields inherited from class AttributeDescriptorImpl
defaultValueFields inherited from class PropertyDescriptorImpl
isNillable, maxOccurs, minOccurs, name, type -
Constructor Summary
ConstructorsConstructorDescriptionGeometryDescriptorImpl(GeometryType type, Name name, int min, int max, boolean isNillable, Object defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionThe coordinate reference system in which these geometries are defined.The local name for this AttributeDescriptor.getType()The type of the property defined by the descriptor.Methods inherited from class AttributeDescriptorImpl
equals, getDefaultValue, hashCode, toStringMethods inherited from class PropertyDescriptorImpl
getMaxOccurs, getMinOccurs, getName, getUserData, isNillableMethods inherited from interface AttributeDescriptor
getDefaultValueMethods inherited from interface PropertyDescriptor
getMaxOccurs, getMinOccurs, getName, getUserData, isNillable
-
Constructor Details
-
GeometryDescriptorImpl
public GeometryDescriptorImpl(GeometryType type, Name name, int min, int max, boolean isNillable, Object defaultValue)
-
-
Method Details
-
getType
Description copied from interface:PropertyDescriptorThe type of the property defined by the descriptor.This value should never be
null. The type contains information about the value of the property such as its java class.- Specified by:
getTypein interfaceAttributeDescriptor- Specified by:
getTypein interfaceGeometryDescriptor- Specified by:
getTypein interfacePropertyDescriptor- Overrides:
getTypein classAttributeDescriptorImpl- See Also:
-
getCoordinateReferenceSystem
Description copied from interface:GeometryDescriptorThe coordinate reference system in which these 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 interfaceGeometryDescriptor
-
getLocalName
Description copied from interface:AttributeDescriptorThe local name for this AttributeDescriptor. Specifically this returnsgetName().getLocalPart().- Specified by:
getLocalNamein interfaceAttributeDescriptor- Overrides:
getLocalNamein classAttributeDescriptorImpl- Returns:
- The local name for this attribute descriptor.
-