public class ObjectValueMapper extends AbstractTypedValueMapper<ObjectValue>
Modifier and Type | Field and Description |
---|---|
protected DataFormat |
dataFormat |
protected static ExternalTaskClientLogger |
LOG |
protected String |
serializationDataFormat |
valueType
Constructor and Description |
---|
ObjectValueMapper(String serializationDataFormat,
DataFormat dataFormat) |
Modifier and Type | Method and 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) |
canHandleTypedValue, canHandleTypedValueField, getType
protected static final ExternalTaskClientLogger LOG
protected DataFormat dataFormat
protected String serializationDataFormat
public ObjectValueMapper(String serializationDataFormat, DataFormat dataFormat)
public String getSerializationDataformat()
getSerializationDataformat
in interface ValueMapper<ObjectValue>
getSerializationDataformat
in class AbstractTypedValueMapper<ObjectValue>
public void writeValue(ObjectValue typedValue, TypedValueField typedValueField)
public ObjectValue readValue(TypedValueField value, boolean deserializeObjectValue)
public ObjectValue convertToTypedValue(UntypedValueImpl untypedValue)
protected void writeSerializedValue(TypedValueField typedValueField, String serializedValue)
protected void updateTypedValue(ObjectValue value, String serializedValue)
protected String getObjectTypeName(ObjectValue value)
protected boolean canWriteValue(TypedValue typedValue)
canWriteValue
in class AbstractTypedValueMapper<ObjectValue>
protected boolean canReadValue(TypedValueField typedValueField)
canReadValue
in class AbstractTypedValueMapper<ObjectValue>
protected ObjectValue createDeserializedValue(Object deserializedObject, String serializedValue, TypedValueField typedValueField)
protected ObjectValue createSerializedValue(String serializedValue, TypedValueField typedValueField)
protected String readObjectNameFromFields(TypedValueField typedValueField)
Copyright © 2022. All rights reserved.