org.opennms.netmgt.snmp
Enum SnmpValueType
java.lang.Object
java.lang.Enum<SnmpValueType>
org.opennms.netmgt.snmp.SnmpValueType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SnmpValueType>
public enum SnmpValueType
- extends java.lang.Enum<SnmpValueType>
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
INT32
public static final SnmpValueType INT32
OCTET_STRING
public static final SnmpValueType OCTET_STRING
NULL
public static final SnmpValueType NULL
OBJECT_IDENTIFIER
public static final SnmpValueType OBJECT_IDENTIFIER
IPADDRESS
public static final SnmpValueType IPADDRESS
COUNTER32
public static final SnmpValueType COUNTER32
GAUGE32
public static final SnmpValueType GAUGE32
TIMETICKS
public static final SnmpValueType TIMETICKS
OPAQUE
public static final SnmpValueType OPAQUE
COUNTER64
public static final SnmpValueType COUNTER64
NO_SUCH_OBJECT
public static final SnmpValueType NO_SUCH_OBJECT
NO_SUCH_INSTANCE
public static final SnmpValueType NO_SUCH_INSTANCE
END_OF_MIB
public static final SnmpValueType END_OF_MIB
values
public static SnmpValueType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SnmpValueType c : SnmpValueType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SnmpValueType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getInt
public int getInt()
getDisplayString
public java.lang.String getDisplayString()
valueOf
public static SnmpValueType valueOf(int i)
Copyright © 2010. All Rights Reserved.