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