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


/**
 * A data type for a paper or electronic document.
 * 
 * <p>Java class for DocumentType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="DocumentType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://niem.gov/niem/niem-core/2.0}DocumentType">
 *       &lt;sequence>
 *         &lt;element ref="{http://niem.gov/niem/domains/jxdm/4.0}ActivityDocumentValidator" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DocumentType", propOrder = {
    "activityDocumentValidator"
})
public class DocumentType
    extends gov.niem.niem.niem_core._2.DocumentType
{

    @XmlElement(name = "ActivityDocumentValidator", namespace = "http://niem.gov/niem/domains/jxdm/4.0", nillable = true)
    protected List<EntityType> activityDocumentValidator;

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

}
