org.camunda.bpm.engine.runtime
Interface VariableInstance

All Known Subinterfaces:
DelegateCaseVariableInstance, DelegateVariableInstance<T>
All Known Implementing Classes:
DelegateCaseVariableInstanceImpl, VariableInstanceEntity

public interface VariableInstance

A VariableInstance represents a variable in the execution of a process instance.

Author:
roman.smirnov

Method Summary
 String getActivityInstanceId()
          Returns the corresponding activity instance id.
 String getCaseExecutionId()
          Returns the corresponding case execution id.
 String getCaseInstanceId()
          Returns the corresponding case instance id.
 String getErrorMessage()
          If the variable value could not be loaded, this returns the error message.
 String getExecutionId()
          Returns the corresponding execution id.
 String getId()
           
 String getName()
          Returns the name of this variable instance.
 String getProcessInstanceId()
          Returns the corresponding process instance id.
 String getTaskId()
          Returns the corresponding task id.
 String getTenantId()
          The id of the tenant this variable belongs to.
 org.camunda.bpm.engine.variable.value.TypedValue getTypedValue()
          Returns the TypedValue of this variable instance.
 String getTypeName()
          Returns the name of the type of this variable instance
 Object getValue()
          Returns the value of this variable instance.
 

Method Detail

getId

String getId()
Returns:
the Id of this variable instance

getName

String getName()
Returns the name of this variable instance.


getTypeName

String getTypeName()
Returns the name of the type of this variable instance

Returns:
the type name of the variable

getValue

Object getValue()
Returns the value of this variable instance.


getTypedValue

org.camunda.bpm.engine.variable.value.TypedValue getTypedValue()
Returns the TypedValue of this variable instance.


getProcessInstanceId

String getProcessInstanceId()
Returns the corresponding process instance id.


getExecutionId

String getExecutionId()
Returns the corresponding execution id.


getCaseInstanceId

String getCaseInstanceId()
Returns the corresponding case instance id.


getCaseExecutionId

String getCaseExecutionId()
Returns the corresponding case execution id.


getTaskId

String getTaskId()
Returns the corresponding task id.


getActivityInstanceId

String getActivityInstanceId()
Returns the corresponding activity instance id.


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.

getTenantId

String getTenantId()
The id of the tenant this variable belongs to. Can be null if the variable belongs to no single tenant.



Copyright © 2017 camunda services GmbH. All rights reserved.