Interface ModuleEffectiveStatement
-
- All Superinterfaces:
DataTreeAwareEffectiveStatement<UnqualifiedQName,ModuleStatement>
,EffectiveStatement<UnqualifiedQName,ModuleStatement>
,ModelStatement<UnqualifiedQName>
,SchemaTreeAwareEffectiveStatement<UnqualifiedQName,ModuleStatement>
,SchemaTreeRoot
@Beta public interface ModuleEffectiveStatement extends DataTreeAwareEffectiveStatement<UnqualifiedQName,ModuleStatement>, SchemaTreeRoot
Effective view of aModuleStatement
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ModuleEffectiveStatement.NameToEffectiveSubmoduleNamespace
Namespace mapping all included submodules.static class
ModuleEffectiveStatement.PrefixToEffectiveModuleNamespace
Namespace mapping all known prefixes in a module to their modules.static class
ModuleEffectiveStatement.QNameModuleToPrefixNamespace
Namespace mapping all knownQNameModule
s to their encoding prefixes.-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.stmt.DataTreeAwareEffectiveStatement
DataTreeAwareEffectiveStatement.Namespace<T extends DataTreeEffectiveStatement<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Optional<SchemaTreeEffectiveStatement<?>>
findSchemaTreeNode(SchemaNodeIdentifier path)
Find aschema tree
node based on its schema node identifier.@NonNull QNameModule
localQNameModule()
Get the local QNameModule of this module.default StatementDefinition
statementDefinition()
Statement Definition of this statement.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.stmt.DataTreeAwareEffectiveStatement
findDataTreeNode, findDataTreeNode
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement
effectiveSubstatements, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, get, getAll, getDeclared, streamEffectiveSubstatements
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.ModelStatement
argument, statementOrigin
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.stmt.SchemaTreeAwareEffectiveStatement
findSchemaTreeNode, findSchemaTreeNode, findSchemaTreeNode, findSchemaTreeNode, findSchemaTreeNode, findSchemaTreeNode, findSchemaTreeNode, findSchemaTreeNode
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.stmt.SchemaTreeRoot
findSchemaTreeNode
-
-
-
-
Method Detail
-
statementDefinition
default StatementDefinition statementDefinition()
Description copied from interface:ModelStatement
Statement Definition of this statement.- Specified by:
statementDefinition
in interfaceModelStatement<UnqualifiedQName>
- Returns:
- definition of this statement.
-
localQNameModule
@NonNull QNameModule localQNameModule()
Get the local QNameModule of this module. All implementations need to override this default method.- Returns:
- Local QNameModule
-
findSchemaTreeNode
default Optional<SchemaTreeEffectiveStatement<?>> findSchemaTreeNode(SchemaNodeIdentifier path)
Find aschema tree
node based on its schema node identifier.- Specified by:
findSchemaTreeNode
in interfaceSchemaTreeRoot
- Parameters:
path
- Absolute schema node identifier- Returns:
- Found node, or empty
- Implementation Requirements:
- Default implementation defers to
SchemaTreeAwareEffectiveStatement.findSchemaTreeNode(java.util.List)
.
-
-