org.geotools.feature.type
Class ComplexFeatureTypeImpl
java.lang.Object
org.geotools.feature.type.PropertyTypeImpl
org.geotools.feature.type.AttributeTypeImpl
org.geotools.feature.type.ComplexTypeImpl
org.geotools.feature.type.FeatureTypeImpl
org.geotools.feature.type.ComplexFeatureTypeImpl
- All Implemented Interfaces:
- org.opengis.feature.type.AttributeType, org.opengis.feature.type.ComplexType, org.opengis.feature.type.FeatureType, org.opengis.feature.type.PropertyType
public class ComplexFeatureTypeImpl
- extends FeatureTypeImpl
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, Curtin University of Technology
Constructor Summary |
ComplexFeatureTypeImpl(ComplexFeatureTypeImpl type,
java.util.Collection<org.opengis.feature.type.PropertyDescriptor> schema)
Create a clone of an existing ComplexFeatureTypeImpl with new schema. |
ComplexFeatureTypeImpl(org.opengis.feature.type.Name name,
java.util.Collection<org.opengis.feature.type.PropertyDescriptor> schema,
org.opengis.feature.type.GeometryDescriptor defaultGeometry,
boolean isAbstract,
java.util.List<org.opengis.filter.Filter> restrictions,
org.opengis.feature.type.AttributeType superType,
org.opengis.util.InternationalString description)
Constructor for complex feature type with fake feature type descriptor provided. |
Method Summary |
java.util.Collection<org.opengis.feature.type.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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.feature.type.FeatureType |
isIdentified |
Methods inherited from interface org.opengis.feature.type.ComplexType |
getBinding, getDescriptor, getDescriptor, getDescriptors, isInline |
Methods inherited from interface org.opengis.feature.type.AttributeType |
getSuper |
Methods inherited from interface org.opengis.feature.type.PropertyType |
getDescription, getName, getRestrictions, getUserData, isAbstract |
ComplexFeatureTypeImpl
public ComplexFeatureTypeImpl(org.opengis.feature.type.Name name,
java.util.Collection<org.opengis.feature.type.PropertyDescriptor> schema,
org.opengis.feature.type.GeometryDescriptor defaultGeometry,
boolean isAbstract,
java.util.List<org.opengis.filter.Filter> restrictions,
org.opengis.feature.type.AttributeType superType,
org.opengis.util.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,
java.util.Collection<org.opengis.feature.type.PropertyDescriptor> schema)
- Create a clone of an existing ComplexFeatureTypeImpl with new schema.
- Parameters:
type
- Type to copyschema
- Set of descriptors
getTypeDescriptors
public java.util.Collection<org.opengis.feature.type.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-2010 Geotools. All Rights Reserved.