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:
NodeConnector, NodeConnectorUpdated

@Generated("mdsal-binding-generator") public interface NodeConnector extends org.opendaylight.yangtools.yang.binding.DataObject
Describes a generic node connector which consists of an ID. 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-connector {
   leaf id {
     type node-connector-id;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return id, or null if it is not present.
    Class<? extends NodeConnector>
     
    default @NonNull NodeConnectorId
    Return id, guaranteed to be non-null.
  • 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 NodeConnector> 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

      Return id, or null if it is not present.
           
               The unique identifier for the node-connector.
           
       
      Returns:
      NodeConnectorId id, or null if it is not present.
    • requireId

      default @NonNull NodeConnectorId requireId()
      Return id, guaranteed to be non-null.
           
               The unique identifier for the node-connector.
           
       
      Returns:
      NodeConnectorId id, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if id is not present