Interface NodeContextRef
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
AddBundleMessagesInput
,AddFlowInput
,AddFlowsBatchInput
,AddGroupInput
,AddGroupsBatchInput
,AddMeterInput
,AddMetersBatchInput
,BulkFlowBaseContentGrouping
,BulkFlowDsItem
,BulkFlowItem
,BundleInnerMessageGrouping
,CommitActiveBundleInput
,ControlBundleInput
,ExperimenterMessageFromDev
,ExperimenterSymmetricMessage
,FlowAdded
,FlowRemoved
,FlowUpdate
,FlowUpdated
,GetActiveBundleInput
,GetAggregateFlowStatisticsFromFlowTableForAllFlowsInput
,GetAggregateFlowStatisticsFromFlowTableForGivenMatchInput
,GetAllFlowsStatisticsFromAllFlowTablesInput
,GetAllFlowStatisticsFromFlowTableInput
,GetAllGroupStatisticsInput
,GetAllMeterConfigStatisticsInput
,GetAllMeterStatisticsInput
,GetAllNodeConnectorsStatisticsInput
,GetAllQueuesStatisticsFromAllPortsInput
,GetAllQueuesStatisticsFromGivenPortInput
,GetAsyncInput
,GetFlowStatisticsFromFlowTableInput
,GetFlowStatisticsInput
,GetFlowTablesStatisticsInput
,GetGroupDescriptionInput
,GetGroupFeaturesInput
,GetGroupStatisticsInput
,GetGroupStatisticsInput
,GetMeterFeaturesInput
,GetMeterStatisticsInput
,GetMeterStatisticsInput
,GetNodeConnectorStatisticsInput
,GetNodeConnectorStatisticsInput
,GetQueueInput
,GetQueueStatisticsFromGivenPortInput
,GetQueueStatisticsInput
,GroupUpdate
,Message
,MeterUpdate
,NodeFlow
,NodeGroup
,NodeMeter
,NodeQueue
,PortUpdate
,ProcessFlatBatchInput
,ReconcileNodeInput
,RemoveFlowInput
,RemoveFlowsBatchInput
,RemoveGroupInput
,RemoveGroupsBatchInput
,RemoveMeterInput
,RemoveMetersBatchInput
,SalAddMessageData
,SendEchoInput
,SendExperimenterInput
,SendExperimenterMpRequestInput
,SetAsyncInput
,SetConfigInput
,SetRoleInput
,StatsInputCommonGrouping
,TableUpdate
,TableUpdated
,TransmitPacketInput
,UpdateFlowInput
,UpdateFlowsBatchInput
,UpdateGroupInput
,UpdateGroupsBatchInput
,UpdateMeterInput
,UpdateMetersBatchInput
,UpdatePortInput
,UpdateTableInput
@Generated("mdsal-binding-generator")
public interface NodeContextRef
extends org.opendaylight.yangtools.yang.binding.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; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetNode()
Return node, ornull
if it is not present.Class<? extends NodeContextRef>
default @NonNull NodeRef
Return node, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends NodeContextRef> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getNode
Return node, ornull
if it is not present.A reference to a particular node.
- Returns:
NodeRef
node, ornull
if it is not present.
-
requireNode
Return node, guaranteed to be non-null.A reference to a particular node.
- Returns:
NodeRef
node, guaranteed to be non-null.- Throws:
NoSuchElementException
- if node is not present
-