public class MeterLogEntity extends Object implements DbEntity, HasDbReferences, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected Long |
milliseconds |
protected String |
name |
protected String |
reporter |
protected Date |
timestamp |
protected long |
value |
| Constructor and Description |
|---|
MeterLogEntity() |
MeterLogEntity(String name,
long value,
Date timestamp) |
MeterLogEntity(String name,
String reporter,
long value,
Date timestamp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
Long |
getMilliseconds() |
String |
getName() |
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
Map<String,Class> |
getReferencedEntitiesIdAndClass()
Scope: IN-MEMORY references
|
Set<String> |
getReferencedEntityIds()
Scope: IN-MEMORY references
|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDependentEntitiesprotected String id
protected Date timestamp
protected Long milliseconds
protected String name
protected String reporter
protected long value
public Date getTimestamp()
public void setTimestamp(Date timestamp)
public Long getMilliseconds()
public void setMilliseconds(Long milliseconds)
public String getName()
public void setName(String name)
public long getValue()
public void setValue(long value)
public String getReporter()
public void setReporter(String reporter)
public Object getPersistentState()
DbEntitygetPersistentState in interface DbEntitypublic Set<String> getReferencedEntityIds()
HasDbReferencesScope: IN-MEMORY references
getReferencedEntityIds in interface HasDbReferencespublic Map<String,Class> getReferencedEntitiesIdAndClass()
HasDbReferencesScope: IN-MEMORY references
getReferencedEntitiesIdAndClass in interface HasDbReferencesCopyright © 2022. All rights reserved.