jdk/src/jdk.snmp/share/classes/sun/management/snmp/jvmmib/EnumJvmClassesVerboseLevel.java
changeset 27214 d9f500808d8a
parent 27213 957656314d82
parent 27202 a489e57ccf52
child 27220 315d620f5726
equal deleted inserted replaced
27213:957656314d82 27214:d9f500808d8a
     1 /*
       
     2  * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
       
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     4  *
       
     5  * This code is free software; you can redistribute it and/or modify it
       
     6  * under the terms of the GNU General Public License version 2 only, as
       
     7  * published by the Free Software Foundation.  Oracle designates this
       
     8  * particular file as subject to the "Classpath" exception as provided
       
     9  * by Oracle in the LICENSE file that accompanied this code.
       
    10  *
       
    11  * This code is distributed in the hope that it will be useful, but WITHOUT
       
    12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    14  * version 2 for more details (a copy is included in the LICENSE file that
       
    15  * accompanied this code).
       
    16  *
       
    17  * You should have received a copy of the GNU General Public License version
       
    18  * 2 along with this work; if not, write to the Free Software Foundation,
       
    19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    20  *
       
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    22  * or visit www.oracle.com if you need additional information or have any
       
    23  * questions.
       
    24  */
       
    25 
       
    26 package sun.management.snmp.jvmmib;
       
    27 
       
    28 //
       
    29 // Generated by mibgen version 5.0 (06/02/03) when compiling JVM-MANAGEMENT-MIB.
       
    30 //
       
    31 
       
    32 // java imports
       
    33 //
       
    34 import java.io.Serializable;
       
    35 import java.util.Hashtable;
       
    36 
       
    37 // RI imports
       
    38 //
       
    39 import com.sun.jmx.snmp.Enumerated;
       
    40 
       
    41 /**
       
    42  * The class is used for representing "JvmClassesVerboseLevel".
       
    43  */
       
    44 public class EnumJvmClassesVerboseLevel extends Enumerated implements Serializable {
       
    45 
       
    46     static final long serialVersionUID = -620710366914810374L;
       
    47     protected static Hashtable<Integer, String> intTable =
       
    48             new Hashtable<>();
       
    49     protected static Hashtable<String, Integer> stringTable =
       
    50             new Hashtable<>();
       
    51     static  {
       
    52         intTable.put(2, "verbose");
       
    53         intTable.put(1, "silent");
       
    54         stringTable.put("verbose", 2);
       
    55         stringTable.put("silent", 1);
       
    56     }
       
    57 
       
    58     public EnumJvmClassesVerboseLevel(int valueIndex) throws IllegalArgumentException {
       
    59         super(valueIndex);
       
    60     }
       
    61 
       
    62     public EnumJvmClassesVerboseLevel(Integer valueIndex) throws IllegalArgumentException {
       
    63         super(valueIndex);
       
    64     }
       
    65 
       
    66     public EnumJvmClassesVerboseLevel() throws IllegalArgumentException {
       
    67         super();
       
    68     }
       
    69 
       
    70     public EnumJvmClassesVerboseLevel(String x) throws IllegalArgumentException {
       
    71         super(x);
       
    72     }
       
    73 
       
    74     protected Hashtable<Integer,String> getIntTable() {
       
    75         return intTable ;
       
    76     }
       
    77 
       
    78     protected Hashtable<String,Integer> getStringTable() {
       
    79         return stringTable ;
       
    80     }
       
    81 
       
    82 }