org.rutebanken.netex.model.CouchetteFacilityEnumeration 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 CouchetteFacilityEnumeration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="CouchetteFacilityEnumeration">
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="unknown"/>
* <enumeration value="T2"/>
* <enumeration value="T3"/>
* <enumeration value="C1"/>
* <enumeration value="C2"/>
* <enumeration value="C4"/>
* <enumeration value="C5"/>
* <enumeration value="C6"/>
* <enumeration value="wheelchair"/>
* <enumeration value="other"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "CouchetteFacilityEnumeration")
@XmlEnum
public enum CouchetteFacilityEnumeration {
@XmlEnumValue("unknown")
UNKNOWN("unknown"),
@XmlEnumValue("T2")
T_2("T2"),
@XmlEnumValue("T3")
T_3("T3"),
@XmlEnumValue("C1")
C_1("C1"),
@XmlEnumValue("C2")
C_2("C2"),
@XmlEnumValue("C4")
C_4("C4"),
@XmlEnumValue("C5")
C_5("C5"),
@XmlEnumValue("C6")
C_6("C6"),
@XmlEnumValue("wheelchair")
WHEELCHAIR("wheelchair"),
@XmlEnumValue("other")
OTHER("other");
private final String value;
CouchetteFacilityEnumeration(String v) {
value = v;
}
public String value() {
return value;
}
public static CouchetteFacilityEnumeration fromValue(String v) {
for (CouchetteFacilityEnumeration c: CouchetteFacilityEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy