Class ObjectValueMapper
- java.lang.Object
-
- org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper<org.camunda.bpm.engine.variable.value.ObjectValue>
-
- org.camunda.bpm.client.variable.impl.mapper.ObjectValueMapper
-
- All Implemented Interfaces:
ValueMapper<org.camunda.bpm.engine.variable.value.ObjectValue>
public class ObjectValueMapper extends AbstractTypedValueMapper<org.camunda.bpm.engine.variable.value.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(org.camunda.bpm.engine.variable.value.TypedValue typedValue)org.camunda.bpm.engine.variable.value.ObjectValueconvertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue)protected org.camunda.bpm.engine.variable.value.ObjectValuecreateDeserializedValue(Object deserializedObject, String serializedValue, TypedValueField typedValueField)protected org.camunda.bpm.engine.variable.value.ObjectValuecreateSerializedValue(String serializedValue, TypedValueField typedValueField)protected StringgetObjectTypeName(org.camunda.bpm.engine.variable.value.ObjectValue value)StringgetSerializationDataformat()protected StringreadObjectNameFromFields(TypedValueField typedValueField)org.camunda.bpm.engine.variable.value.ObjectValuereadValue(TypedValueField value, boolean deserializeObjectValue)protected voidupdateTypedValue(org.camunda.bpm.engine.variable.value.ObjectValue value, String serializedValue)protected voidwriteSerializedValue(TypedValueField typedValueField, String serializedValue)voidwriteValue(org.camunda.bpm.engine.variable.value.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<org.camunda.bpm.engine.variable.value.ObjectValue>- Overrides:
getSerializationDataformatin classAbstractTypedValueMapper<org.camunda.bpm.engine.variable.value.ObjectValue>
-
writeValue
public void writeValue(org.camunda.bpm.engine.variable.value.ObjectValue typedValue, TypedValueField typedValueField)
-
readValue
public org.camunda.bpm.engine.variable.value.ObjectValue readValue(TypedValueField value, boolean deserializeObjectValue)
-
convertToTypedValue
public org.camunda.bpm.engine.variable.value.ObjectValue convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue)
-
writeSerializedValue
protected void writeSerializedValue(TypedValueField typedValueField, String serializedValue)
-
updateTypedValue
protected void updateTypedValue(org.camunda.bpm.engine.variable.value.ObjectValue value, String serializedValue)
-
getObjectTypeName
protected String getObjectTypeName(org.camunda.bpm.engine.variable.value.ObjectValue value)
-
canWriteValue
protected boolean canWriteValue(org.camunda.bpm.engine.variable.value.TypedValue typedValue)
- Specified by:
canWriteValuein classAbstractTypedValueMapper<org.camunda.bpm.engine.variable.value.ObjectValue>
-
canReadValue
protected boolean canReadValue(TypedValueField typedValueField)
- Specified by:
canReadValuein classAbstractTypedValueMapper<org.camunda.bpm.engine.variable.value.ObjectValue>
-
createDeserializedValue
protected org.camunda.bpm.engine.variable.value.ObjectValue createDeserializedValue(Object deserializedObject, String serializedValue, TypedValueField typedValueField)
-
createSerializedValue
protected org.camunda.bpm.engine.variable.value.ObjectValue createSerializedValue(String serializedValue, TypedValueField typedValueField)
-
readObjectNameFromFields
protected String readObjectNameFromFields(TypedValueField typedValueField)
-
-