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

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * Filters results based on Origin Destination.
 * 
 * &lt;p&gt;Java class for OriginDestFilterCriteriaType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="OriginDestFilterCriteriaType"&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="Arrival" type="{http://xml.amadeus.com/2010/06/Travel_OrderRetrieveRQ_v1}ArrivalFilterCriteriaType"/&amp;gt;
 *         &amp;lt;element name="Departure" type="{http://xml.amadeus.com/2010/06/Travel_OrderRetrieveRQ_v1}DepFilterCriteriaType"/&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 = "OriginDestFilterCriteriaType", propOrder = {
    "arrival",
    "departure"
})
public class OriginDestFilterCriteriaType {

    @XmlElement(name = "Arrival", required = true)
    protected ArrivalFilterCriteriaType arrival;
    @XmlElement(name = "Departure", required = true)
    protected DepFilterCriteriaType departure;

    /**
     * Gets the value of the arrival property.
     * 
     * @return
     *     possible object is
     *     {@link ArrivalFilterCriteriaType }
     *     
     */
    public ArrivalFilterCriteriaType getArrival() {
        return arrival;
    }

    /**
     * Sets the value of the arrival property.
     * 
     * @param value
     *     allowed object is
     *     {@link ArrivalFilterCriteriaType }
     *     
     */
    public void setArrival(ArrivalFilterCriteriaType value) {
        this.arrival = value;
    }

    /**
     * Gets the value of the departure property.
     * 
     * @return
     *     possible object is
     *     {@link DepFilterCriteriaType }
     *     
     */
    public DepFilterCriteriaType getDeparture() {
        return departure;
    }

    /**
     * Sets the value of the departure property.
     * 
     * @param value
     *     allowed object is
     *     {@link DepFilterCriteriaType }
     *     
     */
    public void setDeparture(DepFilterCriteriaType value) {
        this.departure = value;
    }

}
