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

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

public class PromptStatusType
extends OrdinalType

This class implements the PromptStatusType ordinal type. It contains the valid values for the status of a prompt. These values are also used as as filters values for PromptInPlanFilters.STATUS_LIST.

See Also:
PromptInPlan, PromptInPlanFilters, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
static PromptStatusType PROMPT_STATUS_ANSWERED_NO
          The Prompt has been Answered 'No'
static PromptStatusType PROMPT_STATUS_ANSWERED_YES
          The Prompt has been Answered 'Yes'
static PromptStatusType PROMPT_STATUS_ASKED
          The Prompt is Asked, and waits a Reply.
static PromptStatusType PROMPT_STATUS_NOT_ASKED
          The Prompt is Not Asked
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if this object equals to the specified one.
static PromptStatusType getInstance(char charValue)
          Returns a reference to the instance of PromptStatusType that is associated to the specified character.
 int hashCode()
          Returns a hash code for this PromptStatusType object.
 java.lang.String toString()
          Returns a string representation of this PromptStatusType 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_STATUS_NOT_ASKED

public static PromptStatusType PROMPT_STATUS_NOT_ASKED
The Prompt is Not Asked


PROMPT_STATUS_ASKED

public static PromptStatusType PROMPT_STATUS_ASKED
The Prompt is Asked, and waits a Reply.


PROMPT_STATUS_ANSWERED_YES

public static PromptStatusType PROMPT_STATUS_ANSWERED_YES
The Prompt has been Answered 'Yes'


PROMPT_STATUS_ANSWERED_NO

public static PromptStatusType PROMPT_STATUS_ANSWERED_NO
The Prompt has been Answered 'No'

Method Detail

getInstance

public static PromptStatusType getInstance(char charValue)
Returns a reference to the instance of PromptStatusType 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 PromptStatusType object.

Returns:
The object's hash code.

toString

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

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


Copyright © 2005 IBM All Rights Reserved.