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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisTransientprotected String serializedValue
protected boolean isDeserialized
protected String dataFormatName
public org.camunda.spin.Spin<?> getValue()
TypedValuegetValue in interface SerializableValuegetValue in interface TypedValuegetValue in interface SpinValuegetValue in class AbstractTypedValue<org.camunda.spin.Spin<?>>public SpinValueType getType()
TypedValuegetType in interface SerializableValuegetType in interface TypedValuegetType in class AbstractTypedValue<org.camunda.spin.Spin<?>>public boolean isDeserialized()
SerializableValueSerializableValue.getValue() methodisDeserialized in interface SerializableValuepublic String getValueSerialized()
SerializableValueSerializableValue.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 SerializableValuepublic void setValueSerialized(String serializedValue)
public String getSerializationDataFormat()
SerializableValuegetSerializationDataFormat in interface SerializableValuepublic void setSerializationDataFormat(String serializationDataFormat)
public org.camunda.spin.spi.DataFormat<? extends org.camunda.spin.Spin<?>> getDataFormat()
getDataFormat in interface SpinValueCopyright © 2022. All rights reserved.