package org.jboss.soa.bpel.tests.samples.travel;

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

/**
 * <p>
 * Java class for ItemSet complex type.
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="ItemSet">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="flight" type="{http://jbpm.org/examples/trip}Flight"/>
 *         &lt;element name="hotel" type="{http://jbpm.org/examples/trip}Hotel"/>
 *         &lt;element name="rentalCar" type="{http://jbpm.org/examples/trip}RentalCar"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ItemSet", propOrder = { "flight", "hotel", "rentalCar" })
public class ItemSet {

	@XmlElement(required = true, nillable = true)
	protected Flight flight;
	@XmlElement(required = true, nillable = true)
	protected Hotel hotel;
	@XmlElement(required = true, nillable = true)
	protected RentalCar rentalCar;

	/**
	 * Gets the value of the flight property.
	 * 
	 * @return possible object is {@link Flight }
	 */
	public Flight getFlight() {
		return flight;
	}

	/**
	 * Sets the value of the flight property.
	 * 
	 * @param value allowed object is {@link Flight }
	 */
	public void setFlight(Flight value) {
		this.flight = value;
	}

	/**
	 * Gets the value of the hotel property.
	 * 
	 * @return possible object is {@link Hotel }
	 */
	public Hotel getHotel() {
		return hotel;
	}

	/**
	 * Sets the value of the hotel property.
	 * 
	 * @param value allowed object is {@link Hotel }
	 */
	public void setHotel(Hotel value) {
		this.hotel = value;
	}

	/**
	 * Gets the value of the rentalCar property.
	 * 
	 * @return possible object is {@link RentalCar }
	 */
	public RentalCar getRentalCar() {
		return rentalCar;
	}

	/**
	 * Sets the value of the rentalCar property.
	 * 
	 * @param value allowed object is {@link RentalCar }
	 */
	public void setRentalCar(RentalCar value) {
		this.rentalCar = value;
	}

}
