|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.plan.ResourceInPlanKey
This object represents a resource in plan external key, including fields used to identify a resource in TWS external interfaces. Since a resource is identified by its name and by a referenced workstation, this class includes a name attribute and a reference to a WorkstationInPlanKey object.
ResourceInPlan
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
ResourceInPlanKey()
Creates an empty Resource key. |
|
ResourceInPlanKey(java.lang.String name,
WorkstationInPlanKey key)
Creates a Resource Key |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
equality method. |
java.lang.String |
getName()
Returns the key name. |
WorkstationInPlanKey |
getWorkstationKey()
Returns the key of the Workstation to which this resource refer. |
int |
hashCode()
Returns a hash code for this ResourceInPlanKey object. |
void |
setName(java.lang.String string)
Sets The resource name |
void |
setWorkstationKey(WorkstationInPlanKey key)
Sets the key of the Workstation to which this Resource refer. |
java.lang.String |
toString()
Returns a string representation of this ResourceInPlanKey. |
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 ResourceInPlanKey()
public ResourceInPlanKey(java.lang.String name, WorkstationInPlanKey key)
name
- The resource keykey
- The Workstation keyMethod Detail |
public java.lang.String getName()
getName
in interface TWSKey
public void setName(java.lang.String string)
string
- the new key namepublic boolean equals(java.lang.Object object)
object
- the object to be compared
public int hashCode()
public java.lang.String toString()
public WorkstationInPlanKey getWorkstationKey()
public void setWorkstationKey(WorkstationInPlanKey key)
key
- the workstation key
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |