Interface Deviation
-
- All Superinterfaces:
DocumentedNode
,EffectiveStatementEquivalent<DeviationEffectiveStatement>
public interface Deviation extends DocumentedNode, EffectiveStatementEquivalent<DeviationEffectiveStatement>
Interface describing YANG 'deviation' statement.The 'deviation' statement defines a hierarchy of a module that the device does not implement faithfully. Deviations define the way a device deviate from a standard.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NonNull Collection<? extends DeviateDefinition>
getDeviates()
Returns deviate children.default @NonNull SchemaNodeIdentifier.Absolute
getTargetPath()
Returns target node absolute schema node identifier.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
getDescription, getReference, getUnknownSchemaNodes
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveStatementEquivalent
asEffectiveStatement
-
-
-
-
Method Detail
-
getTargetPath
default @NonNull SchemaNodeIdentifier.Absolute getTargetPath()
Returns target node absolute schema node identifier.- Returns:
- An identifier that points to the node in the schema tree where a deviation from the module occurs.
-
getDeviates
@NonNull Collection<? extends DeviateDefinition> getDeviates()
Returns deviate children.- Returns:
- Collection of all deviate statements defined in this deviation.
-
-