public class BooleanValueSerializer extends PrimitiveValueSerializer<BooleanValue>
BINARY_VALUE_TYPES, 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,
boolean asTransientValue) |
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, boolean asTransientValue)
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 © 2021. All rights reserved.