public class DateValueSerializer extends PrimitiveValueSerializer<DateValue>
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) |
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)
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 © 2018. All rights reserved.