|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.dmcscanning.Dmc
public class Dmc
This class represents a Data Modification Cluster (DMC). Data modification clusters extracted in the initial scan pass.
Field Summary | |
---|---|
protected java.util.Date |
endDate
|
protected java.util.ArrayList<AbstractEvent> |
events
|
protected Footprint |
footprint
|
protected static long |
id_counter
static counter value for providing unique id numbers |
protected long |
id_nr
|
protected java.lang.String |
id_string
|
protected ProcessInstance |
processInstance
|
protected java.util.Date |
startDate
|
Constructor Summary | |
---|---|
Dmc()
creates a new DMC object |
|
Dmc(Dmc copy)
copy constructor |
|
Dmc(java.lang.String id)
constructor |
Method Summary | |
---|---|
void |
addEvent(AbstractEvent entry)
Adds a new event to this DMC |
int |
compareTo(java.lang.Object arg0)
|
boolean |
conflicts(Dmc other)
checks whether this DMC is in conflict with another one, i.e. |
boolean |
containsEvent(AbstractEvent entry)
deep check whether a given AbstractEvent is contained within this DMC's event set |
boolean |
equals(java.lang.Object obj)
tests with equality to another DMC WARNING: As 'AuditTrailEntry' does so far not override the 'equals()' method this method does, as well, not check for real value equality. |
Footprint |
footprint()
Retrieves the minimal list of modified data objects in this DMC |
java.util.ArrayList<AbstractEvent> |
getEvents()
|
long |
getIdNumber()
|
java.lang.String |
getIdString()
|
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). |
ProcessInstance |
getProcessInstance()
|
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. |
boolean |
isConsistent(ObjectEquivalence equiv)
checks the inner consistency of a DMC, i.e. |
boolean |
isSimilarTo(Dmc other)
Tests for similarity with another DMC. |
java.util.Iterator<AbstractEvent> |
iterator()
|
void |
makeFootprintCanonical(ObjectEquivalence equiv)
Converts all data object identifiers in the footprint to canonical representations of the data objects, following the rules implemented in the given equivalence relation implementation. |
protected static long |
nextId()
Static facility to provide unique, ascending id numbers |
static void |
resetIdCounter()
manually resets the static id counter to zero |
int |
size()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static long id_counter
protected java.util.ArrayList<AbstractEvent> events
protected java.util.Date startDate
protected java.util.Date endDate
protected Footprint footprint
protected long id_nr
protected java.lang.String id_string
protected ProcessInstance processInstance
Constructor Detail |
---|
public Dmc()
public Dmc(java.lang.String id)
id
- a custom id stringpublic Dmc(Dmc copy)
copy
- the original DMC to copyMethod Detail |
---|
protected static long nextId()
public static void resetIdCounter()
public void addEvent(AbstractEvent entry)
entry
- public java.util.ArrayList<AbstractEvent> getEvents()
public java.util.Iterator<AbstractEvent> iterator()
public int size()
public Footprint footprint()
public boolean conflicts(Dmc other)
other
- DMC to test conflict with
public boolean isSimilarTo(Dmc other)
other
-
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
public boolean containsEvent(AbstractEvent entry)
entry
-
public void makeFootprintCanonical(ObjectEquivalence equiv)
equiv
- equivalence relation implementation used for conversionpublic long getPosition()
LogItem
getPosition
in interface LogItem
public java.util.Date getLeftBoundaryTimestamp()
LogItem
getLeftBoundaryTimestamp
in interface LogItem
public java.util.Date getRightBoundaryTimestamp()
LogItem
getRightBoundaryTimestamp
in interface LogItem
public ProcessInstance getProcessInstance()
public long getIdNumber()
public java.lang.String getIdString()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object arg0)
compareTo
in interface java.lang.Comparable
public boolean isAtomic()
LogItem
isAtomic
in interface LogItem
public boolean isConsistent(ObjectEquivalence equiv)
equiv
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |