|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.danet.an.workflow.api.ActivityUniqueKey
This class implements a unique activity key. The OMG interface defines
the key returned by the
method as unique within the scope of the containing
process only. The key of a process in turn is unique only among the
processes with a common process manager.key()
This class therefore combines the activity key, the process key and the process manager name to a unique activity key.
Constructor Summary | |
ActivityUniqueKey(java.lang.String managerName,
java.lang.String processKey,
java.lang.String activityKey)
Creates an instance of ActivityUniqueKey
from the given partial keys. |
|
ActivityUniqueKey(WfActivity activity)
Creates an instance of ActivityUniqueKey
for the given activity. |
Method Summary | |
java.lang.String |
activityKey()
Return the activity key. |
boolean |
equals(java.lang.Object other)
Two ActivityUniqueKey s are equal, if all
attributes are equal. |
int |
hashCode()
Calculate a hash code for a ActivityUniqueKey
object. |
java.lang.String |
managerName()
Return the process manager name. |
java.lang.String |
processKey()
Return the process key. |
java.lang.String |
toString()
Generate a string representation for debugging purposes. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ActivityUniqueKey(WfActivity activity) throws java.rmi.RemoteException
ActivityUniqueKey
for the given activity.
activity
- the WfActivity
.
java.rmi.RemoteException
- if a system-level error occurs.public ActivityUniqueKey(java.lang.String managerName, java.lang.String processKey, java.lang.String activityKey)
ActivityUniqueKey
from the given partial keys.
managerName
- the process manager name.processKey
- the process key.activityKey
- the activity key.Method Detail |
public boolean equals(java.lang.Object other)
ActivityUniqueKey
s are equal, if all
attributes are equal.
other
- a ActivityUniqueKey
value
true
if objects are equal.public int hashCode()
ActivityUniqueKey
object.
public java.lang.String activityKey()
public java.lang.String processKey()
public java.lang.String managerName()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |