public static enum BridgeElement.BridgeDot1dBaseType extends Enum<BridgeElement.BridgeDot1dBaseType>
Enum Constant and Description |
---|
DOT1DBASETYPE_SOURCEROUTE_ONLY |
DOT1DBASETYPE_SRT |
DOT1DBASETYPE_TRANSPARENT_ONLY |
DOT1DBASETYPE_UNKNOWN |
Modifier and Type | Field and Description |
---|---|
protected static Map<Integer,String> |
s_typeMap |
Modifier and Type | Method and Description |
---|---|
static BridgeElement.BridgeDot1dBaseType |
get(Integer code) |
static String |
getTypeString(Integer code) |
Integer |
getValue() |
static BridgeElement.BridgeDot1dBaseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BridgeElement.BridgeDot1dBaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BridgeElement.BridgeDot1dBaseType DOT1DBASETYPE_UNKNOWN
public static final BridgeElement.BridgeDot1dBaseType DOT1DBASETYPE_TRANSPARENT_ONLY
public static final BridgeElement.BridgeDot1dBaseType DOT1DBASETYPE_SOURCEROUTE_ONLY
public static final BridgeElement.BridgeDot1dBaseType DOT1DBASETYPE_SRT
public static BridgeElement.BridgeDot1dBaseType[] values()
for (BridgeElement.BridgeDot1dBaseType c : BridgeElement.BridgeDot1dBaseType.values()) System.out.println(c);
public static BridgeElement.BridgeDot1dBaseType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Integer getValue()
public static BridgeElement.BridgeDot1dBaseType get(Integer code)
Copyright © 2020. All rights reserved.