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

it.bz.opendatahub.alpinebits.xml.schema.ota.AccommodationClassEnum Maven / Gradle / Ivy

There is a newer version: 3.0.0
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: 2020.10.22 at 07:23:30 PM GMT 
//


package it.bz.opendatahub.alpinebits.xml.schema.ota;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for AccommodationClassEnum. * *

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

*

 * <simpleType name="AccommodationClassEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="FirstClass"/>
 *     <enumeration value="SecondClass"/>
 *     <enumeration value="Premium"/>
 *     <enumeration value="Business"/>
 *     <enumeration value="Leisure"/>
 *     <enumeration value="Coach"/>
 *     <enumeration value="Deluxe"/>
 *     <enumeration value="GranClasse"/>
 *     <enumeration value="SoftClass"/>
 *     <enumeration value="HardClass"/>
 *     <enumeration value="SpecialClass"/>
 *     <enumeration value="HighGradeSoftClass"/>
 *     <enumeration value="MixedHardClass"/>
 *     <enumeration value="MixedSoftClass"/>
 *     <enumeration value="SoftCompartmentClass"/>
 *     <enumeration value="HardCompartmentClass"/>
 *     <enumeration value="Other_"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "AccommodationClassEnum") @XmlEnum public enum AccommodationClassEnum { @XmlEnumValue("FirstClass") FIRST_CLASS("FirstClass"), @XmlEnumValue("SecondClass") SECOND_CLASS("SecondClass"), @XmlEnumValue("Premium") PREMIUM("Premium"), @XmlEnumValue("Business") BUSINESS("Business"), @XmlEnumValue("Leisure") LEISURE("Leisure"), @XmlEnumValue("Coach") COACH("Coach"), @XmlEnumValue("Deluxe") DELUXE("Deluxe"), @XmlEnumValue("GranClasse") GRAN_CLASSE("GranClasse"), @XmlEnumValue("SoftClass") SOFT_CLASS("SoftClass"), @XmlEnumValue("HardClass") HARD_CLASS("HardClass"), @XmlEnumValue("SpecialClass") SPECIAL_CLASS("SpecialClass"), @XmlEnumValue("HighGradeSoftClass") HIGH_GRADE_SOFT_CLASS("HighGradeSoftClass"), @XmlEnumValue("MixedHardClass") MIXED_HARD_CLASS("MixedHardClass"), @XmlEnumValue("MixedSoftClass") MIXED_SOFT_CLASS("MixedSoftClass"), @XmlEnumValue("SoftCompartmentClass") SOFT_COMPARTMENT_CLASS("SoftCompartmentClass"), @XmlEnumValue("HardCompartmentClass") HARD_COMPARTMENT_CLASS("HardCompartmentClass"), /** * OpenTravel Reserved words, "Other_" as enumerated value for open enumeration support. See AccommodationClass. * */ @XmlEnumValue("Other_") OTHER("Other_"); private final String value; AccommodationClassEnum(String v) { value = v; } public String value() { return value; } public static AccommodationClassEnum fromValue(String v) { for (AccommodationClassEnum c: AccommodationClassEnum.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy