public class IpcRoute extends IpcRouteSummary
Constructor and Description |
---|
IpcRoute(Route dbRoute,
java.lang.String directionId,
java.lang.String stopId,
java.lang.String tripPatternId)
Create an IpcRoute that contains all stops and paths but separates out
information for the remaining part of the trip specified by stopId and
tripPatternId.
|
Modifier and Type | Method and Description |
---|---|
Location |
getLocationOfNextPredictedVehicle() |
java.util.Collection<IpcShape> |
getShapes() |
IpcDirectionsForRoute |
getStops() |
java.lang.String |
toString() |
getColor, getExtent, getId, getName, getShortName, getTextColor, getType
public IpcRoute(Route dbRoute, java.lang.String directionId, java.lang.String stopId, java.lang.String tripPatternId)
dbRoute
- The route object as read from the dbdirectionId
- Set if want to know which part of route is major and which is
minor. Otherwise set to null.stopId
- Set if want to know which part of route is major and which is
minor. Otherwise set to null.tripPatternId
- Set if want to know which part of route is major and which is
minor. Otherwise set to null.public java.lang.String toString()
toString
in class IpcRouteSummary
public IpcDirectionsForRoute getStops()
public java.util.Collection<IpcShape> getShapes()
public Location getLocationOfNextPredictedVehicle()