![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.BookingStatusEnumeration 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 BookingStatusEnumeration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="BookingStatusEnumeration">
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="pti24_0"/>
* <enumeration value="unknown"/>
* <enumeration value="pti17_1"/>
* <enumeration value="available"/>
* <enumeration value="pti24_2"/>
* <enumeration value="limited"/>
* <enumeration value="pti24_3"/>
* <enumeration value="veryLimited"/>
* <enumeration value="pti24_4"/>
* <enumeration value="full"/>
* <enumeration value="pti24_5"/>
* <enumeration value="waitingList"/>
* <enumeration value="pti24_6"/>
* <enumeration value="noBookingRequired"/>
* <enumeration value="pti24_7"/>
* <enumeration value="bookingRequired"/>
* <enumeration value="pti24_8"/>
* <enumeration value="bookingOptional"/>
* <enumeration value="pti24_255"/>
* <enumeration value="undefinedBookingInformation"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "BookingStatusEnumeration")
@XmlEnum
public enum BookingStatusEnumeration {
@XmlEnumValue("pti24_0")
PTI_24_0("pti24_0"),
@XmlEnumValue("unknown")
UNKNOWN("unknown"),
@XmlEnumValue("pti17_1")
PTI_17_1("pti17_1"),
@XmlEnumValue("available")
AVAILABLE("available"),
@XmlEnumValue("pti24_2")
PTI_24_2("pti24_2"),
@XmlEnumValue("limited")
LIMITED("limited"),
@XmlEnumValue("pti24_3")
PTI_24_3("pti24_3"),
@XmlEnumValue("veryLimited")
VERY_LIMITED("veryLimited"),
@XmlEnumValue("pti24_4")
PTI_24_4("pti24_4"),
@XmlEnumValue("full")
FULL("full"),
@XmlEnumValue("pti24_5")
PTI_24_5("pti24_5"),
@XmlEnumValue("waitingList")
WAITING_LIST("waitingList"),
@XmlEnumValue("pti24_6")
PTI_24_6("pti24_6"),
@XmlEnumValue("noBookingRequired")
NO_BOOKING_REQUIRED("noBookingRequired"),
@XmlEnumValue("pti24_7")
PTI_24_7("pti24_7"),
@XmlEnumValue("bookingRequired")
BOOKING_REQUIRED("bookingRequired"),
@XmlEnumValue("pti24_8")
PTI_24_8("pti24_8"),
@XmlEnumValue("bookingOptional")
BOOKING_OPTIONAL("bookingOptional"),
@XmlEnumValue("pti24_255")
PTI_24_255("pti24_255"),
@XmlEnumValue("undefinedBookingInformation")
UNDEFINED_BOOKING_INFORMATION("undefinedBookingInformation");
private final String value;
BookingStatusEnumeration(String v) {
value = v;
}
public String value() {
return value;
}
public static BookingStatusEnumeration fromValue(String v) {
for (BookingStatusEnumeration c: BookingStatusEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy