org.geotools.feature.type
Class GeometryDescriptorImpl
Object
PropertyDescriptorImpl
AttributeDescriptorImpl
GeometryDescriptorImpl
- All Implemented Interfaces:
- AttributeDescriptor, GeometryDescriptor, PropertyDescriptor
public class GeometryDescriptorImpl
- extends AttributeDescriptorImpl
- implements GeometryDescriptor
GeometryDescriptorImpl
public GeometryDescriptorImpl(GeometryType type,
Name name,
int min,
int max,
boolean isNillable,
Object defaultValue)
getType
public GeometryType 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 interface AttributeDescriptor
- Specified by:
getType
in interface GeometryDescriptor
- Specified by:
getType
in interface PropertyDescriptor
- Overrides:
getType
in class AttributeDescriptorImpl
- See Also:
PropertyDescriptor.getType()
getCoordinateReferenceSystem
public CoordinateReferenceSystem 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 interface GeometryDescriptor
getLocalName
public String getLocalName()
- Description copied from interface:
AttributeDescriptor
- The local name for this AttributeDescriptor.
Specifically this returns
getName().getLocalPart
().
- Specified by:
getLocalName
in interface AttributeDescriptor
- Overrides:
getLocalName
in class AttributeDescriptorImpl
- Returns:
- The local name for this attribute descriptor.
Copyright © 1996-2014 Geotools. All Rights Reserved.