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:
AggregateFlowStatisticsUpdate, FlowsStatisticsUpdate, FlowTableStatisticsUpdate, GroupDescStatsUpdated, GroupFeaturesUpdated, GroupStatisticsUpdated, MeterConfigStatsUpdated, MeterFeaturesUpdated, MeterStatisticsUpdated, Node, NodeConnectorStatisticsUpdate, NodeUpdated, QueueStatisticsUpdate

@Generated("mdsal-binding-generator") public interface Node extends org.opendaylight.yangtools.yang.binding.DataObject
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;
   }
 }
 
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends Node> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getId

      NodeId getId()
      Return id, or null if it is not present.
           
               The unique identifier for the node.
           
       
      Returns:
      NodeId id, or null if it is not present.
    • requireId

      default @NonNull NodeId 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, or null if it is not present.
           
               A list of node connectors that belong this node.
           
       
      Returns:
      Map<NodeConnectorKey, NodeConnector> nodeConnector, or null if it is not present.
    • nonnullNodeConnector

      default @NonNull Map<NodeConnectorKey,NodeConnector> 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.