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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * <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;/sequence>
 *       &lt;attribute name="cost" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "items" })
@XmlRootElement(name = "detail")
public class Detail {

	@XmlElement(required = true)
	protected ItemSet items;
	@XmlAttribute(required = true)
	protected double cost;

	/**
	 * 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 cost property.
	 */
	public double getCost() {
		return cost;
	}

	/**
	 * Sets the value of the cost property.
	 */
	public void setCost(double value) {
		this.cost = value;
	}

}
