org.camunda.bpm.engine.delegate
Interface PersistentVariableInstance

All Superinterfaces:
CoreVariableInstance
All Known Subinterfaces:
HistoricVariableInstance, VariableInstance
All Known Implementing Classes:
HistoricVariableInstanceEntity, PseudoPersistentVariableInstance, VariableInstanceEntity

public interface PersistentVariableInstance
extends CoreVariableInstance


Method Summary
 String getErrorMessage()
          If the variable value could not be loaded, this returns the error message.
 SerializedVariableValue getSerializedValue()
          Returns the value of this variable in its serialized form, represented by a SerializedVariableValue.
 String getTypeName()
          Returns the name of the type of this variable instance; corresponds to the types defined in ProcessEngineVariableType.
 String getValueTypeName()
          Returns the simple name of the class of the persisted variable
 boolean storesCustomObjects()
          Returns whether this variable potentially stores a custom java object (i.e.
 
Methods inherited from interface org.camunda.bpm.engine.delegate.CoreVariableInstance
getName, getValue
 

Method Detail

getErrorMessage

String getErrorMessage()
If the variable value could not be loaded, this returns the error message.

Returns:
an error message indicating why the variable value could not be loaded.

getSerializedValue

SerializedVariableValue getSerializedValue()
Returns the value of this variable in its serialized form, represented by a SerializedVariableValue.


getTypeName

String getTypeName()
Returns the name of the type of this variable instance; corresponds to the types defined in ProcessEngineVariableType.


getValueTypeName

String getValueTypeName()
Returns the simple name of the class of the persisted variable


storesCustomObjects

boolean storesCustomObjects()
Returns whether this variable potentially stores a custom java object (i.e. an instance of a non-JDK class). Return value is determined based on the underlying variable type (cf. ProcessEngineVariableType).



Copyright © 2014 camunda services GmbH. All Rights Reserved.