| Package | Description | 
|---|---|
| org.opentripplanner.api.adapters | |
| org.opentripplanner.api.model | |
| org.opentripplanner.calendar.impl | |
| org.opentripplanner.graph_builder.annotation | 
 Graph builder annotation classes represent errors or exceptional conditions encountered
 during the graph bulding process. 
 | 
| org.opentripplanner.gtfs | 
 This package contains a GTFS loader library. 
 | 
| org.opentripplanner.gtfs.mapping | |
| org.opentripplanner.index.model | |
| org.opentripplanner.model | |
| org.opentripplanner.model.calendar | |
| org.opentripplanner.routing.alertpatch | |
| org.opentripplanner.routing.core | |
| org.opentripplanner.routing.edgetype | |
| org.opentripplanner.routing.edgetype.factory | |
| org.opentripplanner.routing.graph | |
| org.opentripplanner.routing.impl | |
| org.opentripplanner.routing.services | |
| org.opentripplanner.routing.spt | |
| org.opentripplanner.routing.transit_index | |
| org.opentripplanner.routing.vertextype | 
| Modifier and Type | Field and Description | 
|---|---|
List<FeedScopedId> | 
StopType.routes  | 
| Modifier and Type | Method and Description | 
|---|---|
FeedScopedId | 
RouteType.getId()  | 
FeedScopedId | 
AgencyAndIdAdapter.unmarshal(AgencyAndIdType arg)  | 
| Modifier and Type | Method and Description | 
|---|---|
ArrayList<FeedScopedId> | 
AgencyAndIdArrayListAdapter.unmarshal(ArrayList<AgencyAndIdType> arg)  | 
| Modifier and Type | Method and Description | 
|---|---|
AgencyAndIdType | 
AgencyAndIdAdapter.marshal(FeedScopedId arg)  | 
| Modifier and Type | Method and Description | 
|---|---|
ArrayList<AgencyAndIdType> | 
AgencyAndIdArrayListAdapter.marshal(ArrayList<FeedScopedId> arg)  | 
| Constructor and Description | 
|---|
ServiceCalendarDateType(FeedScopedId serviceId,
                       long date,
                       int exceptionType)  | 
ServiceCalendarType(FeedScopedId serviceId,
                   int monday,
                   int tuesday,
                   int wednesday,
                   int thursday,
                   int friday,
                   int saturday,
                   int sunday,
                   long startDate,
                   long endDate)  | 
TripsModelInfo(String headsign,
              Integer number,
              String calendarId,
              FeedScopedId tripId)  | 
| Modifier and Type | Field and Description | 
|---|---|
FeedScopedId | 
Leg.routeId
For transit legs, the ID of the route. 
 | 
FeedScopedId | 
Place.stopId
The ID of the stop. 
 | 
FeedScopedId | 
Leg.tripId
For transit legs, the ID of the trip. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FeedScopedId | 
FeedScopedIdDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
           com.fasterxml.jackson.databind.DeserializationContext ctxt)  | 
| Modifier and Type | Method and Description | 
|---|---|
Class<FeedScopedId> | 
FeedScopedIdSerializer.handledType()  | 
Class<FeedScopedId> | 
FeedScopedIdDeserializer.handledType()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
FeedScopedIdSerializer.serialize(FeedScopedId a,
         com.fasterxml.jackson.core.JsonGenerator gen,
         com.fasterxml.jackson.databind.SerializerProvider prov)  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<FeedScopedId> | 
CalendarServiceImpl.getServiceIds()  | 
Set<FeedScopedId> | 
CalendarServiceImpl.getServiceIdsOnDate(ServiceDate date)  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<ServiceDate> | 
CalendarServiceImpl.getServiceDatesForServiceId(FeedScopedId serviceId)  | 
| Constructor and Description | 
|---|
BogusShapeGeometry(FeedScopedId shapeId)  | 
BogusShapeGeometryCaught(FeedScopedId shapeId,
                        StopTime stA,
                        StopTime stB)  | 
| Modifier and Type | Method and Description | 
|---|---|
static FeedScopedId | 
GtfsLibrary.convertIdFromString(String value)  | 
FeedScopedId | 
MockGtfs.id(String id)  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
GtfsLibrary.convertIdToString(FeedScopedId aid)  | 
| Modifier and Type | Method and Description | 
|---|---|
static FeedScopedId | 
AgencyAndIdMapper.mapAgencyAndId(org.onebusaway.gtfs.model.AgencyAndId id)
Map from GTFS to OTP model,  
null safe. | 
| Modifier and Type | Field and Description | 
|---|---|
FeedScopedId | 
AreaShort.areaId  | 
FeedScopedId | 
RouteShort.id  | 
FeedScopedId | 
TripShort.id  | 
FeedScopedId | 
StopShort.id  | 
FeedScopedId | 
PatternDetail.routeId  | 
FeedScopedId | 
TripShort.serviceId  | 
FeedScopedId | 
TripTimeShort.stopId  | 
FeedScopedId | 
TripTimeShort.tripId  | 
| Constructor and Description | 
|---|
AreaShort(FeedScopedId areaId,
         org.locationtech.jts.geom.Geometry polygon)  | 
| Modifier and Type | Method and Description | 
|---|---|
static FeedScopedId | 
FeedScopedId.convertFromString(String value)
Given an id of the form "agencyId_entityId", parses into a
  
FeedScopedId id object. | 
static FeedScopedId | 
FeedScopedId.convertFromString(String value,
                 char separator)
Given an id of the form "agencyId_entityId", parses into a
  
FeedScopedId id object. | 
FeedScopedId | 
Trip.getId()  | 
FeedScopedId | 
FlexArea.getId()  | 
FeedScopedId | 
FareAttribute.getId()  | 
FeedScopedId | 
Route.getId()  | 
FeedScopedId | 
Stop.getId()  | 
FeedScopedId | 
Pathway.getId()  | 
FeedScopedId | 
Trip.getServiceId()  | 
FeedScopedId | 
ServiceCalendarDate.getServiceId()  | 
FeedScopedId | 
ServiceCalendar.getServiceId()  | 
FeedScopedId | 
Trip.getShapeId()  | 
FeedScopedId | 
ShapePoint.getShapeId()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<FeedScopedId> | 
OtpTransitService.getAllServiceIds()  | 
Set<FeedScopedId> | 
CalendarService.getServiceIds()  | 
Set<FeedScopedId> | 
CalendarService.getServiceIdsOnDate(ServiceDate date)
Determine the set of service ids that are active on the specified service
 date. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
FeedScopedId.compareTo(FeedScopedId o)  | 
static String | 
FeedScopedId.convertToString(FeedScopedId aid)
Given an  
FeedScopedId object, creates a string representation of the
 form "agencyId_entityId" | 
List<ServiceCalendarDate> | 
OtpTransitService.getCalendarDatesForServiceId(FeedScopedId serviceId)  | 
ServiceCalendar | 
OtpTransitService.getCalendarForServiceId(FeedScopedId serviceId)  | 
Set<ServiceDate> | 
CalendarService.getServiceDatesForServiceId(FeedScopedId serviceId)  | 
List<ShapePoint> | 
OtpTransitService.getShapePointsForShapeId(FeedScopedId shapeId)  | 
Stop | 
OtpTransitService.getStopForId(FeedScopedId id)  | 
List<String> | 
OtpTransitService.getTripAgencyIdsReferencingServiceId(FeedScopedId serviceId)  | 
void | 
Trip.setId(FeedScopedId id)  | 
void | 
FlexArea.setId(FeedScopedId areaId)  | 
void | 
FareAttribute.setId(FeedScopedId id)  | 
void | 
Route.setId(FeedScopedId id)  | 
void | 
Stop.setId(FeedScopedId id)  | 
void | 
Pathway.setId(FeedScopedId id)  | 
void | 
Trip.setServiceId(FeedScopedId serviceId)  | 
void | 
ServiceCalendarDate.setServiceId(FeedScopedId serviceId)  | 
void | 
ServiceCalendar.setServiceId(FeedScopedId serviceId)  | 
void | 
Trip.setShapeId(FeedScopedId shapeId)  | 
void | 
ShapePoint.setShapeId(FeedScopedId shapeId)  | 
| Modifier and Type | Method and Description | 
|---|---|
FeedScopedId | 
LocalizedServiceId.getId()  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<FeedScopedId> | 
CalendarServiceData.getServiceIds()  | 
Set<FeedScopedId> | 
CalendarServiceData.getServiceIdsForDate(ServiceDate date)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<ServiceDate> | 
CalendarServiceData.getServiceDatesForServiceId(FeedScopedId serviceId)  | 
void | 
CalendarServiceData.putServiceDatesForServiceId(FeedScopedId serviceId,
                           List<ServiceDate> serviceDates)  | 
| Constructor and Description | 
|---|
LocalizedServiceId(FeedScopedId serviceId,
                  TimeZone timeZone)  | 
| Modifier and Type | Method and Description | 
|---|---|
FeedScopedId | 
AlertPatch.getRoute()  | 
FeedScopedId | 
AlertPatch.getStop()  | 
FeedScopedId | 
AlertPatch.getTrip()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AlertPatch.setRoute(FeedScopedId route)  | 
void | 
AlertPatch.setStop(FeedScopedId stop)  | 
void | 
AlertPatch.setTrip(FeedScopedId trip)  | 
| Modifier and Type | Field and Description | 
|---|---|
FeedScopedId | 
FareComponent.fareId  | 
FeedScopedId | 
TransferTable.Transfer.fromStopId
Deprecated.  
  | 
protected FeedScopedId | 
StateData.route  | 
protected FeedScopedId[] | 
StateData.routeSequence  | 
FeedScopedId | 
RoutingRequest.startingTransitStopId
A transit stop that this trip must start from 
 | 
FeedScopedId | 
RoutingRequest.startingTransitTripId
A trip where this trip must start from (depart-onboard routing) 
 | 
FeedScopedId | 
TransferTable.Transfer.toStopId
Deprecated.  
  | 
