
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.XmlType;
import gov.niem.niem.structures._2.ComplexObjectType;


/**
 * <p>Java class for ObligationType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="ObligationType">
 *   &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}ObligationDueDate" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}ObligationRequirementDescriptionText" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://niem.gov/niem/niem-core/2.0}ObligationCategoryText" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ObligationType", propOrder = {
    "obligationDueDate",
    "obligationRequirementDescriptionText",
    "obligationCategoryText"
})
public class ObligationType
    extends ComplexObjectType
{

    @XmlElement(name = "ObligationDueDate", nillable = true)
    protected List<DateType> obligationDueDate;
    @XmlElement(name = "ObligationRequirementDescriptionText", nillable = true)
    protected List<TextType> obligationRequirementDescriptionText;
    @XmlElement(name = "ObligationCategoryText", nillable = true)
    protected List<TextType> obligationCategoryText;

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

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

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

}
