Class AbstractDeclaredEffectiveStatement.DefaultWithDataTree<A,D extends DeclaredStatement<A>,E extends DataTreeAwareEffectiveStatement<A,D>>
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveStatement<A,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractDeclaredEffectiveStatement<A,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractDeclaredEffectiveStatement.WithSchemaTree<A,D,E>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractDeclaredEffectiveStatement.WithDataTree<A,D,E>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractDeclaredEffectiveStatement.DefaultWithDataTree<A,D,E>
-
- Type Parameters:
A
- Argument type (Void
if statement does not have argument.)D
- Class representing declared version of this statement.E
- Class representing effective version of this statement.
- All Implemented Interfaces:
EffectiveStatement<A,D>
,ModelStatement<A>
- Enclosing class:
- AbstractDeclaredEffectiveStatement<A,D extends DeclaredStatement<A>>
public abstract static class AbstractDeclaredEffectiveStatement.DefaultWithDataTree<A,D extends DeclaredStatement<A>,E extends DataTreeAwareEffectiveStatement<A,D>> extends AbstractDeclaredEffectiveStatement.WithDataTree<A,D,E>
Stateful version ofAbstractDeclaredEffectiveStatement.WithDataTree
. Schema tree and data tree namespaces are eagerly instantiated (and checked).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractDeclaredEffectiveStatement
AbstractDeclaredEffectiveStatement.Default<A,D extends DeclaredStatement<A>>, AbstractDeclaredEffectiveStatement.DefaultArgument<A,D extends DeclaredStatement<A>>, AbstractDeclaredEffectiveStatement.DefaultWithDataTree<A,D extends DeclaredStatement<A>,E extends DataTreeAwareEffectiveStatement<A,D>>, AbstractDeclaredEffectiveStatement.DefaultWithSchemaTree<A,D extends DeclaredStatement<A>,E extends SchemaTreeAwareEffectiveStatement<A,D>>, AbstractDeclaredEffectiveStatement.WithDataTree<A,D extends DeclaredStatement<A>,E extends DataTreeAwareEffectiveStatement<A,D>>, AbstractDeclaredEffectiveStatement.WithSchemaTree<A,D extends DeclaredStatement<A>,E extends SchemaTreeAwareEffectiveStatement<A,D>>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultWithDataTree(D declared, StmtContext<?,?,?> ctx, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImmutableMap<QName,DataTreeEffectiveStatement<?>>
dataTreeNamespace()
D
getDeclared()
Returns statement, which was explicit declaration of this effective statement.protected ImmutableMap<QName,SchemaTreeEffectiveStatement<?>>
schemaTreeNamespace()
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractDeclaredEffectiveStatement.WithDataTree
getNamespaceContents
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractDeclaredEffectiveStatement.WithSchemaTree
findDataSchemaNode
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractDeclaredEffectiveStatement
getStatementSource, statementDefinition
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveStatement
get, getAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement
effectiveSubstatements, findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatements
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.ModelStatement
argument
-
-
-
-
Constructor Detail
-
DefaultWithDataTree
protected DefaultWithDataTree(D declared, StmtContext<?,?,?> ctx, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
-
-
Method Detail
-
getDeclared
public final D getDeclared()
Description copied from interface:EffectiveStatement
Returns statement, which was explicit declaration of this effective statement.- Specified by:
getDeclared
in interfaceEffectiveStatement<A,D extends DeclaredStatement<A>>
- Specified by:
getDeclared
in classAbstractDeclaredEffectiveStatement<A,D extends DeclaredStatement<A>>
- Returns:
- statement, which was explicit declaration of this effective statement or null if statement was inferred from context.
-
schemaTreeNamespace
protected final ImmutableMap<QName,SchemaTreeEffectiveStatement<?>> schemaTreeNamespace()
- Specified by:
schemaTreeNamespace
in classAbstractDeclaredEffectiveStatement.WithSchemaTree<A,D extends DeclaredStatement<A>,E extends DataTreeAwareEffectiveStatement<A,D>>
-
dataTreeNamespace
protected final ImmutableMap<QName,DataTreeEffectiveStatement<?>> dataTreeNamespace()
- Specified by:
dataTreeNamespace
in classAbstractDeclaredEffectiveStatement.WithDataTree<A,D extends DeclaredStatement<A>,E extends DataTreeAwareEffectiveStatement<A,D>>
-
-