Class TaskMeterLogEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.TaskMeterLogEntity
-
- All Implemented Interfaces:
java.io.Serializable
,DbEntity
,HasDbReferences
public class TaskMeterLogEntity extends java.lang.Object implements DbEntity, HasDbReferences, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected long
assigneeHash
protected java.lang.String
id
protected java.util.Date
timestamp
-
Constructor Summary
Constructors Constructor Description TaskMeterLogEntity()
TaskMeterLogEntity(java.lang.String assignee, java.util.Date timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
createHashAsLong(java.lang.String assignee)
long
getAssigneeHash()
java.lang.String
getId()
java.lang.Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.java.util.Map<java.lang.String,java.lang.Class>
getReferencedEntitiesIdAndClass()
Scope: IN-MEMORY referencesjava.util.Set<java.lang.String>
getReferencedEntityIds()
Scope: IN-MEMORY referencesjava.util.Date
getTimestamp()
void
setAssigneeHash(long assigneeHash)
void
setId(java.lang.String id)
void
setTimestamp(java.util.Date timestamp)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.db.HasDbReferences
getDependentEntities
-
-
-
-
Method Detail
-
createHashAsLong
protected long createHashAsLong(java.lang.String assignee)
-
getTimestamp
public java.util.Date getTimestamp()
-
setTimestamp
public void setTimestamp(java.util.Date timestamp)
-
getAssigneeHash
public long getAssigneeHash()
-
setAssigneeHash
public void setAssigneeHash(long assigneeHash)
-
getPersistentState
public java.lang.Object getPersistentState()
Description copied from interface:DbEntity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentState
in interfaceDbEntity
-
getReferencedEntityIds
public java.util.Set<java.lang.String> getReferencedEntityIds()
Description copied from interface:HasDbReferences
Scope: IN-MEMORY references
- Specified by:
getReferencedEntityIds
in interfaceHasDbReferences
- Returns:
- the ids of the entities that this entity references. Should only return ids for entities of the same type
-
getReferencedEntitiesIdAndClass
public java.util.Map<java.lang.String,java.lang.Class> getReferencedEntitiesIdAndClass()
Description copied from interface:HasDbReferences
Scope: IN-MEMORY references
- Specified by:
getReferencedEntitiesIdAndClass
in interfaceHasDbReferences
- Returns:
- a map of the ids and the entities' classes that this entity references. It's used when trying to determine if there was an Optimistic Locking occurrence on an INSERT or UPDATE of an object of this type.
-
-