java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortConfig
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 PortConfig 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 {
   type bits {
     bit port-down {
       position 0;
     }
     bit no-recv {
       position 2;
     }
     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

    • PortConfig

      public PortConfig(boolean _noFwd, boolean _noPacketIn, boolean _noRecv, boolean _portDown)
    • PortConfig

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

    • getDefaultInstance

      public static PortConfig getDefaultInstance(String defaultValue)
    • getPortDown

      public boolean getPortDown()
    • getNoRecv

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