|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.data.independent.AbstractSampleData
de.unikassel.android.sdcframework.data.independent.TemperatureSampleData
public final class TemperatureSampleData
The temperature sensor device specific sample data, which is the temperature in degree celsius.
TemperatureDevice
,
TemperatureDeviceScanner
Field Summary | |
---|---|
private float |
temperature
The temperature in degree celsius |
Constructor Summary | |
---|---|
TemperatureSampleData()
Constructor |
|
TemperatureSampleData(TemperatureSampleData sampleData)
Constructor |
Method Summary | |
---|---|
SampleData |
doClone()
Method to clone sample data |
boolean |
equals(Object o)
|
float |
getTemperature()
Getter for the temperature |
void |
setTemperature(float temperature)
Setter for the temperature |
Methods inherited from class de.unikassel.android.sdcframework.data.independent.AbstractSampleData |
---|
clone, getRelatedData, toXML, updateRelatedData |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private float temperature
Constructor Detail |
---|
public TemperatureSampleData()
public TemperatureSampleData(TemperatureSampleData sampleData)
sampleData
- the sample data to copy construct fromMethod Detail |
---|
public final SampleData doClone()
SampleData
public final boolean equals(Object o)
equals
in class Object
public final void setTemperature(float temperature)
temperature
- the temperature to setpublic final float getTemperature()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |