anvil.annot
Class AttributeSpec
java.lang.Object
|
+--anvil.annot.AttributeSpec
- public class AttributeSpec
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttributeSpec
public AttributeSpec(java.lang.String name,
ValueType valueType)
AttributeSpec
public AttributeSpec(java.lang.String name,
ValueType valueType,
boolean isDisplayed)
getName
public java.lang.String getName()
getType
public ValueType getType()
hasDefaultValue
public boolean hasDefaultValue()
setDefaultValue
public void setDefaultValue(java.lang.String val)
getDefaultValue
public java.lang.String getDefaultValue()
setDisplayed
public void setDisplayed(boolean val)
isDisplayed
public boolean isDisplayed()
usesEmptyValue
public boolean usesEmptyValue()
setDoc
public void setDoc(java.lang.String content)
getDoc
public java.lang.String getDoc()
- Returns documentation string of attribute which is always a
string (possibly the empty string "").
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object