Interface GenericFlowAttributes

    • 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.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      FlowCookie getCookie()
      Return cookie, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint16 getHardTimeout()
      Return hardTimeout, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint16 getIdleTimeout()
      Return idleTimeout, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint16 getPriority()
      Return priority, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint8 getTableId()
      Return tableId, or null if it is not present.
      Class<? extends GenericFlowAttributes> implementedInterface()  
      default @NonNull FlowCookie requireCookie()
      Return cookie, guaranteed to be non-null.
      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireHardTimeout()
      Return hardTimeout, guaranteed to be non-null.
      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireIdleTimeout()
      Return idleTimeout, guaranteed to be non-null.
      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requirePriority()
      Return priority, guaranteed to be non-null.
      default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireTableId()
      Return tableId, guaranteed to be non-null.
    • 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 GenericFlowAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPriority

        org.opendaylight.yangtools.yang.common.Uint16 getPriority()
        Return priority, or null if it is not present.
        Returns:
        Uint16 priority, or null if it is not present.
      • requirePriority

        default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requirePriority()
        Return priority, guaranteed to be non-null.
        Returns:
        Uint16 priority, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if priority is not present
      • getIdleTimeout

        org.opendaylight.yangtools.yang.common.Uint16 getIdleTimeout()
        Return idleTimeout, or null if it is not present.
        Returns:
        Uint16 idleTimeout, or null if it is not present.
      • requireIdleTimeout

        default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireIdleTimeout()
        Return idleTimeout, guaranteed to be non-null.
        Returns:
        Uint16 idleTimeout, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if idleTimeout is not present
      • getHardTimeout

        org.opendaylight.yangtools.yang.common.Uint16 getHardTimeout()
        Return hardTimeout, or null if it is not present.
        Returns:
        Uint16 hardTimeout, or null if it is not present.
      • requireHardTimeout

        default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireHardTimeout()
        Return hardTimeout, guaranteed to be non-null.
        Returns:
        Uint16 hardTimeout, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if hardTimeout is not present
      • getCookie

        FlowCookie getCookie()
        Return cookie, or null if it is not present.
        Returns:
        FlowCookie cookie, or null if it is not present.
      • requireCookie

        default @NonNull FlowCookie requireCookie()
        Return cookie, guaranteed to be non-null.
        Returns:
        FlowCookie cookie, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if cookie is not present
      • getTableId

        org.opendaylight.yangtools.yang.common.Uint8 getTableId()
        Return tableId, or null if it is not present.
        Returns:
        Uint8 tableId, or null if it is not present.
      • requireTableId

        default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireTableId()
        Return tableId, guaranteed to be non-null.
        Returns:
        Uint8 tableId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if tableId is not present