All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<FlowRemoved>, org.opendaylight.yangtools.yang.binding.BaseNotification, 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, Flow, GenericFlowAttributes, NodeContextRef, NodeFlow, org.opendaylight.yangtools.yang.binding.Notification<FlowRemoved>, TransactionAware, TransactionMetadata

@Deprecated @Generated("mdsal-binding-generator") public interface FlowRemoved extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Notification<FlowRemoved>, org.opendaylight.yangtools.yang.binding.Augmentable<FlowRemoved>, TransactionMetadata, NodeFlow, TransactionAware
Deprecated.

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

 notification flow-removed {
   status deprecated;
   uses tr:transaction-metadata;
   leaf flow-ref {
     type types:flow-ref;
   }
   leaf reason {
     type types:removed-flow-reason;
   }
   uses node-flow;
   uses tr:transaction-aware;
 }
 

To create instances of this class use FlowRemovedBuilder.

See Also:
  • Field Details

    • QNAME

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

    • implementedInterface

      default Class<FlowRemoved> implementedInterface()
      Deprecated.
      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
      Specified by:
      implementedInterface in interface Flow
      Specified by:
      implementedInterface in interface GenericFlowAttributes
      Specified by:
      implementedInterface in interface NodeContextRef
      Specified by:
      implementedInterface in interface NodeFlow
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.Notification<FlowRemoved>
      Specified by:
      implementedInterface in interface TransactionAware
      Specified by:
      implementedInterface in interface TransactionMetadata
    • bindingHashCode

      static int bindingHashCode(@NonNull FlowRemoved obj)
      Deprecated.
      Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
      Parameters:
      obj - Object for which to generate hashCode() result.
      Returns:
      Hash code value of data modeled by this interface.
      Throws:
      NullPointerException - if obj is null
    • bindingEquals

      static boolean bindingEquals(@NonNull FlowRemoved thisObj, Object obj)
      Deprecated.
      Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
      Parameters:
      thisObj - Object acting as the receiver of equals invocation
      obj - Object acting as argument to equals invocation
      Returns:
      True if thisObj and obj are considered equal
      Throws:
      NullPointerException - if thisObj is null
    • bindingToString

      static String bindingToString(@NonNull FlowRemoved obj)
      Deprecated.
      Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
      Parameters:
      obj - Object for which to generate toString() result.
      Returns:
      String value of data modeled by this interface.
      Throws:
      NullPointerException - if obj is null
    • getFlowRef

      FlowRef getFlowRef()
      Deprecated.
      Return flowRef, or null if it is not present.
      Returns:
      FlowRef flowRef, or null if it is not present.
    • requireFlowRef

      default @NonNull FlowRef requireFlowRef()
      Deprecated.
      Return flowRef, guaranteed to be non-null.
      Returns:
      FlowRef flowRef, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if flowRef is not present
    • getReason

      RemovedFlowReason getReason()
      Deprecated.
      Return reason, or null if it is not present.
      Returns:
      RemovedFlowReason reason, or null if it is not present.
    • requireReason

      default @NonNull RemovedFlowReason requireReason()
      Deprecated.
      Return reason, guaranteed to be non-null.
      Returns:
      RemovedFlowReason reason, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if reason is not present