public class BooleanHolder
extends java.lang.Object
Constructor and Description |
---|
BooleanHolder() |
BooleanHolder(boolean b) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue() |
void |
setBooleanValue(boolean booleanValue) |
void |
setBooleanValue(java.lang.String value)
Sets this boolean value according to a string
representation of a boolean.
|
java.lang.String |
toString() |
public BooleanHolder()
public BooleanHolder(boolean b)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean getBooleanValue()
public void setBooleanValue(boolean booleanValue)
booleanValue
- The booleanValue to set.public void setBooleanValue(java.lang.String value) throws ClifException
value
- the case-insensitive string
representation of a boolean.
Valid strings for true are: true, yes, on, 1
Valid strings for false are: false, no, off, 0ClifException
- if the provided string