|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.plan.SymphonyInPlanKey
This object represents a Symphony file external key, including fields used to identify a Symphony in TWS external interfaces. Since a file is identified substantially by its name and its type, this class includes a name attribute and a type attribute. In the name attribute the Symphony file name but the first char is stored. In the Symphont type the type of the Symphony (identified by that first char) one of the value present in the SymphonyType class is stored
SymphonyType
,
SymphonyInPlan
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
SymphonyInPlanKey()
Empty Constructor |
|
SymphonyInPlanKey(java.lang.String name,
SymphonyType type)
Constructor for this class. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this SymphonyInPlan object are equal to those of the given one. |
java.lang.String |
getName()
Returns the Symphony name |
SymphonyType |
getType()
Returns the Symphony Type. |
int |
hashCode()
Returns a hash code for this Symphony object. |
void |
setName(java.lang.String string)
Set the symphony name |
void |
setType(SymphonyType type)
Sets the Symphony Type |
java.lang.String |
toString()
Returns a string representation of this SymphonyInPlan 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 SymphonyInPlanKey()
public SymphonyInPlanKey(java.lang.String name, SymphonyType type)
name
- the symphony name.type
- the symphony type.Method Detail |
public java.lang.String getName()
getName
in interface TWSKey
TWSKey.getName()
public void setName(java.lang.String string)
string
- the symphony namepublic boolean equals(java.lang.Object object)
object
- The object to be compared
public int hashCode()
public java.lang.String toString()
public SymphonyType getType()
public void setType(SymphonyType type)
type
- the Symphony Type
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |