public class AnyFieldType extends FieldType<AnyFieldValue>
any
type, for which values are specified as as AnyFieldValue
objects.Constructor and Description |
---|
AnyFieldType()
Constructor for FieldTypes use only.
|
Modifier and Type | Method and Description |
---|---|
void |
assertAssignable(java.lang.Object c,
java.lang.String fieldName)
verifies if the Object is assignable to this field type
|
AnyFieldValue |
defaultValue()
Get the default value for AnyFieldType which is an empty 'any'.
|
AnyFieldValue |
parse(java.lang.String value)
Convert a value of this type from the format used in Apama event strings, into
an object of type T, the same type as the containedType parameter when
creating this any field type.
|
public AnyFieldType()
FieldTypes.ANY
.public void assertAssignable(java.lang.Object c, java.lang.String fieldName)
assertAssignable
in class FieldType<AnyFieldValue>
public AnyFieldValue parse(java.lang.String value) throws ParserRuntimeException
parse
in class FieldType<AnyFieldValue>
value
- the value to parse.ParserRuntimeException
- If the specified value string cannot be parsed.public AnyFieldValue defaultValue()
defaultValue
in class FieldType<AnyFieldValue>
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.