
de.vdv.ojp20.siri.BusSubmodesOfTransportEnumeration 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 BusSubmodesOfTransportEnumeration
.
*
* The following schema fragment specifies the expected content contained within this class.
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "BusSubmodesOfTransportEnumeration")
@XmlEnum
public enum BusSubmodesOfTransportEnumeration {
@XmlEnumValue("unknown")
UNKNOWN("unknown"),
@XmlEnumValue("undefined")
UNDEFINED("undefined"),
@XmlEnumValue("localBus")
LOCAL_BUS("localBus"),
@XmlEnumValue("regionalBus")
REGIONAL_BUS("regionalBus"),
@XmlEnumValue("expressBus")
EXPRESS_BUS("expressBus"),
@XmlEnumValue("nightBus")
NIGHT_BUS("nightBus"),
@XmlEnumValue("postBus")
POST_BUS("postBus"),
@XmlEnumValue("specialNeedsBus")
SPECIAL_NEEDS_BUS("specialNeedsBus"),
@XmlEnumValue("mobilityBus")
MOBILITY_BUS("mobilityBus"),
@XmlEnumValue("mobilityBusForRegisteredDisabled")
MOBILITY_BUS_FOR_REGISTERED_DISABLED("mobilityBusForRegisteredDisabled"),
@XmlEnumValue("sightseeingBus")
SIGHTSEEING_BUS("sightseeingBus"),
@XmlEnumValue("shuttleBus")
SHUTTLE_BUS("shuttleBus"),
@XmlEnumValue("highFrequencyBus")
HIGH_FREQUENCY_BUS("highFrequencyBus"),
@XmlEnumValue("dedicatedLaneBus")
DEDICATED_LANE_BUS("dedicatedLaneBus"),
@XmlEnumValue("schoolBus")
SCHOOL_BUS("schoolBus"),
@XmlEnumValue("schoolAndPublicServiceBus")
SCHOOL_AND_PUBLIC_SERVICE_BUS("schoolAndPublicServiceBus"),
@XmlEnumValue("railReplacementBus")
RAIL_REPLACEMENT_BUS("railReplacementBus"),
@XmlEnumValue("demandAndResponseBus")
DEMAND_AND_RESPONSE_BUS("demandAndResponseBus"),
@XmlEnumValue("airportLinkBus")
AIRPORT_LINK_BUS("airportLinkBus"),
@XmlEnumValue("regionalBusService")
REGIONAL_BUS_SERVICE("regionalBusService"),
@XmlEnumValue("additionalBusService")
ADDITIONAL_BUS_SERVICE("additionalBusService"),
@XmlEnumValue("expressBusService")
EXPRESS_BUS_SERVICE("expressBusService"),
@XmlEnumValue("stoppingBusService")
STOPPING_BUS_SERVICE("stoppingBusService"),
@XmlEnumValue("localBusService")
LOCAL_BUS_SERVICE("localBusService"),
@XmlEnumValue("nightBusService")
NIGHT_BUS_SERVICE("nightBusService"),
@XmlEnumValue("postBusService")
POST_BUS_SERVICE("postBusService"),
@XmlEnumValue("specialNeedsBusService")
SPECIAL_NEEDS_BUS_SERVICE("specialNeedsBusService"),
@XmlEnumValue("mobilityBusService")
MOBILITY_BUS_SERVICE("mobilityBusService"),
@XmlEnumValue("mobilityBusForRegisteredDisabledService")
MOBILITY_BUS_FOR_REGISTERED_DISABLED_SERVICE("mobilityBusForRegisteredDisabledService"),
@XmlEnumValue("sightseeingBusService")
SIGHTSEEING_BUS_SERVICE("sightseeingBusService"),
@XmlEnumValue("shuttleBusService")
SHUTTLE_BUS_SERVICE("shuttleBusService"),
@XmlEnumValue("schoolBusService")
SCHOOL_BUS_SERVICE("schoolBusService"),
@XmlEnumValue("schoolAndPublicServiceBusService")
SCHOOL_AND_PUBLIC_SERVICE_BUS_SERVICE("schoolAndPublicServiceBusService"),
@XmlEnumValue("railReplacementBusService")
RAIL_REPLACEMENT_BUS_SERVICE("railReplacementBusService"),
@XmlEnumValue("demandAndResponseBusService")
DEMAND_AND_RESPONSE_BUS_SERVICE("demandAndResponseBusService"),
@XmlEnumValue("undefinedBusService")
UNDEFINED_BUS_SERVICE("undefinedBusService"),
@XmlEnumValue("bus")
BUS("bus"),
@XmlEnumValue("allBusServices")
ALL_BUS_SERVICES("allBusServices"),
@XmlEnumValue("pti5_0")
PTI_5___0("pti5_0"),
@XmlEnumValue("pti5_1")
PTI_5___1("pti5_1"),
@XmlEnumValue("pti5_2")
PTI_5___2("pti5_2"),
@XmlEnumValue("pti5_3")
PTI_5___3("pti5_3"),
@XmlEnumValue("pti5_4")
PTI_5___4("pti5_4"),
@XmlEnumValue("pti5_5")
PTI_5___5("pti5_5"),
@XmlEnumValue("pti5_6")
PTI_5___6("pti5_6"),
@XmlEnumValue("pti5_7")
PTI_5___7("pti5_7"),
@XmlEnumValue("pti5_8")
PTI_5___8("pti5_8"),
@XmlEnumValue("pti5_9")
PTI_5___9("pti5_9"),
@XmlEnumValue("pti5_10")
PTI_5___10("pti5_10"),
@XmlEnumValue("pti5_11")
PTI_5___11("pti5_11"),
@XmlEnumValue("pti5_12")
PTI_5___12("pti5_12"),
@XmlEnumValue("pti5_13")
PTI_5___13("pti5_13"),
@XmlEnumValue("pti5_14")
PTI_5___14("pti5_14"),
@XmlEnumValue("pti5_15")
PTI_5___15("pti5_15"),
@XmlEnumValue("pti5_16")
PTI_5___16("pti5_16"),
@XmlEnumValue("pti5_255")
PTI_5___255("pti5_255"),
@XmlEnumValue("loc_10")
LOC___10("loc_10"),
@XmlEnumValue("loc10_0")
LOC_10___0("loc10_0"),
@XmlEnumValue("loc10_1")
LOC_10___1("loc10_1"),
@XmlEnumValue("loc10_2")
LOC_10___2("loc10_2"),
@XmlEnumValue("loc10_4")
LOC_10___4("loc10_4"),
@XmlEnumValue("loc10_5")
LOC_10___5("loc10_5"),
@XmlEnumValue("loc10_6")
LOC_10___6("loc10_6"),
@XmlEnumValue("loc10_7")
LOC_10___7("loc10_7"),
@XmlEnumValue("loc10_8")
LOC_10___8("loc10_8"),
@XmlEnumValue("loc10_9")
LOC_10___9("loc10_9"),
@XmlEnumValue("loc10_13")
LOC_10___13("loc10_13"),
@XmlEnumValue("loc10_255")
LOC_10___255("loc10_255");
private final String value;
BusSubmodesOfTransportEnumeration(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 BusSubmodesOfTransportEnumeration fromValue(String v) {
for (BusSubmodesOfTransportEnumeration c: BusSubmodesOfTransportEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy