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:
Serializable
,Comparable<LldpUtils.LldpChassisIdSubType>
- Enclosing class:
- LldpUtils
public static enum LldpUtils.LldpChassisIdSubType extends Enum<LldpUtils.LldpChassisIdSubType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LldpUtils.LldpChassisIdSubType
get(Integer code)
static String
getTypeString(Integer code)
Integer
getValue()
static LldpUtils.LldpChassisIdSubType
valueOf(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(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public Integer getValue()
-
get
public static LldpUtils.LldpChassisIdSubType get(Integer code)
-
-