Interface AugmentationSchemaNode
-
- All Superinterfaces:
ActionNodeContainer
,DataNodeContainer
,DocumentedNode
,DocumentedNode.WithStatus
,NotificationNodeContainer
,WhenConditionAware
- All Known Implementing Classes:
EffectiveAugmentationSchema
public interface AugmentationSchemaNode extends DataNodeContainer, NotificationNodeContainer, ActionNodeContainer, WhenConditionAware, DocumentedNode.WithStatus
AugmentationSchema represents augment definition. The "augment" statement allows a module or submodule to add to the schema tree defined in an external module, or the current module and its submodules, and to add to the nodes from a grouping in a "uses" statement.
-
-
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 Optional<AugmentationSchemaNode>
getOriginalDefinition()
Returns Augmentation Definition from which this augmentation is derived if augmentation was added transitively via augmented uses.SchemaPath
getTargetPath()
Returns augmentation schema path.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.ActionNodeContainer
findAction, getActions
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DataNodeContainer
findDataChildByName, findDataChildByName, findDataTreeChild, findDataTreeChild, findDataTreeChild, getChildNodes, getDataChildByName, getGroupings, getTypeDefinitions, getUses
-
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.NotificationNodeContainer
findNotification, getNotifications
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.WhenConditionAware
getWhenCondition
-
-
-
-
Method Detail
-
getTargetPath
SchemaPath getTargetPath()
Returns augmentation schema path.- Returns:
- SchemaPath that identifies a node in the schema tree. This node is called the augment's target node. The target node MUST be either a container, list, choice, case, input, output, or notification node. It is augmented with the nodes defined as child nodes of this AugmentationSchema.
-
getOriginalDefinition
Optional<AugmentationSchemaNode> getOriginalDefinition()
Returns Augmentation Definition from which this augmentation is derived if augmentation was added transitively via augmented uses.- Returns:
- Augmentation Definition from which this augmentation is derived if augmentation was added transitively via augmented uses.
-
-