Package org.opennms.core.utils
Enum LldpUtils.LldpPortIdSubType
- java.lang.Object
-
- java.lang.Enum<LldpUtils.LldpPortIdSubType>
-
- org.opennms.core.utils.LldpUtils.LldpPortIdSubType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LldpUtils.LldpPortIdSubType>
- Enclosing class:
- LldpUtils
public static enum LldpUtils.LldpPortIdSubType extends java.lang.Enum<LldpUtils.LldpPortIdSubType>
-
-
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.LldpPortIdSubType
get(java.lang.Integer code)
static java.lang.String
getTypeString(java.lang.Integer code)
java.lang.Integer
getValue()
static LldpUtils.LldpPortIdSubType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LldpUtils.LldpPortIdSubType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LLDP_PORTID_SUBTYPE_INTERFACEALIAS
public static final LldpUtils.LldpPortIdSubType LLDP_PORTID_SUBTYPE_INTERFACEALIAS
-
LLDP_PORTID_SUBTYPE_PORTCOMPONENT
public static final LldpUtils.LldpPortIdSubType LLDP_PORTID_SUBTYPE_PORTCOMPONENT
-
LLDP_PORTID_SUBTYPE_MACADDRESS
public static final LldpUtils.LldpPortIdSubType LLDP_PORTID_SUBTYPE_MACADDRESS
-
LLDP_PORTID_SUBTYPE_NETWORKADDRESS
public static final LldpUtils.LldpPortIdSubType LLDP_PORTID_SUBTYPE_NETWORKADDRESS
-
LLDP_PORTID_SUBTYPE_INTERFACENAME
public static final LldpUtils.LldpPortIdSubType LLDP_PORTID_SUBTYPE_INTERFACENAME
-
LLDP_PORTID_SUBTYPE_AGENTCIRCUITID
public static final LldpUtils.LldpPortIdSubType LLDP_PORTID_SUBTYPE_AGENTCIRCUITID
-
LLDP_PORTID_SUBTYPE_LOCAL
public static final LldpUtils.LldpPortIdSubType LLDP_PORTID_SUBTYPE_LOCAL
-
-
Method Detail
-
values
public static LldpUtils.LldpPortIdSubType[] 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.LldpPortIdSubType c : LldpUtils.LldpPortIdSubType.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.LldpPortIdSubType 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)
-
get
public static LldpUtils.LldpPortIdSubType get(java.lang.Integer code)
-
getValue
public java.lang.Integer getValue()
-
-