public class DescriptiveStats extends Object
Constructor and Description |
---|
DescriptiveStats()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addDefinedSensor(String sensorId)
Adds the sensor id to the list of defined sensors.
|
void |
addMissingSensor(String sensorId)
Adds the given sensor id to the list of missing sensors.
|
void |
addReportingSensor(String sensorId)
Adds the given sensor id to the list of reporting sensors.
|
boolean |
equals(Object o) |
Double |
getAverage() |
ArrayList<String> |
getDefinedSensors() |
String |
getDepositoryId() |
Double |
getLowerQuartile() |
Double |
getMaximum() |
Double |
getMinimum() |
ArrayList<String> |
getMissingSensors() |
Integer |
getNumSamples() |
ArrayList<String> |
getReportingSensors() |
String |
getSensorId() |
Date |
getTimestamp() |
Double |
getUpperQuartile() |
String |
getValueType() |
String |
getWindowWidth() |
int |
hashCode() |
void |
setAverage(Double average)
Sets the average value.
|
void |
setDefinedSensors(ArrayList<String> definedSensors)
Sets the list of defined sensors.
|
void |
setDepositoryId(String depositoryId)
Sets the depository id.
|
void |
setLowerQuartile(Double lowerQuartile)
Sets the lower quartile.
|
void |
setMaximum(Double maximum)
Sets the maximum value.
|
void |
setMinimum(Double minimum)
Sets the minimum value.
|
void |
setMissingSensors(ArrayList<String> missingSensors)
Sets the list of missing sensors.
|
void |
setNumSamples(Integer numSamples)
Sets the number of samples used.
|
void |
setReportingSensors(ArrayList<String> reportingSensors)
Sets the reporting sensors.
|
void |
setSensorId(String sensorId)
Sets the sensor id.
|
void |
setTimestamp(Date timestamp)
Sets the time of the historical values.
|
void |
setUpperQuartile(Double upperQuartile)
Sets the upper quartile.
|
void |
setValueType(String valueType)
Sets the value type, point or difference.
|
void |
setWindowWidth(String windowWidth)
Sets the window width.
|
String |
toString() |
public DescriptiveStats()
public ArrayList<String> getReportingSensors()
public void setReportingSensors(ArrayList<String> reportingSensors)
reportingSensors
- the new list of reporting sensors.public void addReportingSensor(String sensorId)
sensorId
- the sensor id to add.public void setDefinedSensors(ArrayList<String> definedSensors)
definedSensors
- the new list of defined sensors.public void addDefinedSensor(String sensorId)
sensorId
- the sensor id to add.public void setMissingSensors(ArrayList<String> missingSensors)
missingSensors
- the new list of missing sensors.public void addMissingSensor(String sensorId)
sensorId
- the sensor id.public String getDepositoryId()
public void setDepositoryId(String depositoryId)
depositoryId
- the new depository id.public String getSensorId()
public void setSensorId(String sensorId)
sensorId
- the new sensor id.public Integer getNumSamples()
public void setNumSamples(Integer numSamples)
numSamples
- the new number of samples used.public Double getAverage()
public void setAverage(Double average)
average
- the new average value.public Double getMinimum()
public void setMinimum(Double minimum)
minimum
- the new minimum value.public Double getMaximum()
public void setMaximum(Double maximum)
maximum
- the new maximum value.public Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp
- the new time.public String getWindowWidth()
public void setWindowWidth(String windowWidth)
windowWidth
- the new window width.public String getValueType()
public void setValueType(String valueType)
valueType
- the new value type.public Double getLowerQuartile()
public void setLowerQuartile(Double lowerQuartile)
lowerQuartile
- the new lower quartile.public Double getUpperQuartile()
public void setUpperQuartile(Double upperQuartile)
upperQuartile
- the new upper quartile.Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.