java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.PortFeatures
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 PortFeatures 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-features {
   type bits {
     bit _10mb_hd {
       position 0;
     }
     bit _10mb-fd {
       position 1;
     }
     bit _100mb-hd {
       position 2;
     }
     bit _100mb-fd {
       position 3;
     }
     bit _1gb-hd {
       position 4;
     }
     bit _1gb-fd {
       position 5;
     }
     bit _10gb-fd {
       position 6;
     }
     bit _40gb-fd {
       position 7;
     }
     bit _100gb-fd {
       position 8;
     }
     bit _1tb-fd {
       position 9;
     }
     bit other {
       position 10;
     }
     bit copper {
       position 11;
     }
     bit fiber {
       position 12;
     }
     bit autoneg {
       position 13;
     }
     bit pause {
       position 14;
     }
     bit pause-asym {
       position 15;
     }
   }
 }
 
See Also:
  • Field Details

    • VALID_NAMES

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

    • PortFeatures

      public PortFeatures(boolean __100gbFd, boolean __100mbFd, boolean __100mbHd, boolean __10gbFd, boolean __10mbFd, boolean __10mbHd, boolean __1gbFd, boolean __1gbHd, boolean __1tbFd, boolean __40gbFd, boolean _autoneg, boolean _copper, boolean _fiber, boolean _other, boolean _pause, boolean _pauseAsym)
    • PortFeatures

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

    • getDefaultInstance

      public static PortFeatures getDefaultInstance(String defaultValue)
    • get_10mbHd

      public boolean get_10mbHd()
    • get_10mbFd

      public boolean get_10mbFd()
    • get_100mbHd

      public boolean get_100mbHd()
    • get_100mbFd

      public boolean get_100mbFd()
    • get_1gbHd

      public boolean get_1gbHd()
    • get_1gbFd

      public boolean get_1gbFd()
    • get_10gbFd

      public boolean get_10gbFd()
    • get_40gbFd

      public boolean get_40gbFd()
    • get_100gbFd

      public boolean get_100gbFd()
    • get_1tbFd

      public boolean get_1tbFd()
    • getOther

      public boolean getOther()
    • getCopper

      public boolean getCopper()
    • getFiber

      public boolean getFiber()
    • getAutoneg

      public boolean getAutoneg()
    • getPause

      public boolean getPause()
    • getPauseAsym

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