@Entity public class MeasurementImpl extends Object
Constructor and Description |
---|
MeasurementImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DepositoryImpl |
getDepository() |
String |
getId() |
Long |
getPk() |
SensorImpl |
getSensor() |
Date |
getTimestamp() |
String |
getUnits() |
Double |
getValue() |
int |
hashCode() |
void |
setDepository(DepositoryImpl depository) |
void |
setId(String id) |
void |
setSensor(SensorImpl sensor) |
void |
setTimestamp(Date timestamp) |
void |
setUnits(String units) |
void |
setValue(Double value) |
Measurement |
toMeasurement() |
String |
toString() |
public DepositoryImpl getDepository()
public String getId()
public Long getPk()
public SensorImpl getSensor()
public Date getTimestamp()
public String getUnits()
public Double getValue()
public void setDepository(DepositoryImpl depository)
depository
- the depository to setpublic void setId(String id)
id
- the id to setpublic void setSensor(SensorImpl sensor)
sensor
- the sensor to setpublic void setTimestamp(Date timestamp)
timestamp
- the timestamp to setpublic void setUnits(String units)
units
- the units to setpublic void setValue(Double value)
value
- the value to setpublic Measurement toMeasurement()
Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.