org.opentripplanner.model.OtpTransitService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.model;
import com.google.common.collect.Multimap;
import org.opentripplanner.ext.flex.trip.FlexTrip;
import java.util.Collection;
import java.util.List;
/**
* Methods for accessing imported entities.
*/
public interface OtpTransitService {
/**
* @return a list of all Agencies.
*/
Collection getAllAgencies();
/**
* @return a list of all Operators, the list may be empty if there are no Operators in the imported data.
*/
Collection getAllOperators();
Collection getAllFareAttributes();
Collection getAllFareRules();
Collection getAllFeedInfos();
Collection getAllGroupsOfStations();
Collection getAllMultiModalStations();
/**
* This is equivalent to a Transmodel Notice Assignments. The map key may reference entity ids of
* any type (Serializable).
*/
Multimap, Notice> getNoticeAssignments();
Collection getAllPathways();
/**
* @return all ids for both Calendars and CalendarDates merged into on list without duplicates.
*/
Collection getAllServiceIds();
List getShapePointsForShapeId(FeedScopedId shapeId);
Station getStationForId(FeedScopedId id);
Stop getStopForId(FeedScopedId id);
Collection getAllStations();
Collection getAllStops();
Collection getAllEntrances();
Collection getAllPathwayNodes();
Collection getAllBoardingAreas();
Collection getAllLocations();
Collection getAllLocationGroups();
/**
* @return the list of {@link StopTime} objects associated with the trip,
* sorted by {@link StopTime#getStopSequence()}
*/
List getStopTimesForTrip(Trip trip);
Collection getAllTransfers();
Collection getTripPatterns();
Collection getAllTrips();
Collection getAllFlexTrips();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy