Class ComplexFeatureTypeImpl
- Object
-
- PropertyTypeImpl
-
- AttributeTypeImpl
-
- ComplexTypeImpl
-
- FeatureTypeImpl
-
- UniqueNameFeatureTypeImpl
-
- ComplexFeatureTypeImpl
-
- All Implemented Interfaces:
AttributeType
,ComplexType
,FeatureType
,PropertyType
public class ComplexFeatureTypeImpl extends UniqueNameFeatureTypeImpl
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
identified
-
Fields inherited from class PropertyTypeImpl
binding, description, isAbstract, name, restrictions, superType, userData
-
-
Constructor Summary
Constructors Constructor Description 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.ComplexFeatureTypeImpl(ComplexFeatureTypeImpl type, Collection<PropertyDescriptor> schema)
Create a clone of an existing ComplexFeatureTypeImpl with new schema.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<PropertyDescriptor>
getTypeDescriptors()
Return 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, hashCode
-
Methods inherited from class FeatureTypeImpl
getCoordinateReferenceSystem, getGeometryDescriptor
-
Methods inherited from class ComplexTypeImpl
getBinding, getDescriptor, getDescriptor, getDescriptors, isInline, toString
-
Methods inherited from class AttributeTypeImpl
createDefaultValue, getSuper, isIdentified, parse
-
Methods inherited from class PropertyTypeImpl
getDescription, getName, getRestrictions, getUserData, isAbstract
-
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
getDescription, getName, getRestrictions, getUserData, isAbstract
-
-
-
-
Constructor Detail
-
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
public ComplexFeatureTypeImpl(ComplexFeatureTypeImpl type, Collection<PropertyDescriptor> schema)
Create a clone of an existing ComplexFeatureTypeImpl with new schema.- Parameters:
type
- Type to copyschema
- Set of descriptors
-
-
Method Detail
-
getTypeDescriptors
public Collection<PropertyDescriptor> 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
-
-