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 |
---|---|
Map<String,Class> |
getDependentEntities()
Scope: PERSISTED references
|
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) |
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()
DbEntity
getPersistentState
in interface DbEntity
public Set<String> getReferencedEntityIds()
HasDbReferences
Scope: IN-MEMORY references
getReferencedEntityIds
in interface HasDbReferences
public Map<String,Class> getReferencedEntitiesIdAndClass()
HasDbReferences
Scope: IN-MEMORY references
getReferencedEntitiesIdAndClass
in interface HasDbReferences
public Map<String,Class> getDependentEntities()
HasDbReferences
Scope: PERSISTED references
getDependentEntities
in interface HasDbReferences
Copyright © 2022. All rights reserved.