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:
FlowCapableNode, FlowCapableNodeUpdated, FlowNode, MultipartReplyDesc

@Generated("mdsal-binding-generator") public interface Desc extends org.opendaylight.yangtools.yang.binding.DataObject

This class represents the following YANG schema fragment defined in module flow-node-inventory

 grouping desc {
   leaf manufacturer {
     type string;
   }
   leaf hardware {
     type string;
   }
   leaf software {
     type string;
   }
   leaf serial-number {
     type string;
   }
   leaf description {
     type string;
   }
 }
 
  • 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 Desc> 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
    • getManufacturer

      String getManufacturer()
      Return manufacturer, or null if it is not present.
      Returns:
      String manufacturer, or null if it is not present.
    • requireManufacturer

      default @NonNull String requireManufacturer()
      Return manufacturer, guaranteed to be non-null.
      Returns:
      String manufacturer, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if manufacturer is not present
    • getHardware

      String getHardware()
      Return hardware, or null if it is not present.
      Returns:
      String hardware, or null if it is not present.
    • requireHardware

      default @NonNull String requireHardware()
      Return hardware, guaranteed to be non-null.
      Returns:
      String hardware, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if hardware is not present
    • getSoftware

      String getSoftware()
      Return software, or null if it is not present.
      Returns:
      String software, or null if it is not present.
    • requireSoftware

      default @NonNull String requireSoftware()
      Return software, guaranteed to be non-null.
      Returns:
      String software, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if software is not present
    • getSerialNumber

      String getSerialNumber()
      Return serialNumber, or null if it is not present.
      Returns:
      String serialNumber, or null if it is not present.
    • requireSerialNumber

      default @NonNull String requireSerialNumber()
      Return serialNumber, guaranteed to be non-null.
      Returns:
      String serialNumber, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if serialNumber is not present
    • getDescription

      String getDescription()
      Return description, or null if it is not present.
      Returns:
      String description, or null if it is not present.
    • requireDescription

      default @NonNull String requireDescription()
      Return description, guaranteed to be non-null.
      Returns:
      String description, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if description is not present