public class MassTransitRoutePlanOption
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MassTransitRoutePlanOption.TacticsIncity
市内公交换乘策略
|
static class |
MassTransitRoutePlanOption.TacticsIntercity
跨城公交换乘策略
|
static class |
MassTransitRoutePlanOption.TransTypeIntercity
跨城交通方式策略
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
mCoordType |
PlanNode |
mFrom |
int |
mPageIndex |
int |
mPageSize |
MassTransitRoutePlanOption.TacticsIncity |
mTacticsIncity |
MassTransitRoutePlanOption.TacticsIntercity |
mTacticsIntercity |
PlanNode |
mTo |
MassTransitRoutePlanOption.TransTypeIntercity |
mTransTypeIntercity |
Constructor and Description |
---|
MassTransitRoutePlanOption() |
Modifier and Type | Method and Description |
---|---|
MassTransitRoutePlanOption |
coordType(java.lang.String coordtype)
Deprecated.
|
MassTransitRoutePlanOption |
from(PlanNode from)
设置起点
|
MassTransitRoutePlanOption |
pageIndex(int pageIndex)
设置返回第几页 从0开始
|
MassTransitRoutePlanOption |
pageSize(int pagesize)
设置每页返回几条路线,[1,10]
|
MassTransitRoutePlanOption |
tacticsIncity(MassTransitRoutePlanOption.TacticsIncity tacticsincity)
设置市内公交换乘策略
|
MassTransitRoutePlanOption |
tacticsIntercity(MassTransitRoutePlanOption.TacticsIntercity intercity)
设置跨城公交换乘策略
|
MassTransitRoutePlanOption |
to(PlanNode to)
设置终点
|
MassTransitRoutePlanOption |
transtypeintercity(MassTransitRoutePlanOption.TransTypeIntercity typeintercity)
设置跨城交通方式策略
|
public PlanNode mFrom
public PlanNode mTo
public java.lang.String mCoordType
public MassTransitRoutePlanOption.TacticsIncity mTacticsIncity
public MassTransitRoutePlanOption.TacticsIntercity mTacticsIntercity
public MassTransitRoutePlanOption.TransTypeIntercity mTransTypeIntercity
public int mPageSize
public int mPageIndex
public MassTransitRoutePlanOption from(PlanNode from)
from
- 起点public MassTransitRoutePlanOption to(PlanNode to)
@Deprecated public MassTransitRoutePlanOption coordType(java.lang.String coordtype)
public MassTransitRoutePlanOption tacticsIncity(MassTransitRoutePlanOption.TacticsIncity tacticsincity)
public MassTransitRoutePlanOption tacticsIntercity(MassTransitRoutePlanOption.TacticsIntercity intercity)
public MassTransitRoutePlanOption transtypeintercity(MassTransitRoutePlanOption.TransTypeIntercity typeintercity)
public MassTransitRoutePlanOption pageSize(int pagesize)
public MassTransitRoutePlanOption pageIndex(int pageIndex)