Class TransitionInstanceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.ProcessElementInstanceImpl
-
- org.camunda.bpm.engine.impl.persistence.entity.TransitionInstanceImpl
-
- All Implemented Interfaces:
ProcessElementInstance
,TransitionInstance
public class TransitionInstanceImpl extends ProcessElementInstanceImpl implements TransitionInstance
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
activityId
protected java.lang.String
activityName
protected java.lang.String
activityType
protected java.lang.String
executionId
protected java.lang.String[]
incidentIds
protected Incident[]
incidents
-
Fields inherited from class org.camunda.bpm.engine.impl.persistence.entity.ProcessElementInstanceImpl
id, NO_IDS, parentActivityInstanceId, processDefinitionId, processInstanceId
-
-
Constructor Summary
Constructors Constructor Description TransitionInstanceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getActivityId()
returns the id of the activity a transition is made from/tojava.lang.String
getActivityName()
returns the name of the activity a transition is made from/tojava.lang.String
getActivityType()
returns the type of the activity a transition is made from/to.java.lang.String
getExecutionId()
returns the id of of the execution that is executing this transition instancejava.lang.String[]
getIncidentIds()
the ids of currently open incidentsIncident[]
getIncidents()
the list of currently open incidentsjava.lang.String
getTargetActivityId()
returns the id of the target activityvoid
setActivityId(java.lang.String activityId)
void
setActivityName(java.lang.String activityName)
void
setActivityType(java.lang.String activityType)
void
setExecutionId(java.lang.String executionId)
void
setIncidentIds(java.lang.String[] incidentIds)
void
setIncidents(Incident[] incidents)
java.lang.String
toString()
-
Methods inherited from class org.camunda.bpm.engine.impl.persistence.entity.ProcessElementInstanceImpl
getId, getParentActivityInstanceId, getProcessDefinitionId, getProcessInstanceId, setId, setParentActivityInstanceId, setProcessDefinitionId, setProcessInstanceId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.runtime.ProcessElementInstance
getId, getParentActivityInstanceId, getProcessDefinitionId, getProcessInstanceId
-
-
-
-
Field Detail
-
executionId
protected java.lang.String executionId
-
activityId
protected java.lang.String activityId
-
activityName
protected java.lang.String activityName
-
activityType
protected java.lang.String activityType
-
incidentIds
protected java.lang.String[] incidentIds
-
incidents
protected Incident[] incidents
-
-
Method Detail
-
getActivityId
public java.lang.String getActivityId()
Description copied from interface:TransitionInstance
returns the id of the activity a transition is made from/to- Specified by:
getActivityId
in interfaceTransitionInstance
-
setActivityId
public void setActivityId(java.lang.String activityId)
-
getTargetActivityId
public java.lang.String getTargetActivityId()
Description copied from interface:TransitionInstance
returns the id of the target activity- Specified by:
getTargetActivityId
in interfaceTransitionInstance
-
getExecutionId
public java.lang.String getExecutionId()
Description copied from interface:TransitionInstance
returns the id of of the execution that is executing this transition instance- Specified by:
getExecutionId
in interfaceTransitionInstance
-
setExecutionId
public void setExecutionId(java.lang.String executionId)
-
getActivityType
public java.lang.String getActivityType()
Description copied from interface:TransitionInstance
returns the type of the activity a transition is made from/to. Corresponds to BPMN element name in XML (e.g. 'userTask'). The type of the root activity instance (the one corresponding to the process instance) is 'processDefinition'.- Specified by:
getActivityType
in interfaceTransitionInstance
-
setActivityType
public void setActivityType(java.lang.String activityType)
-
getActivityName
public java.lang.String getActivityName()
Description copied from interface:TransitionInstance
returns the name of the activity a transition is made from/to- Specified by:
getActivityName
in interfaceTransitionInstance
-
setActivityName
public void setActivityName(java.lang.String activityName)
-
getIncidentIds
public java.lang.String[] getIncidentIds()
Description copied from interface:TransitionInstance
the ids of currently open incidents- Specified by:
getIncidentIds
in interfaceTransitionInstance
-
setIncidentIds
public void setIncidentIds(java.lang.String[] incidentIds)
-
getIncidents
public Incident[] getIncidents()
Description copied from interface:TransitionInstance
the list of currently open incidents- Specified by:
getIncidents
in interfaceTransitionInstance
-
setIncidents
public void setIncidents(Incident[] incidents)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classProcessElementInstanceImpl
-
-