See: Description
Interface | Description |
---|---|
DeclaredStatement<A> |
Represents declared statement.
|
EffectiveStatement<A,D extends DeclaredStatement<A>> |
Effective model statement which should be used to derive application behaviour.
|
IdentifierNamespace<K,V> |
Model specific namespace which allows access to specific
IdentifierNamespace serves as common superclass for YANG model namespaces, which are type-captured
subclasses. |
ModelStatement<A> |
Model statement.
|
StatementDefinition |
Definition / model of YANG
DeclaredStatement and EffectiveStatement . |
Class | Description |
---|---|
DefaultStatementDefinition<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
Default implementation of the
StatementDefinition contract. |
ForwardingEffectiveStatement<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
Utility forwarding implementation of
EffectiveStatement contract. |
Enum | Description |
---|---|
StatementSource |
Origin of statement.
|
Existence of meta-model allows for better evolution of YANG language as it evolves and allows for better support of different serializations of YANG model.
Statements are represented as instances / subclasses of
ModelStatement
concept and its two subconcepts which are:
DeclaredStatement
- this contains navigable
set of statements model as they was defined / present in original processed
sources.
EffectiveStatement
- navigable set of statements
which represents effective model of parsed YANG sources, which is derived by rules
present in YANG specification and/or was introduced in form of extensions.
Clear separation of declared / effective model is needed, since statement definition also
contains information how effective model is computed and there is no one to one mapping
between declared and effective model thanks to statements such as uses
,
augment
,deviate
,refine
.
Common abstraction for various types of namespaces is
IdentifierNamespace
from which concrete effective model namespaces are derived.
Copyright © 2019 OpenDaylight. All rights reserved.