Package org.geotools.data.complex.config
Class NonFeatureTypeProxy
Object
AttributeTypeProxy
ComplexTypeProxy
NonFeatureTypeProxy
- All Implemented Interfaces:
AttributeType,ComplexType,FeatureType,PropertyType
This class represents the fake feature type needed for feature chaining for properties that are not features. When a
non feature is mapped separately in app schema data access, it is regarded as a feature since it would have a feature
source.
- Author:
- Rini Angreani (CSIRO Earth Science and Resource Engineering)
-
Constructor Summary
ConstructorsConstructorDescriptionNonFeatureTypeProxy(AttributeType type, FeatureTypeMapping mapping) Sole constructorNonFeatureTypeProxy(AttributeType type, FeatureTypeMapping mapping, Collection<PropertyDescriptor> schema) -
Method Summary
Modifier and TypeMethodDescriptionThe coordinate reference system of the feature.getDescriptor(Name name) Describe a single property by name.The property descriptor which compose the complex type.Describe the default geometric attribute for this feature.Return only the schema descriptorsMethods inherited from class ComplexTypeProxy
getBinding, getDescriptor, isInlineMethods inherited from class AttributeTypeProxy
equals, getDescription, getName, getOperations, getRestrictions, getSuper, getUserData, hashCode, isAbstract, isIdentifiedMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AttributeType
getSuperMethods inherited from interface ComplexType
getBinding, getDescriptor, isInlineMethods inherited from interface FeatureType
isIdentifiedMethods inherited from interface PropertyType
equals, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstract
-
Constructor Details
-
NonFeatureTypeProxy
Sole constructor- Parameters:
type- The underlying non feature type
-
NonFeatureTypeProxy
public NonFeatureTypeProxy(AttributeType type, FeatureTypeMapping mapping, Collection<PropertyDescriptor> schema)
-
-
Method Details
-
getSubject
- Overrides:
getSubjectin classAttributeTypeProxy- See Also:
-
getDescriptor
Description copied from interface:ComplexTypeDescribe a single property by name.This method returns
nullif no such property is found.- Specified by:
getDescriptorin interfaceComplexType- Overrides:
getDescriptorin classComplexTypeProxy- Parameters:
name- The name of the property to get.- Returns:
- The property matching the specified name, or
null.
-
getDescriptors
Description copied from interface:ComplexTypeThe property descriptor which compose the complex type.A complex type can be composed of attributes and associations which means this collection returns instances of
AttributeDescriptorandAssociationDescriptor.- Specified by:
getDescriptorsin interfaceComplexType- Overrides:
getDescriptorsin classComplexTypeProxy- Returns:
- Collection of descriptors representing the composition of the complex type.
-
getTypeDescriptors
Return only the schema descriptors -
getCoordinateReferenceSystem
Description copied from interface:FeatureTypeThe coordinate reference system of the feature.This value is derived from the default geometry attribute:
((GeometryType)getDefaultGeometry().getType()).getCRS();
This method will return
nullin the case where no default geometric attribute is defined.- Specified by:
getCoordinateReferenceSystemin interfaceFeatureType- Returns:
- The coordinate referencing system, or
null.
-
getGeometryDescriptor
Description copied from interface:FeatureTypeDescribe the default geometric attribute for this feature.This method returns
nullin the case where no such attribute exists.- Specified by:
getGeometryDescriptorin interfaceFeatureType- Returns:
- The descriptor of the default geometry attribute, or
null.
-