|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.hivemind.impl.BaseLocatable | +--org.apache.hivemind.schema.impl.AttributeModelImpl
Implementation of AttributeModel
.
Constructor Summary | |
AttributeModelImpl()
|
Method Summary | |
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)
|
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
Constructor Detail |
public AttributeModelImpl()
Method Detail |
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)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |