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 DataFormatdataFormatprotected static ExternalTaskClientLoggerLOGprotected StringserializationDataFormat-
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 booleancanReadValue(TypedValueField typedValueField)protected booleancanWriteValue(TypedValue typedValue)ObjectValueconvertToTypedValue(UntypedValueImpl untypedValue)protected ObjectValuecreateDeserializedValue(Object deserializedObject, String serializedValue, TypedValueField typedValueField)protected ObjectValuecreateSerializedValue(String serializedValue, TypedValueField typedValueField)protected StringgetObjectTypeName(ObjectValue value)StringgetSerializationDataformat()protected StringreadObjectNameFromFields(TypedValueField typedValueField)ObjectValuereadValue(TypedValueField value, boolean deserializeObjectValue)protected voidupdateTypedValue(ObjectValue value, String serializedValue)protected voidwriteSerializedValue(TypedValueField typedValueField, String serializedValue)voidwriteValue(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:
getSerializationDataformatin interfaceValueMapper<ObjectValue>- Overrides:
getSerializationDataformatin 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:
canWriteValuein classAbstractTypedValueMapper<ObjectValue>
-
canReadValue
protected boolean canReadValue(TypedValueField typedValueField)
- Specified by:
canReadValuein 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)
-
-