Package org.geotools.feature.type
Class AttributeDescriptorImpl
Object
PropertyDescriptorImpl
AttributeDescriptorImpl
- All Implemented Interfaces:
AttributeDescriptor,PropertyDescriptor
- Direct Known Subclasses:
GeometryDescriptorImpl
-
Field Summary
FieldsFields inherited from class PropertyDescriptorImpl
isNillable, maxOccurs, minOccurs, name, type -
Constructor Summary
ConstructorsConstructorDescriptionAttributeDescriptorImpl(AttributeType type, Name name, int min, int max, boolean isNillable, Object defaultValue) -
Method Summary
Methods inherited from class PropertyDescriptorImpl
getMaxOccurs, getMinOccurs, getName, getUserData, isNillableMethods inherited from interface PropertyDescriptor
getMaxOccurs, getMinOccurs, getName, getUserData, isNillable
-
Field Details
-
defaultValue
-
-
Constructor Details
-
AttributeDescriptorImpl
public AttributeDescriptorImpl(AttributeType type, Name name, int min, int max, boolean isNillable, Object defaultValue)
-
-
Method Details
-
getType
Description copied from interface:PropertyDescriptorThe type of the property defined by the descriptor.This value should never be
null. The type contains information about the value of the property such as its java class.- Specified by:
getTypein interfaceAttributeDescriptor- Specified by:
getTypein interfacePropertyDescriptor- Overrides:
getTypein classPropertyDescriptorImpl- See Also:
-
getDefaultValue
Description copied from interface:AttributeDescriptorThe default value for the attribute.This value is used when an attribute is created and no value for it is specified.
This value may be
null. If it is non-null it should be an instance of of the class specified bygetType().getBinding().- Specified by:
getDefaultValuein interfaceAttributeDescriptor
-
hashCode
public int hashCode()- Overrides:
hashCodein classPropertyDescriptorImpl
-
equals
- Overrides:
equalsin classPropertyDescriptorImpl
-
toString
- Overrides:
toStringin classPropertyDescriptorImpl
-
getLocalName
Description copied from interface:AttributeDescriptorThe local name for this AttributeDescriptor. Specifically this returnsgetName().getLocalPart().- Specified by:
getLocalNamein interfaceAttributeDescriptor- Returns:
- The local name for this attribute descriptor.
-