Class SchemaInferenceStack.Inference
- java.lang.Object
-
- org.opendaylight.yangtools.yang.model.spi.AbstractEffectiveModelContextProvider
-
- org.opendaylight.yangtools.yang.model.spi.AbstractEffectiveStatementInference<EffectiveStatement<?,?>>
-
- org.opendaylight.yangtools.yang.model.util.SchemaInferenceStack.Inference
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
,EffectiveModelContextProvider
,EffectiveStatementInference
- Enclosing class:
- SchemaInferenceStack
@Beta public static final class SchemaInferenceStack.Inference extends AbstractEffectiveStatementInference<EffectiveStatement<?,?>>
Semantic binding ofEffectiveStatementInference
produced bySchemaInferenceStack
. Sequence ofstatementPath()
is implementation-specific.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.yangtools.yang.model.spi.AbstractEffectiveStatementInference
AbstractEffectiveStatementInference.WithPath<T extends EffectiveStatement<?,?>>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull SchemaInferenceStack.Inference
ofDataTreePath(EffectiveModelContext effectiveModel, QName... qnames)
Create a new stack backed by an effective model and set up to point and specified data tree node.List<EffectiveStatement<?,?>>
statementPath()
@NonNull SchemaInferenceStack
toSchemaInferenceStack()
Convert this inference into aSchemaInferenceStack
.-
Methods inherited from class org.opendaylight.yangtools.yang.model.spi.AbstractEffectiveModelContextProvider
addToStringAttributes, getEffectiveModelContext, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider
getEffectiveModelContext
-
-
-
-
Method Detail
-
ofDataTreePath
public static @NonNull SchemaInferenceStack.Inference ofDataTreePath(EffectiveModelContext effectiveModel, QName... qnames)
Create a new stack backed by an effective model and set up to point and specified data tree node.- Parameters:
effectiveModel
- EffectiveModelContext to which this stack is attachedqnames
- Data tree path qnames- Returns:
- A new stack
- Throws:
NullPointerException
- if any argument is null or path contains a null elementIllegalArgumentException
- if a path element cannot be found
-
statementPath
public List<EffectiveStatement<?,?>> statementPath()
Description copied from interface:EffectiveStatementInference
AnUnmodifiable
List
ofEffectiveStatement
s, ordered in some meaningful way. Precise semantics of the statement order is clarified by individualEffectiveStatementInference
specializations.- Specified by:
statementPath
in interfaceEffectiveStatementInference
- Specified by:
statementPath
in classAbstractEffectiveStatementInference<EffectiveStatement<?,?>>
- Returns:
- A List of EffectiveStatements
- See Also:
SchemaTreeInference
-
toSchemaInferenceStack
public @NonNull SchemaInferenceStack toSchemaInferenceStack()
Convert this inference into aSchemaInferenceStack
.- Returns:
- A new stack
-
-