com.ibm.tws.objects.types
Class ResourceUsage

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

public class ResourceUsage
extends OrdinalType

This class implements the ResourceUsage ordinal type.

See Also:
Serialized Form

Field Summary
static ResourceUsage CONTROL
          The CONTROL value.
static java.lang.String COPYRIGHT
          Copyright.
static ResourceUsage NEITHER_PLANNING_NOR_CONTROL
          The NEITHER_PLANNING_NOR_CONTROL value.
static ResourceUsage PLANNING
          The PLANNING value.
static ResourceUsage PLANNING_AND_CONTROL
          The PLANNING_AND_CONTROL value.
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if this object equals to the specified one.
static ResourceUsage getInstance(char charValue)
          Returns a reference to the instance of ResourceUsage that is associated to the specified character.
 int hashCode()
          Returns a hash code for this ResourceUsage object.
 java.lang.String toString()
          Returns a string representation of this ResourceUsage 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.


PLANNING

public static ResourceUsage PLANNING
The PLANNING value.


CONTROL

public static ResourceUsage CONTROL
The CONTROL value.


PLANNING_AND_CONTROL

public static ResourceUsage PLANNING_AND_CONTROL
The PLANNING_AND_CONTROL value.


NEITHER_PLANNING_NOR_CONTROL

public static ResourceUsage NEITHER_PLANNING_NOR_CONTROL
The NEITHER_PLANNING_NOR_CONTROL value.

Method Detail

getInstance

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

Parameters:
charValue - The character representation of one of the values exposed by this class.
Returns:
A reference to the corresponding instance for the specified character.
See Also:
OrdinalType.getCharValue()

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 ResourceUsage object.

Returns:
The object's hash code.

toString

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

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


Copyright © 2005 IBM All Rights Reserved.