public interface RuntimeObject extends Serializable
RuntimeObject class is the base class for all snapshots of runtime objects.
Runtime Objects are workflow relevant objects that are created during workflow execution
or administration. Runtime objects have a persistent representation in the audit
trail database backed up by a dedicated database table. e.g. An
ActivityInstance object represents a row in the activity_instance
table of the audit trail database.
Snapshots of CARNOT runtime objects are exposed to a client as readonly detail objects which contain a copy of the state of the corresponding server object and maybe additional useful information known to the runtime.
ActivityInstance,
User,
ProcessInstance,
LogEntry| Modifier and Type | Method and Description |
|---|---|
String |
getModelElementID()
Returns the ID of the runtime object's definition.
|
int |
getModelElementOID()
Returns the OID of the runtime object's definition.
|
int |
getModelOID()
Returns the OID of the model the runtime object's definition belongs to.
|
long |
getOID()
Gets the OID of this runtime object.
|
long getOID()
Runtime objects such as process instances, activity instances or users are identified by their object ID (OID). The OIDs of runtime objects are 64-bit integers being unique inside the scope of the runtime object. OID can be used in many places in the API to select an object of a specific type.
Example:
ActivityInstance activityInstance = ... User user = ... WorkflowService wfService = ... wfService.delegateToUser(activityInstance.getOID(), user.getOID());
int getModelOID()
getModelElementID()int getModelElementOID()
getModelOID(),
getModelElementID()String getModelElementID()
getModelOID(),
getModelElementOID()Copyright © 2016 Eclipse Stardust. All Rights Reserved.