Android Open Source - sigimera-android-app Users Stats






From Project

Back to project page sigimera-android-app.

License

The source code is released under:

GNU General Public License

If you think the Android project sigimera-android-app 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.sigimera.app.android.model;
//  w  w w  .j  av  a  2 s  . c  om
import java.io.Serializable;

/**
 * Class which models the user statistics.
 * @author Corneliu-Valentin Stanciu
 * @email  corneliu.stanciu@sigimera.org
 */
public class UsersStats extends User implements Serializable {

  /**
   * Ready for serialisation.
   */
  private static final long serialVersionUID = -2526641247855691670L;

  private int postedComments;
  private int uploadedImages;
  private int reportedLocations;
  private int reportedMissingPeople;
  private int radius;
  private double latitude;
  private double longitude;

  /**
   * Setter.
   */
  public void setPostedComments(int postedComments) {
    this.postedComments = postedComments;
  }
  public void setUploadedImages(int uploadedImages) {
    this.uploadedImages = uploadedImages;
  }
  public void setReportedLocations(int reportedLocations) {
    this.reportedLocations = reportedLocations;
  }
  public void setReportedMissingPeople(int reportedMissingPeople) {
    this.reportedMissingPeople = reportedMissingPeople;
  }
  public void setRadius(int radius) {
    this.radius = radius;
  }
  public void setLatitude(double latitude) {
    this.latitude = latitude;
  }
  public void setLongitude(double longitude) {
    this.longitude = longitude;
  }
  
  /**
   * Getter
   */
  public int getPostedComments() {
    return postedComments;
  }
  public int getUploadedImages() {
    return uploadedImages;
  }
  public int getReportedLocations() {
    return reportedLocations;
  }
  public int getReportedMissingPeople() {
    return reportedMissingPeople;
  }
  public int getRadius() {
    return radius;
  }
  public double getLatitude() {
    return latitude;
  }
  public double getLongitude() {
    return longitude;
  }
}




Java Source Code List

org.sigimera.app.android.CrisesListFragment.java
org.sigimera.app.android.CrisisActivity.java
org.sigimera.app.android.CrisisAlertActivity.java
org.sigimera.app.android.GCMIntentService.java
org.sigimera.app.android.LoginFragment.java
org.sigimera.app.android.MainActivity.java
org.sigimera.app.android.OfflineMode.java
org.sigimera.app.android.ProfileFragment.java
org.sigimera.app.android.StatisticFragment.java
org.sigimera.app.android.StatsFragment.java
org.sigimera.app.android.TabManager.java
org.sigimera.app.android.TabsAdapter.java
org.sigimera.app.android.ToastNotification.java
org.sigimera.app.android.backend.PersistentStorage.java
org.sigimera.app.android.backend.auth.AccountAuthenticator.java
org.sigimera.app.android.backend.auth.AuthenticationService.java
org.sigimera.app.android.backend.auth.AuthenticatorActivity.java
org.sigimera.app.android.backend.network.CrisesHttpHelper.java
org.sigimera.app.android.backend.network.LocationUpdaterHttpHelper.java
org.sigimera.app.android.backend.network.LoginHttpHelper.java
org.sigimera.app.android.backend.network.MyHttpClient.java
org.sigimera.app.android.backend.network.NearCrisesHttpHelper.java
org.sigimera.app.android.backend.network.SingleCrisisHttpHelper.java
org.sigimera.app.android.backend.network.StatisticCrisesHttpHelper.java
org.sigimera.app.android.backend.network.StatisticUsersHttpHelper.java
org.sigimera.app.android.controller.ApplicationController.java
org.sigimera.app.android.controller.DistanceController.java
org.sigimera.app.android.controller.LocationController.java
org.sigimera.app.android.controller.PersistanceController.java
org.sigimera.app.android.controller.SessionHandler.java
org.sigimera.app.android.exception.AuthenticationErrorException.java
org.sigimera.app.android.model.Constants.java
org.sigimera.app.android.model.CrisesStats.java
org.sigimera.app.android.model.Crisis.java
org.sigimera.app.android.model.UserSettings.java
org.sigimera.app.android.model.User.java
org.sigimera.app.android.model.UsersStats.java
org.sigimera.app.android.model.map.CollectionOverlay.java
org.sigimera.app.android.util.Common.java
org.sigimera.app.android.util.Config.java
org.sigimera.app.android.util.MD5Util.java