Interface SchemaTreeInference
- All Superinterfaces:
EffectiveModelContextProvider
,EffectiveStatementInference
,Immutable
- All Known Implementing Classes:
DefaultSchemaTreeInference
An
EffectiveStatementInference
consisting purely of steps along the schema tree
axis, so that it
represents a schema tree node
based on resolution of absolute-schema-nodeid
as specified by
RFC7950 section 6.5.-
Method Summary
Modifier and TypeMethodDescriptionList<@NonNull SchemaTreeEffectiveStatement<?>>
default SchemaNodeIdentifier.Absolute
Return theSchemaNodeIdentifier.Absolute
which resulted in this inference.Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveModelContextProvider
getEffectiveModelContext
-
Method Details
-
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:
-
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.
-