Class EventLogArrayImpl
- java.lang.Object
-
- org.processmining.basicutils.models.impl.ObjectArrayImpl<org.deckfour.xes.model.XLog>
-
- org.processmining.log.models.impl.EventLogArrayImpl
-
- All Implemented Interfaces:
org.processmining.basicutils.models.ObjectArray<org.deckfour.xes.model.XLog>,EventLogArray
public class EventLogArrayImpl extends org.processmining.basicutils.models.impl.ObjectArrayImpl<org.deckfour.xes.model.XLog> implements EventLogArray
-
-
Constructor Summary
Constructors Constructor Description EventLogArrayImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddLog(int index, org.deckfour.xes.model.XLog log)Deprecated.intaddLog(org.deckfour.xes.model.XLog log)Deprecated.voidexportToFile(org.processmining.framework.plugin.PluginContext context, java.io.File file)voidexportToFile(org.processmining.framework.plugin.PluginContext context, java.io.File file, org.deckfour.xes.out.XSerializer logSerializer)org.deckfour.xes.model.XLoggetLog(int index)Deprecated.voidimportFromStream(org.processmining.framework.plugin.PluginContext context, java.io.InputStream input, java.lang.String parent)voidremoveLog(int index)Deprecated.intremoveLog(org.deckfour.xes.model.XLog log)Deprecated.-
Methods inherited from class org.processmining.basicutils.models.impl.ObjectArrayImpl
addElement, addElement, getElement, getSize, importFromStream, init, removeElement, removeElement
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.processmining.log.models.EventLogArray
getSize, init
-
-
-
-
Method Detail
-
addLog
@Deprecated public int addLog(org.deckfour.xes.model.XLog log)
Deprecated.Description copied from interface:EventLogArrayAdds the given log to the array.- Specified by:
addLogin interfaceEventLogArray- Parameters:
log- The given log.- Returns:
- The index of the added log in the array.
-
removeLog
@Deprecated public int removeLog(org.deckfour.xes.model.XLog log)
Deprecated.Description copied from interface:EventLogArrayRemoves the first occurrence of the given log from the array,- Specified by:
removeLogin interfaceEventLogArray- Parameters:
log- The given log.- Returns:
- The index of the removed log, if present. -1 if not present.
-
addLog
@Deprecated public void addLog(int index, org.deckfour.xes.model.XLog log)Deprecated.Description copied from interface:EventLogArrayAdds the given log at the given index to the array.- Specified by:
addLogin interfaceEventLogArray- Parameters:
index- The given index.log- The given log.
-
removeLog
@Deprecated public void removeLog(int index)
Deprecated.Description copied from interface:EventLogArrayRemoves the log from the given index.- Specified by:
removeLogin interfaceEventLogArray- Parameters:
index- The given index.
-
getLog
@Deprecated public org.deckfour.xes.model.XLog getLog(int index)
Deprecated.Description copied from interface:EventLogArrayReturns the log at the given index.- Specified by:
getLogin interfaceEventLogArray- Parameters:
index- The given index.- Returns:
- The log at the given index, if valid. null if not valid.
-
importFromStream
public void importFromStream(org.processmining.framework.plugin.PluginContext context, java.io.InputStream input, java.lang.String parent) throws java.lang.Exception- Specified by:
importFromStreamin interfaceEventLogArray- Specified by:
importFromStreamin interfaceorg.processmining.basicutils.models.ObjectArray<org.deckfour.xes.model.XLog>- Throws:
java.lang.Exception
-
exportToFile
public void exportToFile(org.processmining.framework.plugin.PluginContext context, java.io.File file, org.deckfour.xes.out.XSerializer logSerializer) throws java.io.IOException- Specified by:
exportToFilein interfaceEventLogArray- Throws:
java.io.IOException
-
exportToFile
public void exportToFile(org.processmining.framework.plugin.PluginContext context, java.io.File file) throws java.lang.Exception- Specified by:
exportToFilein interfaceorg.processmining.basicutils.models.ObjectArray<org.deckfour.xes.model.XLog>- Throws:
java.lang.Exception
-
-