org.geotools.feature.type
Class AttributeDescriptorImpl

java.lang.Object
  extended by org.geotools.feature.type.PropertyDescriptorImpl
      extended by org.geotools.feature.type.AttributeDescriptorImpl
All Implemented Interfaces:
org.opengis.feature.type.AttributeDescriptor, org.opengis.feature.type.PropertyDescriptor
Direct Known Subclasses:
GeometryDescriptorImpl

public class AttributeDescriptorImpl
extends PropertyDescriptorImpl
implements org.opengis.feature.type.AttributeDescriptor


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

Field Detail

defaultValue

protected final java.lang.Object defaultValue
Constructor Detail

AttributeDescriptorImpl

public AttributeDescriptorImpl(org.opengis.feature.type.AttributeType type,
                               org.opengis.feature.type.Name name,
                               int min,
                               int max,
                               boolean isNillable,
                               java.lang.Object defaultValue)
Method Detail

getType

public org.opengis.feature.type.AttributeType getType()
Specified by:
getType in interface org.opengis.feature.type.AttributeDescriptor
Specified by:
getType in interface org.opengis.feature.type.PropertyDescriptor
Overrides:
getType in class PropertyDescriptorImpl

getDefaultValue

public java.lang.Object getDefaultValue()
Specified by:
getDefaultValue in interface org.opengis.feature.type.AttributeDescriptor

hashCode

public int hashCode()
Overrides:
hashCode in class PropertyDescriptorImpl

equals

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

toString

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

getLocalName

public java.lang.String getLocalName()
Specified by:
getLocalName in interface org.opengis.feature.type.AttributeDescriptor


Copyright © 1996-2010 Geotools. All Rights Reserved.