All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.grants.apply.forms.sf424V10.impl.ProposedStartDateDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: ProposedStartDate
 * Namespace: http://apply.grants.gov/forms/SF424-V1.0
 * Java type: gov.grants.apply.forms.sf424V10.ProposedStartDateDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.forms.sf424V10.impl;
/**
 * A document containing one ProposedStartDate(@http://apply.grants.gov/forms/SF424-V1.0) element.
 *
 * This is a complex type.
 */
public class ProposedStartDateDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.ProposedStartDateDocument
{
    private static final long serialVersionUID = 1L;
    
    public ProposedStartDateDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PROPOSEDSTARTDATE$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "ProposedStartDate");
    
    
    /**
     * Gets the "ProposedStartDate" element
     */
    public java.util.Calendar getProposedStartDate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPOSEDSTARTDATE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getCalendarValue();
        }
    }
    
    /**
     * Gets (as xml) the "ProposedStartDate" element
     */
    public org.apache.xmlbeans.XmlDate xgetProposedStartDate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDate target = null;
            target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(PROPOSEDSTARTDATE$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "ProposedStartDate" element
     */
    public void setProposedStartDate(java.util.Calendar proposedStartDate)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPOSEDSTARTDATE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPOSEDSTARTDATE$0);
            }
            target.setCalendarValue(proposedStartDate);
        }
    }
    
    /**
     * Sets (as xml) the "ProposedStartDate" element
     */
    public void xsetProposedStartDate(org.apache.xmlbeans.XmlDate proposedStartDate)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDate target = null;
            target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(PROPOSEDSTARTDATE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(PROPOSEDSTARTDATE$0);
            }
            target.set(proposedStartDate);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy