Package com.axelor.workflow.view
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 itlabel- the branch's title where the author gave one, never its conditionattachment- true for the dashed boundary-to-host edge, which is not a step the run takeswaypoints- designer-only route, its ends included, relative to the source nodelabelX- designer-only label centre relative to the source nodelabelY- 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theattachmentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.in()Returns the value of theinrecord component.label()Returns the value of thelabelrecord component.labelX()Returns the value of thelabelXrecord component.labelY()Returns the value of thelabelYrecord component.nodePath()Returns the value of thenodePathrecord component.out()Returns the value of theoutrecord component.source()Returns the value of thesourcerecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewaypointsrecord component.
-
Constructor Details
-
GraphEdge
-
GraphEdge
-
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 aGraphEdgerecord class.- Parameters:
source- the value for thesourcerecord componenttarget- the value for thetargetrecord componentnodePath- the value for thenodePathrecord componentlabel- the value for thelabelrecord componentattachment- the value for theattachmentrecord componentout- the value for theoutrecord componentin- the value for theinrecord componentwaypoints- the value for thewaypointsrecord componentlabelX- the value for thelabelXrecord componentlabelY- the value for thelabelYrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
nodePath
Returns the value of thenodePathrecord component.- Returns:
- the value of the
nodePathrecord component
-
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
attachment
public boolean attachment()Returns the value of theattachmentrecord component.- Returns:
- the value of the
attachmentrecord component
-
out
Returns the value of theoutrecord component.- Returns:
- the value of the
outrecord component
-
in
Returns the value of theinrecord component.- Returns:
- the value of the
inrecord component
-
waypoints
Returns the value of thewaypointsrecord component.- Returns:
- the value of the
waypointsrecord component
-
labelX
Returns the value of thelabelXrecord component.- Returns:
- the value of the
labelXrecord component
-
labelY
Returns the value of thelabelYrecord component.- Returns:
- the value of the
labelYrecord component
-