org.geotools.feature.type
Class AttributeDescriptorImpl

Object
  extended by PropertyDescriptorImpl
      extended by AttributeDescriptorImpl
All Implemented Interfaces:
AttributeDescriptor, PropertyDescriptor
Direct Known Subclasses:
ChoiceAttributeType, DefaultAttributeType, FeatureAttributeType, GeometryDescriptorImpl, ListAttributeType, SetAttributeType

public class AttributeDescriptorImpl
extends PropertyDescriptorImpl
implements AttributeDescriptor


Field Summary
protected  Object defaultValue
           
 
Fields inherited from class PropertyDescriptorImpl
isNillable, maxOccurs, minOccurs, name, type
 
Constructor Summary
AttributeDescriptorImpl(AttributeType type, Name name, int min, int max, boolean isNillable, Object defaultValue)
           
 
Method Summary
 boolean equals(Object o)
           
 Object getDefaultValue()
           
 String getLocalName()
           
 AttributeType getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class PropertyDescriptorImpl
getMaxOccurs, getMinOccurs, getName, getUserData, isNillable
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface PropertyDescriptor
getMaxOccurs, getMinOccurs, getName, getUserData, isNillable
 

Field Detail

defaultValue

protected final Object defaultValue
Constructor Detail

AttributeDescriptorImpl

public AttributeDescriptorImpl(AttributeType type,
                               Name name,
                               int min,
                               int max,
                               boolean isNillable,
                               Object defaultValue)
Method Detail

getType

public AttributeType getType()
Specified by:
getType in interface AttributeDescriptor
Specified by:
getType in interface PropertyDescriptor
Overrides:
getType in class PropertyDescriptorImpl

getDefaultValue

public Object getDefaultValue()
Specified by:
getDefaultValue in interface AttributeDescriptor

hashCode

public int hashCode()
Overrides:
hashCode in class PropertyDescriptorImpl

equals

public boolean equals(Object o)
Overrides:
equals in class PropertyDescriptorImpl

toString

public String toString()
Overrides:
toString in class PropertyDescriptorImpl

getLocalName

public String getLocalName()
Specified by:
getLocalName in interface AttributeDescriptor


Copyright © 1996-2009 Geotools. All Rights Reserved.