Class Move
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.alignment.Move
-
- All Implemented Interfaces:
org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
- Direct Known Subclasses:
IvMMove
public class Move extends java.lang.Object implements org.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMove.Type
-
Constructor Summary
Constructors Constructor Description Move(IvMModel model, Move.Type type, int sourceNode, int node, org.deckfour.xes.classification.XEventClass activityEventClass, org.deckfour.xes.classification.XEventClass performanceEventClass, PerformanceTransition lifeCycle, int indexInAlignedTrace, IvMDecoratorI decorator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)org.deckfour.xes.classification.XEventClassgetActivityEventClass()java.awt.ColorgetBorderColor()java.lang.StringgetBottomLabel()java.lang.StringgetBottomLabel2()java.awt.ColorgetBottomLabel2Color()java.awt.ColorgetBottomLabelColor()IvMDecoratorIgetDecorator()intgetIndexInAlignedTrace()java.lang.StringgetLabel()java.awt.ColorgetLabelColor()PerformanceTransitiongetLifeCycleTransition()intgetLogMoveBeforeChild()intgetLogMoveParallelBranchMappedTo()Returns the last known unode in the trace before this log move.intgetLogMoveUnode()org.deckfour.xes.classification.XEventClassgetPerformanceEventClass()intgetPositionUnode()intgetSourceNode()java.lang.StringgetTopLabel()java.awt.ColorgetTopLabelColor()intgetTreeNode()Move.TypegetType()java.awt.ColorgetWedgeColor()inthashCode()booleanisComplete()booleanisIgnoredLogMove()booleanisIgnoredModelMove()booleanisLogMove()booleanisModelMove()booleanisModelSync()booleanisStart()booleanisSyncMove()booleanisTauStart()voidsetLogMoveParallelBranchMappedTo(int logMoveParallelBranch)voidsetLogMovePosition(LogMovePosition logMovePosition)java.lang.StringtoString()
-
-
-
Constructor Detail
-
Move
public Move(IvMModel model, Move.Type type, int sourceNode, int node, org.deckfour.xes.classification.XEventClass activityEventClass, org.deckfour.xes.classification.XEventClass performanceEventClass, PerformanceTransition lifeCycle, int indexInAlignedTrace, IvMDecoratorI decorator)
- Parameters:
model-type-sourceNode-node-activityEventClass-performanceEventClass-lifeCycle-indexInAlignedTrace-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
isModelSync
public boolean isModelSync()
-
getType
public Move.Type getType()
-
getTreeNode
public int getTreeNode()
-
getActivityEventClass
public org.deckfour.xes.classification.XEventClass getActivityEventClass()
-
getPerformanceEventClass
public org.deckfour.xes.classification.XEventClass getPerformanceEventClass()
-
getLogMoveBeforeChild
public int getLogMoveBeforeChild()
-
setLogMovePosition
public void setLogMovePosition(LogMovePosition logMovePosition)
-
getLogMoveUnode
public int getLogMoveUnode()
-
getPositionUnode
public int getPositionUnode()
-
isLogMove
public boolean isLogMove()
-
isModelMove
public boolean isModelMove()
-
isSyncMove
public boolean isSyncMove()
-
getLifeCycleTransition
public PerformanceTransition getLifeCycleTransition()
-
isStart
public boolean isStart()
-
isComplete
public boolean isComplete()
-
isTauStart
public boolean isTauStart()
- Returns:
- whether this move is a missing start
-
isIgnoredLogMove
public boolean isIgnoredLogMove()
-
getLogMoveParallelBranchMappedTo
public int getLogMoveParallelBranchMappedTo()
Returns the last known unode in the trace before this log move. This is used in log splitting, to make sure that the log move ends up in the correct sub trace.- Returns:
-
setLogMoveParallelBranchMappedTo
public void setLogMoveParallelBranchMappedTo(int logMoveParallelBranch)
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabelin interfaceorg.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event- Returns:
- the label of this event
-
getTopLabel
public java.lang.String getTopLabel()
- Specified by:
getTopLabelin interfaceorg.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event- Returns:
- label that is displayed on top of the event
-
getBottomLabel
public java.lang.String getBottomLabel()
- Specified by:
getBottomLabelin interfaceorg.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event- Returns:
- label that is displayed in the first row below of the event
-
getBottomLabel2
public java.lang.String getBottomLabel2()
- Specified by:
getBottomLabel2in interfaceorg.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event- Returns:
- label that is displayed in the second row below of the event
-
getWedgeColor
public java.awt.Color getWedgeColor()
- Specified by:
getWedgeColorin interfaceorg.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event- Returns:
- the color of the wedge
-
getBorderColor
public java.awt.Color getBorderColor()
- Specified by:
getBorderColorin interfaceorg.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event- Returns:
- the color of the border
-
getLabelColor
public java.awt.Color getLabelColor()
- Specified by:
getLabelColorin interfaceorg.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event- Returns:
- the text color of the label
-
getTopLabelColor
public java.awt.Color getTopLabelColor()
- Specified by:
getTopLabelColorin interfaceorg.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event- Returns:
- the text color of the top label
-
getBottomLabelColor
public java.awt.Color getBottomLabelColor()
- Specified by:
getBottomLabelColorin interfaceorg.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event- Returns:
- the text color of the bottom label
-
getBottomLabel2Color
public java.awt.Color getBottomLabel2Color()
- Specified by:
getBottomLabel2Colorin interfaceorg.processmining.framework.util.ui.widgets.traceview.ProMTraceView.Event- Returns:
- the text color of the second bottom label
-
isIgnoredModelMove
public boolean isIgnoredModelMove()
-
getSourceNode
public int getSourceNode()
-
getIndexInAlignedTrace
public int getIndexInAlignedTrace()
-
getDecorator
public IvMDecoratorI getDecorator()
-
-