public class IntegerFieldType extends FieldType<java.lang.Long>
integer
type,
for which values are specified as Long
objects.
This class cannot be instantiated explicitly, but should be referenced using FieldTypes.INTEGER
.
Modifier and Type | Field and Description |
---|---|
static IntegerFieldType |
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.Long |
defaultValue()
Get the default value for Integer field type.
|
java.lang.Long |
parse(java.lang.String value)
Convert a value of this type from the format used in Apama event strings, into
a Long object.
|
public static final IntegerFieldType TYPE
public void assertAssignable(java.lang.Object c, java.lang.String fieldName)
FieldType
assertAssignable
in class FieldType<java.lang.Long>
public java.lang.Long parse(java.lang.String value) throws ParserRuntimeException
parse
in class FieldType<java.lang.Long>
value
- the value to parse.ParserRuntimeException
- If the specified value string cannot be parsed.public java.lang.Long defaultValue()
defaultValue
in class FieldType<java.lang.Long>
Submit a bug or feature
Copyright (c) 2013-2021 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.