com.sun.management.snmp.usm.usmmib
Class EnumUsmUserStorageType

java.lang.Object
  extended by com.sun.jdmk.Enumerated
      extended by com.sun.management.snmp.usm.usmmib.EnumUsmUserStorageType
All Implemented Interfaces:
Serializable

public class EnumUsmUserStorageType
extends Enumerated
implements Serializable

The class is used for representing "UsmUserStorageType".

Since:
Java DMK 5.1
See Also:
Serialized Form

Field Summary
protected static Hashtable intTable
           
protected static Hashtable stringTable
           
 
Fields inherited from class com.sun.jdmk.Enumerated
value
 
Constructor Summary
EnumUsmUserStorageType()
           
EnumUsmUserStorageType(int valueIndex)
           
EnumUsmUserStorageType(Integer valueIndex)
           
EnumUsmUserStorageType(String x)
           
 
Method Summary
protected  Hashtable getIntTable()
          Returns the hashtable of the integer forms.
protected  Hashtable getStringTable()
          Returns the hashtable of the string forms.
 
Methods inherited from class com.sun.jdmk.Enumerated
equals, hashCode, intValue, toString, valueIndexes, valueStrings
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

intTable

protected static Hashtable intTable

stringTable

protected static Hashtable stringTable
Constructor Detail

EnumUsmUserStorageType

public EnumUsmUserStorageType(int valueIndex)
                       throws IllegalArgumentException
Throws:
IllegalArgumentException

EnumUsmUserStorageType

public EnumUsmUserStorageType(Integer valueIndex)
                       throws IllegalArgumentException
Throws:
IllegalArgumentException

EnumUsmUserStorageType

public EnumUsmUserStorageType()
                       throws IllegalArgumentException
Throws:
IllegalArgumentException

EnumUsmUserStorageType

public EnumUsmUserStorageType(String x)
                       throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

getIntTable

protected Hashtable getIntTable()
Description copied from class: Enumerated
Returns the hashtable of the integer forms. getIntTable().get(x) returns the string form associated to the integer x. This method must be implemented by the derived class.

Specified by:
getIntTable in class Enumerated
Returns:
An hashtable for read-only purpose

getStringTable

protected Hashtable getStringTable()
Description copied from class: Enumerated
Returns the hashtable of the string forms. getStringTable().get(s) returns the integer form associated to the string s. This method must be implemented by the derived class.

Specified by:
getStringTable in class Enumerated
Returns:
An hashtable for read-only purpose

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.