public class AlertThresholdTemperature extends Object
Constructor and Description |
---|
AlertThresholdTemperature()
empty constructor for the Data transfer object
|
AlertThresholdTemperature(Double threshold_temperature)
Constructor for the Data transfer object
|
Modifier and Type | Method and Description |
---|---|
Double |
getThresholdtemperature() |
void |
setThresholdtemperature(Double threshold_temperature) |
AlertThresholdTemperature |
unmarshalAlertThresholdTemperature(BufferedReader dataset)
Alternative method responsible for deserializing the received
JSON-formatted L stage from sensor.
|
AlertThresholdTemperature |
unmarshalAlertThresholdTemperature(byte[] dataset)
Method responsible for deserializing the received byte array
representation of L from sensor.
|
public AlertThresholdTemperature(Double threshold_temperature)
public AlertThresholdTemperature()
public Double getThresholdtemperature()
public void setThresholdtemperature(Double threshold_temperature)
threshold_temperature
- the threshold_temperature to setpublic AlertThresholdTemperature unmarshalAlertThresholdTemperature(BufferedReader dataset)
dataset
- the dataset to unmarshall incoming from sensor side in a JSON
formatpublic AlertThresholdTemperature unmarshalAlertThresholdTemperature(byte[] dataset) throws IOException, ClassNotFoundException
dataset
- the dataset to unmarshall incoming from sensor side as a byte
arrayIOException
ClassNotFoundException