Interface SchemaTreeInference
-
- All Superinterfaces:
EffectiveModelContextProvider
,EffectiveStatementInference
,Immutable
,MutationBehaviour<Immutable>
- All Known Implementing Classes:
DefaultSchemaTreeInference
public interface SchemaTreeInference extends EffectiveStatementInference
AnEffectiveStatementInference
consisting purely of steps along theschema tree
axis, so that it represents aschema tree node
based on resolution ofabsolute-schema-nodeid
as specified by RFC7950 section 6.5.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description List<@NonNull SchemaTreeEffectiveStatement<?>>
statementPath()
default SchemaNodeIdentifier.Absolute
toSchemaNodeIdentifier()
Return theSchemaNodeIdentifier.Absolute
which resulted in this inference.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider
getEffectiveModelContext
-
-
-
-
Method Detail
-
statementPath
List<@NonNull SchemaTreeEffectiveStatement<?>> statementPath()
AnUnmodifiable
List
ofEffectiveStatement
s, ordered in some meaningful way. Precise semantics of the statement order is clarified by individualEffectiveStatementInference
specializations.The statement path is always composed on
SchemaTreeEffectiveStatement
s and contains at least one element. The path is ordered from conceptual YANG root, i.e. the first element corresponds to the first element inSchemaNodeIdentifier.firstNodeIdentifier()
.- Specified by:
statementPath
in interfaceEffectiveStatementInference
- Returns:
- A List of EffectiveStatements
- See Also:
SchemaTreeInference
-
toSchemaNodeIdentifier
default SchemaNodeIdentifier.Absolute toSchemaNodeIdentifier()
Return theSchemaNodeIdentifier.Absolute
which resulted in this inference.- Returns:
- An absolute SchemaNodeIdentifier
- Implementation Requirements:
- Default implementation interprets
statementPath()
's arguments as the ordered source ofSchemaNodeIdentifier.Absolute
steps.
-
-