com.tivoli.twg.dmi
Class DMIEnumValues

java.lang.Object
  extended bycom.tivoli.twg.dmi.DMIEnumValues

public class DMIEnumValues
extends java.lang.Object

This class represents a DMI enumeration value/ID pair.


Constructor Summary
DMIEnumValues(int ID, java.lang.String Value)
          Construct an enumeration value/ID pair.
 
Method Summary
 int GetID()
          Accessor method to allow the retrieval of the numeric ID associated with this pair.
 java.lang.String GetValue()
          Accessor method to all the retrieval of the readable string value associated with this pair.
 java.lang.String toString()
          Debug method to dump the ID and readable string of this enumeration value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DMIEnumValues

public DMIEnumValues(int ID,
                     java.lang.String Value)
Construct an enumeration value/ID pair.

Method Detail

GetID

public int GetID()
Accessor method to allow the retrieval of the numeric ID associated with this pair.


GetValue

public java.lang.String GetValue()
Accessor method to all the retrieval of the readable string value associated with this pair.


toString

public java.lang.String toString()
Debug method to dump the ID and readable string of this enumeration value.

Returns:
String - A debug display string.