Class TaskMeterLogEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.TaskMeterLogEntity
-
- All Implemented Interfaces:
Serializable
,DbEntity
,HasDbReferences
public class TaskMeterLogEntity extends Object implements DbEntity, HasDbReferences, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected long
assigneeHash
protected String
id
protected Date
timestamp
-
Constructor Summary
Constructors Constructor Description TaskMeterLogEntity()
TaskMeterLogEntity(String assignee, Date timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
createHashAsLong(String assignee)
long
getAssigneeHash()
String
getId()
Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.Map<String,Class>
getReferencedEntitiesIdAndClass()
Scope: IN-MEMORY referencesSet<String>
getReferencedEntityIds()
Scope: IN-MEMORY referencesDate
getTimestamp()
void
setAssigneeHash(long assigneeHash)
void
setId(String id)
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
-
-
-
-
Method Detail
-
createHashAsLong
protected long createHashAsLong(String assignee)
-
getTimestamp
public Date getTimestamp()
-
setTimestamp
public void setTimestamp(Date timestamp)
-
getAssigneeHash
public long getAssigneeHash()
-
setAssigneeHash
public void setAssigneeHash(long assigneeHash)
-
getPersistentState
public 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 Set<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 Map<String,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.
-
-