Package | Description |
---|---|
org.transitime.db.structs |
Contains the descriptions of the classes for the objects that are read
and written to the database.
|
org.transitime.gtfs |
Contains classes for reading and writing GTFS configuration data.
|
org.transitime.ipc.data |
This package contains the low-level objects that are transmitted to
the clients via RMI.
|
Modifier and Type | Method and Description |
---|---|
TripPattern |
Route.getLongestTripPatternForDirection(java.lang.String directionId)
Returns longest trip pattern for the directionId specified.
|
TripPattern |
Trip.getTripPattern() |
TripPattern |
Route.getTripPattern(java.lang.String tripPatternId)
Returns the specified trip pattern, or null if that trip pattern doesn't
exist for the route.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TripPattern> |
Route.getLongestTripPatternForEachDirection()
Returns the longest trip pattern for each direction ID for the route.
|
java.util.Collection<TripPattern> |
Block.getTripPatterns()
Returns the trip patterns associated with the block.
|
static java.util.List<TripPattern> |
TripPattern.getTripPatterns(org.hibernate.Session session,
int configRev)
Returns list of TripPattern objects for the specified configRev
|
java.util.List<TripPattern> |
Route.getTripPatterns(java.lang.String directionId)
Returns list of trip patterns for the directionId specified.
|
Modifier and Type | Method and Description |
---|---|
void |
Trip.setTripPattern(TripPattern tripPattern)
TripPattern is created after the Trip.
|
Constructor and Description |
---|
Route(int configRev,
GtfsRoute gtfsRoute,
java.util.List<TripPattern> tripPatternsForRoute,
TitleFormatter titleFormatter,
boolean shouldCombineShortAndLongNamesForRoutes)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
TripPattern |
StopsByLoc.StopInfo.tripPattern |
Modifier and Type | Method and Description |
---|---|
TripPattern |
GtfsData.getTripPattern(java.lang.String tripPatternId)
Returns the specified trip pattern.
|
TripPattern |
GtfsData.getTripPatternByTripId(java.lang.String tripId) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<TripPatternKey,TripPattern> |
GtfsData.getTripPatternMap() |
java.util.Collection<TripPattern> |
GtfsData.getTripPatterns() |
java.util.List<TripPattern> |
GtfsData.getTripPatterns(java.lang.String routeId) |
java.util.List<TripPattern> |
DbConfig.getTripPatternsForRoute(java.lang.String routeId)
Returns the list of trip patterns associated with the specified route.
|
Constructor and Description |
---|
StopInfo(TripPattern tripPattern,
java.lang.String routeShortName,
java.lang.String stopId,
double distanceToStop) |
Constructor and Description |
---|
StopPathProcessor(java.util.Collection<GtfsShape> gtfsShapes,
java.util.Map<java.lang.String,Stop> stopsMap,
java.util.Collection<TripPattern> tripPatterns,
double offsetDistance,
double maxStopToPathDistance,
double maxDistanceForEliminatingVertices,
boolean trimPathBeforeFirstStopOfTrip)
Constructor.
|
Constructor and Description |
---|
IpcPredictionsForRouteStopDest(TripPattern tripPattern,
java.lang.String stopId,
double distanceToStop)
For constructing an IpcPredictionsForRouteStopDest for when there aren't
any predictions.
|
IpcTripPattern(TripPattern dbTripPattern)
Member Functions
|