Package org.deckfour.xes.model
Interface XLog
-
- All Superinterfaces:
java.lang.Cloneable,java.util.Collection<XTrace>,java.lang.Iterable<XTrace>,java.util.List<XTrace>,XAttributable,XElement
- All Known Implementing Classes:
XLogImpl
public interface XLog extends XElement, java.util.List<XTrace>
A log is an element of an XES event log structure. Logs are contained in archives. Any log is a list of traces. Logs represent a collection of traces, which are all representing executions of the same kind of process.- Author:
- Christian W. Guenther (christian@deckfour.org)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(XVisitor visitor)java.util.List<XEventClassifier>getClassifiers()This method returns the list of classifiers defined for this log.java.util.List<XAttribute>getGlobalEventAttributes()This method returns a list of attributes which are global for all events, i.e.java.util.List<XAttribute>getGlobalTraceAttributes()This method returns a list of attributes which are global for all traces, i.e.XLogInfogetInfo(XEventClassifier classifier)Returns the cached info for the given classifier, null if not available.voidsetInfo(XEventClassifier classifier, XLogInfo info)Adds the given info for the given classifier to the info cache.-
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
-
getClassifiers
java.util.List<XEventClassifier> getClassifiers()
This method returns the list of classifiers defined for this log. This list can be used for reading or writing, i.e., it must be supported to add further classifiers to this list.- Returns:
- The list of classifiers defined for this log.
-
getGlobalTraceAttributes
java.util.List<XAttribute> getGlobalTraceAttributes()
This method returns a list of attributes which are global for all traces, i.e. every trace in the log is guaranteed to have these attributes.- Returns:
- List of ubiquitous trace attributes.
-
getGlobalEventAttributes
java.util.List<XAttribute> getGlobalEventAttributes()
This method returns a list of attributes which are global for all events, i.e. every event in the log is guaranteed to have these attributes.- Returns:
- List of ubiquitous event attributes.
-
accept
boolean accept(XVisitor visitor)
-
getInfo
XLogInfo getInfo(XEventClassifier classifier)
Returns the cached info for the given classifier, null if not available.- Parameters:
classifier- The given classifier.- Returns:
- The cached info for the given classifier, null if not available.
-
setInfo
void setInfo(XEventClassifier classifier, XLogInfo info)
Adds the given info for the given classifier to the info cache.- Parameters:
classifier- The given classifier.info- The given info.
-
-