Class ObjectValueMapper
- java.lang.Object
-
- org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper<ObjectValue>
-
- org.camunda.bpm.client.variable.impl.mapper.ObjectValueMapper
-
- All Implemented Interfaces:
ValueMapper<ObjectValue>
public class ObjectValueMapper extends AbstractTypedValueMapper<ObjectValue>
-
-
Field Summary
Fields Modifier and Type Field Description protected DataFormat
dataFormat
protected static ExternalTaskClientLogger
LOG
protected String
serializationDataFormat
-
Fields inherited from class org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper
valueType
-
-
Constructor Summary
Constructors Constructor Description ObjectValueMapper(String serializationDataFormat, DataFormat dataFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canReadValue(TypedValueField typedValueField)
protected boolean
canWriteValue(TypedValue typedValue)
ObjectValue
convertToTypedValue(UntypedValueImpl untypedValue)
protected ObjectValue
createDeserializedValue(Object deserializedObject, String serializedValue, TypedValueField typedValueField)
protected ObjectValue
createSerializedValue(String serializedValue, TypedValueField typedValueField)
protected String
getObjectTypeName(ObjectValue value)
String
getSerializationDataformat()
protected String
readObjectNameFromFields(TypedValueField typedValueField)
ObjectValue
readValue(TypedValueField value, boolean deserializeObjectValue)
protected void
updateTypedValue(ObjectValue value, String serializedValue)
protected void
writeSerializedValue(TypedValueField typedValueField, String serializedValue)
void
writeValue(ObjectValue typedValue, TypedValueField typedValueField)
-
Methods inherited from class org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper
canHandleTypedValue, canHandleTypedValueField, getType
-
-
-
-
Field Detail
-
LOG
protected static final ExternalTaskClientLogger LOG
-
dataFormat
protected DataFormat dataFormat
-
serializationDataFormat
protected String serializationDataFormat
-
-
Constructor Detail
-
ObjectValueMapper
public ObjectValueMapper(String serializationDataFormat, DataFormat dataFormat)
-
-
Method Detail
-
getSerializationDataformat
public String getSerializationDataformat()
- Specified by:
getSerializationDataformat
in interfaceValueMapper<ObjectValue>
- Overrides:
getSerializationDataformat
in classAbstractTypedValueMapper<ObjectValue>
-
writeValue
public void writeValue(ObjectValue typedValue, TypedValueField typedValueField)
-
readValue
public ObjectValue readValue(TypedValueField value, boolean deserializeObjectValue)
-
convertToTypedValue
public ObjectValue convertToTypedValue(UntypedValueImpl untypedValue)
-
writeSerializedValue
protected void writeSerializedValue(TypedValueField typedValueField, String serializedValue)
-
updateTypedValue
protected void updateTypedValue(ObjectValue value, String serializedValue)
-
getObjectTypeName
protected String getObjectTypeName(ObjectValue value)
-
canWriteValue
protected boolean canWriteValue(TypedValue typedValue)
- Specified by:
canWriteValue
in classAbstractTypedValueMapper<ObjectValue>
-
canReadValue
protected boolean canReadValue(TypedValueField typedValueField)
- Specified by:
canReadValue
in classAbstractTypedValueMapper<ObjectValue>
-
createDeserializedValue
protected ObjectValue createDeserializedValue(Object deserializedObject, String serializedValue, TypedValueField typedValueField)
-
createSerializedValue
protected ObjectValue createSerializedValue(String serializedValue, TypedValueField typedValueField)
-
readObjectNameFromFields
protected String readObjectNameFromFields(TypedValueField typedValueField)
-
-