Package org.opennms.netmgt.enlinkd.model
Enum BridgeStpLink.BridgeDot1dStpPortEnable
- java.lang.Object
-
- java.lang.Enum<BridgeStpLink.BridgeDot1dStpPortEnable>
-
- org.opennms.netmgt.enlinkd.model.BridgeStpLink.BridgeDot1dStpPortEnable
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BridgeStpLink.BridgeDot1dStpPortEnable>
- Enclosing class:
- BridgeStpLink
public static enum BridgeStpLink.BridgeDot1dStpPortEnable extends java.lang.Enum<BridgeStpLink.BridgeDot1dStpPortEnable>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOT1D_STP_PORT_DISABLED
DOT1D_STP_PORT_ENABLED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BridgeStpLink.BridgeDot1dStpPortEnable
get(java.lang.Integer code)
static java.lang.String
getTypeString(java.lang.Integer code)
java.lang.Integer
getValue()
static BridgeStpLink.BridgeDot1dStpPortEnable
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BridgeStpLink.BridgeDot1dStpPortEnable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOT1D_STP_PORT_ENABLED
public static final BridgeStpLink.BridgeDot1dStpPortEnable DOT1D_STP_PORT_ENABLED
-
DOT1D_STP_PORT_DISABLED
public static final BridgeStpLink.BridgeDot1dStpPortEnable DOT1D_STP_PORT_DISABLED
-
-
Method Detail
-
values
public static BridgeStpLink.BridgeDot1dStpPortEnable[] 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 (BridgeStpLink.BridgeDot1dStpPortEnable c : BridgeStpLink.BridgeDot1dStpPortEnable.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BridgeStpLink.BridgeDot1dStpPortEnable 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 BridgeStpLink.BridgeDot1dStpPortEnable get(java.lang.Integer code)
-
-