public final class BoolValue extends PrimitiveValueBase
Constructor and Description |
---|
BoolValue()
Constructor.
|
BoolValue(java.lang.Boolean boolValue)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PrimitiveValueType |
getType()
Returns the type of primitive value this instance represents.
|
java.lang.Object |
getValueObject()
Returns a value object.
|
void |
parse(java.lang.String value)
Parse the string literal value into the specific data type.
|
static boolean |
parseString(java.lang.String value)
Parse the boolean string.
|
static boolean[] |
parseString(java.lang.String[] values)
Parse the string array returning a boolean array.
|
void |
setBoolean(boolean x)
Set a boolean value.
|
java.lang.String |
toString() |
public BoolValue(java.lang.Boolean boolValue)
boolValue
- sets the value.public BoolValue()
public PrimitiveValueType getType()
PrimitiveValue
public static boolean parseString(java.lang.String value)
value
- is a bool valuepublic static boolean[] parseString(java.lang.String[] values)
values
- - string arraypublic final void parse(java.lang.String value)
PrimitiveValue
value
- is the textual value to parsepublic final java.lang.Object getValueObject()
PrimitiveValue
public final void setBoolean(boolean x)
PrimitiveValue
setBoolean
in interface PrimitiveValue
setBoolean
in class PrimitiveValueBase
x
- is the value to setpublic final java.lang.String toString()
toString
in class java.lang.Object