Class TransitionInfo serves as base class to provide functionality to retrieve information on transition steps and targets.
The value, which the method getActivityInstanceOid() retrieves, is
required to perform the actual transition. It is different for transition target and
transition step in the following way:
-1
public long getActivityInstanceOid()
{
return activityInstanceOid;
}
Method getModelOid() retrieves the OID of the model containing the
activity that represents the target of the current operation.
This value of the OID is necessary to perform the actual transition.
public long getModelOid()
{
return modelOid;
}
Method getActivityRuntimeOid() retrieves the runtime OID of the activity
that represents the target of the current operation. This value is necessary to perform
the actual transition.
Together with the model OID is used to uniquely identify a specific activity in the
model repository.
public long getActivityRuntimeOid()
{
return activityRuntimeOid;
}
The following method is used to retrieve the Id of the activity that represents the target of the current operation. It returns a String containing the Id of the activity.
public String getActivityId()
{
return activityId;
}
Method getActivityName() retrieves the name of the activity that
represents the target of the current operation. It returns a String containing the name
of the activity.
public String getActivityName()
{
return activityName;
}
The following method is used to retrieve the Id of the process definition containing the activity that represents the target of the current operation. It returns a String containing the Id of the process definition.
public String getProcessId()
{
return processId;
}
Method getProcessName() retrieves the name of the process definition
containing the activity that represents the target of the current operation. It returns a
String containing the name of the process definition.
public String getProcessName()
{
return processName;
}
To retrieve the Id of the model containing the activity that represents the target of the current operation, the following method is used:
public String getModelId()
{
return modelId;
}
It returns a string containing the Id of the model.
The following method retrieves the name of the model containing the activity that represents the target of the transition operation.
public String getModelName()
{
return modelName;
}
The method returns a string containing the name of the model.