
package com.ejie.ad74a.ws.client.platea.procedimientos;

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * <p>Clase Java para TOrganismCatalog complex type.
 * 
 * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
 * 
 * <pre>
 * &lt;complexType name="TOrganismCatalog"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}organismID" minOccurs="0"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}organismName" minOccurs="0"/&gt;
 *         &lt;element name="departmentList" type="{com/ejie/x43s/v2/fcp/xml}TDepartmentCatalog" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TOrganismCatalog", propOrder = {
    "organismID",
    "organismName",
    "departmentList"
})
public class TOrganismCatalog {

    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String organismID;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml")
    protected TTextI18N organismName;
    protected List<TDepartmentCatalog> departmentList;

    /**
     * Obtiene el valor de la propiedad organismID.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrganismID() {
        return organismID;
    }

    /**
     * Define el valor de la propiedad organismID.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrganismID(String value) {
        this.organismID = value;
    }

    /**
     * Obtiene el valor de la propiedad organismName.
     * 
     * @return
     *     possible object is
     *     {@link TTextI18N }
     *     
     */
    public TTextI18N getOrganismName() {
        return organismName;
    }

    /**
     * Define el valor de la propiedad organismName.
     * 
     * @param value
     *     allowed object is
     *     {@link TTextI18N }
     *     
     */
    public void setOrganismName(TTextI18N value) {
        this.organismName = value;
    }

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

}
