
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.XmlType;
import gov.niem.niem.ansi_d20._2.CourtCategoryCodeType;
import gov.niem.niem.niem_core._2.OrganizationType;
import gov.niem.niem.niem_core._2.TextType;


/**
 * <p>Java class for CourtType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="CourtType">
 *   &lt;complexContent>
 *     &lt;extension base="{http://niem.gov/niem/niem-core/2.0}OrganizationType">
 *       &lt;sequence>
 *         &lt;element ref="{http://niem.gov/niem/domains/jxdm/4.0}CourtName" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/domains/jxdm/4.0}CourtDivisionText" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/domains/jxdm/4.0}CourtCategoryCode" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CourtType", propOrder = {
    "courtName",
    "courtDivisionText",
    "courtCategoryCode"
})
public class CourtType
    extends OrganizationType
{

    @XmlElement(name = "CourtName", nillable = true)
    protected List<TextType> courtName;
    @XmlElement(name = "CourtDivisionText", nillable = true)
    protected List<TextType> courtDivisionText;
    @XmlElement(name = "CourtCategoryCode", nillable = true)
    protected List<CourtCategoryCodeType> courtCategoryCode;

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

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

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

}
