
package com.amadeus.travelManagement.amadeus.xml._2010._06.travel_servicelistrs_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.XmlType;


/**
 * Defines the maximum number of each allowable baggage type.
 * 
 * &lt;p&gt;Java class for PieceAllowanceType complex type.
 * 
 * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
 * 
 * &lt;pre&gt;
 * &amp;lt;complexType name="PieceAllowanceType"&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="ApplicablePartyText" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRS_v1}TextType"/&amp;gt;
 *         &amp;lt;element name="TotalQty" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRS_v1}QtyType"/&amp;gt;
 *         &amp;lt;element name="TypeText" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRS_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="ApplicableBagText" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRS_v1}TextType" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="Desc" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="99" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PieceDimensionAllowance" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRS_v1}DimensionAllowanceType" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
 *         &amp;lt;element name="PieceWeightAllowance" type="{http://xml.amadeus.com/2010/06/Travel_ServiceListRS_v1}WeightAllowanceType" maxOccurs="unbounded" minOccurs="0"/&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 = "PieceAllowanceType", propOrder = {
    "applicablePartyText",
    "totalQty",
    "typeText",
    "applicableBagText",
    "desc",
    "pieceDimensionAllowance",
    "pieceWeightAllowance"
})
public class PieceAllowanceType {

    @XmlElement(name = "ApplicablePartyText", required = true)
    protected String applicablePartyText;
    @XmlElement(name = "TotalQty", required = true)
    protected BigDecimal totalQty;
    @XmlElement(name = "TypeText")
    protected String typeText;
    @XmlElement(name = "ApplicableBagText")
    protected String applicableBagText;
    @XmlElement(name = "Desc")
    protected List<String> desc;
    @XmlElement(name = "PieceDimensionAllowance")
    protected List<DimensionAllowanceType> pieceDimensionAllowance;
    @XmlElement(name = "PieceWeightAllowance")
    protected List<WeightAllowanceType> pieceWeightAllowance;

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

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

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

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

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

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

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

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

    /**
     * Gets the value of the desc 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 desc property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getDesc().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getDesc() {
        if (desc == null) {
            desc = new ArrayList<String>();
        }
        return this.desc;
    }

    /**
     * Gets the value of the pieceDimensionAllowance 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 pieceDimensionAllowance property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getPieceDimensionAllowance().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link DimensionAllowanceType }
     * 
     * 
     */
    public List<DimensionAllowanceType> getPieceDimensionAllowance() {
        if (pieceDimensionAllowance == null) {
            pieceDimensionAllowance = new ArrayList<DimensionAllowanceType>();
        }
        return this.pieceDimensionAllowance;
    }

    /**
     * Gets the value of the pieceWeightAllowance 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 pieceWeightAllowance property.
     * 
     * &lt;p&gt;
     * For example, to add a new item, do as follows:
     * &lt;pre&gt;
     *    getPieceWeightAllowance().add(newItem);
     * &lt;/pre&gt;
     * 
     * 
     * &lt;p&gt;
     * Objects of the following type(s) are allowed in the list
     * {@link WeightAllowanceType }
     * 
     * 
     */
    public List<WeightAllowanceType> getPieceWeightAllowance() {
        if (pieceWeightAllowance == null) {
            pieceWeightAllowance = new ArrayList<WeightAllowanceType>();
        }
        return this.pieceWeightAllowance;
    }

}
