public abstract class SpinValueImpl extends AbstractTypedValue<org.camunda.spin.Spin<?>> implements SpinValue
Modifier and Type | Field and Description |
---|---|
protected String |
dataFormatName |
protected boolean |
isDeserialized |
protected String |
serializedValue |
isTransient, type, value
Constructor and Description |
---|
SpinValueImpl(org.camunda.spin.Spin<?> value,
String serializedValue,
String dataFormatName,
boolean isDeserialized,
ValueType type,
boolean isTransient) |
Modifier and Type | Method and Description |
---|---|
org.camunda.spin.spi.DataFormat<? extends org.camunda.spin.Spin<?>> |
getDataFormat() |
String |
getSerializationDataFormat()
The serialization format used to serialize this value.
|
SpinValueType |
getType()
The type of the value.
|
org.camunda.spin.Spin<?> |
getValue()
The actual value.
|
String |
getValueSerialized()
Returns the serialized value.
|
boolean |
isDeserialized()
Returns true in case the value is deserialized.
|
void |
setSerializationDataFormat(String serializationDataFormat) |
void |
setValueSerialized(String serializedValue) |
isTransient, setTransient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isTransient
protected String serializedValue
protected boolean isDeserialized
protected String dataFormatName
public org.camunda.spin.Spin<?> getValue()
TypedValue
getValue
in interface SerializableValue
getValue
in interface TypedValue
getValue
in interface SpinValue
getValue
in class AbstractTypedValue<org.camunda.spin.Spin<?>>
public SpinValueType getType()
TypedValue
getType
in interface SerializableValue
getType
in interface TypedValue
getType
in class AbstractTypedValue<org.camunda.spin.Spin<?>>
public boolean isDeserialized()
SerializableValue
SerializableValue.getValue()
methodisDeserialized
in interface SerializableValue
public String getValueSerialized()
SerializableValue
SerializableValue.getSerializationDataFormat()
) is not text based,
a base 64 encoded representation of the value is returned
The serialized value is a snapshot of the state of the value as it is
serialized to the process engine database.getValueSerialized
in interface SerializableValue
public void setValueSerialized(String serializedValue)
public String getSerializationDataFormat()
SerializableValue
getSerializationDataFormat
in interface SerializableValue
public void setSerializationDataFormat(String serializationDataFormat)
public org.camunda.spin.spi.DataFormat<? extends org.camunda.spin.Spin<?>> getDataFormat()
getDataFormat
in interface SpinValue
Copyright © 2019. All rights reserved.