public class WorkflowRelationshipEnter
extends java.lang.Object
implements java.lang.Comparable
This class holds a the exit relationship in the workflow
Modifier and Type | Field and Description |
---|---|
protected WorkflowRelationship |
workflowRelationship |
Constructor and Description |
---|
WorkflowRelationshipEnter(WorkflowRelationship workflowRelationship)
Constrsucts a WorkflowRelationshipEnter object.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Compares 2 relationships for the Comparable interface
|
boolean |
equals(java.lang.Object o)
Compares 2 relationships for equality
|
protected int |
getIndex()
Calculates the index of the relationship for sorting purposes.
|
WorkflowRelationship |
getWorkflowRelationship()
Returns the workflow relationship
|
protected WorkflowRelationship workflowRelationship
public WorkflowRelationshipEnter(WorkflowRelationship workflowRelationship)
workflowRelationship
- The workflow relationship to encapsulatepublic WorkflowRelationship getWorkflowRelationship()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The object to compare topublic int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- The object to compare toprotected int getIndex()
backward lines above forward lines above forward lines below backward lines belowWithin each in each the lines are sorted row and column within row. For above lines the lines furthest away vertically sort to the top. For below the opposite applies. With in a matching row the lines sort by column.