java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.network.instance.rev151018.network.instance.top.network.instances.network.instance.table.connections.TableConnectionKey
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.concepts.Identifier, org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.yang.binding.Key<TableConnection>

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

    • TableConnectionKey

      public TableConnectionKey(@NonNull String _dstTable, @NonNull String _srcTable)
      Constructs an instance.
      Parameters:
      _dstTable - the entity dstTable
      _srcTable - the entity srcTable
      Throws:
      NullPointerException - if any of the arguments are null
    • TableConnectionKey

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

    • getSrcTable

      public @NonNull String getSrcTable()
      Return srcTable, guaranteed to be non-null.
      Returns:
      String srcTable, guaranteed to be non-null.
    • getDstTable

      public @NonNull String getDstTable()
      Return dstTable, guaranteed to be non-null.
      Returns:
      String dstTable, 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