Package org.geotools.feature.type
Class GeometryDescriptorImpl
Object
PropertyDescriptorImpl
AttributeDescriptorImpl
GeometryDescriptorImpl
- All Implemented Interfaces:
AttributeDescriptor
,GeometryDescriptor
,PropertyDescriptor
-
Field Summary
Fields inherited from class AttributeDescriptorImpl
defaultValue
Fields 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, toString
Methods inherited from class PropertyDescriptorImpl
getMaxOccurs, getMinOccurs, getName, getUserData, isNillable
Methods inherited from interface AttributeDescriptor
getDefaultValue
Methods 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:PropertyDescriptor
The 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:
getType
in interfaceAttributeDescriptor
- Specified by:
getType
in interfaceGeometryDescriptor
- Specified by:
getType
in interfacePropertyDescriptor
- Overrides:
getType
in classAttributeDescriptorImpl
- See Also:
-
getCoordinateReferenceSystem
Description copied from interface:GeometryDescriptor
The 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:
getCoordinateReferenceSystem
in interfaceGeometryDescriptor
-
getLocalName
Description copied from interface:AttributeDescriptor
The local name for this AttributeDescriptor. Specifically this returnsgetName().getLocalPart
().- Specified by:
getLocalName
in interfaceAttributeDescriptor
- Overrides:
getLocalName
in classAttributeDescriptorImpl
- Returns:
- The local name for this attribute descriptor.
-