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.XmlType;

/**
 * <p>
 * Java class for Flight complex type.
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="Flight">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;attribute name="airline" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Flight")
public class Flight {

	@XmlAttribute(required = true)
	protected String airline;
	@XmlAttribute(required = true)
	protected int number;

	/**
	 * Gets the value of the airline property.
	 * 
	 * @return possible object is {@link String }
	 */
	public String getAirline() {
		return airline;
	}

	/**
	 * Sets the value of the airline property.
	 * 
	 * @param value allowed object is {@link String }
	 */
	public void setAirline(String value) {
		this.airline = value;
	}

	/**
	 * Gets the value of the number property.
	 */
	public int getNumber() {
		return number;
	}

	/**
	 * Sets the value of the number property.
	 */
	public void setNumber(int value) {
		this.number = value;
	}

}
