
package gov.niem.niem.niem_core._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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import gov.niem.niem.domains.jxdm._4.CourtType;
import gov.niem.niem.structures._2.ComplexObjectType;


/**
 * <p>Java class for OrganizationType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="OrganizationType">
 *   &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}OrganizationBranchName" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}OrganizationIdentification" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}OrganizationLocalIdentification" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}OrganizationLocation" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}OrganizationName" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}OrganizationPrimaryContactInformation" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}OrganizationUnitName" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OrganizationType", propOrder = {
    "organizationBranchName",
    "organizationIdentification",
    "organizationLocalIdentification",
    "organizationLocation",
    "organizationName",
    "organizationPrimaryContactInformation",
    "organizationUnitName"
})
@XmlSeeAlso({
    org.ncsconline.reference.arrestwarrantextension._2.OrganizationType.class,
    CourtType.class
})
public class OrganizationType
    extends ComplexObjectType
{

    @XmlElement(name = "OrganizationBranchName", nillable = true)
    protected List<TextType> organizationBranchName;
    @XmlElement(name = "OrganizationIdentification", nillable = true)
    protected List<IdentificationType> organizationIdentification;
    @XmlElement(name = "OrganizationLocalIdentification", nillable = true)
    protected List<IdentificationType> organizationLocalIdentification;
    @XmlElement(name = "OrganizationLocation", nillable = true)
    protected List<LocationType> organizationLocation;
    @XmlElement(name = "OrganizationName", nillable = true)
    protected List<TextType> organizationName;
    @XmlElement(name = "OrganizationPrimaryContactInformation", nillable = true)
    protected List<ContactInformationType> organizationPrimaryContactInformation;
    @XmlElement(name = "OrganizationUnitName", nillable = true)
    protected List<TextType> organizationUnitName;

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

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

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

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

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

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

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

}
