Record Class WorkflowGraphView.GraphEdge

java.lang.Object
java.lang.Record
com.axelor.workflow.view.WorkflowGraphView.GraphEdge
Record Components:
nodePath - the graph this edge is in; both ends are nodes of it
label - the branch's title where the author gave one, never its condition
attachment - true for the dashed boundary-to-host edge, which is not a step the run takes
waypoints - designer-only route, its ends included, relative to the source node
labelX - designer-only label centre relative to the source node
labelY - designer-only label centre relative to the source node
Enclosing class:
WorkflowGraphView

public static record WorkflowGraphView.GraphEdge(String source, String target, String nodePath, String label, boolean attachment, String out, String in, List<WorkflowGraphView.GraphPoint> waypoints, Double labelX, Double labelY) extends Record
One link.
  • Constructor Details

    • GraphEdge

      public GraphEdge(String source, String target, String nodePath, String label, boolean attachment)
    • GraphEdge

      public GraphEdge(String source, String target, String nodePath, String label)
    • GraphEdge

      public GraphEdge(String source, String target, String nodePath, String label, boolean attachment, String out, String in, List<WorkflowGraphView.GraphPoint> waypoints, Double labelX, Double labelY)
      Creates an instance of a GraphEdge record class.
      Parameters:
      source - the value for the source record component
      target - the value for the target record component
      nodePath - the value for the nodePath record component
      label - the value for the label record component
      attachment - the value for the attachment record component
      out - the value for the out record component
      in - the value for the in record component
      waypoints - the value for the waypoints record component
      labelX - the value for the labelX record component
      labelY - the value for the labelY record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • source

      public String source()
      Returns the value of the source record component.
      Returns:
      the value of the source record component
    • target

      public String target()
      Returns the value of the target record component.
      Returns:
      the value of the target record component
    • nodePath

      public String nodePath()
      Returns the value of the nodePath record component.
      Returns:
      the value of the nodePath record component
    • label

      public String label()
      Returns the value of the label record component.
      Returns:
      the value of the label record component
    • attachment

      public boolean attachment()
      Returns the value of the attachment record component.
      Returns:
      the value of the attachment record component
    • out

      public String out()
      Returns the value of the out record component.
      Returns:
      the value of the out record component
    • in

      public String in()
      Returns the value of the in record component.
      Returns:
      the value of the in record component
    • waypoints

      public List<WorkflowGraphView.GraphPoint> waypoints()
      Returns the value of the waypoints record component.
      Returns:
      the value of the waypoints record component
    • labelX

      public Double labelX()
      Returns the value of the labelX record component.
      Returns:
      the value of the labelX record component
    • labelY

      public Double labelY()
      Returns the value of the labelY record component.
      Returns:
      the value of the labelY record component