org.camunda.bpm.engine.impl.persistence.entity
Class MeterLogEntity

java.lang.Object
  extended by org.camunda.bpm.engine.impl.persistence.entity.MeterLogEntity
All Implemented Interfaces:
Serializable, DbEntity

public class MeterLogEntity
extends Object
implements DbEntity, Serializable

Author:
Daniel Meyer
See Also:
Serialized Form

Field Summary
protected  String id
           
protected  Long milliseconds
           
protected  String name
           
protected  String reporter
           
protected  Date timestamp
           
protected  long value
           
 
Constructor Summary
MeterLogEntity()
           
MeterLogEntity(String name, long value, Date timestamp)
           
MeterLogEntity(String name, String reporter, long value, Date timestamp)
           
 
Method Summary
 String getId()
           
 Long getMilliseconds()
           
 String getName()
           
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 String getReporter()
           
 Date getTimestamp()
           
 long getValue()
           
 void setId(String id)
           
 void setMilliseconds(Long milliseconds)
           
 void setName(String name)
           
 void setReporter(String reporter)
           
 void setTimestamp(Date timestamp)
           
 void setValue(long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

timestamp

protected Date timestamp

milliseconds

protected Long milliseconds

name

protected String name

reporter

protected String reporter

value

protected long value
Constructor Detail

MeterLogEntity

public MeterLogEntity(String name,
                      long value,
                      Date timestamp)

MeterLogEntity

public MeterLogEntity(String name,
                      String reporter,
                      long value,
                      Date timestamp)

MeterLogEntity

public MeterLogEntity()
Method Detail

getId

public String getId()
Specified by:
getId in interface DbEntity

setId

public void setId(String id)
Specified by:
setId in interface DbEntity

getTimestamp

public Date getTimestamp()

setTimestamp

public void setTimestamp(Date timestamp)

getMilliseconds

public Long getMilliseconds()

setMilliseconds

public void setMilliseconds(Long milliseconds)

getName

public String getName()

setName

public void setName(String name)

getValue

public long getValue()

setValue

public void setValue(long value)

getReporter

public String getReporter()

setReporter

public void setReporter(String reporter)

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 interface DbEntity


Copyright © 2017 camunda services GmbH. All rights reserved.