
package gov.niem.niem.domains.jxdm._4;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
import gov.niem.niem.fbi._2.EXLCodeType;
import gov.niem.niem.niem_core._2.TextType;


/**
 * <p>Java class for WarrantType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="WarrantType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://niem.gov/niem/domains/jxdm/4.0}CourtOrderType">
 *       &lt;sequence>
 *         &lt;element ref="{http://niem.gov/niem/domains/jxdm/4.0}WarrantAppearanceBail" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/domains/jxdm/4.0}WarrantExtraditionLimitation" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "WarrantType", propOrder = {
    "warrantAppearanceBail",
    "warrantExtraditionLimitation"
})
public class WarrantType
    extends CourtOrderType
{

    @XmlElement(name = "WarrantAppearanceBail", nillable = true)
    protected List<BailType> warrantAppearanceBail;
    @XmlElementRef(name = "WarrantExtraditionLimitation", namespace = "http://niem.gov/niem/domains/jxdm/4.0", type = JAXBElement.class, required = false)
    protected List<JAXBElement<?>> warrantExtraditionLimitation;

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

    /**
     * Gets the value of the warrantExtraditionLimitation property.
     * 
     * <p>
     * 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 <CODE>set</CODE> method for the warrantExtraditionLimitation property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getWarrantExtraditionLimitation().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link JAXBElement }{@code <}{@link TextType }{@code >}
     * {@link JAXBElement }{@code <}{@link Object }{@code >}
     * {@link JAXBElement }{@code <}{@link EXLCodeType }{@code >}
     * 
     * 
     */
    public List<JAXBElement<?>> getWarrantExtraditionLimitation() {
        if (warrantExtraditionLimitation == null) {
            warrantExtraditionLimitation = new ArrayList<JAXBElement<?>>();
        }
        return this.warrantExtraditionLimitation;
    }

}
