public final class ProcessInstance
extends java.lang.Object
implements java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
ProcessInstance()
Creates new instance.
|
|
ProcessInstance(long id,
ProcessInstanceState state,
Context context,
java.util.Collection<ProcessInstance> processInstances,
Goals goals)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Context |
getContext()
Returns the process instance context.
|
Goals |
getGoals()
Returns the process instance goals.
|
long |
getId()
Returns the process instance id.
|
java.lang.String |
getModelId()
Returns the process instance model id.
|
java.lang.String |
getName()
Returns the process instance name.
|
java.util.List<ProcessInstance> |
getProcessInstances()
Return the list of child process instances.
|
ProcessInstanceState |
getState()
Returns the process instance state.
|
int |
hashCode() |
java.lang.String |
toString() |
protected ProcessInstance()
public ProcessInstance(long id, ProcessInstanceState state, Context context, java.util.Collection<ProcessInstance> processInstances, Goals goals)
id
- state
- context
- processInstances
- goals
- java.lang.NullPointerException
- if state
or context
or processInstances
is nullpublic long getId()
public ProcessInstanceState getState()
public Context getContext()
public java.lang.String getName()
public java.lang.String getModelId()
public java.util.List<ProcessInstance> getProcessInstances()
public Goals getGoals()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.