java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.onf.rev170124.BundleFlags
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.BitsTypeObject, org.opendaylight.yangtools.yang.binding.TypeObject

@Generated("mdsal-binding-generator") public class BundleFlags extends Object implements org.opendaylight.yangtools.yang.binding.BitsTypeObject, Serializable

This class represents the following YANG schema fragment defined in module onf-extensions

 typedef bundle-flags {
   type bits {
     bit atomic {
       position 0;
     }
     bit ordered {
       position 1;
     }
   }
 }
 
See Also:
  • Field Details

    • VALID_NAMES

      protected static final com.google.common.collect.ImmutableSet<String> VALID_NAMES
  • Constructor Details

    • BundleFlags

      public BundleFlags(boolean _atomic, boolean _ordered)
    • BundleFlags

      public BundleFlags(BundleFlags source)
      Creates a copy from Source Object.
      Parameters:
      source - Source object
  • Method Details

    • getDefaultInstance

      public static BundleFlags getDefaultInstance(String defaultValue)
    • getAtomic

      public boolean getAtomic()
    • getOrdered

      public boolean getOrdered()
    • validNames

      public com.google.common.collect.ImmutableSet<String> validNames()
      Specified by:
      validNames in interface org.opendaylight.yangtools.yang.binding.BitsTypeObject
    • values

      public boolean[] values()
      Specified by:
      values in interface org.opendaylight.yangtools.yang.binding.BitsTypeObject
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object