public class BusStationItem
extends java.lang.Object
implements android.os.Parcelable
| 限定符和类型 | 字段和说明 |
|---|---|
static android.os.Parcelable.Creator<BusStationItem> |
CREATOR |
| 构造器和说明 |
|---|
BusStationItem()
BusStationItem的构造方法
Constructor method of BusStationItem. |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object obj)
比较两个公交站点ID是否相同
Compare whether the IDs of two bus stations are the same. |
java.lang.String |
getAdCode()
返回车站区域编码
Returns the area code of the station. |
java.util.List<BusLineItem> |
getBusLineItems()
返回途径此公交站的公交路线
Returns the bus routes passing through this station. |
java.lang.String |
getBusStationId()
返回车站ID
Returns the station ID. |
java.lang.String |
getBusStationName()
返回车站名称
Returns the station name. |
java.lang.String |
getCityCode()
返回车站城市编码
Returns the city code of the station. |
Doorway |
getEntrance()
返回地铁入口信息,在公交路径规划地铁线路上车站时返回。
|
Doorway |
getExit()
返回地铁出口信息,在公交路径规划地铁线路下车站时返回。
|
LatLonPoint |
getLatLonPoint()
返回车站经纬度坐标
Returns the latitude and longitude coordinates of the station. |
int |
hashCode() |
void |
setAdCode(java.lang.String adCode)
设置车站区域编码
Set the area code of the station. |
void |
setBusLineItems(java.util.List<BusLineItem> busLineItems)
设置途径此公交站的公交路线
Set the bus routes passing through this station. |
void |
setBusStationId(java.lang.String busStationId)
设置车站ID
Set the station ID. |
void |
setBusStationName(java.lang.String busStationName)
设置车站名称
Set the station name. |
void |
setCityCode(java.lang.String cityCode)
设置车站城市编码
Set the city code of the station. |
void |
setEntrance(Doorway entrance)
设置地铁入口信息。
|
void |
setExit(Doorway exit)
设置地铁出口信息。
|
void |
setLatLonPoint(LatLonPoint latLonPoint)
设置车站经纬度坐标
Set the latitude and longitude coordinates of the station. |
java.lang.String |
toString()
将公交站点信息转换为字符串输出
Convert bus station information into a string output. |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<BusStationItem> CREATOR
public BusStationItem()
public java.lang.String getBusStationId()
public void setBusStationId(java.lang.String busStationId)
busStationId - 车站ID。
public java.lang.String getBusStationName()
public void setBusStationName(java.lang.String busStationName)
busStationName - 车站名称。
public LatLonPoint getLatLonPoint()
public void setLatLonPoint(LatLonPoint latLonPoint)
latLonPoint - 车站经纬度坐标。
public java.lang.String getCityCode()
public void setCityCode(java.lang.String cityCode)
cityCode - 车站城市编码。
public java.lang.String getAdCode()
public void setAdCode(java.lang.String adCode)
adCode - 车站区域编码。
public Doorway getEntrance()
public void setEntrance(Doorway entrance)
entrance - 地铁入口信息。public Doorway getExit()
public void setExit(Doorway exit)
exit - 地铁出口信息。public java.util.List<BusLineItem> getBusLineItems()
public void setBusLineItems(java.util.List<BusLineItem> busLineItems)
busLineItems - 途径此公交站的公交路线。
public boolean equals(java.lang.Object obj)
equals 在类中 java.lang.Objectobj - 查询条件。
public int hashCode()
hashCode 在类中 java.lang.Objectpublic java.lang.String toString()
toString 在类中 java.lang.Objectpublic int describeContents()
describeContents 在接口中 android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel 在接口中 android.os.Parcelable