public interface StmtContext<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>>
Modifier and Type | Interface and Description |
---|---|
static interface |
StmtContext.Mutable<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
@Nonnull StatementSource getStatementSource()
@Nonnull StatementSourceReference getStatementSourceReference()
@Nonnull StatementDefinition getPublicDefinition()
@Nullable StmtContext<?,?,?> getParentContext()
@Nonnull Optional<SchemaPath> getSchemaPath()
SchemaPath
of this statement. Not all statements have a SchemaPath, in which case
Optional.empty()
is returned.boolean isConfiguration()
boolean isEnabledSemanticVersioning()
@Nonnull <K,V,KT extends K,N extends IdentifierNamespace<K,V>> V getFromNamespace(Class<N> type, KT key) throws NamespaceNotAvailableException
NamespaceNotAvailableException
<K,V,N extends IdentifierNamespace<K,V>> Map<K,V> getAllFromNamespace(Class<N> type)
<K,V,N extends IdentifierNamespace<K,V>> Map<K,V> getAllFromCurrentStmtCtxNamespace(Class<N> type)
@Nonnull StmtContext<?,?,?> getRoot()
@Nonnull Collection<? extends StmtContext<?,?,?>> declaredSubstatements()
@Nonnull Collection<? extends StmtContext<?,?,?>> effectiveSubstatements()
D buildDeclared()
DeclaredStatement
for statement context.E buildEffective()
EffectiveStatement
for statement contextboolean isSupportedToBuildEffective()
Collection<? extends StmtContext<?,?,?>> getEffectOfStatement()
StmtContext.Mutable<A,D,E> createCopy(StatementContextBase<?,?,?> newParent, CopyType typeOfCopy)
CopyType
(augment, uses)SourceException
- instance of SourceExceptionStmtContext.Mutable<A,D,E> createCopy(QNameModule newQNameModule, StatementContextBase<?,?,?> newParent, CopyType typeOfCopy)
CopyType
(augment, uses)SourceException
- instance of SourceExceptionCopyHistory getCopyHistory()
boolean isSupportedByFeatures()
Optional<StmtContext<?,?,?>> getOriginalCtx()
ModelProcessingPhase getCompletedPhase()
@Nonnull YangVersion getRootVersion()
Copyright © 2018 OpenDaylight. All rights reserved.