Package org.opennms.core.utils
Enum LldpUtils.LldpChassisIdSubType
- java.lang.Object
-
- java.lang.Enum<LldpUtils.LldpChassisIdSubType>
-
- org.opennms.core.utils.LldpUtils.LldpChassisIdSubType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LldpUtils.LldpChassisIdSubType>
- Enclosing class:
- LldpUtils
public static enum LldpUtils.LldpChassisIdSubType extends java.lang.Enum<LldpUtils.LldpChassisIdSubType>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.Map<java.lang.Integer,java.lang.String>
s_typeMap
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LldpUtils.LldpChassisIdSubType
get(java.lang.Integer code)
static java.lang.String
getTypeString(java.lang.Integer code)
java.lang.Integer
getValue()
static LldpUtils.LldpChassisIdSubType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LldpUtils.LldpChassisIdSubType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LLDP_CHASSISID_SUBTYPE_CHASSISCOMPONENT
public static final LldpUtils.LldpChassisIdSubType LLDP_CHASSISID_SUBTYPE_CHASSISCOMPONENT
-
LLDP_CHASSISID_SUBTYPE_INTERFACEALIAS
public static final LldpUtils.LldpChassisIdSubType LLDP_CHASSISID_SUBTYPE_INTERFACEALIAS
-
LLDP_CHASSISID_SUBTYPE_PORTCOMPONENT
public static final LldpUtils.LldpChassisIdSubType LLDP_CHASSISID_SUBTYPE_PORTCOMPONENT
-
LLDP_CHASSISID_SUBTYPE_MACADDRESS
public static final LldpUtils.LldpChassisIdSubType LLDP_CHASSISID_SUBTYPE_MACADDRESS
-
LLDP_CHASSISID_SUBTYPE_NETWORKADDRESS
public static final LldpUtils.LldpChassisIdSubType LLDP_CHASSISID_SUBTYPE_NETWORKADDRESS
-
LLDP_CHASSISID_SUBTYPE_INTERFACENAME
public static final LldpUtils.LldpChassisIdSubType LLDP_CHASSISID_SUBTYPE_INTERFACENAME
-
LLDP_CHASSISID_SUBTYPE_LOCAL
public static final LldpUtils.LldpChassisIdSubType LLDP_CHASSISID_SUBTYPE_LOCAL
-
-
Method Detail
-
values
public static LldpUtils.LldpChassisIdSubType[] 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 (LldpUtils.LldpChassisIdSubType c : LldpUtils.LldpChassisIdSubType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LldpUtils.LldpChassisIdSubType 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 namejava.lang.NullPointerException
- if the argument is null
-
getTypeString
public static java.lang.String getTypeString(java.lang.Integer code)
-
getValue
public java.lang.Integer getValue()
-
get
public static LldpUtils.LldpChassisIdSubType get(java.lang.Integer code)
-
-