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