public class SensorWrapper
extends java.lang.Object
SensorWrapper
contains an SensorEntity
and a list of SensorDataEntity
.SensorEntity
Modifier and Type | Field | Description |
---|---|---|
private java.util.List<SensorDataEntity> |
dataList |
|
private SensorEntity |
sensor |
Constructor | Description |
---|---|
SensorWrapper(SensorEntity sensor) |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<SensorDataEntity> |
getDataList() |
|
SensorEntity |
getSensor() |
|
void |
setDataList(java.util.List<SensorDataEntity> dataList) |
private SensorEntity sensor
private java.util.List<SensorDataEntity> dataList
public SensorWrapper(SensorEntity sensor)
public void setDataList(java.util.List<SensorDataEntity> dataList)
public java.util.List<SensorDataEntity> getDataList()
public SensorEntity getSensor()