public class WorkshopNode
extends org.processmining.models.graphbased.directed.AbstractDirectedGraphNode
implements org.processmining.models.shapes.Decorated
| Constructor and Description |
|---|
WorkshopNode(org.deckfour.xes.classification.XEventClass eventClass,
WorkshopGraph graph)
Creates a node for the given graph with given event class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decorate(java.awt.Graphics2D g2d,
double x,
double y,
double width,
double height)
Decorates the node.
|
boolean |
equals(java.lang.Object o)
Checks whether the given object is equal to this node.
|
org.deckfour.xes.classification.XEventClass |
getEventClass()
Gets the payload for this node, that is, its event class.
|
org.processmining.models.graphbased.directed.AbstractDirectedGraph<?,?> |
getGraph()
Gets the graph this node was created for.
|
int |
hashCode()
Gets the hash code for this node.
|
compareTogetAttributeMap, getLabel, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdpublic WorkshopNode(org.deckfour.xes.classification.XEventClass eventClass,
WorkshopGraph graph)
eventClass - The given event class.graph - The given graph.public void decorate(java.awt.Graphics2D g2d,
double x,
double y,
double width,
double height)
decorate in interface org.processmining.models.shapes.Decoratedpublic boolean equals(java.lang.Object o)
equals in interface org.processmining.models.graphbased.directed.DirectedGraphElementequals in class org.processmining.models.graphbased.AbstractGraphNodeo - The given object.public int hashCode()
hashCode in interface org.processmining.models.graphbased.directed.DirectedGraphElementhashCode in class org.processmining.models.graphbased.AbstractGraphNodepublic org.processmining.models.graphbased.directed.AbstractDirectedGraph<?,?> getGraph()
getGraph in interface org.processmining.models.graphbased.directed.DirectedGraphElementgetGraph in class org.processmining.models.graphbased.directed.AbstractDirectedGraphNodepublic org.deckfour.xes.classification.XEventClass getEventClass()