Class 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
    • Field Summary

      • Fields inherited from class org.processmining.basicutils.models.impl.ObjectArrayImpl

        list
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addLog​(int index, org.deckfour.xes.model.XLog log)
      Deprecated.
      int addLog​(org.deckfour.xes.model.XLog log)
      Deprecated.
      void exportToFile​(org.processmining.framework.plugin.PluginContext context, java.io.File file)  
      void exportToFile​(org.processmining.framework.plugin.PluginContext context, java.io.File file, org.deckfour.xes.out.XSerializer logSerializer)  
      org.deckfour.xes.model.XLog getLog​(int index)
      Deprecated.
      void importFromStream​(org.processmining.framework.plugin.PluginContext context, java.io.InputStream input, java.lang.String parent)  
      void removeLog​(int index)
      Deprecated.
      int removeLog​(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
    • Constructor Detail

      • EventLogArrayImpl

        public EventLogArrayImpl()
    • Method Detail

      • addLog

        @Deprecated
        public int addLog​(org.deckfour.xes.model.XLog log)
        Deprecated.
        Description copied from interface: EventLogArray
        Adds the given log to the array.
        Specified by:
        addLog in interface EventLogArray
        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: EventLogArray
        Removes the first occurrence of the given log from the array,
        Specified by:
        removeLog in interface EventLogArray
        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: EventLogArray
        Adds the given log at the given index to the array.
        Specified by:
        addLog in interface EventLogArray
        Parameters:
        index - The given index.
        log - The given log.
      • removeLog

        @Deprecated
        public void removeLog​(int index)
        Deprecated.
        Description copied from interface: EventLogArray
        Removes the log from the given index.
        Specified by:
        removeLog in interface EventLogArray
        Parameters:
        index - The given index.
      • getLog

        @Deprecated
        public org.deckfour.xes.model.XLog getLog​(int index)
        Deprecated.
        Description copied from interface: EventLogArray
        Returns the log at the given index.
        Specified by:
        getLog in interface EventLogArray
        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:
        importFromStream in interface EventLogArray
        Specified by:
        importFromStream in interface org.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:
        exportToFile in interface EventLogArray
        Throws:
        java.io.IOException
      • exportToFile

        public void exportToFile​(org.processmining.framework.plugin.PluginContext context,
                                 java.io.File file)
                          throws java.lang.Exception
        Specified by:
        exportToFile in interface org.processmining.basicutils.models.ObjectArray<org.deckfour.xes.model.XLog>
        Throws:
        java.lang.Exception