|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.log.rfb.LightweightModelElements.LightweightModelElement
protected class LightweightModelElements.LightweightModelElement
Lightweight proxy class implementing a model element in the lighweight set. The trick is to avoid copying strings; instead only the index of the model element in the parent's set is stored. This dramatically decreases this class's footprint in operation and speeds up operation, by limiting the instantiation of new strings.
Field Summary | |
---|---|
protected int |
index
Index of the proxied model element's name in parent's list. |
protected LightweightModelElements |
parent
Reference to the fat parent. |
Constructor Summary | |
---|---|
protected |
LightweightModelElements.LightweightModelElement(LightweightModelElements parent,
int index)
Creates a new model element proxy |
Method Summary | |
---|---|
java.util.Set<AuditTrailEntry> |
getInstances()
Retrieves the set of audit trail entries which are instances of this model element |
java.lang.String |
getName()
Retrieves the name of the proxied model element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.processmining.framework.log.ModelElement |
---|
toString |
Field Detail |
---|
protected int index
protected LightweightModelElements parent
Constructor Detail |
---|
protected LightweightModelElements.LightweightModelElement(LightweightModelElements parent, int index)
parent
- fat parent on which to delegate transparentlyindex
- index of the proxied model element in parent.Method Detail |
---|
public java.lang.String getName()
getName
in interface ModelElement
public java.util.Set<AuditTrailEntry> getInstances()
getInstances
in interface ModelElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |