Android Open Source - sigimera-android-app Crises 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  ww .  j  a v a2 s  .c  o m*/
import java.io.Serializable;
import java.util.ArrayList;

public class CrisesStats implements Serializable {
  /**
   * 
   */
  private static final long serialVersionUID = -9109609309346239337L;
  
  private String id;
  private String firstCrisisAt;
  private String latestCrisisAt;
  private int totalCrises;
  private int numberOfEarthquakes;
  private int numberOfFloods;
  private int numberOfCyclones;
  private int numberOfVolcanoes;
  private int uploadedImages;
  private int postedComments;
  private int reportedLocations;
  private int reportedMissingPeople;
//  private Crisis nearCrisis;
//  private Crisis latestCrisis;
//  private ArrayList<Crisis> todayCrises;
  
//  public void setTodayCrises(ArrayList<Crisis> _todayCrises) {
//    this.todayCrises = _todayCrises;
//  }
//  public ArrayList<Crisis> getTodayCrises() {
//    return this.todayCrises;
//  }
//  public void setNearCrisis(Crisis _crisis) {
//    this.nearCrisis = _crisis;
//  }
//  public Crisis getNearestCrisis(){
//    return this.nearCrisis;
//  }
//  public void setLatestCrisis(Crisis _crisis) {
//    this.latestCrisis = _crisis;
//  }
//  public Crisis getLatestCrisis(){
//    return this.latestCrisis;
//  }
  public int getReportedMissingPeople() {
    return reportedMissingPeople;
  }
  public void setReportedMissingPeople(int reportedMissingPeople) {
    this.reportedMissingPeople = reportedMissingPeople;
  }
  public String getId() {
    return id;
  }
  public void setId(String id) {
    this.id = id;
  }
  public String getFirstCrisisAt() {
    return firstCrisisAt;
  }
  public void setFirstCrisisAt(String firstCrisisAt) {
    this.firstCrisisAt = firstCrisisAt;
  }
  public String getLatestCrisisAt() {
    return latestCrisisAt;
  }
  public void setLatestCrisisAt(String latestCrisisAt) {
    this.latestCrisisAt = latestCrisisAt;
  }
  public int getTotalCrises() {
    return totalCrises;
  }
  public void setTotalCrises(int totalCrises) {
    this.totalCrises = totalCrises;
  }
  public int getNumberOfEarthquakes() {
    return numberOfEarthquakes;
  }
  public void setNumberOfEarthquakes(int numberOfEarthquakes) {
    this.numberOfEarthquakes = numberOfEarthquakes;
  }
  public int getNumberOfFloods() {
    return numberOfFloods;
  }
  public void setNumberOfFloods(int numberOfFloods) {
    this.numberOfFloods = numberOfFloods;
  }
  public int getNumberOfCyclones() {
    return numberOfCyclones;
  }
  public void setNumberOfCyclones(int numberOfCyclones) {
    this.numberOfCyclones = numberOfCyclones;
  }
  public int getNumberOfVolcanoes() {
    return numberOfVolcanoes;
  }
  public void setNumberOfVolcanoes(int numberOfVolcanoes) {
    this.numberOfVolcanoes = numberOfVolcanoes;
  }
  public int getUploadedImages() {
    return uploadedImages;
  }
  public void setUploadedImages(int uploadedImages) {
    this.uploadedImages = uploadedImages;
  }
  public int getPostedComments() {
    return postedComments;
  }
  public void setPostedComments(int postedComments) {
    this.postedComments = postedComments;
  }
  public int getReportedLocations() {
    return reportedLocations;
  }
  public void setReportedLocations(int reportedLocations) {
    this.reportedLocations = reportedLocations;
  }
}




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