|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.persistence.DBSampleStatistic
public class DBSampleStatistic
The database representation for for sample statistics (feature vector statistics).
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface android.os.Parcelable |
---|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T> |
Field Summary | |
---|---|
long |
activityId
The class identifier. |
static Parcelable.Creator<DBSampleStatistic> |
CREATOR
The Parcelable creator. |
long |
recordingCount
The count of stored recordings with the given activityId. |
long |
sampleCount
The count of training samples extracted from recordings with the given activityId. |
Fields inherited from interface android.os.Parcelable |
---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
Constructor Summary | |
---|---|
DBSampleStatistic(long activityId,
long sampleCount,
long recordingCount)
Constructor |
|
DBSampleStatistic(Parcel source)
Constructor |
Method Summary | |
---|---|
int |
describeContents()
|
long |
getActivityId()
Getter for the class activityId |
long |
getRecordingCount()
Getter for the recording count |
long |
getSampleCount()
Getter for the sample count |
String |
toXML()
|
void |
writeToParcel(Parcel dest,
int flags)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final long activityId
public final long sampleCount
public final long recordingCount
public static final Parcelable.Creator<DBSampleStatistic> CREATOR
Constructor Detail |
---|
public DBSampleStatistic(long activityId, long sampleCount, long recordingCount)
activityId
- the class identifiersampleCount
- the sample countrecordingCount
- the recording countpublic DBSampleStatistic(Parcel source)
source
- the parcel sourceMethod Detail |
---|
public final void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
public final long getActivityId()
public final long getSampleCount()
public final long getRecordingCount()
public final String toXML() throws Exception
toXML
in interface SerializableData
Exception
public final int describeContents()
describeContents
in interface Parcelable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |