Interface UsesNode
-
- All Superinterfaces:
AddedByUsesAware
,CopyableNode
,DocumentedNode
,DocumentedNode.WithStatus
,WhenConditionAware
public interface UsesNode extends WhenConditionAware, DocumentedNode.WithStatus, CopyableNode
Contains the methods for getting data and checking properties of the YANGuses
substatement.
-
-
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 Modifier and Type Method Description @NonNull Set<AugmentationSchemaNode>
getAugmentations()
Returns augmentations which were specified in this uses node.@NonNull SchemaPath
getGroupingPath()
Returns the schema path to used grouping.@NonNull Map<SchemaPath,SchemaNode>
getRefines()
Some of the properties of each node in the grouping can be refined with the "refine" statement.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.AddedByUsesAware
isAddedByUses
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.CopyableNode
isAugmenting
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
getDescription, getReference, getUnknownSchemaNodes
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus
getStatus
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.WhenConditionAware
getWhenCondition
-
-
-
-
Method Detail
-
getGroupingPath
@NonNull SchemaPath getGroupingPath()
Returns the schema path to used grouping.- Returns:
- schema path to 'grouping' on which this 'uses' statement points
-
getAugmentations
@NonNull Set<AugmentationSchemaNode> getAugmentations()
Returns augmentations which were specified in this uses node.- Returns:
- Set of augment statements defined under this uses node
-
getRefines
@NonNull Map<SchemaPath,SchemaNode> getRefines()
Some of the properties of each node in the grouping can be refined with the "refine" statement.- Returns:
- Map, where key is schema path of refined node and value is refined node
-
-