public static enum Edit.Where extends Enum<Edit.Where> implements Enumeration
Enum Constant and Description |
---|
After
Insert or move a data node after the data resourceidentified by the 'point'
parameter.
|
Before
Insert or move a data node before the data resourceidentified by the 'point'
parameter.
|
First
Insert or move a data node so it becomes orderedas the first entry.
|
Last
Insert or move a data node so it becomes orderedas the last entry.
|
Modifier and Type | Method and Description |
---|---|
static Optional<Edit.Where> |
forName(String name)
Return the enumeration member whose
getName() matches specified value. |
static Edit.Where |
forValue(int intValue)
Return the enumeration member whose
getIntValue() matches specified value. |
int |
getIntValue()
Returns the assigned value of the enumeration item as it is specified in the input YANG.
|
String |
getName()
Returns the assigned name of the enumeration item as it is specified in the input YANG.
|
static Edit.Where |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Edit.Where[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Edit.Where Before
public static final Edit.Where After
public static final Edit.Where First
public static final Edit.Where Last
public static Edit.Where[] values()
for (Edit.Where c : Edit.Where.values()) System.out.println(c);
public static Edit.Where 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()
Enumeration
getName
in interface Enumeration
public int getIntValue()
Enumeration
getIntValue
in interface Enumeration
public static Optional<Edit.Where> forName(String name)
getName()
matches specified value.name
- YANG assigned nameNullPointerException
- if name is nullpublic static Edit.Where forValue(int intValue)
getIntValue()
matches specified value.intValue
- integer valueCopyright © 2019 OpenDaylight. All rights reserved.