public static enum IfL2vlan.L2vlanMode extends Enum<IfL2vlan.L2vlanMode> implements org.opendaylight.yangtools.yang.binding.Enumeration
Enum Constant and Description |
---|
Access
The VLAN mode access.
|
NativeTagged
The VLAN mode native-tagged.
|
NativeUntagged
The VLAN mode native-untagged.
|
Transparent
The VLAN mode transparent.
|
Trunk
The VLAN mode trunk.
|
TrunkMember
The VLAN mode trunk-member.
|
Modifier and Type | Method and Description |
---|---|
static Optional<IfL2vlan.L2vlanMode> |
forName(String name)
Return the enumeration member whose
getName() matches specified value. |
static IfL2vlan.L2vlanMode |
forValue(int intValue)
Return the enumeration member whose
getIntValue() matches specified value. |
int |
getIntValue() |
String |
getName() |
static IfL2vlan.L2vlanMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IfL2vlan.L2vlanMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IfL2vlan.L2vlanMode Access
public static final IfL2vlan.L2vlanMode NativeTagged
public static final IfL2vlan.L2vlanMode NativeUntagged
public static final IfL2vlan.L2vlanMode Trunk
public static final IfL2vlan.L2vlanMode TrunkMember
public static final IfL2vlan.L2vlanMode Transparent
public static IfL2vlan.L2vlanMode[] values()
for (IfL2vlan.L2vlanMode c : IfL2vlan.L2vlanMode.values()) System.out.println(c);
public static IfL2vlan.L2vlanMode 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 String getName()
getName
in interface org.opendaylight.yangtools.yang.binding.Enumeration
public int getIntValue()
getIntValue
in interface org.opendaylight.yangtools.yang.binding.Enumeration
public static Optional<IfL2vlan.L2vlanMode> forName(String name)
getName()
matches specified value.name
- YANG assigned nameNullPointerException
- if name is nullpublic static IfL2vlan.L2vlanMode forValue(int intValue)
getIntValue()
matches specified value.intValue
- integer valueCopyright © 2019 OpenDaylight. All rights reserved.