Class DeclaredEffectiveStatementBase<A,D extends DeclaredStatement<A>>
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementBase<A,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.DeclaredEffectiveStatementBase<A,D>
-
- All Implemented Interfaces:
EffectiveStatement<A,D>
,ModelStatement<A>
- Direct Known Subclasses:
AbstractEffectiveDocumentedNodeWithoutStatus
,BitsSpecificationEffectiveStatement
,ConfigEffectiveStatementImpl
,Decimal64SpecificationEffectiveStatement
,EnumSpecificationEffectiveStatement
,IdentityRefSpecificationEffectiveStatement
,LeafrefSpecificationEffectiveStatement
,UnionSpecificationEffectiveStatement
public abstract class DeclaredEffectiveStatementBase<A,D extends DeclaredStatement<A>> extends EffectiveStatementBase<A,D>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DeclaredEffectiveStatementBase(StmtContext<A,D,?> ctx)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description A
argument()
Returns statement argument.D
getDeclared()
Returns statement, which was explicit declaration of this effective statement.StatementSource
getStatementSource()
Returns statement source, which denotes if statement was explicitly declared in original model or inferred during semantic processing of model.StatementDefinition
statementDefinition()
Statement Definition of this statement.-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementBase
allSubstatementsOfType, effectiveSubstatements, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll, getNamespaceContents, initSubstatements, initSubstatements
-
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
findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatements
-
-
-
-
Constructor Detail
-
DeclaredEffectiveStatementBase
protected DeclaredEffectiveStatementBase(StmtContext<A,D,?> ctx)
Constructor.- Parameters:
ctx
- context of statement.
-
-
Method Detail
-
statementDefinition
public final StatementDefinition statementDefinition()
Description copied from interface:ModelStatement
Statement Definition of this statement.- Returns:
- definition of this statement.
-
argument
public A argument()
Description copied from interface:ModelStatement
Returns statement argument.- Returns:
- statement argument or null if statement does not have argument.
-
getStatementSource
public final StatementSource getStatementSource()
Description copied from interface:ModelStatement
Returns statement source, which denotes if statement was explicitly declared in original model or inferred during semantic processing of model.- Returns:
- statement source.
-
getDeclared
public final D getDeclared()
Description copied from interface:EffectiveStatement
Returns statement, which was explicit declaration of this effective statement.- Returns:
- statement, which was explicit declaration of this effective statement or null if statement was inferred from context.
-
-