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