org.ow2.bonita.facade.runtime.impl
Class ProcessInstanceImpl

java.lang.Object
  extended by org.ow2.bonita.facade.runtime.impl.RuntimeRecordImpl
      extended by org.ow2.bonita.facade.runtime.impl.ProcessInstanceImpl
All Implemented Interfaces:
java.io.Serializable, org.ow2.bonita.facade.runtime.ProcessInstance, org.ow2.bonita.facade.runtime.RuntimeRecord

public class ProcessInstanceImpl
extends RuntimeRecordImpl
implements org.ow2.bonita.facade.runtime.ProcessInstance

Author:
Pierre Vigneras
See Also:
Serialized Form

Field Summary
protected  java.util.Set<org.ow2.bonita.facade.uuid.ProcessInstanceUUID> childrenInstanceUUID
           
protected  java.lang.String endedBy
           
protected  java.util.Date endedDate
           
protected  java.util.Map<java.lang.String,java.lang.Object> initialVariableValues
           
protected  java.util.List<org.ow2.bonita.facade.runtime.InstanceStateUpdate> instanceStateUpdates
           
protected  org.ow2.bonita.facade.uuid.ProcessInstanceUUID parentInstanceUUID
           
protected  java.lang.String startedBy
           
protected  java.util.Date startedDate
           
protected  java.util.List<org.ow2.bonita.facade.runtime.VariableUpdate> variableUpdates
           
 
Fields inherited from class org.ow2.bonita.facade.runtime.impl.RuntimeRecordImpl
instanceUUID, packageUUID, processUUID
 
Constructor Summary
protected ProcessInstanceImpl()
           
  ProcessInstanceImpl(org.ow2.bonita.facade.runtime.ProcessInstance processInstance)
           
  ProcessInstanceImpl(org.ow2.bonita.facade.uuid.ProcessInstanceUUID instanceUUID, org.ow2.bonita.facade.uuid.PackageDefinitionUUID packageUUID, org.ow2.bonita.facade.uuid.ProcessDefinitionUUID processUUID, org.ow2.bonita.facade.uuid.ProcessInstanceUUID parentInstanceUUID, java.util.Map<java.lang.String,java.lang.Object> initialVariableValues)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Set<org.ow2.bonita.facade.uuid.ProcessInstanceUUID> getChildrenInstanceUUID()
           
 java.lang.String getEndedBy()
           
 java.util.Date getEndedDate()
           
 java.lang.Object getInitialVariableValue(java.lang.String variableId)
           
 java.util.Map<java.lang.String,java.lang.Object> getInitialVariableValues()
           
 org.ow2.bonita.facade.runtime.InstanceState getInstanceState()
           
 java.util.List<org.ow2.bonita.facade.runtime.InstanceStateUpdate> getInstanceStateUpdates()
           
 java.util.Map<java.lang.String,java.lang.Object> getLastKnownVariableValues()
           
 org.ow2.bonita.facade.uuid.ProcessInstanceUUID getParentInstanceUUID()
           
 java.lang.String getStartedBy()
           
 java.util.Date getStartedDate()
           
 org.ow2.bonita.facade.uuid.ProcessInstanceUUID getUUID()
           
 java.util.List<org.ow2.bonita.facade.runtime.VariableUpdate> getVariableUpdates()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class org.ow2.bonita.facade.runtime.impl.RuntimeRecordImpl
getPackageDefinitionUUID, getProcessDefinitionUUID, getProcessInstanceUUID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.bonita.facade.runtime.RuntimeRecord
getPackageDefinitionUUID, getProcessDefinitionUUID, getProcessInstanceUUID
 

Field Detail

startedDate

protected java.util.Date startedDate

startedBy

protected java.lang.String startedBy

parentInstanceUUID

protected org.ow2.bonita.facade.uuid.ProcessInstanceUUID parentInstanceUUID

childrenInstanceUUID

protected java.util.Set<org.ow2.bonita.facade.uuid.ProcessInstanceUUID> childrenInstanceUUID

