Class ComplexFeatureTypeImpl
Object
PropertyTypeImpl
AttributeTypeImpl
ComplexTypeImpl
FeatureTypeImpl
UniqueNameFeatureTypeImpl
ComplexFeatureTypeImpl
- All Implemented Interfaces:
AttributeType,ComplexType,FeatureType,PropertyType
This is a specialization of complex feature type that can be nested inside another feature type. A system attribute
descriptor called "FEATURE_LINK" is added in the descriptors so it can be used to link the type to its parent type,
without being encoded, since it doesn't exist in the real schema.
- Author:
- Rini Angreani (CSIRO Earth Science and Resource Engineering)
-
Field Summary
Fields inherited from class AttributeTypeImpl
identifiedFields inherited from class PropertyTypeImpl
binding, description, isAbstract, name, restrictions, superType, userData -
Constructor Summary
ConstructorsConstructorDescriptionComplexFeatureTypeImpl(Name name, Collection<PropertyDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description) Constructor for complex feature type with fake feature type descriptor provided.ComplexFeatureTypeImpl(ComplexFeatureTypeImpl type, Collection<PropertyDescriptor> schema) Create a clone of an existing ComplexFeatureTypeImpl with new schema. -
Method Summary
Modifier and TypeMethodDescriptionReturn all the descriptors that come from the schema, excluding the system descriptors, such as 'FEATURE_LINK', used for linking features.Methods inherited from class UniqueNameFeatureTypeImpl
equals, hashCodeMethods inherited from class FeatureTypeImpl
getCoordinateReferenceSystem, getGeometryDescriptorMethods inherited from class ComplexTypeImpl
getBinding, getDescriptor, getDescriptor, getDescriptors, isInline, toStringMethods inherited from class AttributeTypeImpl
createDefaultValue, getSuper, isIdentified, parseMethods inherited from class PropertyTypeImpl
getDescription, getName, getRestrictions, getUserData, isAbstractMethods inherited from interface AttributeType
getSuperMethods inherited from interface ComplexType
getBinding, getDescriptor, getDescriptor, getDescriptors, isInlineMethods inherited from interface FeatureType
isIdentifiedMethods inherited from interface PropertyType
getDescription, getName, getRestrictions, getUserData, isAbstract
-
Constructor Details
-
ComplexFeatureTypeImpl
public ComplexFeatureTypeImpl(Name name, Collection<PropertyDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description) Constructor for complex feature type with fake feature type descriptor provided.- Parameters:
name- Name of feature typeschema- Schema property descriptorsdefaultGeometry- Default geometryisAbstract- True if this type is abstractrestrictions- List of restrictionssuperType- Super typedescription- Feature description
-
ComplexFeatureTypeImpl
Create a clone of an existing ComplexFeatureTypeImpl with new schema.- Parameters:
type- Type to copyschema- Set of descriptors
-
-
Method Details
-
getTypeDescriptors
Return all the descriptors that come from the schema, excluding the system descriptors, such as 'FEATURE_LINK', used for linking features.- Returns:
- schema descriptors
-