public final class MassTransitRouteLine extends RouteLine<MassTransitRouteLine.TransitStep>
换乘路线可能包含:城市公交路段,地铁路段,步行路段,飞机,大巴
Modifier and Type | Class and Description |
---|---|
static class |
MassTransitRouteLine.TransitStep
表示一个换乘路段
|
RouteLine.TYPE
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
MassTransitRouteLine() |
protected |
MassTransitRouteLine(Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getArriveTime()
获取本线路预计到达时间,格式:2016-04-05T17:06:10
|
java.util.List<java.util.List<MassTransitRouteLine.TransitStep>> |
getNewSteps()
返回该线路的step信息
|
double |
getPrice()
获取本线路的总票价(元)
|
java.util.List<PriceInfo> |
getPriceInfo()
获取车票详细信息
|
void |
setArriveTime(java.lang.String arriveTime) |
void |
setNewSteps(java.util.List<java.util.List<MassTransitRouteLine.TransitStep>> steps) |
void |
setPrice(double price) |
void |
setPriceInfo(java.util.List<PriceInfo> priceInfo) |
void |
writeToParcel(Parcel dest,
int flags) |
getAllStep, getDistance, getDuration, getStarting, getTerminal, getTitle, getType, setDistance, setDuration, setStarting, setSteps, setTerminal, setTitle, setType
public MassTransitRouteLine()
protected MassTransitRouteLine(Parcel in)
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class RouteLine<MassTransitRouteLine.TransitStep>
public int describeContents()
describeContents
in class RouteLine<MassTransitRouteLine.TransitStep>
public java.util.List<java.util.List<MassTransitRouteLine.TransitStep>> getNewSteps()
public void setNewSteps(java.util.List<java.util.List<MassTransitRouteLine.TransitStep>> steps)
public java.lang.String getArriveTime()
public void setArriveTime(java.lang.String arriveTime)
public double getPrice()
public void setPrice(double price)
public java.util.List<PriceInfo> getPriceInfo()
public void setPriceInfo(java.util.List<PriceInfo> priceInfo)