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() |
Set<String> |
getReferencedEntityIds() |
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) |
protected 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()
getReferencedEntityIds in interface HasDbReferencespublic Map<String,Class> getReferencedEntitiesIdAndClass()
getReferencedEntitiesIdAndClass in interface HasDbReferencesCopyright © 2020. All rights reserved.