Interface StatusEffectiveStatement
- All Superinterfaces:
EffectiveStatement<Status,
,StatusStatement> ModelStatement<Status>
- All Known Implementing Classes:
EmptyStatusEffectiveStatement
,RegularStatusEffectiveStatement
Effective representation of a
status
statement.
Note that unlike almost all other representations, these statements are only ever a reflection of a declared
status
statement. The truly effective status of a particular statement within a tree depends on its parent
statements. As an example, given this YANG module:
module foo {
grouping foo {
leaf baz {
type string;
}
}
container bar {
status deprecated;
uses foo;
}
uses foo;
}
The object model will only reflect the status
statement in container bar
, but will not be present in
bar
's baz
leaf. Users are advised to use utility classes related to statement inference which
consider parent/child relationships of statements.-
Method Summary
Modifier and TypeMethodDescriptiondefault StatementDefinition
Statement Definition of this statement.Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement
collectEffectiveSubstatements, effectiveSubstatements, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, getDeclared, statementOrigin, streamEffectiveSubstatements
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.ModelStatement
argument
-
Method Details
-
statementDefinition
Description copied from interface:ModelStatement
Statement Definition of this statement.- Specified by:
statementDefinition
in interfaceModelStatement<Status>
- Returns:
- definition of this statement.
-