java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.PortConfig
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.TypeObject

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

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

 typedef port-config {
   type bits {
     bit PORT-DOWN;
     bit NO-RECV;
     bit NO-FWD;
     bit NO-PACKET-IN;
   }
 }
 
See Also:
  • 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()
    • getValue

      public boolean[] getValue()
    • 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