Interface AugmentationNode
-
- All Superinterfaces:
DataContainerChild
,DataContainerNode
,DistinctNodeContainer<YangInstanceIdentifier.PathArgument,DataContainerChild>
,Identifiable<YangInstanceIdentifier.PathArgument>
,ItemOrder<ItemOrder.Unordered>
,ItemOrder.Unordered
,MixinNode
,NormalizedNode
,NormalizedNodeContainer<DataContainerChild>
,OrderingAware
,OrderingAware.System
,PrettyTreeAware
public interface AugmentationNode extends DataContainerNode, DataContainerChild, MixinNode
Data instance ofaugment
associated with parent node.Augmentation is addition of subtree defined by other external YANG Model and is schema for subtree is described by an instance of
AugmentationSchemaNode
associated with parent node of this node.Augmentation node MUST NOT be direct child of other augmentation node.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.concepts.ItemOrder
ItemOrder.Ordered, ItemOrder.Unordered
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderingAware
OrderingAware.System, OrderingAware.User
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<AugmentationNode>
contract()
Return the contract governing thisNormalizedNode
instance.YangInstanceIdentifier.AugmentationIdentifier
getIdentifier()
Gets identifier of augmentation node.-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode
equals, hashCode
-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.DistinctNodeContainer
body, childByArg, findChildByArg, getChildByArg
-
Methods inherited from interface org.opendaylight.yangtools.concepts.ItemOrder.Unordered
itemOrder
-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer
isEmpty, size
-
Methods inherited from interface org.opendaylight.yangtools.yang.data.api.schema.OrderingAware.System
ordering
-
Methods inherited from interface org.opendaylight.yangtools.concepts.PrettyTreeAware
prettyTree
-
-
-
-
Method Detail
-
contract
default Class<AugmentationNode> contract()
Description copied from interface:NormalizedNode
Return the contract governing thisNormalizedNode
instance.- Specified by:
contract
in interfaceNormalizedNode
- Returns:
- A class identifying the NormalizedNode contract.
-
getIdentifier
YangInstanceIdentifier.AugmentationIdentifier getIdentifier()
Gets identifier of augmentation node. Returned identifier of augmentation node contains all possible direct child QNames.This is sufficient to identify instance of augmentation, since RFC6020 states that
augment
that augment statement must not add multiple nodes from same namespace / module to the target node.- Specified by:
getIdentifier
in interfaceIdentifiable<YangInstanceIdentifier.PathArgument>
- Specified by:
getIdentifier
in interfaceNormalizedNode
- Returns:
- Identifier which uniquely identifies augmentation in particular subtree.
-
-