public enum YangDataStatements extends Enum<YangDataStatements> implements StatementDefinition
StatementDefinitions for statements defined by RFC8040.| Enum Constant and Description |
|---|
YANG_DATA |
| Modifier and Type | Method and Description |
|---|---|
QName |
getArgumentName()
Returns name of statement argument or null, if statement does not have
argument.
|
Class<? extends DeclaredStatement<?>> |
getDeclaredRepresentationClass()
Returns class which represents declared version of statement associated
with this definition.
|
Class<? extends EffectiveStatement<?,?>> |
getEffectiveRepresentationClass()
Returns class which represents derived behaviour from supplied statement.
|
QName |
getStatementName()
Returns name of the statement.
|
boolean |
isArgumentYinElement()
Returns true, if argument of statement is represented as value of yin
element.
|
static YangDataStatements |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YangDataStatements[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YangDataStatements YANG_DATA
public static YangDataStatements[] values()
for (YangDataStatements c : YangDataStatements.values()) System.out.println(c);
public static YangDataStatements 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 QName getArgumentName()
StatementDefinitiongetArgumentName in interface StatementDefinitionpublic boolean isArgumentYinElement()
StatementDefinitionisArgumentYinElement in interface StatementDefinitionpublic QName getStatementName()
StatementDefinitiongetStatementName in interface StatementDefinitionpublic Class<? extends EffectiveStatement<?,?>> getEffectiveRepresentationClass()
StatementDefinitionThis class should be interface, which defines convenience access to statement properties, namespace items and substatements.
getEffectiveRepresentationClass in interface StatementDefinitionpublic Class<? extends DeclaredStatement<?>> getDeclaredRepresentationClass()
StatementDefinitionThis class should be interface, which provides convenience access to declared substatements.
getDeclaredRepresentationClass in interface StatementDefinitionCopyright © 2019 OpenDaylight. All rights reserved.