org.geotools.feature.type
Class ComplexTypeImpl

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

public class ComplexTypeImpl
extends AttributeTypeImpl
implements org.opengis.feature.type.ComplexType

Base class for complex types.

Author:
gabriel, Ben Caradoc-Davies, CSIRO Exploration and Mining

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
ComplexTypeImpl(org.opengis.feature.type.Name name, java.util.Collection<org.opengis.feature.type.PropertyDescriptor> properties, boolean identified, 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.
 java.lang.Class<java.util.Collection<org.opengis.feature.Property>> getBinding()
           
 org.opengis.feature.type.PropertyDescriptor getDescriptor(org.opengis.feature.type.Name name)
           
 org.opengis.feature.type.PropertyDescriptor getDescriptor(java.lang.String name)
           
 java.util.Collection<org.opengis.feature.type.PropertyDescriptor> getDescriptors()
           
 int hashCode()
          Override of hashcode.
 boolean isInline()
           
 java.lang.String 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.AttributeType
getSuper, isIdentified
 
Methods inherited from interface org.opengis.feature.type.PropertyType
getDescription, getName, getRestrictions, getUserData, isAbstract
 

Constructor Detail

ComplexTypeImpl

public ComplexTypeImpl(org.opengis.feature.type.Name name,
                       java.util.Collection<org.opengis.feature.type.PropertyDescriptor> properties,
                       boolean identified,
                       boolean isAbstract,
                       java.util.List<org.opengis.filter.Filter> restrictions,
                       org.opengis.feature.type.AttributeType superType,
                       org.opengis.util.InternationalString description)
Method Detail

getBinding

public java.lang.Class<java.util.Collection<org.opengis.feature.Property>> getBinding()
Specified by:
getBinding in interface org.opengis.feature.type.ComplexType
Specified by:
getBinding in interface org.opengis.feature.type.PropertyType
Overrides:
getBinding in class PropertyTypeImpl

getDescriptors

public java.util.Collection<org.opengis.feature.type.PropertyDescriptor> getDescriptors()
Specified by:
getDescriptors in interface org.opengis.feature.type.ComplexType

getDescriptor

public org.opengis.feature.type.PropertyDescriptor getDescriptor(org.opengis.feature.type.Name name)
Specified by:
getDescriptor in interface org.opengis.feature.type.ComplexType

getDescriptor

public org.opengis.feature.type.PropertyDescriptor getDescriptor(java.lang.String name)
Specified by:
getDescriptor in interface org.opengis.feature.type.ComplexType

isInline

public boolean isInline()
Specified by:
isInline in interface org.opengis.feature.type.ComplexType

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 AttributeTypeImpl
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 AttributeTypeImpl

toString

public java.lang.String toString()
Overrides:
toString in class AttributeTypeImpl


Copyright © 1996-2010 Geotools. All Rights Reserved.