public abstract class PrimitiveValueSerializer<T extends org.camunda.bpm.engine.variable.value.PrimitiveValue<?>> extends AbstractTypedValueSerializer<T>
BINARY_VALUE_TYPES, valueType
Constructor and Description |
---|
PrimitiveValueSerializer(org.camunda.bpm.engine.variable.type.PrimitiveValueType variableType) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canWriteValue(org.camunda.bpm.engine.variable.value.TypedValue typedValue) |
String |
getName()
The name of this serializer.
|
org.camunda.bpm.engine.variable.type.PrimitiveValueType |
getType()
The
VariableType supported |
abstract T |
readValue(ValueFields valueFields) |
T |
readValue(ValueFields valueFields,
boolean deserializeObjectValue)
Retrieve a
TypedValue from the provided ValueFields . |
canHandle, getSerializationDataformat, isMutableValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertToTypedValue, writeValue
public PrimitiveValueSerializer(org.camunda.bpm.engine.variable.type.PrimitiveValueType variableType)
public String getName()
TypedValueSerializer
public T readValue(ValueFields valueFields, boolean deserializeObjectValue)
TypedValueSerializer
TypedValue
from the provided ValueFields
.valueFields
- the ValueFields
to retrieve the value fromdeserializeObjectValue
- indicates whether a SerializableValue
should be deserialized.TypedValue
public abstract T readValue(ValueFields valueFields)
public org.camunda.bpm.engine.variable.type.PrimitiveValueType getType()
TypedValueSerializer
VariableType
supportedgetType
in interface TypedValueSerializer<T extends org.camunda.bpm.engine.variable.value.PrimitiveValue<?>>
getType
in class AbstractTypedValueSerializer<T extends org.camunda.bpm.engine.variable.value.PrimitiveValue<?>>
protected boolean canWriteValue(org.camunda.bpm.engine.variable.value.TypedValue typedValue)
canWriteValue
in class AbstractTypedValueSerializer<T extends org.camunda.bpm.engine.variable.value.PrimitiveValue<?>>
Copyright © 2018. All rights reserved.