Android Open Source - CopresenceDataCollector Entry






From Project

Back to project page CopresenceDataCollector.

License

The source code is released under:

Copyright (c) 2014, Xiang Gao All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Re...

If you think the Android project CopresenceDataCollector listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.sesy.coco.datacollector.database;
//from   ww w  .j  a  v a  2s .co  m
public class Entry {
  //Entry unit class
  //public static String uuid = "";  //local UUID
  //private int ob;  //observation number
  private long ts;  //local timestamp
  //private int gt;  // ground truth number
  private int mt;  //modality type name
  private String fp;  //fingerprint json
  
  //Constructor
  public Entry() {
    //this.ob = 0;
    this.ts = 0;
    //this.gt = 0;
    this.mt = 0;
    this.fp = "";
  }
  
  public Entry(long ts) {
    this.ts = ts;
    this.mt = 0;
    this.fp = "";
  }
  
  public Entry(long ts, int mt) {
    //this.ob = ob;
    this.ts = ts;
    //this.gt = gt;
    this.mt = mt;
    this.fp = "";
  }
  
  public Entry(long ts, int mt, String fp) {
    //this.ob = ob;
    this.ts = ts;
    //this.gt = gt;
    this.mt = mt;
    this.fp = fp;
  }
  
  public void setTS(long ts){
    this.ts = ts;
  }
  
  /*public void setOB(int ob){
    this.ob = ob;
  }
  
  public void setGT(int gt){
    this.gt = gt;
  }*/
  
  public void setMT(int mt){
    this.mt = mt;
  }
  
  public void setFP(String fp){
    this.fp = fp;
  }
  
  
  public long getTS() {
    return this.ts;
  }
  
  /*public int getOB() {
    return this.ob;
  }
  
  public int getGT() {
    return this.gt;
  }*/
  
  public int getMT() {
    return this.mt;
  }
  
  public String getFP() {
    return this.fp;
  }
  
}




Java Source Code List

org.sesy.coco.datacollector.ARPWorker.java
org.sesy.coco.datacollector.AlarmService.java
org.sesy.coco.datacollector.AppLauncher.java
org.sesy.coco.datacollector.AudioProc.java
org.sesy.coco.datacollector.AudioWorker.java
org.sesy.coco.datacollector.BindActivity.java
org.sesy.coco.datacollector.BluetoothWorker.java
org.sesy.coco.datacollector.CellWorker.java
org.sesy.coco.datacollector.Constants.java
org.sesy.coco.datacollector.DaemonService.java
org.sesy.coco.datacollector.DataMonitor.java
org.sesy.coco.datacollector.GpsWorker.java
org.sesy.coco.datacollector.HelpActivity.java
org.sesy.coco.datacollector.MainActivity.java
org.sesy.coco.datacollector.MyPreference.java
org.sesy.coco.datacollector.MyWidgetProvider.java
org.sesy.coco.datacollector.PluginManager.java
org.sesy.coco.datacollector.PrefManager.java
org.sesy.coco.datacollector.ReportErrActivity.java
org.sesy.coco.datacollector.SDSetupActivity.java
org.sesy.coco.datacollector.SensorActivity.java
org.sesy.coco.datacollector.SensorListener.java
org.sesy.coco.datacollector.SensordroneWorker.java
org.sesy.coco.datacollector.SettingActivity.java
org.sesy.coco.datacollector.StatusActivity.java
org.sesy.coco.datacollector.StatusManager.java
org.sesy.coco.datacollector.TriggerService.java
org.sesy.coco.datacollector.UpdateWidgetService.java
org.sesy.coco.datacollector.WifiWorker.java
org.sesy.coco.datacollector.WorkerService.java
org.sesy.coco.datacollector.audio.Convolution.java
org.sesy.coco.datacollector.audio.CrossCorrelation.java
org.sesy.coco.datacollector.audio.ExtAudioRecorder.java
org.sesy.coco.datacollector.audio.XCorrAndDistFromWav.java
org.sesy.coco.datacollector.communication.HttpFileUploader.java
org.sesy.coco.datacollector.database.Entry.java
org.sesy.coco.datacollector.file.FileHelper.java
org.sesy.coco.datacollector.log.ConfigureLog4J.java
org.sesy.coco.datacollector.net.NetInfo.java
org.sesy.coco.datacollector.plugin.PlugInterface.java
wei.mark.standout.StandOutWindow.java
wei.mark.standout.Utils.java
wei.mark.standout.WindowCache.java
wei.mark.standout.constants.StandOutFlags.java
wei.mark.standout.ui.TouchInfo.java
wei.mark.standout.ui.Window.java