java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfigV10
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 PortConfigV10 extends Object implements org.opendaylight.yangtools.yang.binding.BitsTypeObject, Serializable

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

 typedef port-config-v10 {
   type bits {
     bit port-down {
       position 0;
     }
     bit no-stp {
       position 1;
     }
     bit no-recv {
       position 2;
     }
     bit no-recv-stp {
       position 3;
     }
     bit no-flood {
       position 4;
     }
     bit no-fwd {
       position 5;
     }
     bit no-packet-in {
       position 6;
     }
   }
 }
 
See Also:
  • Field Details

    • VALID_NAMES

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

    • PortConfigV10

      public PortConfigV10(boolean _noFlood, boolean _noFwd, boolean _noPacketIn, boolean _noRecv, boolean _noRecvStp, boolean _noStp, boolean _portDown)
    • PortConfigV10

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

    • getDefaultInstance

      public static PortConfigV10 getDefaultInstance(String defaultValue)
    • getPortDown

      public boolean getPortDown()
    • getNoStp

      public boolean getNoStp()
    • getNoRecv

      public boolean getNoRecv()
    • getNoRecvStp

      public boolean getNoRecvStp()
    • getNoFlood

      public boolean getNoFlood()
    • getNoFwd

      public boolean getNoFwd()
    • getNoPacketIn

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