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


/**
 * A data type for a person involved in a judicial area of government.
 * 
 * <p>Java class for JudicialOfficialType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="JudicialOfficialType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://niem.gov/niem/domains/jxdm/4.0}JudicialOfficialType">
 *       &lt;sequence>
 *         &lt;element ref="{http://www.ncsconline.org/reference/ArrestWarrantExtension/2.0}AuthorizationBinary" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://www.ncsconline.org/reference/ArrestWarrantExtension/2.0}PersonAuthorizationBlockText" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "JudicialOfficialType", propOrder = {
    "authorizationBinary",
    "personAuthorizationBlockText"
})
public class JudicialOfficialType
    extends gov.niem.niem.domains.jxdm._4.JudicialOfficialType
{

    @XmlElement(name = "AuthorizationBinary")
    protected List<BinaryType> authorizationBinary;
    @XmlElement(name = "PersonAuthorizationBlockText")
    protected List<TextType> personAuthorizationBlockText;

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

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

}
