Class IvMTraceImpl
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<IvMMove>
-
- org.processmining.plugins.inductiveVisualMiner.ivmlog.IvMTraceImpl
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<IvMMove>,java.util.Collection<IvMMove>,java.util.List<IvMMove>,java.util.RandomAccess,org.deckfour.xes.model.XAttributable,IvMTrace
public class IvMTraceImpl extends java.util.ArrayList<IvMMove> implements IvMTrace
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classIvMTraceImpl.ActivityInstanceIteratorclassIvMTraceImpl.EventIterator
-
Constructor Summary
Constructors Constructor Description IvMTraceImpl(java.lang.String name, org.deckfour.xes.model.XAttributeMap attributes, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IvMTraceImpl.ActivityInstanceIteratoractivityInstanceIterator(IvMModel model)IvMTraceclone()IvMTraceImpl.EventIteratoreventIterator()org.deckfour.xes.model.XAttributeMapgetAttributes()Retrieves the attributes set for this element.java.lang.DoublegetEndTime()java.util.Set<org.deckfour.xes.extension.XExtension>getExtensions()Retrieves the extensions used by this element, i.e.java.lang.StringgetName()Name to be shown in the trace view.intgetNumberOfEvents()java.lang.LonggetRealEndTime()java.lang.LonggetRealStartTime()java.lang.DoublegetStartTime()booleanhasAttributes()Checks for the existence of attributes.voidsetAttributes(org.deckfour.xes.model.XAttributeMap map)Sets the map of attributes for this element.voidsetEndTime(double endTime)voidsetRealEndTime(long endTime)voidsetRealStartTime(long startTime)voidsetStartTime(double startTime)java.lang.StringtoString()-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Method Detail
-
setEndTime
public void setEndTime(double endTime)
- Specified by:
setEndTimein interfaceIvMTrace
-
setStartTime
public void setStartTime(double startTime)
- Specified by:
setStartTimein interfaceIvMTrace
-
getEndTime
public java.lang.Double getEndTime()
- Specified by:
getEndTimein interfaceIvMTrace- Returns:
- end time of the trace in user time. This includes fading-out of the animated tokens.
-
getStartTime
public java.lang.Double getStartTime()
- Specified by:
getStartTimein interfaceIvMTrace- Returns:
- start time of the trace in user time. This includes fading-in of the animated tokens.
-
setRealEndTime
public void setRealEndTime(long endTime)
- Specified by:
setRealEndTimein interfaceIvMTrace
-
setRealStartTime
public void setRealStartTime(long startTime)
- Specified by:
setRealStartTimein interfaceIvMTrace
-
getRealEndTime
public java.lang.Long getRealEndTime()
- Specified by:
getRealEndTimein interfaceIvMTrace- Returns:
- the last timestamp that is present in the trace in log time.
-
getRealStartTime
public java.lang.Long getRealStartTime()
- Specified by:
getRealStartTimein interfaceIvMTrace- Returns:
- the first timestamp that is present in the trace in log time.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.util.AbstractCollection<IvMMove>
-
getName
public java.lang.String getName()
Description copied from interface:IvMTraceName to be shown in the trace view.
-
getAttributes
public org.deckfour.xes.model.XAttributeMap getAttributes()
Description copied from interface:org.deckfour.xes.model.XAttributableRetrieves the attributes set for this element.- Specified by:
getAttributesin interfaceIvMTrace- Specified by:
getAttributesin interfaceorg.deckfour.xes.model.XAttributable- Returns:
- A map of attributes.
-
setAttributes
public void setAttributes(org.deckfour.xes.model.XAttributeMap map)
Description copied from interface:org.deckfour.xes.model.XAttributableSets the map of attributes for this element.- Specified by:
setAttributesin interfaceorg.deckfour.xes.model.XAttributable- Parameters:
map- A map of attributes.
-
eventIterator
public IvMTraceImpl.EventIterator eventIterator()
-
activityInstanceIterator
public IvMTraceImpl.ActivityInstanceIterator activityInstanceIterator(IvMModel model)
- Specified by:
activityInstanceIteratorin interfaceIvMTrace
-
getNumberOfEvents
public int getNumberOfEvents()
- Specified by:
getNumberOfEventsin interfaceIvMTrace
-
getExtensions
public java.util.Set<org.deckfour.xes.extension.XExtension> getExtensions()
Description copied from interface:org.deckfour.xes.model.XAttributableRetrieves the extensions used by this element, i.e. the extensions used by all attributes of this element, and the element itself.- Specified by:
getExtensionsin interfaceorg.deckfour.xes.model.XAttributable- Returns:
- A set of extensions.
-
hasAttributes
public boolean hasAttributes()
Description copied from interface:org.deckfour.xes.model.XAttributableChecks for the existence of attributes. This method can be a more efficient way of checking for the existance of attributes than usingXAttributable.getAttributes()in certain situations.- Specified by:
hasAttributesin interfaceorg.deckfour.xes.model.XAttributable- Returns:
- whether this element has any attributes
-
-