Class ConnectionIDEnt

java.lang.Object
org.knime.gateway.api.entity.ConnectionIDEnt

public final class ConnectionIDEnt extends Object
Represents a connection id as used by gateway entities and services. Equivalent to the core's ConnectionID.
Author:
Martin Horn, KNIME GmbH, Konstanz, Germany
  • Constructor Details

    • ConnectionIDEnt

      public ConnectionIDEnt(NodeIDEnt destNodeID, int destPortIdx)
      Parameters:
      destNodeID - the destination node id of the connection
      destPortIdx - the destination port index
    • ConnectionIDEnt

      public ConnectionIDEnt(org.knime.core.node.workflow.ConnectionID connectionId)
      Creates a new connection id entity from a ConnectionID.
      Parameters:
      connectionId -
    • ConnectionIDEnt

      public ConnectionIDEnt(String s)
      Deserialization constructor.
      Parameters:
      s - string representation as returned by toString()
  • Method Details

    • getDestNodeIDEnt

      public NodeIDEnt getDestNodeIDEnt()
      Returns:
      the destination node id entity
    • getDestPortIdx

      public int getDestPortIdx()
      Returns:
      the destination port index
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object