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