public class IntegerValueSerializer extends PrimitiveValueSerializer<IntegerValue>
BINARY_VALUE_TYPES, valueType
Constructor and Description |
---|
IntegerValueSerializer() |
Modifier and Type | Method and Description |
---|---|
IntegerValue |
convertToTypedValue(UntypedValueImpl untypedValue)
Returns a typed value for the provided untyped value.
|
IntegerValue |
readValue(ValueFields valueFields) |
void |
writeValue(IntegerValue variableValue,
ValueFields valueFields)
Serialize a
TypedValue to the ValueFields . |
canWriteValue, getName, getType, readValue
canHandle, getSerializationDataformat, isMutableValue
public IntegerValue convertToTypedValue(UntypedValueImpl untypedValue)
TypedValueSerializer
TypedValueSerializer
(by invocation of TypedValueSerializer.canHandle(TypedValue)
).untypedValue
- the untyped valuepublic void writeValue(IntegerValue variableValue, ValueFields valueFields)
TypedValueSerializer
TypedValue
to the ValueFields
.variableValue
- the TypedValue
to persistvalueFields
- the ValueFields
to which the value should be persistedpublic IntegerValue readValue(ValueFields valueFields)
readValue
in class PrimitiveValueSerializer<IntegerValue>
Copyright © 2019. All rights reserved.