org.geotools.feature.type
Class FeatureTypeImpl

java.lang.Object
  extended by org.geotools.feature.type.PropertyTypeImpl
      extended by org.geotools.feature.type.AttributeTypeImpl
          extended by org.geotools.feature.type.ComplexTypeImpl
              extended by org.geotools.feature.type.FeatureTypeImpl
All Implemented Interfaces:
org.opengis.feature.type.AttributeType, org.opengis.feature.type.ComplexType, org.opengis.feature.type.FeatureType, org.opengis.feature.type.PropertyType
Direct Known Subclasses:
ComplexFeatureTypeImpl, SimpleFeatureTypeImpl

public class FeatureTypeImpl
extends ComplexTypeImpl
implements org.opengis.feature.type.FeatureType

Base implementation of FeatureType.

Author:
gabriel

Field Summary
 
Fields inherited from class org.geotools.feature.type.AttributeTypeImpl
identified
 
Fields inherited from class org.geotools.feature.type.PropertyTypeImpl
binding, description, isAbstract, name, restrictions, superType, userData
 
Constructor Summary
FeatureTypeImpl(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)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Override of equals.
 org.opengis.referencing.crs.CoordinateReferenceSystem getCoordinateReferenceSystem()
           
 org.opengis.feature.type.GeometryDescriptor getGeometryDescriptor()
           
 int hashCode()
          Override of hashcode.
 
Methods inherited from class org.geotools.feature.type.ComplexTypeImpl
getBinding, getDescriptor, getDescriptor, getDescriptors, isInline, toString
 
Methods inherited from class org.geotools.feature.type.AttributeTypeImpl
createDefaultValue, getSuper, isIdentified, parse
 
Methods inherited from class org.geotools.feature.type.PropertyTypeImpl
getDescription, getName, getRestrictions, getUserData, isAbstract
 
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
 

Constructor Detail

FeatureTypeImpl

public FeatureTypeImpl(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)
Method Detail

getCoordinateReferenceSystem

public org.opengis.referencing.crs.CoordinateReferenceSystem getCoordinateReferenceSystem()
Specified by:
getCoordinateReferenceSystem in interface org.opengis.feature.type.FeatureType

getGeometryDescriptor

public org.opengis.feature.type.GeometryDescriptor getGeometryDescriptor()
Specified by:
getGeometryDescriptor in interface org.opengis.feature.type.FeatureType

equals

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

Specified by:
equals in interface org.opengis.feature.type.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 org.opengis.feature.type.PropertyType
Overrides:
hashCode in class ComplexTypeImpl


Copyright © 1996-2010 Geotools. All Rights Reserved.