|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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(java.lang.String degrees,
java.lang.String units,
java.lang.String time)
Basic constructor |
Method Summary | |
java.lang.String |
getDegrees()
Returns the degrees of the temperature |
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 |
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(java.lang.String degrees, java.lang.String units, java.lang.String time)
degrees
- Degrees of the temperatureunits
- Units the temperature is measured inTime
- Timestamp for the dataMethod 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 timestamp
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |