|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.type.PrimitiveValueBase
net.esper.type.BoolValue
public final class BoolValue
Placeholder for a boolean value in an event expression.
Constructor Summary | |
---|---|
BoolValue()
Constructor. |
|
BoolValue(Boolean boolValue)
Constructor. |
Method Summary | |
---|---|
PrimitiveValueType |
getType()
Returns the type of primitive value this instance represents. |
Object |
getValueObject()
Returns a value object. |
void |
parse(String value)
Parse the string literal value into the specific data type. |
static boolean |
parseString(String value)
Parse the boolean string. |
static boolean[] |
parseString(String[] values)
Parse the string array returning a boolean array. |
void |
setBoolean(boolean x)
Set a boolean value. |
String |
toString()
|
Methods inherited from class net.esper.type.PrimitiveValueBase |
---|
parse, setByte, setDouble, setFloat, setInt, setLong, setShort, setString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BoolValue(Boolean boolValue)
boolValue
- sets the value.public BoolValue()
Method Detail |
---|
public PrimitiveValueType getType()
PrimitiveValue
public static boolean parseString(String value)
value
- is a bool value
public static boolean[] parseString(String[] values)
values
- - string array
public final void parse(String value)
PrimitiveValue
value
- is the textual value to parsepublic final 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 String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |