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

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.Duration;


/**
 * Customer's requested connection information.
 * 
 * &lt;p&gt;Java class for ConnectionCriteriaType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="ConnectionCriteriaType"&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="ConnectionCriteriaID" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}ID_Type"/&amp;gt;
 *         &amp;lt;element name="MaximumConnectionQty" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}QtyType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="MaximumConnectionDuration" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}DurationType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="MinimumConnectionDuration" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}DurationType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ConnectionPricingInd" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}IndType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="InterlineInd" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}IndType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="StationCriteria" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRQ_v1}StationCriteriaType" maxOccurs="unbounded"/&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 = "ConnectionCriteriaType", propOrder = {
    "connectionCriteriaID",
    "maximumConnectionQty",
    "maximumConnectionDuration",
    "minimumConnectionDuration",
    "connectionPricingInd",
    "interlineInd",
    "stationCriteria"
})
public class ConnectionCriteriaType {

    @XmlElement(name = "ConnectionCriteriaID", required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String connectionCriteriaID;
    @XmlElement(name = "MaximumConnectionQty")
    protected BigDecimal maximumConnectionQty;
    @XmlElement(name = "MaximumConnectionDuration")
    protected Duration maximumConnectionDuration;
    @XmlElement(name = "MinimumConnectionDuration")
    protected Duration minimumConnectionDuration;
    @XmlElement(name = "ConnectionPricingInd")
    protected Boolean connectionPricingInd;
    @XmlElement(name = "InterlineInd")
    protected Boolean interlineInd;
    @XmlElement(name = "StationCriteria", required = true)
    protected List<StationCriteriaType> stationCriteria;

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

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

    /**
     * Gets the value of the maximumConnectionQty property.
     * 
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *     
     */
    public BigDecimal getMaximumConnectionQty() {
        return maximumConnectionQty;
    }

    /**
     * Sets the value of the maximumConnectionQty property.
     * 
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *     
     */
    public void setMaximumConnectionQty(BigDecimal value) {
        this.maximumConnectionQty = value;
    }

    /**
     * Gets the value of the maximumConnectionDuration property.
     * 
     * @return
     *     possible object is
     *     {@link Duration }
     *     
     */
    public Duration getMaximumConnectionDuration() {
        return maximumConnectionDuration;
    }

    /**
     * Sets the value of the maximumConnectionDuration property.
     * 
     * @param value
     *     allowed object is
     *     {@link Duration }
     *     
     */
    public void setMaximumConnectionDuration(Duration value) {
        this.maximumConnectionDuration = value;
    }

    /**
     * Gets the value of the minimumConnectionDuration property.
     * 
     * @return
     *     possible object is
     *     {@link Duration }
     *     
     */
    public Duration getMinimumConnectionDuration() {
        return minimumConnectionDuration;
    }

    /**
     * Sets the value of the minimumConnectionDuration property.
     * 
     * @param value
     *     allowed object is
     *     {@link Duration }
     *     
     */
    public void setMinimumConnectionDuration(Duration value) {
        this.minimumConnectionDuration = value;
    }

    /**
     * Gets the value of the connectionPricingInd property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isConnectionPricingInd() {
        return connectionPricingInd;
    }

    /**
     * Sets the value of the connectionPricingInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setConnectionPricingInd(Boolean value) {
        this.connectionPricingInd = value;
    }

    /**
     * Gets the value of the interlineInd property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isInterlineInd() {
        return interlineInd;
    }

    /**
     * Sets the value of the interlineInd property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setInterlineInd(Boolean value) {
        this.interlineInd = value;
    }

    /**
     * Gets the value of the stationCriteria property.
     * 
     * &lt;p&gt;
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the stationCriteria property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getStationCriteria().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link StationCriteriaType }
     * 
     * 
     */
    public List<StationCriteriaType> getStationCriteria() {
        if (stationCriteria == null) {
            stationCriteria = new ArrayList<StationCriteriaType>();
        }
        return this.stationCriteria;
    }

}
