
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 TDepartmentCatalog complex type.
 * 
 * <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
 * 
 * <pre>
 * &lt;complexType name="TDepartmentCatalog"&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}departmentID" minOccurs="0"/&gt;
 *         &lt;element ref="{com/ejie/x43s/v2/ttn/xml}departmentName" minOccurs="0"/&gt;
 *         &lt;element name="managingUnitList" type="{com/ejie/x43s/v2/fcp/xml}TManagingUnitCatalog" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TDepartmentCatalog", propOrder = {
    "departmentID",
    "departmentName",
    "managingUnitList"
})
public class TDepartmentCatalog {

    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String departmentID;
    @XmlElement(namespace = "com/ejie/x43s/v2/ttn/xml")
    protected TTextI18N departmentName;
    protected List<TManagingUnitCatalog> managingUnitList;

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

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

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

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

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

}
