|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines the interface for a process instance's primary key. The key is responsible for performing two functions:
The key class cannot be instantiated directly, rather it must be created from the factory class ProcessInstancePKFactory.
IProcessInstance,
IPMApplication,
ProcessInstancePKFactory| Method Summary | |
java.util.Hashtable |
dumpState()
Returns the properties of the process instance key in a hashtable. |
java.lang.String |
getApplicationName()
Returns the common name of the application this instance belongs to. |
java.lang.String |
getClusterName()
Returns the name of the cluster to which this instance belongs to. |
long |
getInstanceId()
Returns the process instance's id number. |
boolean |
isEditable()
Returns true if this key has been set to load the process instance for update. |
void |
setEditable(boolean mode)
Sets the mode in which the process instance should be loaded. |
java.lang.String |
toString()
Returns the value of the process instance's id number as a string. |
java.lang.String |
toSwapURL()
Returns the value of the process instance key in an internal format. |
| Method Detail |
public void setEditable(boolean mode)
true
false
mode - true if loading process instance for
update; otherwise false if loading
instance for read onlyIProcessInstance.release(boolean)public boolean isEditable()
true if the key has been set to load the instance
for update; false otherwise.setEditable(boolean)public long getInstanceId()
public java.lang.String getClusterName()
IPMClusterpublic java.lang.String getApplicationName()
IPMApplicationpublic java.lang.String toString()
toString in class java.lang.ObjectgetInstanceId()public java.lang.String toSwapURL()
Users should not rely upon the format of the string returned by this method in future releases of this class.
public java.util.Hashtable dumpState()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||