|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.model.WorkstationLink
The many-to-many association between workstations and workstation classes is defined using this object, including a reference to a FlowTargetKey instance. Multiple instances of this object can be navigated starting from a WorkstationClass, to identify the key of all workstations that are included in the class represented by that object.
The following syntax validation constraints must be met on WorkstationLink objects:
workstationKey | Must reference an existing workstation |
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
WorkstationLink()
Creates an empty WorkstationLink. |
|
WorkstationLink(FlowTargetKey key)
Creates a WorkstationLink, specifying the key of the referenced workstation. |
|
WorkstationLink(Identifier id)
Creates a WorkstationLink, specifying the identifier of the referenced workstation. |
|
WorkstationLink(Identifier id,
FlowTargetKey key)
Creates a WorkstationLink, specifying the identifier and key of the referenced workstation. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this WorkstationLink object are equal to those of the given one. |
Identifier |
getId()
Returns the identifier of the workstation referenced by this dependency. |
Identifier |
getWorkstationId()
Returns the identifier of the referenced workstation. |
FlowTargetKey |
getWorkstationKey()
Returns the key of the referenced workstation. |
int |
hashCode()
Returns a hash code for this WorkstationLink object. |
void |
setWorkstationId(Identifier id)
Sets the identifier of the referenced workstation. |
void |
setWorkstationKey(FlowTargetKey key)
Sets the key of the referenced workstation. |
java.lang.String |
toString()
Returns a string representation of this WorkstationLink object. |
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 WorkstationLink()
public WorkstationLink(Identifier id)
id
- The identifier of the referenced workstation.public WorkstationLink(FlowTargetKey key)
key
- The key of the referenced workstation.public WorkstationLink(Identifier id, FlowTargetKey key)
id
- The identifier of the referenced workstation.key
- The key of the referenced workstation.Method Detail |
public Identifier getId()
getId
in interface TWSLink
public Identifier getWorkstationId()
public FlowTargetKey getWorkstationKey()
public void setWorkstationId(Identifier id)
id
- The identifier of the referenced workstation.public void setWorkstationKey(FlowTargetKey key)
key
- The key of the referenced workstation.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |