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

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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import gov.niem.niem.niem_core._2.IdentificationType;
import gov.niem.niem.structures._2.ComplexObjectType;
import gov.niem.niem.structures._2.ReferenceType;


/**
 * <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/structures/2.0}ComplexObjectType">
 *       &lt;sequence>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}RoleOfPersonReference" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/domains/jxdm/4.0}JudicialOfficialBarMembership" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/domains/jxdm/4.0}JudicialOfficialRegistrationIdentification" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "JudicialOfficialType", propOrder = {
    "roleOfPersonReference",
    "judicialOfficialBarMembership",
    "judicialOfficialRegistrationIdentification"
})
@XmlSeeAlso({
    org.ncsconline.reference.arrestwarrantextension._2.JudicialOfficialType.class
})
public class JudicialOfficialType
    extends ComplexObjectType
{

    @XmlElement(name = "RoleOfPersonReference", namespace = "http://niem.gov/niem/niem-core/2.0")
    protected List<ReferenceType> roleOfPersonReference;
    @XmlElement(name = "JudicialOfficialBarMembership", nillable = true)
    protected List<JudicialOfficialBarMembershipType> judicialOfficialBarMembership;
    @XmlElement(name = "JudicialOfficialRegistrationIdentification", nillable = true)
    protected List<IdentificationType> judicialOfficialRegistrationIdentification;

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

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

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

}
