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:
AddFlowCaseData, AddFlowInput, BatchAddFlows, BatchFlowInputGrouping, BatchRemoveFlows, BulkFlowBaseContentGrouping, BulkFlowDsItem, BulkFlowItem, FlatBatchAddFlow, FlatBatchRemoveFlow, Flow, Flow, FlowAdded, FlowAggregateStats, FlowAndStatisticsMap, FlowAndStatisticsMapList, FlowMessage, FlowModRemoved, FlowRemoved, FlowStats, FlowUpdated, GetAggregateFlowStatisticsFromFlowTableForGivenMatchInput, GetFlowStatisticsFromFlowTableInput, GetFlowStatisticsInput, NodeFlow, NodeFlowRemoved, OriginalBatchedFlow, OriginalFlow, RemoveFlowCaseData, RemoveFlowInput, StaleFlow, SwitchFlowRemoved, UpdatedBatchedFlow, UpdatedFlow, UpdateFlowCaseData

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

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

 grouping generic_flow_attributes {
   leaf priority {
     type uint16;
   }
   leaf idle-timeout {
     type uint16;
   }
   leaf hard-timeout {
     type uint16;
   }
   leaf cookie {
     type flow-cookie;
   }
   leaf table_id {
     type uint8;
   }
 }
 
  • 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 cookie, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint16
    Return hardTimeout, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint16
    Return idleTimeout, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint16
    Return priority, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return tableId, or null if it is not present.
     
    default @NonNull FlowCookie
    Return cookie, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return hardTimeout, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return idleTimeout, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return priority, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return tableId, 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 GenericFlowAttributes> 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
    • 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