
package com.amadeus.travelManagement.amadeus.xml._2010._06.travel_offerpricerq_v1;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * Flight preferences including aircraft features, Cabin Type, RBD, and Tail Number.
 * 
 * &lt;p&gt;Java class for FlightCriteriaType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="FlightCriteriaType"&amp;gt;
 *   &amp;lt;complexContent&amp;gt;
 *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
 *       &amp;lt;sequence&amp;gt;
 *         &amp;lt;element name="Aircraft" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}AircraftType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="Cabin" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}CabinTypeType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="FlightCharacteristicsCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}FlightCharacteristicsCriteriaType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="IATA_Aircraft" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}IATA_AircraftTypeType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="RBD" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}RBD_Type" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="WaitListCriteria" type="{http://xml.amadeus.com/2010/06/Travel_OfferPriceRQ_v1}PrefLevelType" minOccurs="0"/&amp;gt;
 *       &amp;lt;/sequence&amp;gt;
 *     &amp;lt;/restriction&amp;gt;
 *   &amp;lt;/complexContent&amp;gt;
 * &amp;lt;/complexType&amp;gt;
 * &lt;/pre&gt;
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FlightCriteriaType", propOrder = {
    "aircraft",
    "cabin",
    "flightCharacteristicsCriteria",
    "iataAircraft",
    "rbd",
    "waitListCriteria"
})
public class FlightCriteriaType {

    @XmlElement(name = "Aircraft")
    protected List<AircraftType> aircraft;
    @XmlElement(name = "Cabin")
    protected List<CabinTypeType> cabin;
    @XmlElement(name = "FlightCharacteristicsCriteria")
    protected List<FlightCharacteristicsCriteriaType> flightCharacteristicsCriteria;
    @XmlElement(name = "IATA_Aircraft")
    protected List<IATAAircraftTypeType> iataAircraft;
    @XmlElement(name = "RBD")
    protected List<RBDType> rbd;
    @XmlElement(name = "WaitListCriteria")
    protected PrefLevelType waitListCriteria;

    /**
     * Gets the value of the aircraft property.
     * 
     * &lt;p&gt;
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the aircraft property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getAircraft().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link AircraftType }
     * 
     * 
     */
    public List<AircraftType> getAircraft() {
        if (aircraft == null) {
            aircraft = new ArrayList<AircraftType>();
        }
        return this.aircraft;
    }

    /**
     * Gets the value of the cabin property.
     * 
     * &lt;p&gt;
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the cabin property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getCabin().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link CabinTypeType }
     * 
     * 
     */
    public List<CabinTypeType> getCabin() {
        if (cabin == null) {
            cabin = new ArrayList<CabinTypeType>();
        }
        return this.cabin;
    }

    /**
     * Gets the value of the flightCharacteristicsCriteria property.
     * 
     * &lt;p&gt;
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the flightCharacteristicsCriteria property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getFlightCharacteristicsCriteria().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link FlightCharacteristicsCriteriaType }
     * 
     * 
     */
    public List<FlightCharacteristicsCriteriaType> getFlightCharacteristicsCriteria() {
        if (flightCharacteristicsCriteria == null) {
            flightCharacteristicsCriteria = new ArrayList<FlightCharacteristicsCriteriaType>();
        }
        return this.flightCharacteristicsCriteria;
    }

    /**
     * Gets the value of the iataAircraft property.
     * 
     * &lt;p&gt;
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the iataAircraft property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getIATAAircraft().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link IATAAircraftTypeType }
     * 
     * 
     */
    public List<IATAAircraftTypeType> getIATAAircraft() {
        if (iataAircraft == null) {
            iataAircraft = new ArrayList<IATAAircraftTypeType>();
        }
        return this.iataAircraft;
    }

    /**
     * Gets the value of the rbd property.
     * 
     * &lt;p&gt;
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the rbd property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getRBD().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link RBDType }
     * 
     * 
     */
    public List<RBDType> getRBD() {
        if (rbd == null) {
            rbd = new ArrayList<RBDType>();
        }
        return this.rbd;
    }

    /**
     * Gets the value of the waitListCriteria property.
     * 
     * @return
     *     possible object is
     *     {@link PrefLevelType }
     *     
     */
    public PrefLevelType getWaitListCriteria() {
        return waitListCriteria;
    }

    /**
     * Sets the value of the waitListCriteria property.
     * 
     * @param value
     *     allowed object is
     *     {@link PrefLevelType }
     *     
     */
    public void setWaitListCriteria(PrefLevelType value) {
        this.waitListCriteria = value;
    }

}
