|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.dmcscanning.DmcSet
public class DmcSet
DMCSet provides an ordered and structured way to store and access a set of DMCs. Typical usage is intended to cover the management of initially scanned DMCs in a way that provides for automatically created structure, to ease later access and search.
Field Summary | |
---|---|
protected java.util.TreeSet<Dmc> |
allDMCs
the arraylist allDMCs is to contain references to all DMCs contained in the order of their having been added. |
protected long |
dmcCounter
|
protected java.util.Date |
leftBoundaryTime
|
protected java.util.HashMap<java.lang.String,java.util.HashMap> |
processes
|
protected java.util.Date |
rightBoundaryTime
|
Constructor Summary | |
---|---|
DmcSet()
constructor |
Method Summary | |
---|---|
java.util.Iterator |
allInProcessIterator(java.lang.String processName)
Convenience method, directly returning an iterator on a collection of all DMCs that belong to the specified process |
double |
checkConsistency(ObjectEquivalence equiv)
Debug convenience method: check consistency of all contained DMCs. |
int |
compareTo(java.lang.Object arg0)
|
java.util.SortedSet |
getAll()
|
java.util.SortedSet |
getAllInProcess(java.lang.String processName)
Retrieves a collection of all DMCs stored that belong to the specified process |
java.util.SortedSet |
getDMCs(ProcessInstance processInstance)
Returns a list of all DMCs in a given process instance |
java.util.SortedSet |
getDMCs(java.lang.String processName,
java.lang.String processInstanceName)
Returns a list of all DMCs in a given process instance |
java.util.Iterator |
getDMCsIterator(ProcessInstance processInstance)
Convenience method, directly delivering an iterator on all specified DMCs |
java.util.Iterator |
getDMCsIterator(java.lang.String processName,
java.lang.String processInstanceName)
Convenience method, directly delivering an iterator on all specified DMCs |
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.SortedSet |
getProcessInstances()
|
java.util.Date |
getRightBoundaryTimestamp()
Start and end position are expected to represent sub-item boundaries of compound log items. |
void |
insert(Dmc aDmc)
inserts a new DMC into the data structure (which is built transparently) |
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. |
java.util.Iterator |
iterator()
|
java.util.Iterator |
processesIterator()
|
java.util.Iterator |
processInstancesIterator(java.lang.String processName)
|
int |
size()
|
void |
testOutput()
provides the required test output in pseudo-xml format to Message.TEST |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.TreeSet<Dmc> allDMCs
protected java.util.HashMap<java.lang.String,java.util.HashMap> processes
protected java.util.Date leftBoundaryTime
protected java.util.Date rightBoundaryTime
protected long dmcCounter
Constructor Detail |
---|
public DmcSet()
Method Detail |
---|
public void insert(Dmc aDmc)
aDmc
- public java.util.SortedSet getAll()
public java.util.Iterator iterator()
public java.util.SortedSet getAllInProcess(java.lang.String processName)
processName
-
public java.util.Iterator allInProcessIterator(java.lang.String processName)
processName
-
public java.util.SortedSet getDMCs(java.lang.String processName, java.lang.String processInstanceName)
processName
- name of the processprocessInstanceName
- id of process instance
public java.util.Iterator getDMCsIterator(java.lang.String processName, java.lang.String processInstanceName)
processName
- name of the processprocessInstanceName
- id of the process instance
public java.util.SortedSet getDMCs(ProcessInstance processInstance)
processInstance
- reference to a ProcessInstance
public java.util.Iterator getDMCsIterator(ProcessInstance processInstance)
processInstance
- reference to a ProcessInstance
public java.util.Iterator processesIterator()
public java.util.Iterator processInstancesIterator(java.lang.String processName)
processName
- ID/name of respective process
public int size()
public java.util.SortedSet getProcessInstances()
public 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 int compareTo(java.lang.Object arg0)
compareTo
in interface java.lang.Comparable
public boolean isAtomic()
LogItem
isAtomic
in interface LogItem
public double checkConsistency(ObjectEquivalence equiv)
equiv
-
public void testOutput()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |