
de.vdv.ojp20.siri.RailSubmodesOfTransportEnumeration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package de.vdv.ojp20.siri;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
*
*
* Java class for RailSubmodesOfTransportEnumeration
.
*
* The following schema fragment specifies the expected content contained within this class.
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "RailSubmodesOfTransportEnumeration")
@XmlEnum
public enum RailSubmodesOfTransportEnumeration {
@XmlEnumValue("unknown")
UNKNOWN("unknown"),
@XmlEnumValue("local")
LOCAL("local"),
@XmlEnumValue("highSpeedRail")
HIGH_SPEED_RAIL("highSpeedRail"),
@XmlEnumValue("suburbanRailway")
SUBURBAN_RAILWAY("suburbanRailway"),
@XmlEnumValue("regionalRail")
REGIONAL_RAIL("regionalRail"),
@XmlEnumValue("interregionalRail")
INTERREGIONAL_RAIL("interregionalRail"),
@XmlEnumValue("longDistance")
LONG_DISTANCE("longDistance"),
@XmlEnumValue("international")
INTERNATIONAL("international"),
@XmlEnumValue("sleeperRailService")
SLEEPER_RAIL_SERVICE("sleeperRailService"),
@XmlEnumValue("nightRail")
NIGHT_RAIL("nightRail"),
@XmlEnumValue("carTransportRailService")
CAR_TRANSPORT_RAIL_SERVICE("carTransportRailService"),
@XmlEnumValue("touristRailway")
TOURIST_RAILWAY("touristRailway"),
@XmlEnumValue("airportLinkRail")
AIRPORT_LINK_RAIL("airportLinkRail"),
@XmlEnumValue("railShuttle")
RAIL_SHUTTLE("railShuttle"),
@XmlEnumValue("replacementRailService")
REPLACEMENT_RAIL_SERVICE("replacementRailService"),
@XmlEnumValue("specialTrain")
SPECIAL_TRAIN("specialTrain"),
@XmlEnumValue("crossCountryRail")
CROSS_COUNTRY_RAIL("crossCountryRail"),
@XmlEnumValue("rackAndPinionRailway")
RACK_AND_PINION_RAILWAY("rackAndPinionRailway"),
@XmlEnumValue("highSpeedRailService")
HIGH_SPEED_RAIL_SERVICE("highSpeedRailService"),
@XmlEnumValue("longDistanceInternationalRailService")
LONG_DISTANCE_INTERNATIONAL_RAIL_SERVICE("longDistanceInternationalRailService"),
@XmlEnumValue("longDistanceRailService")
LONG_DISTANCE_RAIL_SERVICE("longDistanceRailService"),
@XmlEnumValue("interRegionalExpressRailService")
INTER_REGIONAL_EXPRESS_RAIL_SERVICE("interRegionalExpressRailService"),
@XmlEnumValue("interRegionalRailService")
INTER_REGIONAL_RAIL_SERVICE("interRegionalRailService"),
@XmlEnumValue("regionalExpressRailService")
REGIONAL_EXPRESS_RAIL_SERVICE("regionalExpressRailService"),
@XmlEnumValue("regionalRailService")
REGIONAL_RAIL_SERVICE("regionalRailService"),
@XmlEnumValue("touristRailwayService")
TOURIST_RAILWAY_SERVICE("touristRailwayService"),
@XmlEnumValue("railShuttleService")
RAIL_SHUTTLE_SERVICE("railShuttleService"),
@XmlEnumValue("suburbanRailService")
SUBURBAN_RAIL_SERVICE("suburbanRailService"),
@XmlEnumValue("suburbanNightRailService")
SUBURBAN_NIGHT_RAIL_SERVICE("suburbanNightRailService"),
@XmlEnumValue("specialRailService")
SPECIAL_RAIL_SERVICE("specialRailService"),
@XmlEnumValue("lorryTransportRailService")
LORRY_TRANSPORT_RAIL_SERVICE("lorryTransportRailService"),
@XmlEnumValue("vehicleTransportRailService")
VEHICLE_TRANSPORT_RAIL_SERVICE("vehicleTransportRailService"),
@XmlEnumValue("vehicleTunnelTransportRailService")
VEHICLE_TUNNEL_TRANSPORT_RAIL_SERVICE("vehicleTunnelTransportRailService"),
@XmlEnumValue("additionalRailService")
ADDITIONAL_RAIL_SERVICE("additionalRailService"),
@XmlEnumValue("undefinedRailService")
UNDEFINED_RAIL_SERVICE("undefinedRailService"),
@XmlEnumValue("longDistanceTrain")
LONG_DISTANCE_TRAIN("longDistanceTrain"),
@XmlEnumValue("specialTrainService")
SPECIAL_TRAIN_SERVICE("specialTrainService"),
@XmlEnumValue("crossCountryRailService")
CROSS_COUNTRY_RAIL_SERVICE("crossCountryRailService"),
@XmlEnumValue("vehicleRailTransportService")
VEHICLE_RAIL_TRANSPORT_SERVICE("vehicleRailTransportService"),
@XmlEnumValue("additionalTrainService")
ADDITIONAL_TRAIN_SERVICE("additionalTrainService"),
@XmlEnumValue("allRailServices")
ALL_RAIL_SERVICES("allRailServices"),
@XmlEnumValue("undefined")
UNDEFINED("undefined"),
@XmlEnumValue("interbational")
INTERBATIONAL("interbational"),
@XmlEnumValue("pti2_0")
PTI_2___0("pti2_0"),
@XmlEnumValue("pti2_1")
PTI_2___1("pti2_1"),
@XmlEnumValue("pti2_2")
PTI_2___2("pti2_2"),
@XmlEnumValue("pti2_3")
PTI_2___3("pti2_3"),
@XmlEnumValue("pti2_4")
PTI_2___4("pti2_4"),
@XmlEnumValue("pti2_5")
PTI_2___5("pti2_5"),
@XmlEnumValue("pti2_6")
PTI_2___6("pti2_6"),
@XmlEnumValue("pti2_7")
PTI_2___7("pti2_7"),
@XmlEnumValue("pti2_8")
PTI_2___8("pti2_8"),
@XmlEnumValue("pti2_9")
PTI_2___9("pti2_9"),
@XmlEnumValue("pti2_10")
PTI_2___10("pti2_10"),
@XmlEnumValue("pti2_11")
PTI_2___11("pti2_11"),
@XmlEnumValue("pti2_12")
PTI_2___12("pti2_12"),
@XmlEnumValue("pti2_13")
PTI_2___13("pti2_13"),
@XmlEnumValue("pti2_14")
PTI_2___14("pti2_14"),
@XmlEnumValue("pti2_15")
PTI_2___15("pti2_15"),
@XmlEnumValue("pti2_16")
PTI_2___16("pti2_16"),
@XmlEnumValue("pti2_17")
PTI_2___17("pti2_17"),
@XmlEnumValue("pti2_255")
PTI_2___255("pti2_255"),
@XmlEnumValue("loc13_0")
LOC_13___0("loc13_0"),
@XmlEnumValue("loc13_1")
LOC_13___1("loc13_1"),
@XmlEnumValue("loc13_2")
LOC_13___2("loc13_2"),
@XmlEnumValue("loc13_3")
LOC_13___3("loc13_3"),
@XmlEnumValue("loc13_4")
LOC_13___4("loc13_4"),
@XmlEnumValue("loc13_5")
LOC_13___5("loc13_5"),
@XmlEnumValue("loc13_6")
LOC_13___6("loc13_6"),
@XmlEnumValue("loc13_7")
LOC_13___7("loc13_7"),
@XmlEnumValue("loc13_8")
LOC_13___8("loc13_8");
private final String value;
RailSubmodesOfTransportEnumeration(String v) {
value = v;
}
/**
* Gets the value associated to the enum constant.
*
* @return
* The value linked to the enum.
*/
public String value() {
return value;
}
/**
* Gets the enum associated to the value passed as parameter.
*
* @param v
* The value to get the enum from.
* @return
* The enum which corresponds to the value, if it exists.
* @throws IllegalArgumentException
* If no value matches in the enum declaration.
*/
public static RailSubmodesOfTransportEnumeration fromValue(String v) {
for (RailSubmodesOfTransportEnumeration c: RailSubmodesOfTransportEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy