Class MeterLogEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.entity.MeterLogEntity
-
- All Implemented Interfaces:
java.io.Serializable,DbEntity,HasDbReferences
public class MeterLogEntity extends java.lang.Object implements DbEntity, HasDbReferences, java.io.Serializable
- Author:
- Daniel Meyer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MeterLogEntity()MeterLogEntity(java.lang.String name, long value, java.util.Date timestamp)MeterLogEntity(java.lang.String name, java.lang.String reporter, long value, java.util.Date timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()java.lang.LonggetMilliseconds()java.lang.StringgetName()java.lang.ObjectgetPersistentState()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.lang.StringgetReporter()java.util.DategetTimestamp()longgetValue()voidsetId(java.lang.String id)voidsetMilliseconds(java.lang.Long milliseconds)voidsetName(java.lang.String name)voidsetReporter(java.lang.String reporter)voidsetTimestamp(java.util.Date timestamp)voidsetValue(long value)-
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
-
getTimestamp
public java.util.Date getTimestamp()
-
setTimestamp
public void setTimestamp(java.util.Date timestamp)
-
getMilliseconds
public java.lang.Long getMilliseconds()
-
setMilliseconds
public void setMilliseconds(java.lang.Long milliseconds)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getValue
public long getValue()
-
setValue
public void setValue(long value)
-
getReporter
public java.lang.String getReporter()
-
setReporter
public void setReporter(java.lang.String reporter)
-
getPersistentState
public java.lang.Object getPersistentState()
Description copied from interface:DbEntityReturns 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:
getPersistentStatein interfaceDbEntity
-
getReferencedEntityIds
public java.util.Set<java.lang.String> getReferencedEntityIds()
Description copied from interface:HasDbReferencesScope: IN-MEMORY references
- Specified by:
getReferencedEntityIdsin 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:HasDbReferencesScope: IN-MEMORY references
- Specified by:
getReferencedEntitiesIdAndClassin 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.
-
-