public enum StatementSource extends Enum<StatementSource>
Enum Constant and Description |
---|
CONTEXT
Statement was derived from context of YANG model / statement
and represents effective model.
|
DECLARATION
Statement was explicitly declared by author of the supplied model.
|
Modifier and Type | Method and Description |
---|---|
static StatementSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatementSource DECLARATION
public static final StatementSource CONTEXT
Effective context nodes are derived from applicable DECLARATION
statements by interpreting their semantic meaning in context
of current statement.
public static StatementSource[] values()
for (StatementSource c : StatementSource.values()) System.out.println(c);
public static StatementSource 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 nullCopyright © 2019 OpenDaylight. All rights reserved.