org.processmining.mining.dmcscanning.logutils
Interface LogItem

All Superinterfaces:
java.lang.Comparable
All Known Implementing Classes:
AbstractEvent, AnchoredEvent, Dmc, DmcSet

public interface LogItem
extends java.lang.Comparable

Interface 'LogItem' This interface is to be used to access position and extension information about log-anchored items. Implementing classes can represent log items spread over multiple sub-items, and as such the start- and end-getter methods are expected to return the respective boundary values. Intented for visualizing log-anchored items from an abstract view.

Author:
Christian W. Guenther (christian at deckfour dot org)

Method Summary
 java.util.Date getLeftBoundaryTimestamp()
          Start and end position are expected to represent sub-item boundaries of compound log items.
 long getPosition()
          The return value represents the logical position of this log item within the sequence of events (starting from zero and ascending).
 java.util.Date getRightBoundaryTimestamp()
          Start and end position are expected to represent sub-item boundaries of compound log items.
 boolean isAtomic()
          Determines, whether this log event is atomic or durable; Atomic, in this context, is interpreted as tStart == tEnd, in contrast to durable, where tStart < tEnd.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getLeftBoundaryTimestamp

java.util.Date getLeftBoundaryTimestamp()
Start and end position are expected to represent sub-item boundaries of compound log items. In case the implementing class represents an atomic log item, the respective start- and end-getters are expected to return an identical value.

Returns:
the timestamp representing the left boundary of this log item

getRightBoundaryTimestamp

java.util.Date getRightBoundaryTimestamp()
Start and end position are expected to represent sub-item boundaries of compound log items. In case the implementing class represents an atomic log item, the respective start- and end-getters are expected to return an identical value.

Returns:
the timestamp representing the right boundary of this log item

getPosition

long getPosition()
The return value represents the logical position of this log item within the sequence of events (starting from zero and ascending). If not implemented, return a negative value here.

Returns:

isAtomic

boolean isAtomic()
Determines, whether this log event is atomic or durable; Atomic, in this context, is interpreted as tStart == tEnd, in contrast to durable, where tStart < tEnd.

Returns: