public final class AttributeModelImpl extends BaseAnnotationHolder implements AttributeModel
AttributeModel.| Constructor and Description |
|---|
AttributeModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
The name of the attribute.
|
java.lang.String |
getTranslator()
Returns the translator used to convert the attribute value.
|
boolean |
isRequired()
Returns true if the attribute is required (must be specified).
|
boolean |
isUnique()
Returns true if the attribute is supposed to be considered unique in relation to the configuration point.
|
void |
setName(java.lang.String string) |
void |
setRequired(boolean b) |
void |
setTranslator(java.lang.String string) |
void |
setUnique(boolean b) |
getAnnotation, setAnnotationgetLocation, setLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocationgetAnnotation, setAnnotationpublic AttributeModelImpl()
public java.lang.String getName()
AttributeModelgetName in interface AttributeModelpublic boolean isRequired()
AttributeModelisRequired in interface AttributeModelpublic void setName(java.lang.String string)
public void setRequired(boolean b)
public void setUnique(boolean b)
public boolean isUnique()
AttributeModelisUnique in interface AttributeModelpublic java.lang.String getTranslator()
AttributeModelTranslator.getTranslator in interface AttributeModelpublic void setTranslator(java.lang.String string)