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

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

public class SymphonyType
extends OrdinalType

This class implements the SymphonyType ordinal type. It contains the valid values for the type of a Symphony. These values are also used as as filters values for SymphonyInPlanFilters.PLAN_TYPE.

See Also:
SymphonyInPlan, SymphonyInPlanFilters, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
static SymphonyType SYMPHONY_TYPE_ARCHIVED
          The Symphony is Archived (and then stored in schedlog)
static SymphonyType SYMPHONY_TYPE_FORECAST
          The Symphony is a Forecast (and then stored in schedForecast)
static SymphonyType SYMPHONY_TYPE_TRIAL
          The Symphony is a Trial (and then stored in schedTrial)
static SymphonyType SYMPHONY_TYPE_UNKNOWN
          The Symphony is of an Unknown Type.
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if this object equals to the specified one.
static SymphonyType getInstance(char charValue)
          Returns a reference to the instance of SymphonyType that is associated to the specified character.
 int hashCode()
          Returns a hash code for this SymphonyType object.
 java.lang.String toString()
          Returns a string representation of this SymphonyType 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.


SYMPHONY_TYPE_ARCHIVED

public static SymphonyType SYMPHONY_TYPE_ARCHIVED
The Symphony is Archived (and then stored in schedlog)


SYMPHONY_TYPE_TRIAL

public static SymphonyType SYMPHONY_TYPE_TRIAL
The Symphony is a Trial (and then stored in schedTrial)


SYMPHONY_TYPE_FORECAST

public static SymphonyType SYMPHONY_TYPE_FORECAST
The Symphony is a Forecast (and then stored in schedForecast)


SYMPHONY_TYPE_UNKNOWN

public static SymphonyType SYMPHONY_TYPE_UNKNOWN
The Symphony is of an Unknown Type. This type should never occur.

Method Detail

getInstance

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

Returns:
The object's hash code.

toString

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

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


Copyright © 2005 IBM All Rights Reserved.