|
||||||||||
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.AuditTrailEntry
public abstract class AuditTrailEntry
This abstract class defines the access methods to an audit
trail entry object in the framework.
Notice: Read-only implementations of this interface
may throw exceptions when modifying methods are called. It
is expected that you handle these according to your intent.
Constructor Summary | |
---|---|
AuditTrailEntry()
|
Method Summary | |
---|---|
void |
addDataAttribute(java.lang.String key,
java.lang.String value)
Deprecated. Use setAttribute() instead! |
abstract java.lang.Object |
clone()
Make a deep copy of the object. |
abstract boolean |
equals(java.lang.Object o)
Overridden to specify when two audit trail entries are considered to be equal. |
java.util.Map<java.lang.String,java.lang.String> |
getData()
Deprecated. Use getAttributes() instead! |
java.lang.String |
getElement()
Returns the workflow model element identifier (event name) |
abstract java.lang.String |
getOriginator()
Returns the originator, i.e. |
abstract java.util.Date |
getTimestamp()
Returns the exact date and time, at which this event has occurred. |
abstract java.lang.String |
getType()
Returns the event type, as defined in the MXML finite state machine. |
abstract int |
hashCode()
Overridden to produce the same hash code for equal objects. |
abstract long |
id()
Returns the ID of this audit trail entry. |
void |
setData(java.util.Map<java.lang.String,java.lang.String> data)
Deprecated. Use setAttributes() instead! |
void |
setElement(java.lang.String element)
Sets the model element of this event. Notice: Implementations of this interface may support modification of instances to varying degrees. |
abstract void |
setOriginator(java.lang.String originator)
Sets the name or identifier of the organizational entity which has triggered the occurrence of this event. Notice: Implementations of this interface may support modification of instances to varying degrees. |
abstract void |
setTimestamp(java.util.Date timestamp)
Sets the timestamp of this event. Notice: Implementations of this interface may support modification of instances to varying degrees. |
abstract void |
setType(java.lang.String type)
Sets the type of this event, as defined in the MXML finite state machine. Notice: Implementations of this interface may support modification of instances to varying degrees. |
Methods inherited from class org.processmining.framework.log.LogEntity |
---|
getAttributes, getDescription, getName, removeAttribute, setAttribute, setAttributes, setDescription, setName, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuditTrailEntry()
Method Detail |
---|
public java.lang.String getElement()
public abstract java.lang.String getType()
public abstract java.util.Date getTimestamp()
null
may be returned.
public abstract java.lang.String getOriginator()
public abstract long id()
An ID for an audit trail entry is defined to be unique within the context of its containing log file collection.
public void setElement(java.lang.String element)
isMutable()
method.
element
- identifier of the workflow model element
associated with this event.isMutable
public abstract void setType(java.lang.String type)
isMutable()
method.
type
- String identifier of the event type to set.public abstract void setTimestamp(java.util.Date timestamp)
isMutable()
method.
timestamp
- The exact date and time at which this event
has been observed.public abstract void setOriginator(java.lang.String originator)
isMutable()
method.
originator
- Name or identifier of the organizational
entity having triggered this event.public abstract boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object The AuditTrailEntry
to be compared with.
public abstract int hashCode()
hashCode
in class java.lang.Object
public abstract java.lang.Object clone()
clone
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.String> getData()
getAttributes()
instead!
public void setData(java.util.Map<java.lang.String,java.lang.String> data)
setAttributes()
instead!
Map
collection.isMutable()
method.
data
- A map containing the attributes of this event as
key / value pairs.public void addDataAttribute(java.lang.String key, java.lang.String value)
setAttribute()
instead!
isMutable()
method.
key
- Key of the attribute to be set.value
- Value to set the attribute to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |