java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.port.rev130925.port.mod.port.PortKey
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.concepts.Identifier, org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.yang.binding.Identifier<Port>

@Generated("mdsal-binding-generator") public class PortKey extends Object implements org.opendaylight.yangtools.yang.binding.Identifier<Port>
This class represents the key of Port class.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    PortKey(@NonNull org.opendaylight.yangtools.yang.common.Uint32 _portModOrder)
    Constructs an instance.
    PortKey(PortKey source)
    Creates a copy from Source Object.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
     
    @NonNull org.opendaylight.yangtools.yang.common.Uint32
    Return portModOrder, guaranteed to be non-null.
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PortKey

      public PortKey(@NonNull org.opendaylight.yangtools.yang.common.Uint32 _portModOrder)
      Constructs an instance.
      Parameters:
      _portModOrder - the entity portModOrder
      Throws:
      NullPointerException - if any of the arguments are null
    • PortKey

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

    • getPortModOrder

      public @NonNull org.opendaylight.yangtools.yang.common.Uint32 getPortModOrder()
      Return portModOrder, guaranteed to be non-null.
      Returns:
      Uint32 portModOrder, guaranteed to be non-null.
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.opendaylight.yangtools.concepts.Identifier
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Specified by:
      equals in interface org.opendaylight.yangtools.concepts.Identifier
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Specified by:
      toString in interface org.opendaylight.yangtools.concepts.Identifier
      Overrides:
      toString in class Object