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 String
activityId
protected String
activityName
protected String
activityType
protected String
executionId
protected 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 String
getActivityId()
returns the id of the activity a transition is made from/toString
getActivityName()
returns the name of the activity a transition is made from/toString
getActivityType()
returns the type of the activity a transition is made from/to.String
getExecutionId()
returns the id of of the execution that is executing this transition instanceString[]
getIncidentIds()
the ids of currently open incidentsIncident[]
getIncidents()
the list of currently open incidentsString
getTargetActivityId()
returns the id of the target activityvoid
setActivityId(String activityId)
void
setActivityName(String activityName)
void
setActivityType(String activityType)
void
setExecutionId(String executionId)
void
setIncidentIds(String[] incidentIds)
void
setIncidents(Incident[] incidents)
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
-
-
-
-
Method Detail
-
getActivityId
public 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(String activityId)
-
getTargetActivityId
public String getTargetActivityId()
Description copied from interface:TransitionInstance
returns the id of the target activity- Specified by:
getTargetActivityId
in interfaceTransitionInstance
-
getExecutionId
public 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(String executionId)
-
getActivityType
public 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(String activityType)
-
getActivityName
public 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(String activityName)
-
getIncidentIds
public String[] getIncidentIds()
Description copied from interface:TransitionInstance
the ids of currently open incidents- Specified by:
getIncidentIds
in interfaceTransitionInstance
-
setIncidentIds
public void setIncidentIds(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 String toString()
- Overrides:
toString
in classProcessElementInstanceImpl
-
-