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

gov.grants.apply.forms.ad3030FSV10.impl.AD3030FSDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: AD_3030_FS
 * Namespace: http://apply.grants.gov/forms/AD_3030_FS-V1.0
 * Java type: gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.forms.ad3030FSV10.impl;
/**
 * A document containing one AD_3030_FS(@http://apply.grants.gov/forms/AD_3030_FS-V1.0) element.
 *
 * This is a complex type.
 */
public class AD3030FSDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument
{
    private static final long serialVersionUID = 1L;
    
    public AD3030FSDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName AD3030FS$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "AD_3030_FS");
    
    
    /**
     * Gets the "AD_3030_FS" element
     */
    public gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS getAD3030FS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS target = null;
            target = (gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS)get_store().find_element_user(AD3030FS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AD_3030_FS" element
     */
    public void setAD3030FS(gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS ad3030FS)
    {
        generatedSetterHelperImpl(ad3030FS, AD3030FS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "AD_3030_FS" element
     */
    public gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS addNewAD3030FS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS target = null;
            target = (gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS)get_store().add_element_user(AD3030FS$0);
            return target;
        }
    }
    /**
     * An XML AD_3030_FS(@http://apply.grants.gov/forms/AD_3030_FS-V1.0).
     *
     * This is a complex type.
     */
    public static class AD3030FSImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS
    {
        private static final long serialVersionUID = 1L;
        
        public AD3030FSImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName APPLICANTNAME$0 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "ApplicantName");
        private static final javax.xml.namespace.QName APPLICANTADDRESS$2 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "ApplicantAddress");
        private static final javax.xml.namespace.QName TAXIDNUMBER$4 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "TaxIDNumber");
        private static final javax.xml.namespace.QName APPLICANTFELONY$6 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "ApplicantFelony");
        private static final javax.xml.namespace.QName OFFICERAGENTFELONY$8 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "OfficerAgentFelony");
        private static final javax.xml.namespace.QName UNPAIDFEDERALTAX$10 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "UnpaidFederalTax");
        private static final javax.xml.namespace.QName AORSIGNATURE$12 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "AORSignature");
        private static final javax.xml.namespace.QName TITLE$14 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "Title");
        private static final javax.xml.namespace.QName DATESIGNED$16 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "DateSigned");
        private static final javax.xml.namespace.QName FORMVERSION$18 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "FormVersion");
        
        
        /**
         * Gets the "ApplicantName" element
         */
        public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getApplicantName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().find_element_user(APPLICANTNAME$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "ApplicantName" element
         */
        public void setApplicantName(gov.grants.apply.system.globalLibraryV20.HumanNameDataType applicantName)
        {
            generatedSetterHelperImpl(applicantName, APPLICANTNAME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "ApplicantName" element
         */
        public gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewApplicantName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().add_element_user(APPLICANTNAME$0);
                return target;
            }
        }
        
        /**
         * Gets the "ApplicantAddress" element
         */
        public gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS.ApplicantAddress getApplicantAddress()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS.ApplicantAddress target = null;
                target = (gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS.ApplicantAddress)get_store().find_element_user(APPLICANTADDRESS$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "ApplicantAddress" element
         */
        public void setApplicantAddress(gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS.ApplicantAddress applicantAddress)
        {
            generatedSetterHelperImpl(applicantAddress, APPLICANTADDRESS$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "ApplicantAddress" element
         */
        public gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS.ApplicantAddress addNewApplicantAddress()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS.ApplicantAddress target = null;
                target = (gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS.ApplicantAddress)get_store().add_element_user(APPLICANTADDRESS$2);
                return target;
            }
        }
        
        /**
         * Gets the "TaxIDNumber" element
         */
        public java.lang.String getTaxIDNumber()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TAXIDNUMBER$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "TaxIDNumber" element
         */
        public gov.grants.apply.forms.ad3030FSV10.AD3030FSString4DataType xgetTaxIDNumber()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.ad3030FSV10.AD3030FSString4DataType target = null;
                target = (gov.grants.apply.forms.ad3030FSV10.AD3030FSString4DataType)get_store().find_element_user(TAXIDNUMBER$4, 0);
                return target;
            }
        }
        
        /**
         * Sets the "TaxIDNumber" element
         */
        public void setTaxIDNumber(java.lang.String taxIDNumber)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TAXIDNUMBER$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TAXIDNUMBER$4);
                }
                target.setStringValue(taxIDNumber);
            }
        }
        
        /**
         * Sets (as xml) the "TaxIDNumber" element
         */
        public void xsetTaxIDNumber(gov.grants.apply.forms.ad3030FSV10.AD3030FSString4DataType taxIDNumber)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.ad3030FSV10.AD3030FSString4DataType target = null;
                target = (gov.grants.apply.forms.ad3030FSV10.AD3030FSString4DataType)get_store().find_element_user(TAXIDNUMBER$4, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.forms.ad3030FSV10.AD3030FSString4DataType)get_store().add_element_user(TAXIDNUMBER$4);
                }
                target.set(taxIDNumber);
            }
        }
        
        /**
         * Gets the "ApplicantFelony" element
         */
        public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getApplicantFelony()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPLICANTFELONY$6, 0);
                if (target == null)
                {
                    return null;
                }
                return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "ApplicantFelony" element
         */
        public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetApplicantFelony()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(APPLICANTFELONY$6, 0);
                return target;
            }
        }
        
        /**
         * Sets the "ApplicantFelony" element
         */
        public void setApplicantFelony(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum applicantFelony)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPLICANTFELONY$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(APPLICANTFELONY$6);
                }
                target.setEnumValue(applicantFelony);
            }
        }
        
        /**
         * Sets (as xml) the "ApplicantFelony" element
         */
        public void xsetApplicantFelony(gov.grants.apply.system.globalLibraryV20.YesNoDataType applicantFelony)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(APPLICANTFELONY$6, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(APPLICANTFELONY$6);
                }
                target.set(applicantFelony);
            }
        }
        
        /**
         * Gets the "OfficerAgentFelony" element
         */
        public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getOfficerAgentFelony()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OFFICERAGENTFELONY$8, 0);
                if (target == null)
                {
                    return null;
                }
                return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "OfficerAgentFelony" element
         */
        public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetOfficerAgentFelony()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(OFFICERAGENTFELONY$8, 0);
                return target;
            }
        }
        
        /**
         * Sets the "OfficerAgentFelony" element
         */
        public void setOfficerAgentFelony(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum officerAgentFelony)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OFFICERAGENTFELONY$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OFFICERAGENTFELONY$8);
                }
                target.setEnumValue(officerAgentFelony);
            }
        }
        
        /**
         * Sets (as xml) the "OfficerAgentFelony" element
         */
        public void xsetOfficerAgentFelony(gov.grants.apply.system.globalLibraryV20.YesNoDataType officerAgentFelony)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(OFFICERAGENTFELONY$8, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(OFFICERAGENTFELONY$8);
                }
                target.set(officerAgentFelony);
            }
        }
        
        /**
         * Gets the "UnpaidFederalTax" element
         */
        public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getUnpaidFederalTax()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UNPAIDFEDERALTAX$10, 0);
                if (target == null)
                {
                    return null;
                }
                return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "UnpaidFederalTax" element
         */
        public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetUnpaidFederalTax()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(UNPAIDFEDERALTAX$10, 0);
                return target;
            }
        }
        
        /**
         * Sets the "UnpaidFederalTax" element
         */
        public void setUnpaidFederalTax(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum unpaidFederalTax)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UNPAIDFEDERALTAX$10, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(UNPAIDFEDERALTAX$10);
                }
                target.setEnumValue(unpaidFederalTax);
            }
        }
        
        /**
         * Sets (as xml) the "UnpaidFederalTax" element
         */
        public void xsetUnpaidFederalTax(gov.grants.apply.system.globalLibraryV20.YesNoDataType unpaidFederalTax)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(UNPAIDFEDERALTAX$10, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(UNPAIDFEDERALTAX$10);
                }
                target.set(unpaidFederalTax);
            }
        }
        
        /**
         * Gets the "AORSignature" element
         */
        public java.lang.String getAORSignature()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AORSIGNATURE$12, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "AORSignature" element
         */
        public gov.grants.apply.system.globalLibraryV20.SignatureDataType xgetAORSignature()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.SignatureDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().find_element_user(AORSIGNATURE$12, 0);
                return target;
            }
        }
        
        /**
         * Sets the "AORSignature" element
         */
        public void setAORSignature(java.lang.String aorSignature)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AORSIGNATURE$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AORSIGNATURE$12);
                }
                target.setStringValue(aorSignature);
            }
        }
        
        /**
         * Sets (as xml) the "AORSignature" element
         */
        public void xsetAORSignature(gov.grants.apply.system.globalLibraryV20.SignatureDataType aorSignature)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.SignatureDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().find_element_user(AORSIGNATURE$12, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().add_element_user(AORSIGNATURE$12);
                }
                target.set(aorSignature);
            }
        }
        
        /**
         * Gets the "Title" element
         */
        public java.lang.String getTitle()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TITLE$14, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "Title" element
         */
        public gov.grants.apply.system.globalLibraryV20.HumanTitleDataType xgetTitle()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(TITLE$14, 0);
                return target;
            }
        }
        
        /**
         * Sets the "Title" element
         */
        public void setTitle(java.lang.String title)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TITLE$14, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TITLE$14);
                }
                target.setStringValue(title);
            }
        }
        
        /**
         * Sets (as xml) the "Title" element
         */
        public void xsetTitle(gov.grants.apply.system.globalLibraryV20.HumanTitleDataType title)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(TITLE$14, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().add_element_user(TITLE$14);
                }
                target.set(title);
            }
        }
        
        /**
         * Gets the "DateSigned" element
         */
        public java.util.Calendar getDateSigned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATESIGNED$16, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getCalendarValue();
            }
        }
        
        /**
         * Gets (as xml) the "DateSigned" element
         */
        public org.apache.xmlbeans.XmlDate xgetDateSigned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDate target = null;
                target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(DATESIGNED$16, 0);
                return target;
            }
        }
        
        /**
         * Sets the "DateSigned" element
         */
        public void setDateSigned(java.util.Calendar dateSigned)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATESIGNED$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATESIGNED$16);
                }
                target.setCalendarValue(dateSigned);
            }
        }
        
        /**
         * Sets (as xml) the "DateSigned" element
         */
        public void xsetDateSigned(org.apache.xmlbeans.XmlDate dateSigned)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDate target = null;
                target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(DATESIGNED$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(DATESIGNED$16);
                }
                target.set(dateSigned);
            }
        }
        
        /**
         * Gets the "FormVersion" attribute
         */
        public java.lang.String getFormVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$18);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$18);
                }
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "FormVersion" attribute
         */
        public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$18);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$18);
                }
                return target;
            }
        }
        
        /**
         * Sets the "FormVersion" attribute
         */
        public void setFormVersion(java.lang.String formVersion)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$18);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$18);
                }
                target.setStringValue(formVersion);
            }
        }
        
        /**
         * Sets (as xml) the "FormVersion" attribute
         */
        public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$18);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$18);
                }
                target.set(formVersion);
            }
        }
        /**
         * An XML ApplicantAddress(@http://apply.grants.gov/forms/AD_3030_FS-V1.0).
         *
         * This is a complex type.
         */
        public static class ApplicantAddressImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ad3030FSV10.AD3030FSDocument.AD3030FS.ApplicantAddress
        {
            private static final long serialVersionUID = 1L;
            
            public ApplicantAddressImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName STREET1$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "Street1");
            private static final javax.xml.namespace.QName STREET2$2 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "Street2");
            private static final javax.xml.namespace.QName CITY$4 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "City");
            private static final javax.xml.namespace.QName STATE$6 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "State");
            private static final javax.xml.namespace.QName ZIPCODE$8 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3030_FS-V1.0", "ZipCode");
            
            
            /**
             * Gets the "Street1" element
             */
            public java.lang.String getStreet1()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STREET1$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "Street1" element
             */
            public gov.grants.apply.system.globalLibraryV20.StreetDataType xgetStreet1()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.StreetDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().find_element_user(STREET1$0, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "Street1" element
             */
            public void setStreet1(java.lang.String street1)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STREET1$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STREET1$0);
                    }
                    target.setStringValue(street1);
                }
            }
            
            /**
             * Sets (as xml) the "Street1" element
             */
            public void xsetStreet1(gov.grants.apply.system.globalLibraryV20.StreetDataType street1)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.StreetDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().find_element_user(STREET1$0, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().add_element_user(STREET1$0);
                    }
                    target.set(street1);
                }
            }
            
            /**
             * Gets the "Street2" element
             */
            public java.lang.String getStreet2()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STREET2$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "Street2" element
             */
            public gov.grants.apply.system.globalLibraryV20.StreetDataType xgetStreet2()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.StreetDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().find_element_user(STREET2$2, 0);
                    return target;
                }
            }
            
            /**
             * True if has "Street2" element
             */
            public boolean isSetStreet2()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(STREET2$2) != 0;
                }
            }
            
            /**
             * Sets the "Street2" element
             */
            public void setStreet2(java.lang.String street2)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STREET2$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STREET2$2);
                    }
                    target.setStringValue(street2);
                }
            }
            
            /**
             * Sets (as xml) the "Street2" element
             */
            public void xsetStreet2(gov.grants.apply.system.globalLibraryV20.StreetDataType street2)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.StreetDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().find_element_user(STREET2$2, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().add_element_user(STREET2$2);
                    }
                    target.set(street2);
                }
            }
            
            /**
             * Unsets the "Street2" element
             */
            public void unsetStreet2()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(STREET2$2, 0);
                }
            }
            
            /**
             * Gets the "City" element
             */
            public java.lang.String getCity()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CITY$4, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "City" element
             */
            public gov.grants.apply.system.globalLibraryV20.CityDataType xgetCity()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.CityDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.CityDataType)get_store().find_element_user(CITY$4, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "City" element
             */
            public void setCity(java.lang.String city)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CITY$4, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CITY$4);
                    }
                    target.setStringValue(city);
                }
            }
            
            /**
             * Sets (as xml) the "City" element
             */
            public void xsetCity(gov.grants.apply.system.globalLibraryV20.CityDataType city)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.CityDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.CityDataType)get_store().find_element_user(CITY$4, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV20.CityDataType)get_store().add_element_user(CITY$4);
                    }
                    target.set(city);
                }
            }
            
            /**
             * Gets the "State" element
             */
            public gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum getState()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATE$6, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return (gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "State" element
             */
            public gov.grants.apply.system.universalCodesV20.StateCodeDataType xgetState()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.universalCodesV20.StateCodeDataType target = null;
                    target = (gov.grants.apply.system.universalCodesV20.StateCodeDataType)get_store().find_element_user(STATE$6, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "State" element
             */
            public void setState(gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum state)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATE$6, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATE$6);
                    }
                    target.setEnumValue(state);
                }
            }
            
            /**
             * Sets (as xml) the "State" element
             */
            public void xsetState(gov.grants.apply.system.universalCodesV20.StateCodeDataType state)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.universalCodesV20.StateCodeDataType target = null;
                    target = (gov.grants.apply.system.universalCodesV20.StateCodeDataType)get_store().find_element_user(STATE$6, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.universalCodesV20.StateCodeDataType)get_store().add_element_user(STATE$6);
                    }
                    target.set(state);
                }
            }
            
            /**
             * Gets the "ZipCode" element
             */
            public java.lang.String getZipCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ZIPCODE$8, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "ZipCode" element
             */
            public gov.grants.apply.forms.ad3030FSV10.AD3030FSString10DataType xgetZipCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.ad3030FSV10.AD3030FSString10DataType target = null;
                    target = (gov.grants.apply.forms.ad3030FSV10.AD3030FSString10DataType)get_store().find_element_user(ZIPCODE$8, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "ZipCode" element
             */
            public void setZipCode(java.lang.String zipCode)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ZIPCODE$8, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ZIPCODE$8);
                    }
                    target.setStringValue(zipCode);
                }
            }
            
            /**
             * Sets (as xml) the "ZipCode" element
             */
            public void xsetZipCode(gov.grants.apply.forms.ad3030FSV10.AD3030FSString10DataType zipCode)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.ad3030FSV10.AD3030FSString10DataType target = null;
                    target = (gov.grants.apply.forms.ad3030FSV10.AD3030FSString10DataType)get_store().find_element_user(ZIPCODE$8, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.forms.ad3030FSV10.AD3030FSString10DataType)get_store().add_element_user(ZIPCODE$8);
                    }
                    target.set(zipCode);
                }
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy