org.rutebanken.netex.model.BusSubmodeEnumeration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netex-java-model Show documentation
Show all versions of netex-java-model Show documentation
Generates Java model from NeTEx XSDs using JAXB.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.21 at 10:53:23 AM CEST
//
package org.rutebanken.netex.model;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for BusSubmodeEnumeration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="BusSubmodeEnumeration">
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="unknown"/>
* <enumeration value="undefined"/>
* <enumeration value="localBus"/>
* <enumeration value="regionalBus"/>
* <enumeration value="expressBus"/>
* <enumeration value="nightBus"/>
* <enumeration value="postBus"/>
* <enumeration value="specialNeedsBus"/>
* <enumeration value="mobilityBus"/>
* <enumeration value="mobilityBusForRegisteredDisabled"/>
* <enumeration value="sightseeingBus"/>
* <enumeration value="shuttleBus"/>
* <enumeration value="highFrequencyBus"/>
* <enumeration value="dedicatedLaneBus"/>
* <enumeration value="schoolBus"/>
* <enumeration value="schoolAndPublicServiceBus"/>
* <enumeration value="railReplacementBus"/>
* <enumeration value="demandAndResponseBus"/>
* <enumeration value="airportLinkBus"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "BusSubmodeEnumeration")
@XmlEnum
public enum BusSubmodeEnumeration {
@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");
private final String value;
BusSubmodeEnumeration(String v) {
value = v;
}
public String value() {
return value;
}
public static BusSubmodeEnumeration fromValue(String v) {
for (BusSubmodeEnumeration c: BusSubmodeEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy