org.opentripplanner.model.WheelChairBoarding 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;
public enum WheelChairBoarding {
NO_INFORMATION(0),
POSSIBLE(1),
NOT_POSSIBLE(2);
WheelChairBoarding(int gtfsCode) {
this.gtfsCode = gtfsCode;
}
public final int gtfsCode;
public static WheelChairBoarding valueOfGtfsCode(int gtfsCode) {
for (WheelChairBoarding value : values()) {
if (value.gtfsCode == gtfsCode) {
return value;
}
}
throw new IllegalArgumentException("Unknown GTFS WheelChairBoardingType: " + gtfsCode);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy