Interface Node
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
AggregateFlowStatisticsUpdate
,FlowsStatisticsUpdate
,FlowTableStatisticsUpdate
,GroupDescStatsUpdated
,GroupFeaturesUpdated
,GroupStatisticsUpdated
,MeterConfigStatsUpdated
,MeterFeaturesUpdated
,MeterStatisticsUpdated
,Node
,NodeConnectorStatisticsUpdate
,NodeUpdated
,QueueStatisticsUpdate
@Generated("mdsal-binding-generator")
public interface Node
extends org.opendaylight.yangtools.binding.Grouping
Describes the contents of a generic node - essentially an ID and a list of
node-connectors. Acts as an augmentation point where other YANG files can add
additional information.
This class represents the following YANG schema fragment defined in module opendaylight-inventory
grouping node { leaf id { type node-id; } list node-connector { key id; ext:context-instance node-connector-context; uses node-connector; } }
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Return id, ornull
if it is not present.@Nullable Map
<NodeConnectorKey, NodeConnector> Return nodeConnector, ornull
if it is not present.default @NonNull Map
<NodeConnectorKey, NodeConnector> Return nodeConnector, or an empty list if it is not present.default @NonNull NodeId
Return id, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getId
NodeId getId()Return id, ornull
if it is not present.The unique identifier for the node.
- Returns:
NodeId
id, ornull
if it is not present.
-
requireId
Return id, guaranteed to be non-null.The unique identifier for the node.
- Returns:
NodeId
id, guaranteed to be non-null.- Throws:
NoSuchElementException
- if id is not present
-
getNodeConnector
@Nullable Map<NodeConnectorKey,NodeConnector> getNodeConnector()Return nodeConnector, ornull
if it is not present.A list of node connectors that belong this node.
- Returns:
Map<NodeConnectorKey, NodeConnector>
nodeConnector, ornull
if it is not present.
-
nonnullNodeConnector
Return nodeConnector, or an empty list if it is not present.- Returns:
Map<NodeConnectorKey, NodeConnector>
nodeConnector, or an empty list if it is not present.
-