@Beta public enum SupportedExtensionsMapping extends Enum<SupportedExtensionsMapping> implements StatementDefinition
Enum Constant and Description |
---|
ANYXML_SCHEMA_LOCATION |
OPENCONFIG_VERSION |
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 SupportedExtensionsMapping |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedExtensionsMapping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedExtensionsMapping ANYXML_SCHEMA_LOCATION
public static final SupportedExtensionsMapping OPENCONFIG_VERSION
public static final SupportedExtensionsMapping YANG_DATA
public static SupportedExtensionsMapping[] values()
for (SupportedExtensionsMapping c : SupportedExtensionsMapping.values()) System.out.println(c);
public static SupportedExtensionsMapping 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 null@Nonnull public QName getStatementName()
StatementDefinition
getStatementName
in interface StatementDefinition
@Nullable public QName getArgumentName()
StatementDefinition
getArgumentName
in interface StatementDefinition
@Nonnull public Class<? extends DeclaredStatement<?>> getDeclaredRepresentationClass()
StatementDefinition
getDeclaredRepresentationClass
in interface StatementDefinition
@Nonnull public Class<? extends EffectiveStatement<?,?>> getEffectiveRepresentationClass()
StatementDefinition
getEffectiveRepresentationClass
in interface StatementDefinition
public boolean isArgumentYinElement()
StatementDefinition
isArgumentYinElement
in interface StatementDefinition
Copyright © 2018 OpenDaylight. All rights reserved.