java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.physical._switch.attributes.TunnelsKey
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.concepts.Identifier, org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.yang.binding.Identifier<Tunnels>

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

    • TunnelsKey

      public TunnelsKey(@NonNull HwvtepPhysicalLocatorRef _localLocatorRef, @NonNull HwvtepPhysicalLocatorRef _remoteLocatorRef)
      Constructs an instance.
      Parameters:
      _localLocatorRef - the entity localLocatorRef
      _remoteLocatorRef - the entity remoteLocatorRef
      Throws:
      NullPointerException - if any of the arguments are null
    • TunnelsKey

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

    • getLocalLocatorRef

      public @NonNull HwvtepPhysicalLocatorRef getLocalLocatorRef()
      Return localLocatorRef, guaranteed to be non-null.
      Returns:
      HwvtepPhysicalLocatorRef localLocatorRef, guaranteed to be non-null.
    • getRemoteLocatorRef

      public @NonNull HwvtepPhysicalLocatorRef getRemoteLocatorRef()
      Return remoteLocatorRef, guaranteed to be non-null.
      Returns:
      HwvtepPhysicalLocatorRef remoteLocatorRef, 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