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()
@Nullable String rawStatementArgument()
@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,T extends K,N extends IdentifierNamespace<K,V>> V getFromNamespace(Class<N> type, T key)
K
- namespace key typeV
- namespace value typeN
- namespace typeT
- key typetype
- Namespace typekey
- KeyNamespaceNotAvailableException
- when the namespace is not available.<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()
default Iterable<? extends StmtContext<?,?,?>> allSubstatements()
default Stream<? extends StmtContext<?,?,?>> allSubstatementsStream()
D buildDeclared()
DeclaredStatement
for statement context.E buildEffective()
EffectiveStatement
for statement context.boolean isSupportedToBuildEffective()
Collection<? extends StmtContext<?,?,?>> getEffectOfStatement()
CopyHistory getCopyHistory()
boolean isSupportedByFeatures()
Optional<StmtContext<?,?,?>> getOriginalCtx()
ModelProcessingPhase getCompletedPhase()
@Nonnull YangVersion getRootVersion()
Copyright © 2019 OpenDaylight. All rights reserved.