org.geotools.feature.type
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)
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 descriptionfeatureLink
- System attribute used to link between features
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
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
Copyright © 1996-2014 Geotools. All Rights Reserved.