org.geotools.feature.type
Class FeatureTypeImpl

Object
  extended by PropertyTypeImpl
      extended by AttributeTypeImpl
          extended by ComplexTypeImpl
              extended by FeatureTypeImpl
All Implemented Interfaces:
AttributeType, ComplexType, FeatureType, PropertyType
Direct Known Subclasses:
SimpleFeatureTypeImpl

public class FeatureTypeImpl
extends ComplexTypeImpl
implements FeatureType

Base implementation of FeatureType.

Author:
gabriel

Field Summary
 
Fields inherited from class AttributeTypeImpl
identified
 
Fields inherited from class PropertyTypeImpl
binding, description, isAbstract, name, restrictions, superType, userData
 
Constructor Summary
FeatureTypeImpl(Name name, Collection<PropertyDescriptor> schema, GeometryDescriptor defaultGeometry, boolean isAbstract, List<Filter> restrictions, AttributeType superType, InternationalString description)
           
 
Method Summary
 boolean equals(Object o)
          Override of equals.
 CoordinateReferenceSystem getCoordinateReferenceSystem()
           
 GeometryDescriptor getGeometryDescriptor()
           
 int hashCode()
          Override of hashcode.
 
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 class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface FeatureType
isIdentified
 
Methods inherited from interface ComplexType
getBinding, getDescriptor, getDescriptor, getDescriptors, isInline
 
Methods inherited from interface AttributeType
getSuper
 
Methods inherited from interface PropertyType
getDescription, getName, getRestrictions, getUserData, isAbstract
 

Constructor Detail

FeatureTypeImpl

public FeatureTypeImpl(Name name,
                       Collection<PropertyDescriptor> schema,
                       GeometryDescriptor defaultGeometry,
                       boolean isAbstract,
                       List<Filter> restrictions,
                       AttributeType superType,
                       InternationalString description)
Method Detail

getCoordinateReferenceSystem

public CoordinateReferenceSystem getCoordinateReferenceSystem()
Specified by:
getCoordinateReferenceSystem in interface FeatureType

getGeometryDescriptor

public GeometryDescriptor getGeometryDescriptor()
Specified by:
getGeometryDescriptor in interface FeatureType

equals

public boolean equals(Object o)
Description copied from class: AttributeTypeImpl
Override of equals.

Specified by:
equals in interface PropertyType
Overrides:
equals in class ComplexTypeImpl
Parameters:
o - the object to be tested for equality.
Returns:
whether other is equal to this attribute Type.

hashCode

public int hashCode()
Description copied from class: AttributeTypeImpl
Override of hashcode.

Specified by:
hashCode in interface PropertyType
Overrides:
hashCode in class ComplexTypeImpl


Copyright © 1996-2009 Geotools. All Rights Reserved.