public interface EBPInstanceReference
extends java.io.Serializable
EBPInstanceReference contains the ID of the
corresponding (base) template. EBPInstanceReference can therefore be used to uniquely
identify an activity (-instance), a super-process instance or a top-level
process instance.| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
Generated ID for serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object otherObject)
EBPInstanceReferences are equal in case they reference the
same executable business process, therefore
Object.equals(Object) and Object.hashCode()
have to be overridden. |
java.util.UUID |
getBaseTemplateID()
Gets the ID of the unmodified template of the corresponding process
instance.
|
java.net.URI[] |
getExecutionManagerURIs()
Returns the communication protocol depended URIs of the execution manager
which executes the referenced EBP-instance.
|
java.util.UUID |
getInstanceID()
Returns the ID of the process instance the activity belongs to, the
corresponding super-process instance or the instance itself in case of a
reference to a top-level instance.
|
java.util.UUID |
getInstanceLogId()
Gets the stable ID of the instance referred to by
getInstanceID(). |
int |
getNodeID()
Returns the ID of the node of the process graph which contains the activity
or which houses the sub-process.
|
int |
getNodeIteration()
Returns the iteration count of the node this
EBPInstanceReference references. |
java.net.URI[] |
getRuntimeManagerURIs()
Returns the communication protocol depended URIs of the runtime manager
instance which is used for executing the referenced EBP-instance.
|
EBPType |
getType()
Gets the type of the executable business process, for instance an activity
or a subprocess.
|
int |
hashCode()
EBPInstanceReferences are equal in case they reference the
same executable business process, therefore
Object.equals(Object) and Object.hashCode()
have to be overridden. |
void |
setRuntimeManagerURIs(java.net.URI[] runtimeManagerURIs)
Sets the communication protocol depended URIs of the
RuntimeManager which
is used for executing the referenced EBP-instance. |
static final long serialVersionUID
EBPType getType()
java.util.UUID getInstanceID()
java.util.UUID getInstanceLogId()
getInstanceID().java.util.UUID getBaseTemplateID()
int getNodeID()
Integer.MIN_VALUE.int getNodeIteration()
EBPInstanceReference references.java.net.URI[] getExecutionManagerURIs()
java.net.URI[] getRuntimeManagerURIs()
null if the EBP-Instance has not been started yet.void setRuntimeManagerURIs(java.net.URI[] runtimeManagerURIs)
RuntimeManager which
is used for executing the referenced EBP-instance.
Note: This method should only be called from the worklist (e.g. on the client side).
runtimeManagerURIs - the URIs assigned to the appropriate
RuntimeManager
instance.boolean equals(java.lang.Object otherObject)
EBPInstanceReferences are equal in case they reference the
same executable business process, therefore
Object.equals(Object) and Object.hashCode()
have to be overridden.equals in class java.lang.ObjectotherObject - An instance of another object to compare this
EBPInstanceReference with.Object.equals(Object),
Object.hashCode()int hashCode()
EBPInstanceReferences are equal in case they reference the
same executable business process, therefore
Object.equals(Object) and Object.hashCode()
have to be overridden.hashCode in class java.lang.ObjectObject.equals(Object),
Object.hashCode()