org.geotools.feature.simple
Class SimpleFeatureTypeImpl
Object
PropertyTypeImpl
AttributeTypeImpl
ComplexTypeImpl
FeatureTypeImpl
SimpleFeatureTypeImpl
- All Implemented Interfaces:
- SimpleFeatureType, AttributeType, ComplexType, FeatureType, PropertyType
- Direct Known Subclasses:
- DefaultFeatureType
public class SimpleFeatureTypeImpl
- extends FeatureTypeImpl
- implements SimpleFeatureType
Implementation fo SimpleFeatureType, subtypes must be atomic and are stored
in a list.
- Author:
- Justin, Ben Caradoc-Davies, CSIRO Exploration and Mining
- Module:
modules/library/main (gt-main.jar)
SimpleFeatureTypeImpl
public SimpleFeatureTypeImpl(Name name,
List<AttributeDescriptor> schema,
GeometryDescriptor defaultGeometry,
boolean isAbstract,
List<Filter> restrictions,
AttributeType superType,
InternationalString description)
getAttributeDescriptors
public final List<AttributeDescriptor> getAttributeDescriptors()
- Specified by:
getAttributeDescriptors
in interface SimpleFeatureType
- See Also:
SimpleFeatureType.getAttributeDescriptors()
getTypes
public List<AttributeType> getTypes()
- Specified by:
getTypes
in interface SimpleFeatureType
getType
public AttributeType getType(Name name)
- Specified by:
getType
in interface SimpleFeatureType
getType
public AttributeType getType(String name)
- Specified by:
getType
in interface SimpleFeatureType
getType
public AttributeType getType(int index)
- Specified by:
getType
in interface SimpleFeatureType
getDescriptor
public AttributeDescriptor getDescriptor(Name name)
- Specified by:
getDescriptor
in interface SimpleFeatureType
- Specified by:
getDescriptor
in interface ComplexType
- Overrides:
getDescriptor
in class ComplexTypeImpl
getDescriptor
public AttributeDescriptor getDescriptor(String name)
- Specified by:
getDescriptor
in interface SimpleFeatureType
- Specified by:
getDescriptor
in interface ComplexType
- Overrides:
getDescriptor
in class ComplexTypeImpl
getDescriptor
public AttributeDescriptor getDescriptor(int index)
- Specified by:
getDescriptor
in interface SimpleFeatureType
indexOf
public int indexOf(Name name)
- Specified by:
indexOf
in interface SimpleFeatureType
indexOf
public int indexOf(String name)
- Specified by:
indexOf
in interface SimpleFeatureType
getAttributeCount
public int getAttributeCount()
- Specified by:
getAttributeCount
in interface SimpleFeatureType
getTypeName
public String getTypeName()
- Specified by:
getTypeName
in interface SimpleFeatureType
Copyright © 1996-2009 Geotools. All Rights Reserved.