Class SubscriptionStateNotificationStatementSupport
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport<A,D,E>
-
- org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport<Empty,D,E>
-
- org.opendaylight.yangtools.yang.parser.spi.meta.AbstractEmptyStatementSupport<SubscriptionStateNotificationStatement,SubscriptionStateNotificationEffectiveStatement>
-
- org.opendaylight.yangtools.rfc8639.parser.SubscriptionStateNotificationStatementSupport
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
,StatementDefinition
,StatementFactory<Empty,SubscriptionStateNotificationStatement,SubscriptionStateNotificationEffectiveStatement>
public final class SubscriptionStateNotificationStatementSupport extends AbstractEmptyStatementSupport<SubscriptionStateNotificationStatement,SubscriptionStateNotificationEffectiveStatement>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
StatementSupport.CopyPolicy, StatementSupport.StatementEquality<A,D extends DeclaredStatement<A>>, StatementSupport.StatementPolicy<A,D extends DeclaredStatement<A>>
-
-
Constructor Summary
Constructors Constructor Description SubscriptionStateNotificationStatementSupport(YangParserConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SubscriptionStateNotificationStatement
attachDeclarationReference(SubscriptionStateNotificationStatement stmt, DeclarationReference reference)
Attach specifiedDeclarationReference
to a baseline declared statement.protected SubscriptionStateNotificationStatement
createDeclared(StmtContext<Empty,SubscriptionStateNotificationStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
protected SubscriptionStateNotificationEffectiveStatement
createEffective(EffectiveStmtCtx.Current<Empty,SubscriptionStateNotificationStatement> stmt, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
void
onStatementAdded(StmtContext.Mutable<Empty,SubscriptionStateNotificationStatement,SubscriptionStateNotificationEffectiveStatement> stmt)
Invoked when a statement supported by this instance is added to build context.-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.AbstractEmptyStatementSupport
parseArgumentValue
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport
buildEffectiveSubstatements, copyEffective, createDeclared, createEffective, findFirstArgument, findFirstStatement, statementsToBuild, substatementValidator
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
adaptArgumentValue, canReuseCurrent, copyPolicy, getArgumentDefinition, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getPublicView, getStatementName, getSupportSpecificForArgument, hasArgumentSpecificSupports, internArgument, isIgnoringConfig, isIgnoringIfFeatures, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementDefinitionDeclared
-
-
-
-
Constructor Detail
-
SubscriptionStateNotificationStatementSupport
public SubscriptionStateNotificationStatementSupport(YangParserConfiguration config)
-
-
Method Detail
-
onStatementAdded
public void onStatementAdded(StmtContext.Mutable<Empty,SubscriptionStateNotificationStatement,SubscriptionStateNotificationEffectiveStatement> stmt)
Description copied from class:StatementSupport
Invoked when a statement supported by this instance is added to build context. This allows implementations of this interface to start tracking the statement and perform any modifications to the build context hierarchy, accessible viaStmtContext.getParentContext()
. One such use is populating the parent's namespaces to allow it to locate this child statement.- Overrides:
onStatementAdded
in classStatementSupport<Empty,SubscriptionStateNotificationStatement,SubscriptionStateNotificationEffectiveStatement>
- Parameters:
stmt
- Context of added statement. No substatements are available.
-
createDeclared
protected SubscriptionStateNotificationStatement createDeclared(StmtContext<Empty,SubscriptionStateNotificationStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
-
attachDeclarationReference
protected SubscriptionStateNotificationStatement attachDeclarationReference(SubscriptionStateNotificationStatement stmt, DeclarationReference reference)
Description copied from class:AbstractStatementSupport
Attach specifiedDeclarationReference
to a baseline declared statement. If an implementation does not support attaching DeclarationReferences, it should return the statement unchanged.- Specified by:
attachDeclarationReference
in classAbstractStatementSupport<Empty,SubscriptionStateNotificationStatement,SubscriptionStateNotificationEffectiveStatement>
- Parameters:
stmt
- Declared statementreference
-DeclarationReference
to attach- Returns:
- Equivalent of stmt, potentially with specified reference attached.
-
createEffective
protected SubscriptionStateNotificationEffectiveStatement createEffective(EffectiveStmtCtx.Current<Empty,SubscriptionStateNotificationStatement> stmt, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
-
-