protected FeedScopedId | 
StateData.tripId  | 
| Modifier and Type | Field and Description | 
|---|---|
HashMap<FeedScopedId,BannedStopSet> | 
RoutingRequest.bannedTrips
Do not use certain trips 
 | 
List<FeedScopedId> | 
FareComponent.routes  | 
Map<FeedScopedId,Set<ServiceDate>> | 
RoutingContext.serviceDatesByServiceId  | 
protected HashMap<P2<FeedScopedId>,StopTransfer> | 
TransferTable.table
Table which contains transfers between two stops 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FeedScopedId | 
State.getRoute()  | 
FeedScopedId | 
StateEditor.getRoute()  | 
FeedScopedId | 
State.getTripId()  | 
FeedScopedId | 
StateEditor.getTripId()  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<FeedScopedId> | 
FareRuleSet.getRoutes()  | 
Set<FeedScopedId> | 
FareRuleSet.getTrips()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
FareComponent.addRoute(FeedScopedId routeId)  | 
void | 
FareRuleSet.addRoute(FeedScopedId route)  | 
void | 
FareRuleSet.addTrip(FeedScopedId trip)  | 
void | 
RoutingRequest.banTrip(FeedScopedId trip)  | 
void | 
StateEditor.setRoute(FeedScopedId routeId)  | 
void | 
StateEditor.setTripId(FeedScopedId tripId)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
FareRuleSet.matches(Set<String> agencies,
       String startZone,
       String endZone,
       Set<String> zonesVisited,
       Set<FeedScopedId> routesVisited,
       Set<FeedScopedId> tripsVisited)  | 
boolean | 
FareRuleSet.matches(Set<String> agencies,
       String startZone,
       String endZone,
       Set<String> zonesVisited,
       Set<FeedScopedId> routesVisited,
       Set<FeedScopedId> tripsVisited)  | 
| Constructor and Description | 
|---|
FareComponent(FeedScopedId fareId,
             Money amount)  | 
SpecificTransfer(FeedScopedId fromRouteId,
                FeedScopedId toRouteId,
                FeedScopedId fromTripId,
                FeedScopedId toTripId,
                int transferTime)  | 
Transfer(FeedScopedId fromStopId,
        FeedScopedId toStopId,
        int seconds)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
Timetable.getTripIndex(FeedScopedId tripId)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Timetable.setServiceCodes(Map<FeedScopedId,Integer> serviceCodes)
Find and cache service codes. 
 | 
void | 
TripPattern.setServiceCodes(Map<FeedScopedId,Integer> serviceCodes)
A bit of a strange place to set service codes all at once when TripTimes are already added,
 but we need a reference to the Graph or at least the codes map. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
HashSet<FeedScopedId> | 
GtfsStopContext.stops  | 
| Modifier and Type | Field and Description | 
|---|---|
Map<FeedScopedId,org.locationtech.jts.geom.Geometry> | 
Graph.flexAreasById
Areas for flex service 
 | 
Map<FeedScopedId,org.locationtech.jts.geom.Geometry> | 
GraphIndex.flexAreasById  | 
Map<FeedScopedId,Stop> | 
Graph.parentStopById
Parent stops 
 | 
Map<FeedScopedId,Route> | 
GraphIndex.routeForId  | 
Map<FeedScopedId,Integer> | 
Graph.serviceCodes
Map from GTFS ServiceIds to integers close to 0. 
 | 
Map<FeedScopedId,String> | 
GraphIndex.serviceForId  | 
Map<FeedScopedId,Stop> | 
GraphIndex.stopForId  | 
Map<FeedScopedId,Trip> | 
GraphIndex.tripForId  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Map<FeedScopedId,FareRuleSet> | 
DefaultFareServiceFactory.regularFareRules  | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<AlertPatch> | 
AlertPatchServiceImpl.getRoutePatches(FeedScopedId route)  | 
Collection<AlertPatch> | 
AlertPatchServiceImpl.getStopPatches(FeedScopedId stop)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
DefaultFareServiceFactory.fillFareRules(String agencyId,
             Collection<FareAttribute> fareAttributes,
             Collection<FareRule> fareRules,
             Map<FeedScopedId,FareRuleSet> fareRuleSet)  | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<AlertPatch> | 
AlertPatchService.getRoutePatches(FeedScopedId route)  | 
Collection<AlertPatch> | 
AlertPatchService.getStopPatches(FeedScopedId stop)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<FeedScopedId> | 
GraphPath.getCallAndRideTrips()
Get all trips used in the search which were call-and-ride trips. 
 | 
List<FeedScopedId> | 
GraphPath.getTrips()  | 
| Modifier and Type | Field and Description | 
|---|---|
FeedScopedId | 
RouteSegment.stop  | 
| Constructor and Description | 
|---|
RouteSegment(FeedScopedId stop)  | 
| Modifier and Type | Method and Description | 
|---|---|
FeedScopedId | 
TransitVertex.getStopId()
Get the stop at which this TransitVertex is located 
 | 
FeedScopedId | 
TransitStopArrive.getStopId()  | 
FeedScopedId | 
TransitStopDepart.getStopId()  | 
Copyright © 2019. All rights reserved.