|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object context.arch.generator.TemperatureData
This class is a container for temperature data. This includes the temperature information which consists of degrees and units and timestamp.
Constructor Summary | |
TemperatureData()
|
|
TemperatureData(java.lang.String degrees,
java.lang.String units,
java.lang.String time,
java.lang.String status)
Basic constructor |
Method Summary | |
java.lang.String |
getDegrees()
Returns the degrees of the temperature |
java.lang.String |
getStatus()
|
java.lang.String |
getTime()
Returns the timestamp |
java.lang.String |
getUnits()
Returns the units the temperature is measured in |
void |
setDegrees(java.lang.String degrees)
Sets the degrees of the temperature |
void |
setStatus(java.lang.String status)
|
void |
setTime(java.lang.String time)
Sets the timestamp |
void |
setUnits(java.lang.String units)
Sets the units the temperature is measured in |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TemperatureData()
public TemperatureData(java.lang.String degrees, java.lang.String units, java.lang.String time, java.lang.String status)
degrees
- Degrees of the temperatureunits
- Units the temperature is measured inMethod Detail |
public java.lang.String getDegrees()
public java.lang.String getUnits()
public void setDegrees(java.lang.String degrees)
degrees
- the degrees of the temperaturepublic void setUnits(java.lang.String units)
units
- the type the temperature is measured inpublic java.lang.String getTime()
public void setTime(java.lang.String time)
time
- the timestamppublic java.lang.String getStatus()
public void setStatus(java.lang.String status)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |