org.opentripplanner.transit.model.timetable.TripAlteration 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.transit.model.timetable;
/**
* Alterations specified on a Trip in the planned data. This is in some ways equivalent with GTFS-RT
* scheduled relationship.
*/
public enum TripAlteration {
CANCELLATION,
PLANNED,
EXTRA_JOURNEY,
REPLACED;
public boolean isCanceledOrReplaced() {
return this == CANCELLATION || this == REPLACED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy