Class FeatureTypeProxy
- Object
-
- AttributeTypeProxy
-
- ComplexTypeProxy
-
- FeatureTypeProxy
-
- All Implemented Interfaces:
AttributeType
,ComplexType
,FeatureType
,PropertyType
public class FeatureTypeProxy extends ComplexTypeProxy implements FeatureType
- Since:
- 2.4.x
- Author:
- Gabriel Roldan
-
-
Constructor Summary
Constructors Constructor Description FeatureTypeProxy(Name typeName, Map registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinateReferenceSystem
getCoordinateReferenceSystem()
The coordinate reference system of the feature.GeometryDescriptor
getGeometryDescriptor()
Describe the default geometric attribute for this feature.-
Methods inherited from class ComplexTypeProxy
getBinding, getDescriptor, getDescriptor, getDescriptors, isInline
-
Methods inherited from class AttributeTypeProxy
equals, getDescription, getName, getOperations, getRestrictions, getSubject, getSuper, getUserData, hashCode, isAbstract, isIdentified
-
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface AttributeType
getSuper
-
Methods inherited from interface ComplexType
getBinding, getDescriptor, getDescriptor, getDescriptors, isInline
-
Methods inherited from interface FeatureType
isIdentified
-
Methods inherited from interface PropertyType
equals, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstract
-
-
-
-
Constructor Detail
-
FeatureTypeProxy
public FeatureTypeProxy(Name typeName, Map registry)
-
-
Method Detail
-
getCoordinateReferenceSystem
public CoordinateReferenceSystem getCoordinateReferenceSystem()
Description copied from interface:FeatureType
The coordinate reference system of the feature.This value is derived from the default geometry attribute:
((GeometryType)getDefaultGeometry().getType()).getCRS();
This method will return
null
in the case where no default geometric attribute is defined.- Specified by:
getCoordinateReferenceSystem
in interfaceFeatureType
- Returns:
- The coordinate referencing system, or
null
.
-
getGeometryDescriptor
public GeometryDescriptor getGeometryDescriptor()
Description copied from interface:FeatureType
Describe the default geometric attribute for this feature.This method returns
null
in the case where no such attribute exists.- Specified by:
getGeometryDescriptor
in interfaceFeatureType
- Returns:
- The descriptor of the default geometry attribute, or
null
.
-
-