public class BooleanFieldType extends FieldType<java.lang.Boolean>
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
.
Modifier and Type | Field and Description |
---|---|
static BooleanFieldType |
TYPE
Singleton instance of this type
|
Modifier and Type | Method and Description |
---|---|
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 |
defaultValue()
Get the default value for Boolean field type.
|
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.
|
public static final BooleanFieldType TYPE
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.public java.lang.Boolean defaultValue()
defaultValue
in class FieldType<java.lang.Boolean>
Submit a bug or feature
Copyright (c) 2013-2020 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.