public class MeterLogEntity extends Object implements DbEntity, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected String |
name |
protected Date |
timestamp |
protected long |
value |
Constructor and Description |
---|
MeterLogEntity() |
MeterLogEntity(String name,
long value,
Date timestamp) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
String |
getName() |
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
Date |
getTimestamp() |
long |
getValue() |
void |
setId(String id) |
void |
setName(String name) |
void |
setTimestamp(Date timestamp) |
void |
setValue(long value) |
protected String id
protected Date timestamp
protected String name
protected long value
public Date getTimestamp()
public void setTimestamp(Date timestamp)
public String getName()
public void setName(String name)
public long getValue()
public void setValue(long value)
public Object getPersistentState()
DbEntity
getPersistentState
in interface DbEntity
Copyright © 2018. All rights reserved.