Package org.deckfour.xes.model
Interface XTrace
-
- All Superinterfaces:
java.lang.Cloneable,java.util.Collection<XEvent>,java.lang.Iterable<XEvent>,java.util.List<XEvent>,XAttributable,XElement
- All Known Implementing Classes:
XTraceBufferedImpl,XTraceImpl
public interface XTrace extends XElement, java.util.List<XEvent>
A trace is an element of an XES event log structure. Traces are contained in logs. Any trace is a list of events. Traces describe sequences of events, as they have occurred during one execution of a process, in their given order.- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(XVisitor visitor, XLog log)intinsertOrdered(XEvent event)Insert the event in an ordered manner, if timestamp information is available in this trace.-
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
-
Methods inherited from interface org.deckfour.xes.model.XAttributable
getAttributes, getExtensions, hasAttributes, setAttributes
-
-
-
-
Method Detail
-
insertOrdered
int insertOrdered(XEvent event)
Insert the event in an ordered manner, if timestamp information is available in this trace.- Parameters:
event- the event to be inserted.- Returns:
- index of the inserted event.
- Throws:
java.lang.Exception
-
-