com.ibm.tws.objects.plan.types
Class PromptType

java.lang.Object
  extended bycom.ibm.tws.objects.types.OrdinalType
      extended bycom.ibm.tws.objects.plan.types.PromptType
All Implemented Interfaces:
java.io.Serializable

public class PromptType
extends OrdinalType

This class implements the PromptType ordinal type. It contains the valid types of Prompt.

See Also:
PromptInPlan, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
static PromptType PROMPT_TYPE_GLOBAL
          The Prompt is a predefined (global) Prompt
static PromptType PROMPT_TYPE_LOCAL
          The Prompt is an ad-hoc (local) Prompt
static PromptType PROMPT_TYPE_RESTART
          The Prompt is a restart Prompt
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if this object equals to the specified one.
static PromptType getInstance(char charValue)
          Returns a reference to the instance of PromptType that is associated to the specified character.
 int hashCode()
          Returns a hash code for this PromptType object.
 java.lang.String toString()
          Returns a string representation of this PromptType object.
 
Methods inherited from class com.ibm.tws.objects.types.OrdinalType
getCharValue, getInstance, toString
 
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.


PROMPT_TYPE_LOCAL

public static PromptType PROMPT_TYPE_LOCAL
The Prompt is an ad-hoc (local) Prompt


PROMPT_TYPE_GLOBAL

public static PromptType PROMPT_TYPE_GLOBAL
The Prompt is a predefined (global) Prompt


PROMPT_TYPE_RESTART

public static PromptType PROMPT_TYPE_RESTART
The Prompt is a restart Prompt

Method Detail

getInstance

public static PromptType getInstance(char charValue)
Returns a reference to the instance of PromptType that is associated to the specified character.

Parameters:
charValue - The character used by DAO implementors to store this object as a char.
Returns:
A reference to the corresponding instance for the specified character.

equals

public boolean equals(java.lang.Object object)
Returns true if this object equals to the specified one.

Parameters:
object - The object to be compared with this one.
Returns:
True if this object equals to the given one.

hashCode

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

Returns:
The object's hash code.

toString

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

Returns:
A text string including the character wrapped by this PromptType object.


Copyright © 2005 IBM All Rights Reserved.