| java.lang.Object de.danet.an.workflow.api.ActivityUniqueKey
ActivityUniqueKey | public class ActivityUniqueKey implements Serializable(Code) | | This class implements a unique activity key. The OMG interface defines
the key returned by the
de.danet.an.workflow.omgcore.WfExecutionObject.keykey() 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.
This class therefore combines the activity key, the process key and
the process manager name to a unique activity key.
author: Michael N. Lipp version: $Revision: 1.2 $ |
Method Summary | |
public String | activityKey() Return the activity key. | public boolean | equals(Object other) Two ActivityUniqueKey s are equal, if all
attributes are equal. | public int | hashCode() Calculate a hash code for a ActivityUniqueKey
object. | public String | managerName() Return the process manager name. | public String | processKey() Return the process key. | public String | toString() Generate a string representation for debugging purposes. |
ActivityUniqueKey | public ActivityUniqueKey(WfActivity activity) throws RemoteException(Code) | | Creates an instance of ActivityUniqueKey
for the given activity.
Parameters: activity - the WfActivity . throws: RemoteException - if a system-level error occurs. |
ActivityUniqueKey | public ActivityUniqueKey(String managerName, String processKey, String activityKey)(Code) | | Creates an instance of ActivityUniqueKey
from the given partial keys.
Parameters: managerName - the process manager name. Parameters: processKey - the process key. Parameters: activityKey - the activity key. |
activityKey | public String activityKey()(Code) | | Return the activity key.
the activity key. |
equals | public boolean equals(Object other)(Code) | | Two ActivityUniqueKey s are equal, if all
attributes are equal.
Parameters: other - a ActivityUniqueKey value true if objects are equal. |
hashCode | public int hashCode()(Code) | | Calculate a hash code for a ActivityUniqueKey
object.
the hash code. |
managerName | public String managerName()(Code) | | Return the process manager name.
the process manager name. |
processKey | public String processKey()(Code) | | Return the process key.
the process key. |
toString | public String toString()(Code) | | Generate a string representation for debugging purposes.
a string representation. |
|
|