public enum LinkFlags extends Enum<LinkFlags> implements org.opendaylight.yangtools.yang.binding.Enumeration
| Enum Constant and Description |
|---|
Dedicated1plus1 |
Dedicated1to1 |
Enhanced |
ExtraTraffic |
Shared |
TotallyUnprotected |
Unprotected |
| Modifier and Type | Method and Description |
|---|---|
static Optional<LinkFlags> |
forName(String name)
Return the enumeration member whose
getName() matches specified value. |
static LinkFlags |
forValue(int intValue)
Return the enumeration member whose
getIntValue() matches specified value. |
int |
getIntValue() |
String |
getName() |
static LinkFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkFlags TotallyUnprotected
public static final LinkFlags ExtraTraffic
public static final LinkFlags Unprotected
public static final LinkFlags Shared
public static final LinkFlags Dedicated1to1
public static final LinkFlags Dedicated1plus1
public static final LinkFlags Enhanced
public static LinkFlags[] values()
for (LinkFlags c : LinkFlags.values()) System.out.println(c);
public static LinkFlags 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.Enumerationpublic int getIntValue()
getIntValue in interface org.opendaylight.yangtools.yang.binding.Enumerationpublic static Optional<LinkFlags> forName(String name)
getName() matches specified value.name - YANG assigned nameNullPointerException - if name is nullpublic static LinkFlags forValue(int intValue)
getIntValue() matches specified value.intValue - integer valueCopyright © 2018 OpenDaylight. All rights reserved.