it.bz.opendatahub.alpinebits.xml.schema.ota.AncillaryServiceFamilyEnum Maven / Gradle / Ivy
//
// 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 AncillaryServiceFamilyEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="AncillaryServiceFamilyEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="All"/>
* <enumeration value="A_FreeBaggageAllowance"/>
* <enumeration value="C_BaggageCharges"/>
* <enumeration value="F_FlightRelated"/>
* <enumeration value="T_TicketRelated"/>
* <enumeration value="M_MerchandiseRelated"/>
* <enumeration value="R_RuleBuster"/>
* <enumeration value="P_PrepaidBaggage"/>
* <enumeration value="E_Embargos"/>
* <enumeration value="GT_GroundTransportationNonAirServices"/>
* <enumeration value="IE_InFlightEntertainment"/>
* <enumeration value="LG_Lounge"/>
* <enumeration value="Other_"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "AncillaryServiceFamilyEnum")
@XmlEnum
public enum AncillaryServiceFamilyEnum {
/**
* All service family types.
*
*/
@XmlEnumValue("All")
ALL("All"),
/**
* Free Baggage Allowance
*
*/
@XmlEnumValue("A_FreeBaggageAllowance")
A_FREE_BAGGAGE_ALLOWANCE("A_FreeBaggageAllowance"),
/**
* Baggage Charges
*
*/
@XmlEnumValue("C_BaggageCharges")
C_BAGGAGE_CHARGES("C_BaggageCharges"),
/**
* Flight-Related.
*
*/
@XmlEnumValue("F_FlightRelated")
F_FLIGHT_RELATED("F_FlightRelated"),
/**
* Ticket-Related.
*
*/
@XmlEnumValue("T_TicketRelated")
T_TICKET_RELATED("T_TicketRelated"),
/**
* Merchandise-Related
*
*/
@XmlEnumValue("M_MerchandiseRelated")
M_MERCHANDISE_RELATED("M_MerchandiseRelated"),
/**
* Rule Buster (fare override)
*
*/
@XmlEnumValue("R_RuleBuster")
R_RULE_BUSTER("R_RuleBuster"),
/**
* Pre-paid Baggage
*
*/
@XmlEnumValue("P_PrepaidBaggage")
P_PREPAID_BAGGAGE("P_PrepaidBaggage"),
/**
* Embargos
*
*/
@XmlEnumValue("E_Embargos")
E_EMBARGOS("E_Embargos"),
@XmlEnumValue("GT_GroundTransportationNonAirServices")
GT_GROUND_TRANSPORTATION_NON_AIR_SERVICES("GT_GroundTransportationNonAirServices"),
@XmlEnumValue("IE_InFlightEntertainment")
IE_IN_FLIGHT_ENTERTAINMENT("IE_InFlightEntertainment"),
@XmlEnumValue("LG_Lounge")
LG_LOUNGE("LG_Lounge"),
/**
* OpenTravel Reserved words, "Other_" as enumerated value for open enumeration support to support additional compartment type. The Value corresponding to "Other_" will be specified in the "Value" attribute. See CompartmentType.
*
*/
@XmlEnumValue("Other_")
OTHER("Other_");
private final String value;
AncillaryServiceFamilyEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static AncillaryServiceFamilyEnum fromValue(String v) {
for (AncillaryServiceFamilyEnum c: AncillaryServiceFamilyEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}