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

gov.grants.apply.system.globalLibraryV10.impl.ApplicantIDDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: ApplicantID
 * Namespace: http://apply.grants.gov/system/GlobalLibrary-V1.0
 * Java type: gov.grants.apply.system.globalLibraryV10.ApplicantIDDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.system.globalLibraryV10.impl;
/**
 * A document containing one ApplicantID(@http://apply.grants.gov/system/GlobalLibrary-V1.0) element.
 *
 * This is a complex type.
 */
public class ApplicantIDDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.globalLibraryV10.ApplicantIDDocument
{
    private static final long serialVersionUID = 1L;
    
    public ApplicantIDDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName APPLICANTID$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/system/GlobalLibrary-V1.0", "ApplicantID");
    
    
    /**
     * Gets the "ApplicantID" element
     */
    public java.lang.String getApplicantID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPLICANTID$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ApplicantID" element
     */
    public gov.grants.apply.system.globalV10.StringMin1Max30Type xgetApplicantID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.system.globalV10.StringMin1Max30Type target = null;
            target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().find_element_user(APPLICANTID$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "ApplicantID" element
     */
    public void setApplicantID(java.lang.String applicantID)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPLICANTID$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(APPLICANTID$0);
            }
            target.setStringValue(applicantID);
        }
    }
    
    /**
     * Sets (as xml) the "ApplicantID" element
     */
    public void xsetApplicantID(gov.grants.apply.system.globalV10.StringMin1Max30Type applicantID)
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.system.globalV10.StringMin1Max30Type target = null;
            target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().find_element_user(APPLICANTID$0, 0);
            if (target == null)
            {
                target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().add_element_user(APPLICANTID$0);
            }
            target.set(applicantID);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy