|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.apama.event.parser.FieldType<java.lang.Boolean> com.apama.event.parser.BooleanFieldType
public class BooleanFieldType
Represents the Apama boolean
type,
for which values are either Boolean.TRUE
or Boolean.FALSE
.
This class cannot be instantiated explicitly, but should be referenced using FieldTypes.BOOLEAN
.
Field Summary | |
---|---|
static BooleanFieldType |
TYPE
Singleton instance of this type |
Method Summary | |
---|---|
void |
assertAssignable(java.lang.Object c,
java.lang.String fieldName)
This method is intended for internal use only and may be removed at any time - do not use. |
java.lang.Boolean |
parse(java.lang.String value)
Convert a value of this type from the format used in Apama event strings, into a Boolean object. |
Methods inherited from class com.apama.event.parser.FieldType |
---|
format, getName, getTypeClass, newField, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final BooleanFieldType TYPE
Method Detail |
---|
public void assertAssignable(java.lang.Object c, java.lang.String fieldName)
FieldType
assertAssignable
in class FieldType<java.lang.Boolean>
public java.lang.Boolean parse(java.lang.String value) throws ParserRuntimeException
parse
in class FieldType<java.lang.Boolean>
value
- the value to parse.
ParserRuntimeException
- If the specified value string cannot be parsed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |