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

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

public class ResourceStatusType
extends OrdinalType

This class implements the ResourceStatusType ordinal type. It contains the valid values for the status of a resource.

See Also:
ResourceInPlan, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
static ResourceStatusType RESOURCE_STATUS_AVAILABLE
          The Resource is Available
static ResourceStatusType RESOURCE_STATUS_NOT_AVAILABLE
          The Resource is Not Available.
static ResourceStatusType RESOURCE_STATUS_UNDECIDED
          The Resource is in an Undecided State.
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if this object equals to the specified one.
static ResourceStatusType getInstance(char charValue)
          Returns a reference to the instance of ResourceStatusType that is associated to the specified character.
 int hashCode()
          Returns a hash code for this ResourceStatusType object.
 java.lang.String toString()
          Returns a string representation of this ResourceStatusType 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.


RESOURCE_STATUS_AVAILABLE

public static ResourceStatusType RESOURCE_STATUS_AVAILABLE
The Resource is Available


RESOURCE_STATUS_NOT_AVAILABLE

public static ResourceStatusType RESOURCE_STATUS_NOT_AVAILABLE
The Resource is Not Available.


RESOURCE_STATUS_UNDECIDED

public static ResourceStatusType RESOURCE_STATUS_UNDECIDED
The Resource is in an Undecided State. This status should never occur.

Method Detail

getInstance

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

Returns:
The object's hash code.

toString

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

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


Copyright © 2005 IBM All Rights Reserved.