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

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

public class EngineStatusType
extends OrdinalType

This class implements the EngineStatusType ordinal type. It contains all the valid values of the Engine status.

See Also:
EngineInformation, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
static EngineStatusType ENGINE_STATUS_DOWN
          The Engine is Down
static EngineStatusType ENGINE_STATUS_LIVES
          The Engine is Up and running
static EngineStatusType ENGINE_STATUS_RULES
          The Engine is in the Rules state
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if this object equals to the specified one.
static EngineStatusType getInstance(char charValue)
          Returns a reference to the instance of EngineStatusType that is associated to the specified character.
 int hashCode()
          Returns a hash code for this EngineStatusType object.
 java.lang.String toString()
          Returns a string representation of this EngineStatusType 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.


ENGINE_STATUS_LIVES

public static EngineStatusType ENGINE_STATUS_LIVES
The Engine is Up and running


ENGINE_STATUS_DOWN

public static EngineStatusType ENGINE_STATUS_DOWN
The Engine is Down


ENGINE_STATUS_RULES

public static EngineStatusType ENGINE_STATUS_RULES
The Engine is in the Rules state

Method Detail

getInstance

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

Returns:
The object's hash code.

toString

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

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


Copyright © 2005 IBM All Rights Reserved.