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:
Serializable
,Comparable<BridgeStpLink.BridgeDot1dStpPortEnable>
- Enclosing class:
- BridgeStpLink
public static enum BridgeStpLink.BridgeDot1dStpPortEnable extends 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(Integer code)
static String
getTypeString(Integer code)
Integer
getValue()
static BridgeStpLink.BridgeDot1dStpPortEnable
valueOf(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(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 BridgeStpLink.BridgeDot1dStpPortEnable get(Integer code)
-
-