public class WorkshopEdge extends org.processmining.models.graphbased.directed.AbstractDirectedGraphEdge<WorkshopNode,WorkshopNode>
| Constructor and Description |
|---|
WorkshopEdge(WorkshopNode source,
WorkshopNode target,
int cardinality)
Creates an edge from the given source node to the given target node with
given cardinality.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getCardinality()
Gets the cardinality.
|
WorkshopNode |
getSource()
Gets the source node.
|
WorkshopNode |
getTarget()
Gets the target node.
|
compareTo, getGraphgetAttributeMap, getLabel, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic WorkshopEdge(WorkshopNode source, WorkshopNode target, int cardinality)
source - The source node.target - The target node.cardinality - The cardinality.public WorkshopNode getSource()
getSource in interface org.processmining.models.graphbased.directed.DirectedGraphEdge<WorkshopNode,WorkshopNode>getSource in class org.processmining.models.graphbased.AbstractGraphEdge<WorkshopNode,WorkshopNode>public WorkshopNode getTarget()
getTarget in interface org.processmining.models.graphbased.directed.DirectedGraphEdge<WorkshopNode,WorkshopNode>getTarget in class org.processmining.models.graphbased.AbstractGraphEdge<WorkshopNode,WorkshopNode>public java.lang.Integer getCardinality()