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