Class TaskMeterLogEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.TaskMeterLogEntity
- All Implemented Interfaces:
Serializable
,DbEntity
,HasDbReferences
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected long
createHashAsLong
(String assignee) long
getId()
Returns a representation of the object, as would be stored in the database.Scope: IN-MEMORY referencesScope: IN-MEMORY referencesvoid
setAssigneeHash
(long assigneeHash) void
void
setTimestamp
(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
-
Field Details
-
id
-
timestamp
-
assigneeHash
protected long assigneeHash
-
-
Constructor Details
-
TaskMeterLogEntity
-
TaskMeterLogEntity
public TaskMeterLogEntity()
-
-
Method Details
-
createHashAsLong
-
getId
-
setId
-
getTimestamp
-
setTimestamp
-
getAssigneeHash
public long getAssigneeHash() -
setAssigneeHash
public void setAssigneeHash(long assigneeHash) -
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
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
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.
-