Interface CommonQueue

  • All Superinterfaces:
    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 @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends CommonQueue> implementedInterface()
        Specified by:
        implementedInterface in interface 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