public class BusLineResult extends SearchResult
Modifier and Type | Class and Description |
---|---|
static class |
BusLineResult.BusStation
公交站点信息
|
static class |
BusLineResult.BusStep
公交路线分段信息
|
SearchResult.ERRORNO
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
error, status
Constructor and Description |
---|
BusLineResult() |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
float |
getBasePrice()
获取公交起步价信息
|
java.lang.String |
getBusCompany()
获取公交公司名称
|
java.lang.String |
getBusLineName()
获取公交线路名称
|
java.util.Date |
getEndTime()
公交路线末班车时间
|
java.lang.String |
getLineDirection()
获取公交路线方向信息
|
float |
getMaxPrice()
获取该公交路线的最高票价
|
java.util.Date |
getStartTime()
公交路线首班车时间
|
java.util.List<BusLineResult.BusStation> |
getStations()
获取所有公交站点信息
|
java.util.List<BusLineResult.BusStep> |
getSteps()
获取公交路线分段信息
|
java.lang.String |
getUid()
公交线路uid
|
boolean |
isMonthTicket()
公交是线是否有月票
|
void |
setBasePrice(float basePrice) |
void |
setBusLineName(java.lang.String busLineName) |
void |
setEndTime(java.util.Date endTime) |
void |
setLineDirection(java.lang.String lineDirection) |
void |
setMaxPrice(float maxPrice) |
void |
setMonthTicket(boolean isMonthTicket) |
void |
setStartTime(java.util.Date startTime) |
void |
setStations(java.util.List<BusLineResult.BusStation> stations) |
void |
setSteps(java.util.List<BusLineResult.BusStep> steps) |
void |
setUid(java.lang.String uid) |
void |
writeToParcel(Parcel dest,
int flags) |
public java.lang.String getLineDirection()
public void setLineDirection(java.lang.String lineDirection)
public float getBasePrice()
public void setBasePrice(float basePrice)
public float getMaxPrice()
public void setMaxPrice(float maxPrice)
public java.lang.String getBusCompany()
public java.lang.String getBusLineName()
public void setBusLineName(java.lang.String busLineName)
public boolean isMonthTicket()
public void setMonthTicket(boolean isMonthTicket)
public java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
public java.util.Date getEndTime()
public void setEndTime(java.util.Date endTime)
public java.util.List<BusLineResult.BusStation> getStations()
public void setStations(java.util.List<BusLineResult.BusStation> stations)
public java.util.List<BusLineResult.BusStep> getSteps()
public void setSteps(java.util.List<BusLineResult.BusStep> steps)
public java.lang.String getUid()
public void setUid(java.lang.String uid)
public int describeContents()
describeContents
in class SearchResult
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class SearchResult