
de.vdv.ojp20.siri.TelecabinSubmodesOfTransportEnumeration 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 TelecabinSubmodesOfTransportEnumeration
.
*
* The following schema fragment specifies the expected content contained within this class.
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "TelecabinSubmodesOfTransportEnumeration")
@XmlEnum
public enum TelecabinSubmodesOfTransportEnumeration {
@XmlEnumValue("unknown")
UNKNOWN("unknown"),
@XmlEnumValue("undefined")
UNDEFINED("undefined"),
@XmlEnumValue("telecabin")
TELECABIN("telecabin"),
@XmlEnumValue("cableCar")
CABLE_CAR("cableCar"),
@XmlEnumValue("lift")
LIFT("lift"),
@XmlEnumValue("chairLift")
CHAIR_LIFT("chairLift"),
@XmlEnumValue("dragLift")
DRAG_LIFT("dragLift"),
@XmlEnumValue("telecabinLink")
TELECABIN_LINK("telecabinLink"),
@XmlEnumValue("scheduled")
SCHEDULED("scheduled"),
@XmlEnumValue("unscheduled")
UNSCHEDULED("unscheduled"),
@XmlEnumValue("undefinedTelecabinService")
UNDEFINED_TELECABIN_SERVICE("undefinedTelecabinService"),
@XmlEnumValue("smallTelecabin")
SMALL_TELECABIN("smallTelecabin"),
@XmlEnumValue("eggLift")
EGG_LIFT("eggLift"),
@XmlEnumValue("mineralBuckets")
MINERAL_BUCKETS("mineralBuckets"),
@XmlEnumValue("allTelecabinServices")
ALL_TELECABIN_SERVICES("allTelecabinServices"),
@XmlEnumValue("pti9_0")
PTI_9___0("pti9_0"),
@XmlEnumValue("pti9_1")
PTI_9___1("pti9_1"),
@XmlEnumValue("pti9_2")
PTI_9___2("pti9_2"),
@XmlEnumValue("pti9_3")
PTI_9___3("pti9_3"),
@XmlEnumValue("pti9_4")
PTI_9___4("pti9_4"),
@XmlEnumValue("pti9_5")
PTI_9___5("pti9_5"),
@XmlEnumValue("pti9_6")
PTI_9___6("pti9_6"),
@XmlEnumValue("pti9_7")
PTI_9___7("pti9_7"),
@XmlEnumValue("pti9_255")
PTI_9___255("pti9_255"),
@XmlEnumValue("loc14_0")
LOC_14___0("loc14_0"),
@XmlEnumValue("loc14_1")
LOC_14___1("loc14_1"),
@XmlEnumValue("loc14_3")
LOC_14___3("loc14_3"),
@XmlEnumValue("loc14_4")
LOC_14___4("loc14_4"),
@XmlEnumValue("loc14_52")
LOC_14___52("loc14_52"),
@XmlEnumValue("loc14_6")
LOC_14___6("loc14_6"),
@XmlEnumValue("loc14_7")
LOC_14___7("loc14_7"),
@XmlEnumValue("loc14_8")
LOC_14___8("loc14_8"),
@XmlEnumValue("loc14_255")
LOC_14___255("loc14_255");
private final String value;
TelecabinSubmodesOfTransportEnumeration(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 TelecabinSubmodesOfTransportEnumeration fromValue(String v) {
for (TelecabinSubmodesOfTransportEnumeration c: TelecabinSubmodesOfTransportEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy