com.ibm.tws.objects.types
Class WorkstationType

java.lang.Object
  extended bycom.ibm.tws.objects.types.OrdinalType
      extended bycom.ibm.tws.objects.types.WorkstationType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
WorkstationInPlanType

public class WorkstationType
extends OrdinalType

This class implements the WorkstationType ordinal type.

See Also:
Serialized Form

Field Summary
static WorkstationType COMPUTER
          The COMPUTER value.
static java.lang.String COPYRIGHT
          Copyright.
static WorkstationType FTA
          The FTA value.
static WorkstationType GENERAL
          The GENERAL value.
static WorkstationType MANAGER
          The MANAGER value.
static WorkstationType PRINTER
          The PRINTER value.
static WorkstationType SA
          The SA value.
static WorkstationType XA
          The XA value.
 
Constructor Summary
protected WorkstationType(char charValue)
          Inaccessible constructor (only public static instances of this class must be used).
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if this object equals to the specified one.
static WorkstationType getInstance(char charValue)
          Returns a reference to the instance of WorkstationType that is associated to the specified character.
 int hashCode()
          Returns a hash code for this WorkstationType object.
 java.lang.String toString()
          Returns a string representation of this WorkstationType 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.


MANAGER

public static WorkstationType MANAGER
The MANAGER value. This type is used only for the master workstation.


FTA

public static WorkstationType FTA
The FTA value.


XA

public static WorkstationType XA
The XA value.


SA

public static WorkstationType SA
The SA value.


GENERAL

public static WorkstationType GENERAL
The GENERAL value. This workstation type is valid for z/OS workstations only.


COMPUTER

public static WorkstationType COMPUTER
The COMPUTER value. This workstation type is valid for z/OS workstations only.


PRINTER

public static WorkstationType PRINTER
The PRINTER value. This workstation type is valid for z/OS workstations only.

Constructor Detail

WorkstationType

protected WorkstationType(char charValue)
Inaccessible constructor (only public static instances of this class must be used).

Parameters:
charValue - The character representation of one of the values exposed by this class.
See Also:
OrdinalType.getCharValue()
Method Detail

getInstance

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

Returns:
The object's hash code.

toString

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

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


Copyright © 2005 IBM All Rights Reserved.