initialVariableValues

protected java.util.Map<java.lang.String,java.lang.Object> initialVariableValues

endedDate

protected java.util.Date endedDate

endedBy

protected java.lang.String endedBy

variableUpdates

protected java.util.List<org.ow2.bonita.facade.runtime.VariableUpdate> variableUpdates

instanceStateUpdates

protected java.util.List<org.ow2.bonita.facade.runtime.InstanceStateUpdate> instanceStateUpdates
Constructor Detail

ProcessInstanceImpl

protected ProcessInstanceImpl()

ProcessInstanceImpl

public ProcessInstanceImpl(org.ow2.bonita.facade.uuid.ProcessInstanceUUID instanceUUID,
                           org.ow2.bonita.facade.uuid.PackageDefinitionUUID packageUUID,
                           org.ow2.bonita.facade.uuid.ProcessDefinitionUUID processUUID,
                           org.ow2.bonita.facade.uuid.ProcessInstanceUUID parentInstanceUUID,
                           java.util.Map<java.lang.String,java.lang.Object> initialVariableValues)

ProcessInstanceImpl

public ProcessInstanceImpl(org.ow2.bonita.facade.runtime.ProcessInstance processInstance)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getEndedBy

public java.lang.String getEndedBy()
Specified by:
getEndedBy in interface org.ow2.bonita.facade.runtime.ProcessInstance

getEndedDate

public java.util.Date getEndedDate()
Specified by:
getEndedDate in interface org.ow2.bonita.facade.runtime.ProcessInstance

getInitialVariableValues

public java.util.Map<java.lang.String,java.lang.Object> getInitialVariableValues()
Specified by:
getInitialVariableValues in interface org.ow2.bonita.facade.runtime.ProcessInstance

getInstanceState

public org.ow2.bonita.facade.runtime.InstanceState getInstanceState()
Specified by:
getInstanceState in interface org.ow2.bonita.facade.runtime.ProcessInstance

getParentInstanceUUID

public org.ow2.bonita.facade.uuid.ProcessInstanceUUID getParentInstanceUUID()
Specified by:
getParentInstanceUUID in interface org.ow2.bonita.facade.runtime.ProcessInstance

getChildrenInstanceUUID

public java.util.Set<org.ow2.bonita.facade.uuid.ProcessInstanceUUID> getChildrenInstanceUUID()
Specified by:
getChildrenInstanceUUID in interface org.ow2.bonita.facade.runtime.ProcessInstance

getStartedBy

public java.lang.String getStartedBy()
Specified by:
getStartedBy in interface org.ow2.bonita.facade.runtime.ProcessInstance

getStartedDate

public java.util.Date getStartedDate()
Specified by:
getStartedDate in interface org.ow2.bonita.facade.runtime.ProcessInstance

getInitialVariableValue

public java.lang.Object getInitialVariableValue(java.lang.String variableId)
Specified by:
getInitialVariableValue in interface org.ow2.bonita.facade.runtime.ProcessInstance

getLastKnownVariableValues

public java.util.Map<java.lang.String,java.lang.Object> getLastKnownVariableValues()
Specified by:
getLastKnownVariableValues in interface org.ow2.bonita.facade.runtime.ProcessInstance

getUUID

public org.ow2.bonita.facade.uuid.ProcessInstanceUUID getUUID()
Specified by:
getUUID in interface org.ow2.bonita.facade.runtime.ProcessInstance

getVariableUpdates

public java.util.List<org.ow2.bonita.facade.runtime.VariableUpdate> getVariableUpdates()
Specified by:
getVariableUpdates in interface org.ow2.bonita.facade.runtime.ProcessInstance

getInstanceStateUpdates

public java.util.List<org.ow2.bonita.facade.runtime.InstanceStateUpdate> getInstanceStateUpdates()
Specified by:
getInstanceStateUpdates in interface org.ow2.bonita.facade.runtime.ProcessInstance

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2009 OW2 Consortium. All Rights Reserved.