|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.core.variable.value.AbstractTypedValue<Object>
org.camunda.bpm.engine.impl.core.variable.value.ObjectValueImpl
public class ObjectValueImpl
| Field Summary | |
|---|---|
protected boolean |
isDeserialized
|
protected String |
objectTypeName
|
protected String |
serializationDataFormat
|
protected String |
serializedValue
|
| Fields inherited from class org.camunda.bpm.engine.impl.core.variable.value.AbstractTypedValue |
|---|
type, value |
| Constructor Summary | |
|---|---|
ObjectValueImpl(Object value)
|
|
ObjectValueImpl(Object deserializedValue,
String serializedValue,
String serializationDataFormat,
String objectTypeName,
boolean isDeserialized)
|
|
| Method Summary | ||
|---|---|---|
Class<?> |
getObjectType()
Returns the Class this object is an instance of. |
|
String |
getObjectTypeName()
A String representation of the Object's type name. |
|
String |
getSerializationDataFormat()
The serialization format used to serialize this value. |
|
SerializableValueType |
getType()
The type of the value. |
|
Object |
getValue()
The actual value. |
|
|
getValue(Class<T> type)
Returns the object provided by this VariableValue. |
|
String |
getValueSerialized()
Returns the serialized value. |
|
boolean |
isDeserialized()
Returns true in case the object is deserialized. |
|
void |
setObjectTypeName(String objectTypeName)
|
|
void |
setSerializationDataFormat(String serializationDataFormat)
|
|
void |
setSerializedValue(String serializedValue)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String objectTypeName
protected String serializationDataFormat
protected String serializedValue
protected boolean isDeserialized
| Constructor Detail |
|---|
public ObjectValueImpl(Object deserializedValue,
String serializedValue,
String serializationDataFormat,
String objectTypeName,
boolean isDeserialized)
public ObjectValueImpl(Object value)
| Method Detail |
|---|
public String getSerializationDataFormat()
SerializableValue
getSerializationDataFormat in interface SerializableValuepublic void setSerializationDataFormat(String serializationDataFormat)
public String getObjectTypeName()
ObjectValue
getObjectTypeName in interface ObjectValuepublic void setObjectTypeName(String objectTypeName)
public 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 setSerializedValue(String serializedValue)
public boolean isDeserialized()
ObjectValue
isDeserialized in interface ObjectValueisDeserialized in interface SerializableValuepublic Object getValue()
TypedValue
getValue in interface ObjectValuegetValue in interface SerializableValuegetValue in interface TypedValuegetValue in class AbstractTypedValue<Object>public <T> T getValue(Class<T> type)
ObjectValue
getValue in interface ObjectValuetype - the java class the value should be cast to
public Class<?> getObjectType()
ObjectValue
getObjectType in interface ObjectValuepublic SerializableValueType getType()
TypedValue
getType in interface SerializableValuegetType in interface TypedValuegetType in class AbstractTypedValue<Object>public String toString()
toString in class AbstractTypedValue<Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||