
package org.ncsconline.reference.arrestwarrantextension._2;

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;
import gov.niem.niem.niem_core._2.IdentificationType;
import gov.niem.niem.niem_core._2.TextType;


/**
 * A data type for a law, rule, or ordinance within a jurisdiction.
 * 
 * <p>Java class for StatuteType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="StatuteType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://niem.gov/niem/domains/jxdm/4.0}StatuteType">
 *       &lt;sequence>
 *         &lt;element ref="{http://www.ncsconline.org/reference/ArrestWarrantExtension/2.0}StateStatuteMappingCodeText" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncsconline.org/reference/ArrestWarrantExtension/2.0}StatuteCodeOffenseIdentification" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StatuteType", propOrder = {
    "stateStatuteMappingCodeText",
    "statuteCodeOffenseIdentification"
})
public class StatuteType
    extends gov.niem.niem.domains.jxdm._4.StatuteType
{

    @XmlElement(name = "StateStatuteMappingCodeText")
    protected List<TextType> stateStatuteMappingCodeText;
    @XmlElement(name = "StatuteCodeOffenseIdentification")
    protected List<IdentificationType> statuteCodeOffenseIdentification;

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

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

}
