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

gov.grants.apply.system.headerV10.impl.OpeningDateDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: OpeningDate
 * Namespace: http://apply.grants.gov/system/Header-V1.0
 * Java type: gov.grants.apply.system.headerV10.OpeningDateDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.system.headerV10.impl;
/**
 * A document containing one OpeningDate(@http://apply.grants.gov/system/Header-V1.0) element.
 *
 * This is a complex type.
 */
public class OpeningDateDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.headerV10.OpeningDateDocument
{
    private static final long serialVersionUID = 1L;
    
    public OpeningDateDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName OPENINGDATE$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/system/Header-V1.0", "OpeningDate");
    
    
    /**
     * Gets the "OpeningDate" element
     */
    public java.util.Calendar getOpeningDate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OPENINGDATE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getCalendarValue();
        }
    }
    
    /**
     * Gets (as xml) the "OpeningDate" element
     */
    public org.apache.xmlbeans.XmlDate xgetOpeningDate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDate target = null;
            target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(OPENINGDATE$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "OpeningDate" element
     */
    public void setOpeningDate(java.util.Calendar openingDate)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OPENINGDATE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OPENINGDATE$0);
            }
            target.setCalendarValue(openingDate);
        }
    }
    
    /**
     * Sets (as xml) the "OpeningDate" element
     */
    public void xsetOpeningDate(org.apache.xmlbeans.XmlDate openingDate)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDate target = null;
            target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(OPENINGDATE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(OPENINGDATE$0);
            }
            target.set(openingDate);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy