public interface AttributeDescriptor extends PropertyDescriptor
An AttributeDescriptor is an extension of PropertyDescriptor
which defines some
additional information:
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue()
The default value for the attribute.
|
String |
getLocalName()
The local name for this AttributeDescriptor.
|
AttributeType |
getType()
Override of
PropertyDescriptor.getType() which type narrows to AttributeType . |
getMaxOccurs, getMinOccurs, getName, getUserData, isNillable
AttributeType getType()
PropertyDescriptor.getType()
which type narrows to AttributeType
.getType
in interface PropertyDescriptor
PropertyDescriptor.getType()
String getLocalName()
getName().getLocalPart
().Object getDefaultValue()
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 by getType().getBinding()
.
Copyright © 1996–2023 Geotools. All rights reserved.