|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.persistence.facade.DatabaseSample
public class DatabaseSample
A sample adaption for database access.
Field Summary | |
---|---|
String |
data
The device specific sensor data |
String |
dataTypeClassName
The class name of the data type |
String |
deviceIdentifier
the sample device identifier |
String |
location
The serialized location information |
int |
priority
the sample priority for transmission |
boolean |
synced
the sample time stamp synchronization state. |
long |
timeStamp
the sample time stamp |
Constructor Summary | |
---|---|
DatabaseSample()
Constructor |
|
DatabaseSample(Sample sample)
Constructor |
Method Summary | |
---|---|
Sample |
toSample()
Does create a sample from this database sample |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String deviceIdentifier
public long timeStamp
public int priority
public boolean synced
public String data
public String location
public String dataTypeClassName
Constructor Detail |
---|
public DatabaseSample()
public DatabaseSample(Sample sample) throws Exception
sample
- the sample to construct from
Exception
- in case of serialization errorMethod Detail |
---|
public Sample toSample()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |