org.camunda.bpm.engine.impl.core.variable
Class SerializedVariableValueImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.core.variable.SerializedVariableValueImpl
All Implemented Interfaces:
SerializedVariableValue

public class SerializedVariableValueImpl
extends Object
implements SerializedVariableValue

Author:
Thorben Lindhauer

Field Summary
protected  Map<String,Object> config
           
protected  Object value
           
 
Constructor Summary
SerializedVariableValueImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 Map<String,Object> getConfig()
          Returns variable configuration that is required for the serialized that provides meaning to the serialized value.
 Object getValue()
          Returns the serialized representation of the variable.
 int hashCode()
           
 void setConfig(Map<String,Object> serializedValue)
           
 void setConfigValue(String key, Object value)
           
 void setValue(Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected Object value

config

protected Map<String,Object> config
Constructor Detail

SerializedVariableValueImpl

public SerializedVariableValueImpl()
Method Detail

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.