|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.FlowTargetKey
This object represents a workstation or workstation class external key, including fields used to identify a workstation or a workstation class in TWS external interfaces. Since a workstation cannot have the same name of a workstation class, the only attribute of this class, which is called name, uniquely identifies either a workstation or a workstation class.
FlowTarget
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
FlowTargetKey()
Creates an empty FlowTargetKey. |
|
FlowTargetKey(java.lang.String flowTargetName)
Creates a FlowTargetKey with the specified name. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this FlowTargetKey object are equal to those of the given one. |
java.lang.String |
getName()
Returns the workstation or workstation class name. |
int |
hashCode()
Returns a hash code for this FlowTargetKey object. |
static FlowTargetKey |
parseKey(java.lang.String key)
Parses data from the specified string and creates a new FlowTargetKey. |
void |
setCurrentRole(boolean asWorkstation)
Sets the current role, used only by the toString() method to format the key string. |
void |
setName(java.lang.String value)
Sets the workstation or workstation class name. |
java.lang.String |
toString()
Returns a string representation of this FlowTargetKey object as a workstation key. |
java.lang.String |
toString(boolean asWorkstation)
Returns a string representation of this FlowTargetKey object as a workstation or workstation class key. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public FlowTargetKey()
public FlowTargetKey(java.lang.String flowTargetName)
flowTargetName
- The workstation or workstation class name.Method Detail |
public static FlowTargetKey parseKey(java.lang.String key)
key
- The string containing key data.
public java.lang.String getName()
getName
in interface TWSKey
public void setName(java.lang.String value)
value
- The workstation or workstation class name.public void setCurrentRole(boolean asWorkstation)
asWorkstation
- True if this key must be represented as a workstation key (false for a workstation class key).public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
public java.lang.String toString(boolean asWorkstation)
asWorkstation
- True if this key must be represented as a workstation key (false for a workstation class key).
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |