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

gov.grants.apply.forms.hudROSSV11.impl.HUDROSSDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: HUD_ROSS
 * Namespace: http://apply.grants.gov/forms/HUD_ROSS-V1.1
 * Java type: gov.grants.apply.forms.hudROSSV11.HUDROSSDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.forms.hudROSSV11.impl;
/**
 * A document containing one HUD_ROSS(@http://apply.grants.gov/forms/HUD_ROSS-V1.1) element.
 *
 * This is a complex type.
 */
public class HUDROSSDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument
{
    private static final long serialVersionUID = 1L;
    
    public HUDROSSDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName HUDROSS$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "HUD_ROSS");
    
    
    /**
     * Gets the "HUD_ROSS" element
     */
    public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS getHUDROSS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS target = null;
            target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS)get_store().find_element_user(HUDROSS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "HUD_ROSS" element
     */
    public void setHUDROSS(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS hudross)
    {
        generatedSetterHelperImpl(hudross, HUDROSS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "HUD_ROSS" element
     */
    public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS addNewHUDROSS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS target = null;
            target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS)get_store().add_element_user(HUDROSS$0);
            return target;
        }
    }
    /**
     * An XML HUD_ROSS(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
     *
     * This is a complex type.
     */
    public static class HUDROSSImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS
    {
        private static final long serialVersionUID = 1L;
        
        public HUDROSSImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName PHAAPPLICANTNAME$0 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAApplicantName");
        private static final javax.xml.namespace.QName PHAGRANTINDICATOR$2 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAGrantIndicator");
        private static final javax.xml.namespace.QName APPLICANTS$4 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "Applicants");
        private static final javax.xml.namespace.QName RESEARCHSTAFFS$6 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "ResearchStaffs");
        private static final javax.xml.namespace.QName CONTRACTORS$8 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "Contractors");
        private static final javax.xml.namespace.QName PHACONTRACTADMINISTRATOR$10 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractAdministrator");
        private static final javax.xml.namespace.QName FORMVERSION$12 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "FormVersion");
        
        
        /**
         * Gets the "PHAApplicantName" element
         */
        public java.lang.String getPHAApplicantName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPPLICANTNAME$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "PHAApplicantName" element
         */
        public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetPHAApplicantName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHAAPPLICANTNAME$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "PHAApplicantName" element
         */
        public void setPHAApplicantName(java.lang.String phaApplicantName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPPLICANTNAME$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPPLICANTNAME$0);
                }
                target.setStringValue(phaApplicantName);
            }
        }
        
        /**
         * Sets (as xml) the "PHAApplicantName" element
         */
        public void xsetPHAApplicantName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType phaApplicantName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHAAPPLICANTNAME$0, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(PHAAPPLICANTNAME$0);
                }
                target.set(phaApplicantName);
            }
        }
        
        /**
         * Gets the "PHAGrantIndicator" element
         */
        public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator.Enum getPHAGrantIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAGRANTINDICATOR$2, 0);
                if (target == null)
                {
                    return null;
                }
                return (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "PHAGrantIndicator" element
         */
        public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator xgetPHAGrantIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator target = null;
                target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator)get_store().find_element_user(PHAGRANTINDICATOR$2, 0);
                return target;
            }
        }
        
        /**
         * Sets the "PHAGrantIndicator" element
         */
        public void setPHAGrantIndicator(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator.Enum phaGrantIndicator)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAGRANTINDICATOR$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAGRANTINDICATOR$2);
                }
                target.setEnumValue(phaGrantIndicator);
            }
        }
        
        /**
         * Sets (as xml) the "PHAGrantIndicator" element
         */
        public void xsetPHAGrantIndicator(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator phaGrantIndicator)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator target = null;
                target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator)get_store().find_element_user(PHAGRANTINDICATOR$2, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator)get_store().add_element_user(PHAGRANTINDICATOR$2);
                }
                target.set(phaGrantIndicator);
            }
        }
        
        /**
         * Gets the "Applicants" element
         */
        public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants getApplicants()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants target = null;
                target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants)get_store().find_element_user(APPLICANTS$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Applicants" element
         */
        public boolean isSetApplicants()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(APPLICANTS$4) != 0;
            }
        }
        
        /**
         * Sets the "Applicants" element
         */
        public void setApplicants(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants applicants)
        {
            generatedSetterHelperImpl(applicants, APPLICANTS$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "Applicants" element
         */
        public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants addNewApplicants()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants target = null;
                target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants)get_store().add_element_user(APPLICANTS$4);
                return target;
            }
        }
        
        /**
         * Unsets the "Applicants" element
         */
        public void unsetApplicants()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(APPLICANTS$4, 0);
            }
        }
        
        /**
         * Gets the "ResearchStaffs" element
         */
        public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs getResearchStaffs()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs target = null;
                target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs)get_store().find_element_user(RESEARCHSTAFFS$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "ResearchStaffs" element
         */
        public boolean isSetResearchStaffs()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(RESEARCHSTAFFS$6) != 0;
            }
        }
        
        /**
         * Sets the "ResearchStaffs" element
         */
        public void setResearchStaffs(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs researchStaffs)
        {
            generatedSetterHelperImpl(researchStaffs, RESEARCHSTAFFS$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "ResearchStaffs" element
         */
        public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs addNewResearchStaffs()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs target = null;
                target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs)get_store().add_element_user(RESEARCHSTAFFS$6);
                return target;
            }
        }
        
        /**
         * Unsets the "ResearchStaffs" element
         */
        public void unsetResearchStaffs()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(RESEARCHSTAFFS$6, 0);
            }
        }
        
        /**
         * Gets the "Contractors" element
         */
        public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors getContractors()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors target = null;
                target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors)get_store().find_element_user(CONTRACTORS$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Contractors" element
         */
        public boolean isSetContractors()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CONTRACTORS$8) != 0;
            }
        }
        
        /**
         * Sets the "Contractors" element
         */
        public void setContractors(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors contractors)
        {
            generatedSetterHelperImpl(contractors, CONTRACTORS$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "Contractors" element
         */
        public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors addNewContractors()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors target = null;
                target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors)get_store().add_element_user(CONTRACTORS$8);
                return target;
            }
        }
        
        /**
         * Unsets the "Contractors" element
         */
        public void unsetContractors()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CONTRACTORS$8, 0);
            }
        }
        
        /**
         * Gets the "PHAContractAdministrator" element
         */
        public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator getPHAContractAdministrator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator target = null;
                target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator)get_store().find_element_user(PHACONTRACTADMINISTRATOR$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PHAContractAdministrator" element
         */
        public boolean isSetPHAContractAdministrator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PHACONTRACTADMINISTRATOR$10) != 0;
            }
        }
        
        /**
         * Sets the "PHAContractAdministrator" element
         */
        public void setPHAContractAdministrator(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator phaContractAdministrator)
        {
            generatedSetterHelperImpl(phaContractAdministrator, PHACONTRACTADMINISTRATOR$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "PHAContractAdministrator" element
         */
        public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator addNewPHAContractAdministrator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator target = null;
                target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator)get_store().add_element_user(PHACONTRACTADMINISTRATOR$10);
                return target;
            }
        }
        
        /**
         * Unsets the "PHAContractAdministrator" element
         */
        public void unsetPHAContractAdministrator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PHACONTRACTADMINISTRATOR$10, 0);
            }
        }
        
        /**
         * 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$12);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$12);
                }
                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$12);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$12);
                }
                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$12);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$12);
                }
                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$12);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$12);
                }
                target.set(formVersion);
            }
        }
        /**
         * An XML PHAGrantIndicator(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
         *
         * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$PHAGrantIndicator.
         */
        public static class PHAGrantIndicatorImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator
        {
            private static final long serialVersionUID = 1L;
            
            public PHAGrantIndicatorImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType, false);
            }
            
            protected PHAGrantIndicatorImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
            {
                super(sType, b);
            }
        }
        /**
         * An XML Applicants(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
         *
         * This is a complex type.
         */
        public static class ApplicantsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants
        {
            private static final long serialVersionUID = 1L;
            
            public ApplicantsImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName APPLICANT$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "Applicant");
            
            
            /**
             * Gets array of all "Applicant" elements
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant[] getApplicantArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(APPLICANT$0, targetList);
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant[] result = new gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets ith "Applicant" element
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant getApplicantArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant)get_store().find_element_user(APPLICANT$0, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "Applicant" element
             */
            public int sizeOfApplicantArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(APPLICANT$0);
                }
            }
            
            /**
             * Sets array of all "Applicant" element  WARNING: This method is not atomicaly synchronized.
             */
            public void setApplicantArray(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant[] applicantArray)
            {
                check_orphaned();
                arraySetterHelper(applicantArray, APPLICANT$0);
            }
            
            /**
             * Sets ith "Applicant" element
             */
            public void setApplicantArray(int i, gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant applicant)
            {
                generatedSetterHelperImpl(applicant, APPLICANT$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "Applicant" element
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant insertNewApplicant(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant)get_store().insert_element_user(APPLICANT$0, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "Applicant" element
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant addNewApplicant()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant)get_store().add_element_user(APPLICANT$0);
                    return target;
                }
            }
            
            /**
             * Removes the ith "Applicant" element
             */
            public void removeApplicant(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(APPLICANT$0, i);
                }
            }
            /**
             * An XML Applicant(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
             *
             * This is a complex type.
             */
            public static class ApplicantImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant
            {
                private static final long serialVersionUID = 1L;
                
                public ApplicantImpl(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/HUD_ROSS-V1.1", "ApplicantName");
                private static final javax.xml.namespace.QName PHAAPLCNTSTAFFPERSONORGANIZATION$2 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAAplcntStaffPersonOrganization");
                private static final javax.xml.namespace.QName PHAAPLCNTSTAFFPERSONPOSITION$4 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAAplcntStaffPersonPosition");
                private static final javax.xml.namespace.QName PHAAPLCNTSTAFFGRANTACTIVITY$6 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAAplcntStaffGrantActivity");
                private static final javax.xml.namespace.QName PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAAplcntStaffPersonGrantPrcntg");
                private static final javax.xml.namespace.QName PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAAplcntStaffPersonCostToGrant");
                
                
                /**
                 * 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 "PHAAplcntStaffPersonOrganization" element
                 */
                public java.lang.String getPHAAplcntStaffPersonOrganization()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHAAplcntStaffPersonOrganization" element
                 */
                public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetPHAAplcntStaffPersonOrganization()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "PHAAplcntStaffPersonOrganization" element
                 */
                public void setPHAAplcntStaffPersonOrganization(java.lang.String phaAplcntStaffPersonOrganization)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2);
                      }
                      target.setStringValue(phaAplcntStaffPersonOrganization);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHAAplcntStaffPersonOrganization" element
                 */
                public void xsetPHAAplcntStaffPersonOrganization(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType phaAplcntStaffPersonOrganization)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2);
                      }
                      target.set(phaAplcntStaffPersonOrganization);
                    }
                }
                
                /**
                 * Gets the "PHAAplcntStaffPersonPosition" element
                 */
                public java.lang.String getPHAAplcntStaffPersonPosition()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHAAplcntStaffPersonPosition" element
                 */
                public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition xgetPHAAplcntStaffPersonPosition()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition)get_store().find_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "PHAAplcntStaffPersonPosition" element
                 */
                public void setPHAAplcntStaffPersonPosition(java.lang.String phaAplcntStaffPersonPosition)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4);
                      }
                      target.setStringValue(phaAplcntStaffPersonPosition);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHAAplcntStaffPersonPosition" element
                 */
                public void xsetPHAAplcntStaffPersonPosition(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition phaAplcntStaffPersonPosition)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition)get_store().find_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition)get_store().add_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4);
                      }
                      target.set(phaAplcntStaffPersonPosition);
                    }
                }
                
                /**
                 * Gets the "PHAAplcntStaffGrantActivity" element
                 */
                public java.lang.String getPHAAplcntStaffGrantActivity()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHAAplcntStaffGrantActivity" element
                 */
                public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity xgetPHAAplcntStaffGrantActivity()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity)get_store().find_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "PHAAplcntStaffGrantActivity" element
                 */
                public void setPHAAplcntStaffGrantActivity(java.lang.String phaAplcntStaffGrantActivity)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6);
                      }
                      target.setStringValue(phaAplcntStaffGrantActivity);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHAAplcntStaffGrantActivity" element
                 */
                public void xsetPHAAplcntStaffGrantActivity(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity phaAplcntStaffGrantActivity)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity)get_store().find_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity)get_store().add_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6);
                      }
                      target.set(phaAplcntStaffGrantActivity);
                    }
                }
                
                /**
                 * Gets the "PHAAplcntStaffPersonGrantPrcntg" element
                 */
                public float getPHAAplcntStaffPersonGrantPrcntg()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8, 0);
                      if (target == null)
                      {
                        return 0.0f;
                      }
                      return target.getFloatValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHAAplcntStaffPersonGrantPrcntg" element
                 */
                public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg xgetPHAAplcntStaffPersonGrantPrcntg()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg)get_store().find_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "PHAAplcntStaffPersonGrantPrcntg" element
                 */
                public void setPHAAplcntStaffPersonGrantPrcntg(float phaAplcntStaffPersonGrantPrcntg)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8);
                      }
                      target.setFloatValue(phaAplcntStaffPersonGrantPrcntg);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHAAplcntStaffPersonGrantPrcntg" element
                 */
                public void xsetPHAAplcntStaffPersonGrantPrcntg(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg phaAplcntStaffPersonGrantPrcntg)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg)get_store().find_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg)get_store().add_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8);
                      }
                      target.set(phaAplcntStaffPersonGrantPrcntg);
                    }
                }
                
                /**
                 * Gets the "PHAAplcntStaffPersonCostToGrant" element
                 */
                public java.math.BigDecimal getPHAAplcntStaffPersonCostToGrant()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHAAplcntStaffPersonCostToGrant" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetPHAAplcntStaffPersonCostToGrant()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "PHAAplcntStaffPersonCostToGrant" element
                 */
                public void setPHAAplcntStaffPersonCostToGrant(java.math.BigDecimal phaAplcntStaffPersonCostToGrant)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10);
                      }
                      target.setBigDecimalValue(phaAplcntStaffPersonCostToGrant);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHAAplcntStaffPersonCostToGrant" element
                 */
                public void xsetPHAAplcntStaffPersonCostToGrant(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType phaAplcntStaffPersonCostToGrant)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10);
                      }
                      target.set(phaAplcntStaffPersonCostToGrant);
                    }
                }
                /**
                 * An XML PHAAplcntStaffPersonPosition(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
                 *
                 * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$Applicants$Applicant$PHAAplcntStaffPersonPosition.
                 */
                public static class PHAAplcntStaffPersonPositionImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition
                {
                    private static final long serialVersionUID = 1L;
                    
                    public PHAAplcntStaffPersonPositionImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType, false);
                    }
                    
                    protected PHAAplcntStaffPersonPositionImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                    {
                      super(sType, b);
                    }
                }
                /**
                 * An XML PHAAplcntStaffGrantActivity(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
                 *
                 * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$Applicants$Applicant$PHAAplcntStaffGrantActivity.
                 */
                public static class PHAAplcntStaffGrantActivityImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity
                {
                    private static final long serialVersionUID = 1L;
                    
                    public PHAAplcntStaffGrantActivityImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType, false);
                    }
                    
                    protected PHAAplcntStaffGrantActivityImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                    {
                      super(sType, b);
                    }
                }
                /**
                 * An XML PHAAplcntStaffPersonGrantPrcntg(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
                 *
                 * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$Applicants$Applicant$PHAAplcntStaffPersonGrantPrcntg.
                 */
                public static class PHAAplcntStaffPersonGrantPrcntgImpl extends org.apache.xmlbeans.impl.values.JavaFloatHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg
                {
                    private static final long serialVersionUID = 1L;
                    
                    public PHAAplcntStaffPersonGrantPrcntgImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType, false);
                    }
                    
                    protected PHAAplcntStaffPersonGrantPrcntgImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                    {
                      super(sType, b);
                    }
                }
            }
        }
        /**
         * An XML ResearchStaffs(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
         *
         * This is a complex type.
         */
        public static class ResearchStaffsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs
        {
            private static final long serialVersionUID = 1L;
            
            public ResearchStaffsImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName RESEARCHSTAFF$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "ResearchStaff");
            
            
            /**
             * Gets array of all "ResearchStaff" elements
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff[] getResearchStaffArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(RESEARCHSTAFF$0, targetList);
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff[] result = new gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets ith "ResearchStaff" element
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff getResearchStaffArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff)get_store().find_element_user(RESEARCHSTAFF$0, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "ResearchStaff" element
             */
            public int sizeOfResearchStaffArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(RESEARCHSTAFF$0);
                }
            }
            
            /**
             * Sets array of all "ResearchStaff" element  WARNING: This method is not atomicaly synchronized.
             */
            public void setResearchStaffArray(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff[] researchStaffArray)
            {
                check_orphaned();
                arraySetterHelper(researchStaffArray, RESEARCHSTAFF$0);
            }
            
            /**
             * Sets ith "ResearchStaff" element
             */
            public void setResearchStaffArray(int i, gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff researchStaff)
            {
                generatedSetterHelperImpl(researchStaff, RESEARCHSTAFF$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "ResearchStaff" element
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff insertNewResearchStaff(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff)get_store().insert_element_user(RESEARCHSTAFF$0, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "ResearchStaff" element
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff addNewResearchStaff()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff)get_store().add_element_user(RESEARCHSTAFF$0);
                    return target;
                }
            }
            
            /**
             * Removes the ith "ResearchStaff" element
             */
            public void removeResearchStaff(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(RESEARCHSTAFF$0, i);
                }
            }
            /**
             * An XML ResearchStaff(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
             *
             * This is a complex type.
             */
            public static class ResearchStaffImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff
            {
                private static final long serialVersionUID = 1L;
                
                public ResearchStaffImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName RESEARCHSTAFFNAME$0 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "ResearchStaffName");
                private static final javax.xml.namespace.QName PHARSDNTSTAFFPERSONORGANIZATION$2 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHARsdntStaffPersonOrganization");
                private static final javax.xml.namespace.QName PHARSDNTSTAFFPERSONPOSITION$4 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHARsdntStaffPersonPosition");
                private static final javax.xml.namespace.QName STAFFPHAGRANTACTIVITY$6 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "StaffPHAGrantActivity");
                private static final javax.xml.namespace.QName PHARSDNTSTAFFPERSONGRANTPRCNTG$8 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHARsdntStaffPersonGrantPrcntg");
                private static final javax.xml.namespace.QName PHARSDNTSTAFFPERSONCOSTTOGRANT$10 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHARsdntStaffPersonCostToGrant");
                
                
                /**
                 * Gets the "ResearchStaffName" element
                 */
                public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getResearchStaffName()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().find_element_user(RESEARCHSTAFFNAME$0, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target;
                    }
                }
                
                /**
                 * Sets the "ResearchStaffName" element
                 */
                public void setResearchStaffName(gov.grants.apply.system.globalLibraryV20.HumanNameDataType researchStaffName)
                {
                    generatedSetterHelperImpl(researchStaffName, RESEARCHSTAFFNAME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
                }
                
                /**
                 * Appends and returns a new empty "ResearchStaffName" element
                 */
                public gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewResearchStaffName()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().add_element_user(RESEARCHSTAFFNAME$0);
                      return target;
                    }
                }
                
                /**
                 * Gets the "PHARsdntStaffPersonOrganization" element
                 */
                public java.lang.String getPHARsdntStaffPersonOrganization()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHARsdntStaffPersonOrganization" element
                 */
                public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetPHARsdntStaffPersonOrganization()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "PHARsdntStaffPersonOrganization" element
                 */
                public void setPHARsdntStaffPersonOrganization(java.lang.String phaRsdntStaffPersonOrganization)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2);
                      }
                      target.setStringValue(phaRsdntStaffPersonOrganization);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHARsdntStaffPersonOrganization" element
                 */
                public void xsetPHARsdntStaffPersonOrganization(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType phaRsdntStaffPersonOrganization)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2);
                      }
                      target.set(phaRsdntStaffPersonOrganization);
                    }
                }
                
                /**
                 * Gets the "PHARsdntStaffPersonPosition" element
                 */
                public java.lang.String getPHARsdntStaffPersonPosition()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONPOSITION$4, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHARsdntStaffPersonPosition" element
                 */
                public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition xgetPHARsdntStaffPersonPosition()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition)get_store().find_element_user(PHARSDNTSTAFFPERSONPOSITION$4, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "PHARsdntStaffPersonPosition" element
                 */
                public void setPHARsdntStaffPersonPosition(java.lang.String phaRsdntStaffPersonPosition)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONPOSITION$4, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHARSDNTSTAFFPERSONPOSITION$4);
                      }
                      target.setStringValue(phaRsdntStaffPersonPosition);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHARsdntStaffPersonPosition" element
                 */
                public void xsetPHARsdntStaffPersonPosition(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition phaRsdntStaffPersonPosition)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition)get_store().find_element_user(PHARSDNTSTAFFPERSONPOSITION$4, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition)get_store().add_element_user(PHARSDNTSTAFFPERSONPOSITION$4);
                      }
                      target.set(phaRsdntStaffPersonPosition);
                    }
                }
                
                /**
                 * Gets the "StaffPHAGrantActivity" element
                 */
                public java.lang.String getStaffPHAGrantActivity()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STAFFPHAGRANTACTIVITY$6, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "StaffPHAGrantActivity" element
                 */
                public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity xgetStaffPHAGrantActivity()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity)get_store().find_element_user(STAFFPHAGRANTACTIVITY$6, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "StaffPHAGrantActivity" element
                 */
                public void setStaffPHAGrantActivity(java.lang.String staffPHAGrantActivity)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STAFFPHAGRANTACTIVITY$6, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STAFFPHAGRANTACTIVITY$6);
                      }
                      target.setStringValue(staffPHAGrantActivity);
                    }
                }
                
                /**
                 * Sets (as xml) the "StaffPHAGrantActivity" element
                 */
                public void xsetStaffPHAGrantActivity(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity staffPHAGrantActivity)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity)get_store().find_element_user(STAFFPHAGRANTACTIVITY$6, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity)get_store().add_element_user(STAFFPHAGRANTACTIVITY$6);
                      }
                      target.set(staffPHAGrantActivity);
                    }
                }
                
                /**
                 * Gets the "PHARsdntStaffPersonGrantPrcntg" element
                 */
                public float getPHARsdntStaffPersonGrantPrcntg()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8, 0);
                      if (target == null)
                      {
                        return 0.0f;
                      }
                      return target.getFloatValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHARsdntStaffPersonGrantPrcntg" element
                 */
                public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg xgetPHARsdntStaffPersonGrantPrcntg()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg)get_store().find_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "PHARsdntStaffPersonGrantPrcntg" element
                 */
                public void setPHARsdntStaffPersonGrantPrcntg(float phaRsdntStaffPersonGrantPrcntg)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8);
                      }
                      target.setFloatValue(phaRsdntStaffPersonGrantPrcntg);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHARsdntStaffPersonGrantPrcntg" element
                 */
                public void xsetPHARsdntStaffPersonGrantPrcntg(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg phaRsdntStaffPersonGrantPrcntg)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg)get_store().find_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg)get_store().add_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8);
                      }
                      target.set(phaRsdntStaffPersonGrantPrcntg);
                    }
                }
                
                /**
                 * Gets the "PHARsdntStaffPersonCostToGrant" element
                 */
                public java.math.BigDecimal getPHARsdntStaffPersonCostToGrant()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHARsdntStaffPersonCostToGrant" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetPHARsdntStaffPersonCostToGrant()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "PHARsdntStaffPersonCostToGrant" element
                 */
                public void setPHARsdntStaffPersonCostToGrant(java.math.BigDecimal phaRsdntStaffPersonCostToGrant)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10);
                      }
                      target.setBigDecimalValue(phaRsdntStaffPersonCostToGrant);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHARsdntStaffPersonCostToGrant" element
                 */
                public void xsetPHARsdntStaffPersonCostToGrant(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType phaRsdntStaffPersonCostToGrant)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10);
                      }
                      target.set(phaRsdntStaffPersonCostToGrant);
                    }
                }
                /**
                 * An XML PHARsdntStaffPersonPosition(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
                 *
                 * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$ResearchStaffs$ResearchStaff$PHARsdntStaffPersonPosition.
                 */
                public static class PHARsdntStaffPersonPositionImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition
                {
                    private static final long serialVersionUID = 1L;
                    
                    public PHARsdntStaffPersonPositionImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType, false);
                    }
                    
                    protected PHARsdntStaffPersonPositionImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                    {
                      super(sType, b);
                    }
                }
                /**
                 * An XML StaffPHAGrantActivity(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
                 *
                 * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$ResearchStaffs$ResearchStaff$StaffPHAGrantActivity.
                 */
                public static class StaffPHAGrantActivityImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity
                {
                    private static final long serialVersionUID = 1L;
                    
                    public StaffPHAGrantActivityImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType, false);
                    }
                    
                    protected StaffPHAGrantActivityImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                    {
                      super(sType, b);
                    }
                }
                /**
                 * An XML PHARsdntStaffPersonGrantPrcntg(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
                 *
                 * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$ResearchStaffs$ResearchStaff$PHARsdntStaffPersonGrantPrcntg.
                 */
                public static class PHARsdntStaffPersonGrantPrcntgImpl extends org.apache.xmlbeans.impl.values.JavaFloatHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg
                {
                    private static final long serialVersionUID = 1L;
                    
                    public PHARsdntStaffPersonGrantPrcntgImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType, false);
                    }
                    
                    protected PHARsdntStaffPersonGrantPrcntgImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                    {
                      super(sType, b);
                    }
                }
            }
        }
        /**
         * An XML Contractors(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
         *
         * This is a complex type.
         */
        public static class ContractorsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors
        {
            private static final long serialVersionUID = 1L;
            
            public ContractorsImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName CONTRACTOR$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "Contractor");
            
            
            /**
             * Gets array of all "Contractor" elements
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor[] getContractorArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(CONTRACTOR$0, targetList);
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor[] result = new gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets ith "Contractor" element
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor getContractorArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor)get_store().find_element_user(CONTRACTOR$0, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "Contractor" element
             */
            public int sizeOfContractorArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(CONTRACTOR$0);
                }
            }
            
            /**
             * Sets array of all "Contractor" element  WARNING: This method is not atomicaly synchronized.
             */
            public void setContractorArray(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor[] contractorArray)
            {
                check_orphaned();
                arraySetterHelper(contractorArray, CONTRACTOR$0);
            }
            
            /**
             * Sets ith "Contractor" element
             */
            public void setContractorArray(int i, gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor contractor)
            {
                generatedSetterHelperImpl(contractor, CONTRACTOR$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "Contractor" element
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor insertNewContractor(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor)get_store().insert_element_user(CONTRACTOR$0, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "Contractor" element
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor addNewContractor()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor)get_store().add_element_user(CONTRACTOR$0);
                    return target;
                }
            }
            
            /**
             * Removes the ith "Contractor" element
             */
            public void removeContractor(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(CONTRACTOR$0, i);
                }
            }
            /**
             * An XML Contractor(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
             *
             * This is a complex type.
             */
            public static class ContractorImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor
            {
                private static final long serialVersionUID = 1L;
                
                public ContractorImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName PHACONTRACTORNAME$0 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractorName");
                private static final javax.xml.namespace.QName CONTRACTORPHAGRANTACTIVITY$2 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "ContractorPHAGrantActivity");
                private static final javax.xml.namespace.QName PHACONTRACTORCOSTTOGRANT$4 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractorCostToGrant");
                
                
                /**
                 * Gets the "PHAContractorName" element
                 */
                public java.lang.String getPHAContractorName()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTORNAME$0, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHAContractorName" element
                 */
                public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName xgetPHAContractorName()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName)get_store().find_element_user(PHACONTRACTORNAME$0, 0);
                      return target;
                    }
                }
                
                /**
                 * True if has "PHAContractorName" element
                 */
                public boolean isSetPHAContractorName()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(PHACONTRACTORNAME$0) != 0;
                    }
                }
                
                /**
                 * Sets the "PHAContractorName" element
                 */
                public void setPHAContractorName(java.lang.String phaContractorName)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTORNAME$0, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHACONTRACTORNAME$0);
                      }
                      target.setStringValue(phaContractorName);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHAContractorName" element
                 */
                public void xsetPHAContractorName(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName phaContractorName)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName)get_store().find_element_user(PHACONTRACTORNAME$0, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName)get_store().add_element_user(PHACONTRACTORNAME$0);
                      }
                      target.set(phaContractorName);
                    }
                }
                
                /**
                 * Unsets the "PHAContractorName" element
                 */
                public void unsetPHAContractorName()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(PHACONTRACTORNAME$0, 0);
                    }
                }
                
                /**
                 * Gets the "ContractorPHAGrantActivity" element
                 */
                public java.lang.String getContractorPHAGrantActivity()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTRACTORPHAGRANTACTIVITY$2, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "ContractorPHAGrantActivity" element
                 */
                public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity xgetContractorPHAGrantActivity()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity)get_store().find_element_user(CONTRACTORPHAGRANTACTIVITY$2, 0);
                      return target;
                    }
                }
                
                /**
                 * True if has "ContractorPHAGrantActivity" element
                 */
                public boolean isSetContractorPHAGrantActivity()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(CONTRACTORPHAGRANTACTIVITY$2) != 0;
                    }
                }
                
                /**
                 * Sets the "ContractorPHAGrantActivity" element
                 */
                public void setContractorPHAGrantActivity(java.lang.String contractorPHAGrantActivity)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTRACTORPHAGRANTACTIVITY$2, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTRACTORPHAGRANTACTIVITY$2);
                      }
                      target.setStringValue(contractorPHAGrantActivity);
                    }
                }
                
                /**
                 * Sets (as xml) the "ContractorPHAGrantActivity" element
                 */
                public void xsetContractorPHAGrantActivity(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity contractorPHAGrantActivity)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity target = null;
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity)get_store().find_element_user(CONTRACTORPHAGRANTACTIVITY$2, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity)get_store().add_element_user(CONTRACTORPHAGRANTACTIVITY$2);
                      }
                      target.set(contractorPHAGrantActivity);
                    }
                }
                
                /**
                 * Unsets the "ContractorPHAGrantActivity" element
                 */
                public void unsetContractorPHAGrantActivity()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(CONTRACTORPHAGRANTACTIVITY$2, 0);
                    }
                }
                
                /**
                 * Gets the "PHAContractorCostToGrant" element
                 */
                public java.math.BigDecimal getPHAContractorCostToGrant()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTORCOSTTOGRANT$4, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "PHAContractorCostToGrant" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetPHAContractorCostToGrant()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHACONTRACTORCOSTTOGRANT$4, 0);
                      return target;
                    }
                }
                
                /**
                 * True if has "PHAContractorCostToGrant" element
                 */
                public boolean isSetPHAContractorCostToGrant()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(PHACONTRACTORCOSTTOGRANT$4) != 0;
                    }
                }
                
                /**
                 * Sets the "PHAContractorCostToGrant" element
                 */
                public void setPHAContractorCostToGrant(java.math.BigDecimal phaContractorCostToGrant)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTORCOSTTOGRANT$4, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHACONTRACTORCOSTTOGRANT$4);
                      }
                      target.setBigDecimalValue(phaContractorCostToGrant);
                    }
                }
                
                /**
                 * Sets (as xml) the "PHAContractorCostToGrant" element
                 */
                public void xsetPHAContractorCostToGrant(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType phaContractorCostToGrant)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHACONTRACTORCOSTTOGRANT$4, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(PHACONTRACTORCOSTTOGRANT$4);
                      }
                      target.set(phaContractorCostToGrant);
                    }
                }
                
                /**
                 * Unsets the "PHAContractorCostToGrant" element
                 */
                public void unsetPHAContractorCostToGrant()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(PHACONTRACTORCOSTTOGRANT$4, 0);
                    }
                }
                /**
                 * An XML PHAContractorName(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
                 *
                 * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$Contractors$Contractor$PHAContractorName.
                 */
                public static class PHAContractorNameImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName
                {
                    private static final long serialVersionUID = 1L;
                    
                    public PHAContractorNameImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType, false);
                    }
                    
                    protected PHAContractorNameImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                    {
                      super(sType, b);
                    }
                }
                /**
                 * An XML ContractorPHAGrantActivity(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
                 *
                 * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$Contractors$Contractor$ContractorPHAGrantActivity.
                 */
                public static class ContractorPHAGrantActivityImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity
                {
                    private static final long serialVersionUID = 1L;
                    
                    public ContractorPHAGrantActivityImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType, false);
                    }
                    
                    protected ContractorPHAGrantActivityImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                    {
                      super(sType, b);
                    }
                }
            }
        }
        /**
         * An XML PHAContractAdministrator(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
         *
         * This is a complex type.
         */
        public static class PHAContractAdministratorImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator
        {
            private static final long serialVersionUID = 1L;
            
            public PHAContractAdministratorImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName PHACONTRACTADMINISTRATORNAME$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractAdministratorName");
            private static final javax.xml.namespace.QName PHACONTRACTADMINISTRATORGRANTACTIVITY$2 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractAdministratorGrantActivity");
            private static final javax.xml.namespace.QName PHACONTRACTADMINISTRATORCOSTTOGRANT$4 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractAdministratorCostToGrant");
            
            
            /**
             * Gets the "PHAContractAdministratorName" element
             */
            public java.lang.String getPHAContractAdministratorName()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORNAME$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "PHAContractAdministratorName" element
             */
            public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetPHAContractAdministratorName()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHACONTRACTADMINISTRATORNAME$0, 0);
                    return target;
                }
            }
            
            /**
             * True if has "PHAContractAdministratorName" element
             */
            public boolean isSetPHAContractAdministratorName()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(PHACONTRACTADMINISTRATORNAME$0) != 0;
                }
            }
            
            /**
             * Sets the "PHAContractAdministratorName" element
             */
            public void setPHAContractAdministratorName(java.lang.String phaContractAdministratorName)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORNAME$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHACONTRACTADMINISTRATORNAME$0);
                    }
                    target.setStringValue(phaContractAdministratorName);
                }
            }
            
            /**
             * Sets (as xml) the "PHAContractAdministratorName" element
             */
            public void xsetPHAContractAdministratorName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType phaContractAdministratorName)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHACONTRACTADMINISTRATORNAME$0, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(PHACONTRACTADMINISTRATORNAME$0);
                    }
                    target.set(phaContractAdministratorName);
                }
            }
            
            /**
             * Unsets the "PHAContractAdministratorName" element
             */
            public void unsetPHAContractAdministratorName()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(PHACONTRACTADMINISTRATORNAME$0, 0);
                }
            }
            
            /**
             * Gets the "PHAContractAdministratorGrantActivity" element
             */
            public java.lang.String getPHAContractAdministratorGrantActivity()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "PHAContractAdministratorGrantActivity" element
             */
            public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity xgetPHAContractAdministratorGrantActivity()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity)get_store().find_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2, 0);
                    return target;
                }
            }
            
            /**
             * True if has "PHAContractAdministratorGrantActivity" element
             */
            public boolean isSetPHAContractAdministratorGrantActivity()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(PHACONTRACTADMINISTRATORGRANTACTIVITY$2) != 0;
                }
            }
            
            /**
             * Sets the "PHAContractAdministratorGrantActivity" element
             */
            public void setPHAContractAdministratorGrantActivity(java.lang.String phaContractAdministratorGrantActivity)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2);
                    }
                    target.setStringValue(phaContractAdministratorGrantActivity);
                }
            }
            
            /**
             * Sets (as xml) the "PHAContractAdministratorGrantActivity" element
             */
            public void xsetPHAContractAdministratorGrantActivity(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity phaContractAdministratorGrantActivity)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity target = null;
                    target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity)get_store().find_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity)get_store().add_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2);
                    }
                    target.set(phaContractAdministratorGrantActivity);
                }
            }
            
            /**
             * Unsets the "PHAContractAdministratorGrantActivity" element
             */
            public void unsetPHAContractAdministratorGrantActivity()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(PHACONTRACTADMINISTRATORGRANTACTIVITY$2, 0);
                }
            }
            
            /**
             * Gets the "PHAContractAdministratorCostToGrant" element
             */
            public java.math.BigDecimal getPHAContractAdministratorCostToGrant()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getBigDecimalValue();
                }
            }
            
            /**
             * Gets (as xml) the "PHAContractAdministratorCostToGrant" element
             */
            public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetPHAContractAdministratorCostToGrant()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4, 0);
                    return target;
                }
            }
            
            /**
             * True if has "PHAContractAdministratorCostToGrant" element
             */
            public boolean isSetPHAContractAdministratorCostToGrant()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(PHACONTRACTADMINISTRATORCOSTTOGRANT$4) != 0;
                }
            }
            
            /**
             * Sets the "PHAContractAdministratorCostToGrant" element
             */
            public void setPHAContractAdministratorCostToGrant(java.math.BigDecimal phaContractAdministratorCostToGrant)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4);
                    }
                    target.setBigDecimalValue(phaContractAdministratorCostToGrant);
                }
            }
            
            /**
             * Sets (as xml) the "PHAContractAdministratorCostToGrant" element
             */
            public void xsetPHAContractAdministratorCostToGrant(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType phaContractAdministratorCostToGrant)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4);
                    }
                    target.set(phaContractAdministratorCostToGrant);
                }
            }
            
            /**
             * Unsets the "PHAContractAdministratorCostToGrant" element
             */
            public void unsetPHAContractAdministratorCostToGrant()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(PHACONTRACTADMINISTRATORCOSTTOGRANT$4, 0);
                }
            }
            /**
             * An XML PHAContractAdministratorGrantActivity(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
             *
             * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$PHAContractAdministrator$PHAContractAdministratorGrantActivity.
             */
            public static class PHAContractAdministratorGrantActivityImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity
            {
                private static final long serialVersionUID = 1L;
                
                public PHAContractAdministratorGrantActivityImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType, false);
                }
                
                protected PHAContractAdministratorGrantActivityImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                {
                    super(sType, b);
                }
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy