org.camunda.bpm.engine.impl.persistence.entity
Class ProcessInstanceWithVariablesImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.entity.ProcessInstanceWithVariablesImpl
All Implemented Interfaces:
Execution, ProcessInstance, ProcessInstanceWithVariables

public class ProcessInstanceWithVariablesImpl
extends Object
implements ProcessInstanceWithVariables

Author:
Christopher Zell

Field Summary
protected  ExecutionEntity executionEntity
           
protected  org.camunda.bpm.engine.variable.VariableMap variables
           
 
Constructor Summary
ProcessInstanceWithVariablesImpl(ExecutionEntity executionEntity, org.camunda.bpm.engine.variable.VariableMap variables)
           
 
Method Summary
 String getBusinessKey()
          The business key of this process instance.
 String getCaseInstanceId()
          The id of the case instance associated with this process instance.
 ExecutionEntity getExecutionEntity()
           
 String getId()
          The unique identifier of the execution.
 String getProcessDefinitionId()
          The id of the process definition of the process instance.
 String getProcessInstanceId()
          Id of the root of the execution tree representing the process instance.
 String getTenantId()
          The id of the tenant this execution belongs to.
 org.camunda.bpm.engine.variable.VariableMap getVariables()
          Returns the latest variables of the process instance.
 boolean isEnded()
          Indicates if the execution is ended.
 boolean isSuspended()
          returns true if the process instance is suspended
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

executionEntity

protected final ExecutionEntity executionEntity

variables

protected final org.camunda.bpm.engine.variable.VariableMap variables
Constructor Detail

ProcessInstanceWithVariablesImpl

public ProcessInstanceWithVariablesImpl(ExecutionEntity executionEntity,
                                        org.camunda.bpm.engine.variable.VariableMap variables)
Method Detail

getExecutionEntity

public ExecutionEntity getExecutionEntity()

getVariables

public org.camunda.bpm.engine.variable.VariableMap getVariables()
Description copied from interface: ProcessInstanceWithVariables
Returns the latest variables of the process instance.

Specified by:
getVariables in interface ProcessInstanceWithVariables
Returns:
the latest variables

getProcessDefinitionId

public String getProcessDefinitionId()
Description copied from interface: ProcessInstance
The id of the process definition of the process instance.

Specified by:
getProcessDefinitionId in interface ProcessInstance

getBusinessKey

public String getBusinessKey()
Description copied from interface: ProcessInstance
The business key of this process instance.

Specified by:
getBusinessKey in interface ProcessInstance

getCaseInstanceId

public String getCaseInstanceId()
Description copied from interface: ProcessInstance
The id of the case instance associated with this process instance.

Specified by:
getCaseInstanceId in interface ProcessInstance

isSuspended

public boolean isSuspended()
Description copied from interface: ProcessInstance
returns true if the process instance is suspended

Specified by:
isSuspended in interface Execution
Specified by:
isSuspended in interface ProcessInstance

getId

public String getId()
Description copied from interface: Execution
The unique identifier of the execution.

Specified by:
getId in interface Execution

isEnded

public boolean isEnded()
Description copied from interface: Execution
Indicates if the execution is ended.

Specified by:
isEnded in interface Execution

getProcessInstanceId

public String getProcessInstanceId()
Description copied from interface: Execution
Id of the root of the execution tree representing the process instance. It is the same as Execution.getId() if this execution is the process instance.

Specified by:
getProcessInstanceId in interface Execution

getTenantId

public String getTenantId()
Description copied from interface: Execution
The id of the tenant this execution belongs to. Can be null if the execution belongs to no single tenant.

Specified by:
getTenantId in interface Execution


Copyright © 2016 camunda services GmbH. All rights reserved.