org.android.activityminer.persistence
Class DBRecording

Package class diagram package DBRecording
java.lang.Object
  extended by org.android.activityminer.persistence.DBRecording

public class DBRecording
extends Object

The database representation for sensor data recordings. A Recording does belong to a saved instance of a labeled sensor observation cutOut.


Field Summary
 ActivityLabel activitylabel
          The activity label.
 long duration
          the duration in milliseconds
 long id
          the unique recording identifier
 boolean isProcessed
          The processing state ( feature extracted or not).
 long sequenceId
          the unique sequence identifier
 long startTs
          the start time stamp
 String xmlData
          The XML representation of the recorded cutOut with sensor observations.
 
Constructor Summary
DBRecording(long id, long sequenceId, ActivityLabel activityLabel, String xmlData, boolean isProcessed, long startTs, long duration)
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public long id
the unique recording identifier


sequenceId

public final long sequenceId
the unique sequence identifier


activitylabel

public final ActivityLabel activitylabel
The activity label.


xmlData

public final String xmlData
The XML representation of the recorded cutOut with sensor observations.


isProcessed

public final boolean isProcessed
The processing state ( feature extracted or not).


startTs

public final long startTs
the start time stamp


duration

public final long duration
the duration in milliseconds

Constructor Detail

DBRecording

public DBRecording(long id,
                   long sequenceId,
                   ActivityLabel activityLabel,
                   String xmlData,
                   boolean isProcessed,
                   long startTs,
                   long duration)
Constructor

Parameters:
id - the recording identifier
sequenceId - the sequence identifier of continuous recordings
activityLabel - the activity label for the frame
xmlData - the XML representation of the recorded frame containing the raw multivariate time series.
isProcessed - the processing state
startTs - the start time stamp
duration - the duration in milliseconds