|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the interface for a work item'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 WorkItemPKFactory.
IWorkItem
,
IPMApplication
,
WorkItemPKFactory
Method Summary | |
java.util.Hashtable |
dumpState()
Returns the properties of the work item key in a hashtable. |
java.lang.String |
getApplicationName()
Returns the common name of the application this work item belongs to. |
java.lang.String |
getClusterName()
Returns the name of the cluster this work item's belongs to. |
java.lang.String |
getForkId()
Returns the work item's fork id. |
long |
getInstanceId()
Returns the work item's instance id number. |
java.lang.String |
getNodeName()
Returns the work item's node name. |
boolean |
isEditable()
Returns true if this key has been set to load the work item for update. |
void |
setEditable(boolean mode)
Sets the mode in which the work item should be loaded. |
java.lang.String |
toString()
Returns the value of the work item's 3-tuple key (instance id, fork id and node name) as a string. |
java.lang.String |
toSwapURL()
Returns the value of the work item key in an internal format. |
Method Detail |
public void setEditable(boolean mode)
true
false
mode
- true
if loading work item for update;
otherwise false
if loading work item
for read onlyIWorkItem.release(boolean)
public boolean isEditable()
true
if the key has been set to load the work
item for update; false
otherwise.setEditable(boolean)
public long getInstanceId()
public java.lang.String getClusterName()
public java.lang.String getForkId()
public java.lang.String getNodeName()
public java.lang.String getApplicationName()
IPMApplication
public java.lang.String toString()
toString
in class java.lang.Object
getInstanceId()
,
getForkId()
,
getNodeName()
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 |