anvil.annot
Class AttributeSpec

java.lang.Object
  |
  +--anvil.annot.AttributeSpec

public class AttributeSpec
extends java.lang.Object


Constructor Summary
AttributeSpec(java.lang.String name, ValueType valueType)
           
AttributeSpec(java.lang.String name, ValueType valueType, boolean isDisplayed)
           
 
Method Summary
 java.lang.String getDefaultValue()
           
 java.lang.String getDoc()
          Returns documentation string of attribute which is always a string (possibly the empty string "").
 java.lang.String getName()
           
 ValueType getType()
           
 boolean hasDefaultValue()
           
 boolean isDisplayed()
           
 void setDefaultValue(java.lang.String val)
           
 void setDisplayed(boolean val)
           
 void setDoc(java.lang.String content)
           
 java.lang.String toString()
           
 boolean usesEmptyValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeSpec

public AttributeSpec(java.lang.String name,
                     ValueType valueType)

AttributeSpec

public AttributeSpec(java.lang.String name,
                     ValueType valueType,
                     boolean isDisplayed)
Method Detail

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