public class OtpTransitServiceBuilder extends Object
OtpTransitService
. The instance returned by the
build()
method is read only, and this class provide a mutable collections to construct
a OtpTransitService
instance.Constructor and Description |
---|
OtpTransitServiceBuilder() |
OtpTransitServiceBuilder(OtpTransitService transitService) |
Modifier and Type | Method and Description |
---|---|
OtpTransitServiceBuilder |
add(OtpTransitService other) |
OtpTransitService |
build() |
List<Agency> |
getAgencies() |
List<ServiceCalendarDate> |
getCalendarDates() |
List<ServiceCalendar> |
getCalendars() |
List<FareAttribute> |
getFareAttributes() |
List<FareRule> |
getFareRules() |
List<FeedInfo> |
getFeedInfos() |
List<FlexArea> |
getFlexAreas() |
List<Frequency> |
getFrequencies() |
List<Pathway> |
getPathways() |
List<Route> |
getRoutes() |
List<ShapePoint> |
getShapePoints() |
List<Stop> |
getStops() |
List<StopTime> |
getStopTimes() |
List<Transfer> |
getTransfers() |
List<Trip> |
getTrips() |
public OtpTransitServiceBuilder()
public OtpTransitServiceBuilder(OtpTransitService transitService)
public OtpTransitServiceBuilder add(OtpTransitService other)
public List<ServiceCalendarDate> getCalendarDates()
public List<ServiceCalendar> getCalendars()
public List<FareAttribute> getFareAttributes()
public List<ShapePoint> getShapePoints()
public OtpTransitService build()
Copyright © 2019. All rights reserved.