public class BikeRentalStation extends Object implements Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
boolean |
allowDropoff |
int |
bikesAvailable |
String |
id |
boolean |
isCarStation |
boolean |
isFloatingBike |
Locale |
locale
This is used for localization.
|
I18NString |
name |
Set<String> |
networks
List of compatible network names.
|
boolean |
realTimeData
Whether this station is static (usually coming from OSM data) or a real-time source.
|
int |
spacesAvailable |
double |
x |
double |
y |
Constructor and Description |
---|
BikeRentalStation() |
Modifier and Type | Method and Description |
---|---|
BikeRentalStation |
clone() |
boolean |
equals(Object o)
FIXME nonstandard definition of equals, relying on only the station field.
|
String |
getName()
Gets translated name of bike rental station based on locale
|
int |
hashCode() |
String |
toString() |
public String id
public I18NString name
public double x
public double y
public int bikesAvailable
public int spacesAvailable
public boolean allowDropoff
public boolean isFloatingBike
public boolean isCarStation
public Set<String> networks
public boolean realTimeData
public Locale locale
BikeRental
from URL parameter.
Sets default locale on startpublic boolean equals(Object o)
public BikeRentalStation clone()
public String getName()
Copyright © 2018. All rights reserved.