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