anvil.annot
Class ValueBooleanType

java.lang.Object
  |
  +--anvil.annot.ValueType
        |
        +--anvil.annot.ValueBooleanType

public class ValueBooleanType
extends ValueType

Those attribute values that can take booleans.


Field Summary
 
Fields inherited from class anvil.annot.ValueType
NULL_VALUE, NULL_VALUE_DOC
 
Constructor Summary
ValueBooleanType()
           
 
Method Summary
 boolean isValidValue(java.lang.Object val)
           
 java.lang.String toLabel()
          Returns the name of this value type as a string.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueBooleanType

public ValueBooleanType()
Method Detail

toLabel

public java.lang.String toLabel()
Description copied from class: ValueType
Returns the name of this value type as a string.

Specified by:
toLabel in class ValueType

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isValidValue

public boolean isValidValue(java.lang.Object val)
Specified by:
isValidValue in class ValueType