de.unikassel.android.sdcframework.data.independent
Interface SampleData

Package class diagram package SampleData
All Superinterfaces:
SerializableData
All Known Implementing Classes:
AbstractSampleData, AccelerometerSampleData, BluetoothSampleData, FileReferenceSampleData, GPSSampleData, GSMSampleData, GyroscopeSampleData, LightSampleData, LocationSampleData, MagneticFieldSampleData, NetworkLocationSampleData, OrientationSampleData, PressureSampleData, ProximitySampleData, TemperatureSampleData, TextSampleData, TimeProviderSampleData, TwitterSampleData, WifiSampleData

public interface SampleData
extends SerializableData

Interface for all the types implementing device specific sensor sample data.


Method Summary
 SampleData doClone()
          Method to clone sample data
 String getRelatedData()
          Getter for related data
 void updateRelatedData(String fileName)
          Update method for related data ( used to update relative file location for transmitted samples )
 
Methods inherited from interface de.unikassel.android.sdcframework.data.independent.SerializableData
toXML
 

Method Detail

doClone

SampleData doClone()
Method to clone sample data

Returns:
a copy of the sample data

getRelatedData

String getRelatedData()
Getter for related data

Returns:
the path to a related data file if existing, null otherwise

updateRelatedData

void updateRelatedData(String fileName)
Update method for related data ( used to update relative file location for transmitted samples )

Parameters:
fileName - the new filename