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, setAnnotation
getLocation, setLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocation
getAnnotation, setAnnotation
public AttributeModelImpl()
public java.lang.String getName()
AttributeModel
getName
in interface AttributeModel
public boolean isRequired()
AttributeModel
isRequired
in interface AttributeModel
public void setName(java.lang.String string)
public void setRequired(boolean b)
public void setUnique(boolean b)
public boolean isUnique()
AttributeModel
isUnique
in interface AttributeModel
public java.lang.String getTranslator()
AttributeModel
Translator
.getTranslator
in interface AttributeModel
public void setTranslator(java.lang.String string)