
package com.ejie.ab61.clientesWS.X43Procedimientos;

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


/**
 * <p>Java class for TOrganismCatalog complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="TOrganismCatalog">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}organismID" minOccurs="0"/>
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}organismName" minOccurs="0"/>
 *         &lt;element name="departmentList" type="{com/ejie/x43s/v2/fcp/xml}TDepartmentCatalog" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </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)
    protected String organismID;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml")
    protected TTextI18N organismName;
    protected List<TDepartmentCatalog> departmentList;

    /**
     * Gets the value of the organismID property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrganismID() {
        return organismID;
    }

    /**
     * Sets the value of the organismID property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrganismID(String value) {
        this.organismID = value;
    }

    /**
     * Gets the value of the organismName property.
     * 
     * @return
     *     possible object is
     *     {@link TTextI18N }
     *     
     */
    public TTextI18N getOrganismName() {
        return organismName;
    }

    /**
     * Sets the value of the organismName property.
     * 
     * @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;
    }

}
