Android Open Source - mycitybikes-android Station Status






From Project

Back to project page mycitybikes-android.

License

The source code is released under:

GNU General Public License

If you think the Android project mycitybikes-android 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 com.mycitybikes.android.model;
//from   ww w.  j a  v  a  2  s. c om
public class StationStatus {
  private boolean online;
  private int readyBikes;
  private int emptyLocks;

  public void setOnline(boolean online) {
    this.online = online;
  }

  public void setReadyBikes(int readyBikes) {
    this.readyBikes = readyBikes;
  }

  public void setEmptyLocks(int emptyLocks) {
    this.emptyLocks = emptyLocks;
  }

  public boolean isOnline() {
    return online;
  }

  public int getReadyBikes() {
    return readyBikes;
  }

  public int getEmptyLocks() {
    return emptyLocks;
  }

  @Override
  public String toString() {
    StringBuilder builder = new StringBuilder();
    builder.append("online=").append(online);
    builder.append(", readyBikes=").append(readyBikes);
    builder.append(", emptyLocks=").append(emptyLocks);
    return builder.toString();
  }

}




Java Source Code List

com.mycitybikes.android.ClearChannel.java
com.mycitybikes.android.Constants.java
com.mycitybikes.android.JCDecaux.java
com.mycitybikes.android.MyCityBikesActivity.java
com.mycitybikes.android.model.City.java
com.mycitybikes.android.model.StationInfoBuilder.java
com.mycitybikes.android.model.StationLocation.java
com.mycitybikes.android.model.StationStatus.java
com.mycitybikes.android.util.AndroidUtils.java
com.mycitybikes.android.util.Utils.java
com.mycitybikes.android.view.MapLocationItemizedOverlay.java