Interface NodeContextRef
-
- All Superinterfaces:
BindingObject
,DataContainer
,DataObject
public interface NodeContextRef extends DataObject
A helper grouping which contains a reference to a node classified with a node-context. This allows RPCs in other YANG files to refine their input to a particular node instance.This class represents the following YANG schema fragment defined in module opendaylight-inventory
grouping node-context-ref { leaf node { ext:context-reference node-context; type node-ref; } }
The schema path to identify an instance is opendaylight-inventory/node-context-ref
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable NodeRef
getNode()
A reference to a particular node.Class<? extends NodeContextRef>
implementedInterface()
-
-
-
Field Detail
-
QNAME
static final @NonNull QName QNAME
-
-
Method Detail
-
implementedInterface
Class<? extends NodeContextRef> implementedInterface()
- Specified by:
implementedInterface
in interfaceDataContainer
- Specified by:
implementedInterface
in interfaceDataObject
-
getNode
@RoutingContext(NodeContext.class) @Nullable NodeRef getNode()
A reference to a particular node.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRef
node
, ornull
if not present
-
-