All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rutebanken.netex.model.ReservationEnumeration Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// 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 ReservationEnumeration. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="ReservationEnumeration">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
 *     <enumeration value="reservationsCompulsory"/>
 *     <enumeration value="reservationsCompulsoryForGroups"/>
 *     <enumeration value="reservationsCompulsoryForFirstClass"/>
 *     <enumeration value="reservationsCompulsoryFromOriginStation"/>
 *     <enumeration value="reservationsRecommended"/>
 *     <enumeration value="reservationsPossible"/>
 *     <enumeration value="reservationsPossibleOnlyInFirstClass"/>
 *     <enumeration value="reservationsPossibleOnlyInSecondClass"/>
 *     <enumeration value="reservationsPossibleForCertainClasses"/>
 *     <enumeration value="groupBookingRestricted"/>
 *     <enumeration value="noGroupsAllowed"/>
 *     <enumeration value="noReservationsPossible"/>
 *     <enumeration value="wheelchairOnlyReservations"/>
 *     <enumeration value="bicycleReservationsCompulsory"/>
 *     <enumeration value="reservationsSupplementCharged"/>
 *     <enumeration value="unknown"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "ReservationEnumeration") @XmlEnum public enum ReservationEnumeration { @XmlEnumValue("reservationsCompulsory") RESERVATIONS_COMPULSORY("reservationsCompulsory"), @XmlEnumValue("reservationsCompulsoryForGroups") RESERVATIONS_COMPULSORY_FOR_GROUPS("reservationsCompulsoryForGroups"), @XmlEnumValue("reservationsCompulsoryForFirstClass") RESERVATIONS_COMPULSORY_FOR_FIRST_CLASS("reservationsCompulsoryForFirstClass"), @XmlEnumValue("reservationsCompulsoryFromOriginStation") RESERVATIONS_COMPULSORY_FROM_ORIGIN_STATION("reservationsCompulsoryFromOriginStation"), @XmlEnumValue("reservationsRecommended") RESERVATIONS_RECOMMENDED("reservationsRecommended"), @XmlEnumValue("reservationsPossible") RESERVATIONS_POSSIBLE("reservationsPossible"), @XmlEnumValue("reservationsPossibleOnlyInFirstClass") RESERVATIONS_POSSIBLE_ONLY_IN_FIRST_CLASS("reservationsPossibleOnlyInFirstClass"), @XmlEnumValue("reservationsPossibleOnlyInSecondClass") RESERVATIONS_POSSIBLE_ONLY_IN_SECOND_CLASS("reservationsPossibleOnlyInSecondClass"), @XmlEnumValue("reservationsPossibleForCertainClasses") RESERVATIONS_POSSIBLE_FOR_CERTAIN_CLASSES("reservationsPossibleForCertainClasses"), @XmlEnumValue("groupBookingRestricted") GROUP_BOOKING_RESTRICTED("groupBookingRestricted"), @XmlEnumValue("noGroupsAllowed") NO_GROUPS_ALLOWED("noGroupsAllowed"), @XmlEnumValue("noReservationsPossible") NO_RESERVATIONS_POSSIBLE("noReservationsPossible"), @XmlEnumValue("wheelchairOnlyReservations") WHEELCHAIR_ONLY_RESERVATIONS("wheelchairOnlyReservations"), @XmlEnumValue("bicycleReservationsCompulsory") BICYCLE_RESERVATIONS_COMPULSORY("bicycleReservationsCompulsory"), @XmlEnumValue("reservationsSupplementCharged") RESERVATIONS_SUPPLEMENT_CHARGED("reservationsSupplementCharged"), @XmlEnumValue("unknown") UNKNOWN("unknown"); private final String value; ReservationEnumeration(String v) { value = v; } public String value() { return value; } public static ReservationEnumeration fromValue(String v) { for (ReservationEnumeration c: ReservationEnumeration.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy