org.camunda.bpm.engine.impl.core.variable
Class SerializedVariableValueImpl
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.SerializedVariableValueImpl
- All Implemented Interfaces:
- SerializedVariableValue
public class SerializedVariableValueImpl
- extends Object
- implements SerializedVariableValue
- Author:
- Thorben Lindhauer
value
protected Object value
config
protected Map<String,Object> config
SerializedVariableValueImpl
public SerializedVariableValueImpl()
getValue
public Object getValue()
- Description copied from interface:
SerializedVariableValue
- Returns the serialized representation of the variable.
For primitive types (integer, string, etc.), serialized values are the same as the regular values.
For object types, serialized values return the representation of these objects
as stored in the database.
- Specified by:
getValue in interface SerializedVariableValue
getConfig
public Map<String,Object> getConfig()
- Description copied from interface:
SerializedVariableValue
- Returns variable configuration that is required for the serialized that provides
meaning to the serialized value. For example, the configuration could contain
the class name of the serialized object. The actual configuration depends on the
VariableType; These classes also provide constants for accessing the expected
configuration properties.
- Specified by:
getConfig in interface SerializedVariableValue
setValue
public void setValue(Object value)
setConfigValue
public void setConfigValue(String key,
Object value)
setConfig
public void setConfig(Map<String,Object> serializedValue)
toString
public String toString()
- Overrides:
toString in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2014 camunda services GmbH. All Rights Reserved.