org.geotools.feature.simple
Class SimpleFeatureTypeImpl
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.simple.SimpleFeatureTypeImpl
- All Implemented Interfaces:
- org.opengis.feature.simple.SimpleFeatureType, org.opengis.feature.type.AttributeType, org.opengis.feature.type.ComplexType, org.opengis.feature.type.FeatureType, org.opengis.feature.type.PropertyType
public class SimpleFeatureTypeImpl
- extends FeatureTypeImpl
- implements org.opengis.feature.simple.SimpleFeatureType
Implementation fo SimpleFeatureType, subtypes must be atomic and are stored
in a list.
- Author:
- Justin, Ben Caradoc-Davies, CSIRO Exploration and Mining
Constructor Summary |
SimpleFeatureTypeImpl(org.opengis.feature.type.Name name,
java.util.List<org.opengis.feature.type.AttributeDescriptor> 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)
|
Method Summary |
int |
getAttributeCount()
|
java.util.List<org.opengis.feature.type.AttributeDescriptor> |
getAttributeDescriptors()
|
org.opengis.feature.type.AttributeDescriptor |
getDescriptor(int index)
|
org.opengis.feature.type.AttributeDescriptor |
getDescriptor(org.opengis.feature.type.Name name)
|
org.opengis.feature.type.AttributeDescriptor |
getDescriptor(java.lang.String name)
|
org.opengis.feature.type.AttributeType |
getType(int index)
|
org.opengis.feature.type.AttributeType |
getType(org.opengis.feature.type.Name name)
|
org.opengis.feature.type.AttributeType |
getType(java.lang.String name)
|
java.lang.String |
getTypeName()
|
java.util.List<org.opengis.feature.type.AttributeType> |
getTypes()
|
int |
indexOf(org.opengis.feature.type.Name name)
|
int |
indexOf(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.feature.type.FeatureType |
getCoordinateReferenceSystem, getGeometryDescriptor, isIdentified |
Methods inherited from interface org.opengis.feature.type.ComplexType |
getBinding, getDescriptors, isInline |
Methods inherited from interface org.opengis.feature.type.AttributeType |
getSuper |
Methods inherited from interface org.opengis.feature.type.PropertyType |
equals, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstract |
SimpleFeatureTypeImpl
public SimpleFeatureTypeImpl(org.opengis.feature.type.Name name,
java.util.List<org.opengis.feature.type.AttributeDescriptor> 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)
getAttributeDescriptors
public final java.util.List<org.opengis.feature.type.AttributeDescriptor> getAttributeDescriptors()
- Specified by:
getAttributeDescriptors
in interface org.opengis.feature.simple.SimpleFeatureType
- See Also:
SimpleFeatureType.getAttributeDescriptors()
getTypes
public java.util.List<org.opengis.feature.type.AttributeType> getTypes()
- Specified by:
getTypes
in interface org.opengis.feature.simple.SimpleFeatureType
getType
public org.opengis.feature.type.AttributeType getType(org.opengis.feature.type.Name name)
- Specified by:
getType
in interface org.opengis.feature.simple.SimpleFeatureType
getType
public org.opengis.feature.type.AttributeType getType(java.lang.String name)
- Specified by:
getType
in interface org.opengis.feature.simple.SimpleFeatureType
getType
public org.opengis.feature.type.AttributeType getType(int index)
- Specified by:
getType
in interface org.opengis.feature.simple.SimpleFeatureType
getDescriptor
public org.opengis.feature.type.AttributeDescriptor getDescriptor(org.opengis.feature.type.Name name)
- Specified by:
getDescriptor
in interface org.opengis.feature.simple.SimpleFeatureType
- Specified by:
getDescriptor
in interface org.opengis.feature.type.ComplexType
- Overrides:
getDescriptor
in class ComplexTypeImpl
getDescriptor
public org.opengis.feature.type.AttributeDescriptor getDescriptor(java.lang.String name)
- Specified by:
getDescriptor
in interface org.opengis.feature.simple.SimpleFeatureType
- Specified by:
getDescriptor
in interface org.opengis.feature.type.ComplexType
- Overrides:
getDescriptor
in class ComplexTypeImpl
getDescriptor
public org.opengis.feature.type.AttributeDescriptor getDescriptor(int index)
- Specified by:
getDescriptor
in interface org.opengis.feature.simple.SimpleFeatureType
indexOf
public int indexOf(org.opengis.feature.type.Name name)
- Specified by:
indexOf
in interface org.opengis.feature.simple.SimpleFeatureType
indexOf
public int indexOf(java.lang.String name)
- Specified by:
indexOf
in interface org.opengis.feature.simple.SimpleFeatureType
getAttributeCount
public int getAttributeCount()
- Specified by:
getAttributeCount
in interface org.opengis.feature.simple.SimpleFeatureType
getTypeName
public java.lang.String getTypeName()
- Specified by:
getTypeName
in interface org.opengis.feature.simple.SimpleFeatureType
Copyright © 1996-2010 Geotools. All Rights Reserved.