com.ibm.tws.objects.plan
Class PromptInPlanKey

java.lang.Object
  extended bycom.ibm.tws.objects.plan.PromptInPlanKey
All Implemented Interfaces:
java.io.Serializable, TWSKey

public class PromptInPlanKey
extends java.lang.Object
implements TWSKey

This object represents a prompt in plan external key, including fields used to identify a prompt in TWS external interfaces.

See Also:
com.ibm.tws.objects.plan.Prompt, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
 
Constructor Summary
PromptInPlanKey()
          Creates an empty PromptKey.
PromptInPlanKey(java.lang.String name)
          Creates a PromptKey, with the specified name.
 
Method Summary
 boolean equals(java.lang.Object object)
          equality method.
 java.lang.String getName()
          Returns the Prompt name.
 int hashCode()
          Returns a hash code for this PromptInPlanKey object.
 void setName(java.lang.String name)
          Sets the Prompt name.
 java.lang.String toString()
          Returns a string representation of this PromptInPlanKey.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright

Constructor Detail

PromptInPlanKey

public PromptInPlanKey()
Creates an empty PromptKey.


PromptInPlanKey

public PromptInPlanKey(java.lang.String name)
Creates a PromptKey, with the specified name.

Parameters:
name - The name of the prompt key.
Method Detail

getName

public java.lang.String getName()
Returns the Prompt name.

Specified by:
getName in interface TWSKey
Returns:
The Prompt name.

setName

public void setName(java.lang.String name)
Sets the Prompt name.

Parameters:
name - The Prompt name.

equals

public boolean equals(java.lang.Object object)
equality method.

Parameters:
object - The object to be compared.
Returns:
true if the object is equal to this one.

hashCode

public int hashCode()
Returns a hash code for this PromptInPlanKey object.

Returns:
The object's hash code.

toString

public java.lang.String toString()
Returns a string representation of this PromptInPlanKey.

Returns:
A text string including all PromptInPlanKey fields.


Copyright © 2005 IBM All Rights Reserved.