![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.TramSubmodesOfTransportEnumeration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of siri-java-model Show documentation
Show all versions of siri-java-model Show documentation
Java objects based on the public SIRI XSDs
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.07 at 02:19:39 PM UTC
//
package uk.org.siri.siri20;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for TramSubmodesOfTransportEnumeration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="TramSubmodesOfTransportEnumeration">
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="pti6_0"/>
* <enumeration value="loc12_0"/>
* <enumeration value="unknown"/>
* <enumeration value="pti6_1"/>
* <enumeration value="loc12_1"/>
* <enumeration value="cityTram"/>
* <enumeration value="pti6_2"/>
* <enumeration value="localTramService"/>
* <enumeration value="pti6_3"/>
* <enumeration value="regionalTram"/>
* <enumeration value="pti6_4"/>
* <enumeration value="loc12_2"/>
* <enumeration value="sightseeingTram"/>
* <enumeration value="pti6_5"/>
* <enumeration value="shuttleTram"/>
* <enumeration value="pti6_6"/>
* <enumeration value="allTramServices"/>
* <enumeration value="pti6_255"/>
* <enumeration value="loc12_255"/>
* <enumeration value="undefinedTramService"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "TramSubmodesOfTransportEnumeration")
@XmlEnum
public enum TramSubmodesOfTransportEnumeration {
@XmlEnumValue("pti6_0")
PTI_6_0("pti6_0"),
@XmlEnumValue("loc12_0")
LOC_12_0("loc12_0"),
@XmlEnumValue("unknown")
UNKNOWN("unknown"),
@XmlEnumValue("pti6_1")
PTI_6_1("pti6_1"),
@XmlEnumValue("loc12_1")
LOC_12_1("loc12_1"),
@XmlEnumValue("cityTram")
CITY_TRAM("cityTram"),
@XmlEnumValue("pti6_2")
PTI_6_2("pti6_2"),
@XmlEnumValue("localTramService")
LOCAL_TRAM_SERVICE("localTramService"),
@XmlEnumValue("pti6_3")
PTI_6_3("pti6_3"),
@XmlEnumValue("regionalTram")
REGIONAL_TRAM("regionalTram"),
@XmlEnumValue("pti6_4")
PTI_6_4("pti6_4"),
@XmlEnumValue("loc12_2")
LOC_12_2("loc12_2"),
@XmlEnumValue("sightseeingTram")
SIGHTSEEING_TRAM("sightseeingTram"),
@XmlEnumValue("pti6_5")
PTI_6_5("pti6_5"),
@XmlEnumValue("shuttleTram")
SHUTTLE_TRAM("shuttleTram"),
@XmlEnumValue("pti6_6")
PTI_6_6("pti6_6"),
@XmlEnumValue("allTramServices")
ALL_TRAM_SERVICES("allTramServices"),
@XmlEnumValue("pti6_255")
PTI_6_255("pti6_255"),
@XmlEnumValue("loc12_255")
LOC_12_255("loc12_255"),
@XmlEnumValue("undefinedTramService")
UNDEFINED_TRAM_SERVICE("undefinedTramService");
private final String value;
TramSubmodesOfTransportEnumeration(String v) {
value = v;
}
public String value() {
return value;
}
public static TramSubmodesOfTransportEnumeration fromValue(String v) {
for (TramSubmodesOfTransportEnumeration c: TramSubmodesOfTransportEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy