java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.flowspec.rev200120.NumericOperand
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 NumericOperand extends Object implements org.opendaylight.yangtools.yang.binding.BitsTypeObject, Serializable

This class represents the following YANG schema fragment defined in module bgp-flowspec

 typedef numeric-operand {
   type bits {
     bit end-of-list {
       position 0;
     }
     bit and-bit {
       position 1;
     }
     bit less-than {
       position 5;
     }
     bit greater-than {
       position 6;
     }
     bit equals {
       position 7;
     }
   }
 }
 
See Also:
  • Field Details

    • VALID_NAMES

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

    • NumericOperand

      public NumericOperand(boolean _andBit, boolean _endOfList, boolean _equals, boolean _greaterThan, boolean _lessThan)
    • NumericOperand

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

    • getDefaultInstance

      public static NumericOperand getDefaultInstance(String defaultValue)
    • getEndOfList

      public boolean getEndOfList()
    • getAndBit

      public boolean getAndBit()
    • getLessThan

      public boolean getLessThan()
    • getGreaterThan

      public boolean getGreaterThan()
    • getEquals

      public boolean getEquals()
    • 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