|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.log.LogEntity
org.processmining.framework.log.ProcessInstance
org.processmining.framework.log.classic.ProcessInstanceClassic
public class ProcessInstanceClassic
A single process instance.
Field Summary | |
---|---|
protected java.util.HashMap<java.lang.String,java.lang.String> |
attributes
|
protected java.lang.String |
description
|
protected java.lang.String |
name
|
Fields inherited from class org.processmining.framework.log.ProcessInstance |
---|
ATT_ATE_ID, ATT_ATE_POST, ATT_ATE_PRE, ATT_PI_PO |
Constructor Summary | |
---|---|
ProcessInstanceClassic(java.lang.String process,
java.lang.String name,
java.lang.String description,
java.util.Map<java.lang.String,java.lang.String> data,
java.util.ArrayList entries)
|
Method Summary | |
---|---|
ProcessInstance |
cloneInstance()
Returns a deep copy of this process instance. |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Returns the meta-data, as map of key-value pairs, associated to this entity. |
AuditTrailEntries |
getAuditTrailEntries()
Returns the sequential set of audit trail entries, as found in this process instance. |
AuditTrailEntryList |
getAuditTrailEntryList()
Returns the sequential set of audit trail entries, as found in this process instance. |
java.util.Map |
getData()
This method is deprecated! Use getAttributes() instead! |
java.lang.String |
getDescription()
Returns the description of this entity. |
ModelElements |
getModelElements()
Returns the set of model elements contained in this process instance. |
java.lang.String |
getName()
Returns the name of this entity. |
java.lang.String |
getProcess()
Returns the identifier / name of the process of this object is an instance. |
boolean |
isEmpty()
Returns true, if this process instance contains no audit trail entries to read. |
void |
removeAttribute(java.lang.String key)
Removes the attribute with the given key from the set of attributes of this entity. |
void |
setAttribute(java.lang.String key,
java.lang.String value)
Sets an attribute of this entity as a key-value pair. |
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> data)
Sets the set of attributes, given as key-value pairs, for this entity. |
void |
setDescription(java.lang.String nDescription)
Sets the description of this entity |
void |
setName(java.lang.String nName)
Sets the name, or ID, of this entity |
java.lang.String |
toString()
Returns a string representation of this entity. |
Methods inherited from class org.processmining.framework.log.ProcessInstance |
---|
getListOfATEs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String description
protected java.util.HashMap<java.lang.String,java.lang.String> attributes
Constructor Detail |
---|
public ProcessInstanceClassic(java.lang.String process, java.lang.String name, java.lang.String description, java.util.Map<java.lang.String,java.lang.String> data, java.util.ArrayList entries)
Method Detail |
---|
public java.lang.String getDescription()
LogEntity
getDescription
in class LogEntity
public java.lang.String getProcess()
ProcessInstance
getProcess
in class ProcessInstance
public java.lang.String getName()
LogEntity
getName
in class LogEntity
public boolean isEmpty()
ProcessInstance
isEmpty
in class ProcessInstance
public AuditTrailEntries getAuditTrailEntries()
ProcessInstance
getAuditTrailEntries
in class ProcessInstance
public ModelElements getModelElements()
ProcessInstance
getModelElements
in class ProcessInstance
public java.util.Map getData()
ProcessInstance
getAttributes()
instead!
getData
in class ProcessInstance
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
LogEntity
getAttributes
in class LogEntity
public java.lang.String toString()
LogEntity
toString
in class LogEntity
public AuditTrailEntryList getAuditTrailEntryList()
ProcessInstance
getAuditTrailEntryList
in class ProcessInstance
public ProcessInstance cloneInstance()
ProcessInstance
cloneInstance
in class ProcessInstance
public void removeAttribute(java.lang.String key)
LogEntity
removeAttribute
in class LogEntity
public void setAttribute(java.lang.String key, java.lang.String value)
LogEntity
setAttribute
in class LogEntity
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> data)
LogEntity
setAttributes
in class LogEntity
public void setDescription(java.lang.String nDescription)
LogEntity
setDescription
in class LogEntity
public void setName(java.lang.String nName)
LogEntity
setName
in class LogEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |