public enum SmiPrimitiveType extends java.lang.Enum<SmiPrimitiveType>
| Enum Constant and Description |
|---|
BITS |
COUNTER_32 |
COUNTER_64 |
ENUM |
GAUGE_32 |
INTEGER |
INTEGER_32 |
IP_ADDRESS |
OBJECT_IDENTIFIER |
OCTET_STRING |
OPAQUE |
TIME_TICKS |
UNSIGNED_32 |
| Modifier and Type | Method and Description |
|---|---|
SmiPrimitiveType |
fromXmlValue(java.lang.String xmlValue) |
SmiVarBindField |
getVarBindField() |
java.lang.String |
getXmlValue() |
boolean |
isNamedNumbersSupported() |
boolean |
isRangesSupported() |
static SmiPrimitiveType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SmiPrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmiPrimitiveType ENUM
public static final SmiPrimitiveType INTEGER
public static final SmiPrimitiveType OCTET_STRING
public static final SmiPrimitiveType OBJECT_IDENTIFIER
public static final SmiPrimitiveType INTEGER_32
public static final SmiPrimitiveType IP_ADDRESS
public static final SmiPrimitiveType COUNTER_32
public static final SmiPrimitiveType GAUGE_32
public static final SmiPrimitiveType UNSIGNED_32
public static final SmiPrimitiveType TIME_TICKS
public static final SmiPrimitiveType OPAQUE
public static final SmiPrimitiveType COUNTER_64
public static final SmiPrimitiveType BITS
public static SmiPrimitiveType[] values()
for (SmiPrimitiveType c : SmiPrimitiveType.values()) System.out.println(c);
public static SmiPrimitiveType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic SmiVarBindField getVarBindField()
public SmiPrimitiveType fromXmlValue(java.lang.String xmlValue)
public java.lang.String getXmlValue()
public boolean isNamedNumbersSupported()
public boolean isRangesSupported()