|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrimitiveValue
Classes implementing this interface are responsible for parsing, setting and getting the value of the different basic Java data types that occur in an event expression. Placeholders represent all literal values in event expressions and set values in prepared event expressions.
Method Summary | |
---|---|
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. |
void |
parse(java.lang.String[] values)
Parse the string literal values supplied in the array into the specific data type. |
void |
setBoolean(boolean x)
Set a boolean value. |
void |
setByte(byte x)
Set a byte value. |
void |
setDouble(double x)
Set a double value. |
void |
setFloat(float x)
Set a float value. |
void |
setInt(int x)
Set an int value. |
void |
setLong(long x)
Set a long value. |
void |
setShort(short x)
Set a short value. |
void |
setString(java.lang.String x)
Set a string value. |
Method Detail |
---|
java.lang.Object getValueObject()
void parse(java.lang.String value)
value
- is the textual value to parsevoid parse(java.lang.String[] values)
values
- are the textual values to parsePrimitiveValueType getType()
void setBoolean(boolean x) throws java.lang.UnsupportedOperationException
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanvoid setByte(byte x) throws java.lang.UnsupportedOperationException
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanvoid setDouble(double x) throws java.lang.UnsupportedOperationException
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanvoid setFloat(float x) throws java.lang.UnsupportedOperationException
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanvoid setInt(int x) throws java.lang.UnsupportedOperationException
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanvoid setLong(long x) throws java.lang.UnsupportedOperationException
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanvoid setShort(short x) throws java.lang.UnsupportedOperationException
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanvoid setString(java.lang.String x) throws java.lang.UnsupportedOperationException
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from boolean
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |