public enum BadMatchCode extends Enum<BadMatchCode> implements org.opendaylight.yangtools.yang.binding.Enumeration
Enum Constant and Description |
---|
BADDLADDRMASK |
BADFIELD |
BADLEN |
BADMASK |
BADNWADDRMASK |
BADPREREQ |
BADTAG |
BADTYPE |
BADVALUE |
BADWILDCARDS |
DUPFIELD |
EPERM |
Modifier and Type | Method and Description |
---|---|
static Optional<BadMatchCode> |
forName(String name)
Return the enumeration member whose
getName() matches specified value. |
static BadMatchCode |
forValue(int intValue)
Return the enumeration member whose
getIntValue() matches specified value. |
int |
getIntValue() |
String |
getName() |
static BadMatchCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BadMatchCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BadMatchCode BADTYPE
public static final BadMatchCode BADLEN
public static final BadMatchCode BADTAG
public static final BadMatchCode BADDLADDRMASK
public static final BadMatchCode BADNWADDRMASK
public static final BadMatchCode BADWILDCARDS
public static final BadMatchCode BADFIELD
public static final BadMatchCode BADVALUE
public static final BadMatchCode BADMASK
public static final BadMatchCode BADPREREQ
public static final BadMatchCode DUPFIELD
public static final BadMatchCode EPERM
public static BadMatchCode[] values()
for (BadMatchCode c : BadMatchCode.values()) System.out.println(c);
public static BadMatchCode 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<BadMatchCode> forName(String name)
getName()
matches specified value.name
- YANG assigned nameNullPointerException
- if name is nullpublic static BadMatchCode forValue(int intValue)
getIntValue()
matches specified value.intValue
- integer valueCopyright © 2020 OpenDaylight. All rights reserved.