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

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

 typedef node-flag-bits {
   type bits {
     bit overload {
       position 0;
     }
     bit attached {
       position 1;
     }
     bit external {
       position 2;
     }
     bit abr {
       position 3;
     }
     bit router {
       position 4;
     }
     bit v6 {
       position 5;
     }
   }
 }
 
See Also:
  • Field Details

    • VALID_NAMES

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

    • NodeFlagBits

      public NodeFlagBits(boolean _abr, boolean _attached, boolean _external, boolean _overload, boolean _router, boolean _v6)
    • NodeFlagBits

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

    • getDefaultInstance

      public static NodeFlagBits getDefaultInstance(String defaultValue)
    • getOverload

      public boolean getOverload()
    • getAttached

      public boolean getAttached()
    • getExternal

      public boolean getExternal()
    • getAbr

      public boolean getAbr()
    • getRouter

      public boolean getRouter()
    • getV6

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