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.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;

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

	@XmlElement(required = true)
	protected ItemSet items;
	@XmlElement(required = true)
	@XmlSchemaType(name = "dateTime")
	protected XMLGregorianCalendar date;

	/**
	 * Gets the value of the items property.
	 * 
	 * @return possible object is {@link ItemSet }
	 */
	public ItemSet getItems() {
		return items;
	}

	/**
	 * Sets the value of the items property.
	 * 
	 * @param value allowed object is {@link ItemSet }
	 */
	public void setItems(ItemSet value) {
		this.items = value;
	}

	/**
	 * Gets the value of the date property.
	 * 
	 * @return possible object is {@link XMLGregorianCalendar }
	 */
	public XMLGregorianCalendar getDate() {
		return date;
	}

	/**
	 * Sets the value of the date property.
	 * 
	 * @param value allowed object is {@link XMLGregorianCalendar }
	 */
	public void setDate(XMLGregorianCalendar value) {
		this.date = value;
	}

}
