public class FMLogEvents
extends java.util.ArrayList<org.deckfour.xes.model.XEvent>
LogEvent objects.| Constructor and Description |
|---|
FMLogEvents(org.deckfour.xes.model.XLog log)
Constructor for an empty list.
|
| Modifier and Type | Method and Description |
|---|---|
org.deckfour.xes.model.XEvent |
findLogEvent(java.lang.String name,
java.lang.String type)
Find a
XEvent object by its name and type. |
int |
findLogEventNumber(java.lang.String name,
java.lang.String type)
Find the index of a given
XEvent object in the list. |
int |
findLogEventNumber(org.deckfour.xes.model.XEvent event)
Find the index of a given
XEvent object in the list. |
org.deckfour.xes.model.XEvent |
getEvent(int i)
Returns the item at the given index.
|
int |
getEventsCount() |
org.deckfour.xes.model.XLog |
getLog() |
org.deckfour.xes.info.XLogInfo |
getLogInfo() |
void |
setEventsCount(int eventsCount) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic FMLogEvents(org.deckfour.xes.model.XLog log)
public int getEventsCount()
public void setEventsCount(int eventsCount)
public org.deckfour.xes.model.XLog getLog()
public org.deckfour.xes.info.XLogInfo getLogInfo()
public org.deckfour.xes.model.XEvent findLogEvent(java.lang.String name,
java.lang.String type)
XEvent object by its name and type. Returns null if
there is no such LogEvent in the list.name - the name of the XEvent to findtype - the type of the XEvent to findXEvent object if it is found, null otherwisepublic int findLogEventNumber(java.lang.String name,
java.lang.String type)
XEvent object in the list. Returns
-1 if there is no such XEvent in the list.name - the name of the XEvent to findtype - the type of the XEvent to findXEvent object in the list if it is
found, -1 otherwisepublic int findLogEventNumber(org.deckfour.xes.model.XEvent event)
XEvent object in the list. Returns
-1 if there is no such XEvent in the list.event - the eventXEvent to findXEvent object in the list if it is
found, -1 otherwisepublic org.deckfour.xes.model.XEvent getEvent(int i)
i - the index