Back to project page mycitybikes-android.
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.
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(); } }