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:
NodeQueue, PacketQueues, Queue, QueuePacket, QueuePropMaxRate, QueuePropMinRate

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

This class represents the following YANG schema fragment defined in module opendaylight-queue-types

 grouping common-queue {
   leaf property {
     type uint16;
   }
 }
 
  • 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
    org.opendaylight.yangtools.yang.common.Uint16
    Return property, or null if it is not present.
    Class<? extends CommonQueue>
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return property, 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 CommonQueue> 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
    • getProperty

      org.opendaylight.yangtools.yang.common.Uint16 getProperty()
      Return property, or null if it is not present.
           
               One of OFPQT_. TODO:: use queue-properties type.
           
       
      Returns:
      Uint16 property, or null if it is not present.
    • requireProperty

      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireProperty()
      Return property, guaranteed to be non-null.
           
               One of OFPQT_. TODO:: use queue-properties type.
           
       
      Returns:
      Uint16 property, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if property is not present