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

gov.grants.apply.forms.phs398ModularBudget12V12.impl.PHS398ModularBudget12DocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: PHS398_ModularBudget_1_2
 * Namespace: http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2
 * Java type: gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.forms.phs398ModularBudget12V12.impl;
/**
 * A document containing one PHS398_ModularBudget_1_2(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2) element.
 *
 * This is a complex type.
 */
public class PHS398ModularBudget12DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document
{
    private static final long serialVersionUID = 1L;
    
    public PHS398ModularBudget12DocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PHS398MODULARBUDGET12$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "PHS398_ModularBudget_1_2");
    
    
    /**
     * Gets the "PHS398_ModularBudget_1_2" element
     */
    public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12 getPHS398ModularBudget12()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12 target = null;
            target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12)get_store().find_element_user(PHS398MODULARBUDGET12$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "PHS398_ModularBudget_1_2" element
     */
    public void setPHS398ModularBudget12(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12 phs398ModularBudget12)
    {
        generatedSetterHelperImpl(phs398ModularBudget12, PHS398MODULARBUDGET12$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "PHS398_ModularBudget_1_2" element
     */
    public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12 addNewPHS398ModularBudget12()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12 target = null;
            target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12)get_store().add_element_user(PHS398MODULARBUDGET12$0);
            return target;
        }
    }
    /**
     * An XML PHS398_ModularBudget_1_2(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
     *
     * This is a complex type.
     */
    public static class PHS398ModularBudget12Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12
    {
        private static final long serialVersionUID = 1L;
        
        public PHS398ModularBudget12Impl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName PERIODS$0 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "Periods");
        private static final javax.xml.namespace.QName CUMMULATIVEBUDGETINFO$2 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CummulativeBudgetInfo");
        private static final javax.xml.namespace.QName FORMVERSION$4 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "FormVersion");
        
        
        /**
         * Gets array of all "Periods" elements
         */
        public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods[] getPeriodsArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(PERIODS$0, targetList);
                gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods[] result = new gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "Periods" element
         */
        public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods getPeriodsArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods target = null;
                target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods)get_store().find_element_user(PERIODS$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "Periods" element
         */
        public int sizeOfPeriodsArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PERIODS$0);
            }
        }
        
        /**
         * Sets array of all "Periods" element  WARNING: This method is not atomicaly synchronized.
         */
        public void setPeriodsArray(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods[] periodsArray)
        {
            check_orphaned();
            arraySetterHelper(periodsArray, PERIODS$0);
        }
        
        /**
         * Sets ith "Periods" element
         */
        public void setPeriodsArray(int i, gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods periods)
        {
            generatedSetterHelperImpl(periods, PERIODS$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "Periods" element
         */
        public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods insertNewPeriods(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods target = null;
                target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods)get_store().insert_element_user(PERIODS$0, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "Periods" element
         */
        public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods addNewPeriods()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods target = null;
                target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods)get_store().add_element_user(PERIODS$0);
                return target;
            }
        }
        
        /**
         * Removes the ith "Periods" element
         */
        public void removePeriods(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PERIODS$0, i);
            }
        }
        
        /**
         * Gets the "CummulativeBudgetInfo" element
         */
        public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo getCummulativeBudgetInfo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo target = null;
                target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo)get_store().find_element_user(CUMMULATIVEBUDGETINFO$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "CummulativeBudgetInfo" element
         */
        public void setCummulativeBudgetInfo(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo cummulativeBudgetInfo)
        {
            generatedSetterHelperImpl(cummulativeBudgetInfo, CUMMULATIVEBUDGETINFO$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "CummulativeBudgetInfo" element
         */
        public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo addNewCummulativeBudgetInfo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo target = null;
                target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo)get_store().add_element_user(CUMMULATIVEBUDGETINFO$2);
                return target;
            }
        }
        
        /**
         * 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$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$4);
                }
                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$4);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$4);
                }
                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$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$4);
                }
                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$4);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$4);
                }
                target.set(formVersion);
            }
        }
        /**
         * An XML Periods(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
         *
         * This is a complex type.
         */
        public static class PeriodsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods
        {
            private static final long serialVersionUID = 1L;
            
            public PeriodsImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName BUDGETPERIODSTARTDATE$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "BudgetPeriodStartDate");
            private static final javax.xml.namespace.QName BUDGETPERIODENDDATE$2 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "BudgetPeriodEndDate");
            private static final javax.xml.namespace.QName DIRECTCOST$4 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "DirectCost");
            private static final javax.xml.namespace.QName INDIRECTCOST$6 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCost");
            private static final javax.xml.namespace.QName TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "TotalFundsRequestedDirectIndirectCosts");
            
            
            /**
             * Gets the "BudgetPeriodStartDate" element
             */
            public java.util.Calendar getBudgetPeriodStartDate()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETPERIODSTARTDATE$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getCalendarValue();
                }
            }
            
            /**
             * Gets (as xml) the "BudgetPeriodStartDate" element
             */
            public org.apache.xmlbeans.XmlDate xgetBudgetPeriodStartDate()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlDate target = null;
                    target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(BUDGETPERIODSTARTDATE$0, 0);
                    return target;
                }
            }
            
            /**
             * True if has "BudgetPeriodStartDate" element
             */
            public boolean isSetBudgetPeriodStartDate()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(BUDGETPERIODSTARTDATE$0) != 0;
                }
            }
            
            /**
             * Sets the "BudgetPeriodStartDate" element
             */
            public void setBudgetPeriodStartDate(java.util.Calendar budgetPeriodStartDate)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETPERIODSTARTDATE$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETPERIODSTARTDATE$0);
                    }
                    target.setCalendarValue(budgetPeriodStartDate);
                }
            }
            
            /**
             * Sets (as xml) the "BudgetPeriodStartDate" element
             */
            public void xsetBudgetPeriodStartDate(org.apache.xmlbeans.XmlDate budgetPeriodStartDate)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlDate target = null;
                    target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(BUDGETPERIODSTARTDATE$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(BUDGETPERIODSTARTDATE$0);
                    }
                    target.set(budgetPeriodStartDate);
                }
            }
            
            /**
             * Unsets the "BudgetPeriodStartDate" element
             */
            public void unsetBudgetPeriodStartDate()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(BUDGETPERIODSTARTDATE$0, 0);
                }
            }
            
            /**
             * Gets the "BudgetPeriodEndDate" element
             */
            public java.util.Calendar getBudgetPeriodEndDate()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETPERIODENDDATE$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getCalendarValue();
                }
            }
            
            /**
             * Gets (as xml) the "BudgetPeriodEndDate" element
             */
            public org.apache.xmlbeans.XmlDate xgetBudgetPeriodEndDate()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlDate target = null;
                    target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(BUDGETPERIODENDDATE$2, 0);
                    return target;
                }
            }
            
            /**
             * True if has "BudgetPeriodEndDate" element
             */
            public boolean isSetBudgetPeriodEndDate()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(BUDGETPERIODENDDATE$2) != 0;
                }
            }
            
            /**
             * Sets the "BudgetPeriodEndDate" element
             */
            public void setBudgetPeriodEndDate(java.util.Calendar budgetPeriodEndDate)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETPERIODENDDATE$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETPERIODENDDATE$2);
                    }
                    target.setCalendarValue(budgetPeriodEndDate);
                }
            }
            
            /**
             * Sets (as xml) the "BudgetPeriodEndDate" element
             */
            public void xsetBudgetPeriodEndDate(org.apache.xmlbeans.XmlDate budgetPeriodEndDate)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlDate target = null;
                    target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(BUDGETPERIODENDDATE$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(BUDGETPERIODENDDATE$2);
                    }
                    target.set(budgetPeriodEndDate);
                }
            }
            
            /**
             * Unsets the "BudgetPeriodEndDate" element
             */
            public void unsetBudgetPeriodEndDate()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(BUDGETPERIODENDDATE$2, 0);
                }
            }
            
            /**
             * Gets the "DirectCost" element
             */
            public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost getDirectCost()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost target = null;
                    target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost)get_store().find_element_user(DIRECTCOST$4, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "DirectCost" element
             */
            public void setDirectCost(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost directCost)
            {
                generatedSetterHelperImpl(directCost, DIRECTCOST$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
            }
            
            /**
             * Appends and returns a new empty "DirectCost" element
             */
            public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost addNewDirectCost()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost target = null;
                    target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost)get_store().add_element_user(DIRECTCOST$4);
                    return target;
                }
            }
            
            /**
             * Gets the "IndirectCost" element
             */
            public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost getIndirectCost()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost target = null;
                    target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost)get_store().find_element_user(INDIRECTCOST$6, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "IndirectCost" element
             */
            public boolean isSetIndirectCost()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(INDIRECTCOST$6) != 0;
                }
            }
            
            /**
             * Sets the "IndirectCost" element
             */
            public void setIndirectCost(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost indirectCost)
            {
                generatedSetterHelperImpl(indirectCost, INDIRECTCOST$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
            }
            
            /**
             * Appends and returns a new empty "IndirectCost" element
             */
            public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost addNewIndirectCost()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost target = null;
                    target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost)get_store().add_element_user(INDIRECTCOST$6);
                    return target;
                }
            }
            
            /**
             * Unsets the "IndirectCost" element
             */
            public void unsetIndirectCost()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(INDIRECTCOST$6, 0);
                }
            }
            
            /**
             * Gets the "TotalFundsRequestedDirectIndirectCosts" element
             */
            public java.math.BigDecimal getTotalFundsRequestedDirectIndirectCosts()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getBigDecimalValue();
                }
            }
            
            /**
             * Gets (as xml) the "TotalFundsRequestedDirectIndirectCosts" element
             */
            public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetTotalFundsRequestedDirectIndirectCosts()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "TotalFundsRequestedDirectIndirectCosts" element
             */
            public void setTotalFundsRequestedDirectIndirectCosts(java.math.BigDecimal totalFundsRequestedDirectIndirectCosts)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8);
                    }
                    target.setBigDecimalValue(totalFundsRequestedDirectIndirectCosts);
                }
            }
            
            /**
             * Sets (as xml) the "TotalFundsRequestedDirectIndirectCosts" element
             */
            public void xsetTotalFundsRequestedDirectIndirectCosts(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType totalFundsRequestedDirectIndirectCosts)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8);
                    }
                    target.set(totalFundsRequestedDirectIndirectCosts);
                }
            }
            /**
             * An XML DirectCost(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
             *
             * This is a complex type.
             */
            public static class DirectCostImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost
            {
                private static final long serialVersionUID = 1L;
                
                public DirectCostImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName DIRECTCOSTLESSCONSORTIUMFANDA$0 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "DirectCostLessConsortiumFandA");
                private static final javax.xml.namespace.QName CONSORTIUMFANDA$2 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "ConsortiumFandA");
                private static final javax.xml.namespace.QName TOTALFUNDSREQUESTEDDIRECTCOSTS$4 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "TotalFundsRequestedDirectCosts");
                
                
                /**
                 * Gets the "DirectCostLessConsortiumFandA" element
                 */
                public java.math.BigDecimal getDirectCostLessConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "DirectCostLessConsortiumFandA" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetDirectCostLessConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "DirectCostLessConsortiumFandA" element
                 */
                public void setDirectCostLessConsortiumFandA(java.math.BigDecimal directCostLessConsortiumFandA)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0);
                      }
                      target.setBigDecimalValue(directCostLessConsortiumFandA);
                    }
                }
                
                /**
                 * Sets (as xml) the "DirectCostLessConsortiumFandA" element
                 */
                public void xsetDirectCostLessConsortiumFandA(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType directCostLessConsortiumFandA)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0);
                      }
                      target.set(directCostLessConsortiumFandA);
                    }
                }
                
                /**
                 * Gets the "ConsortiumFandA" element
                 */
                public java.math.BigDecimal getConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONSORTIUMFANDA$2, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "ConsortiumFandA" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(CONSORTIUMFANDA$2, 0);
                      return target;
                    }
                }
                
                /**
                 * True if has "ConsortiumFandA" element
                 */
                public boolean isSetConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(CONSORTIUMFANDA$2) != 0;
                    }
                }
                
                /**
                 * Sets the "ConsortiumFandA" element
                 */
                public void setConsortiumFandA(java.math.BigDecimal consortiumFandA)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONSORTIUMFANDA$2, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONSORTIUMFANDA$2);
                      }
                      target.setBigDecimalValue(consortiumFandA);
                    }
                }
                
                /**
                 * Sets (as xml) the "ConsortiumFandA" element
                 */
                public void xsetConsortiumFandA(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType consortiumFandA)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(CONSORTIUMFANDA$2, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(CONSORTIUMFANDA$2);
                      }
                      target.set(consortiumFandA);
                    }
                }
                
                /**
                 * Unsets the "ConsortiumFandA" element
                 */
                public void unsetConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(CONSORTIUMFANDA$2, 0);
                    }
                }
                
                /**
                 * Gets the "TotalFundsRequestedDirectCosts" element
                 */
                public java.math.BigDecimal getTotalFundsRequestedDirectCosts()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "TotalFundsRequestedDirectCosts" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetTotalFundsRequestedDirectCosts()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "TotalFundsRequestedDirectCosts" element
                 */
                public void setTotalFundsRequestedDirectCosts(java.math.BigDecimal totalFundsRequestedDirectCosts)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4);
                      }
                      target.setBigDecimalValue(totalFundsRequestedDirectCosts);
                    }
                }
                
                /**
                 * Sets (as xml) the "TotalFundsRequestedDirectCosts" element
                 */
                public void xsetTotalFundsRequestedDirectCosts(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType totalFundsRequestedDirectCosts)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4);
                      }
                      target.set(totalFundsRequestedDirectCosts);
                    }
                }
            }
            /**
             * An XML IndirectCost(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
             *
             * This is a complex type.
             */
            public static class IndirectCostImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost
            {
                private static final long serialVersionUID = 1L;
                
                public IndirectCostImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName INDIRECTCOSTITEMS$0 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostItems");
                private static final javax.xml.namespace.QName COGNIZANTFEDERALAGENCY$2 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CognizantFederalAgency");
                private static final javax.xml.namespace.QName INDIRECTCOSTAGREEMENTDATE$4 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostAgreementDate");
                private static final javax.xml.namespace.QName TOTALFUNDSREQUESTEDINDIRECTCOST$6 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "TotalFundsRequestedIndirectCost");
                
                
                /**
                 * Gets array of all "IndirectCostItems" elements
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems[] getIndirectCostItemsArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      java.util.List targetList = new java.util.ArrayList();
                      get_store().find_all_element_users(INDIRECTCOSTITEMS$0, targetList);
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems[] result = new gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems[targetList.size()];
                      targetList.toArray(result);
                      return result;
                    }
                }
                
                /**
                 * Gets ith "IndirectCostItems" element
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems getIndirectCostItemsArray(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems)get_store().find_element_user(INDIRECTCOSTITEMS$0, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      return target;
                    }
                }
                
                /**
                 * Returns number of "IndirectCostItems" element
                 */
                public int sizeOfIndirectCostItemsArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(INDIRECTCOSTITEMS$0);
                    }
                }
                
                /**
                 * Sets array of all "IndirectCostItems" element  WARNING: This method is not atomicaly synchronized.
                 */
                public void setIndirectCostItemsArray(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems[] indirectCostItemsArray)
                {
                    check_orphaned();
                    arraySetterHelper(indirectCostItemsArray, INDIRECTCOSTITEMS$0);
                }
                
                /**
                 * Sets ith "IndirectCostItems" element
                 */
                public void setIndirectCostItemsArray(int i, gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems indirectCostItems)
                {
                    generatedSetterHelperImpl(indirectCostItems, INDIRECTCOSTITEMS$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
                }
                
                /**
                 * Inserts and returns a new empty value (as xml) as the ith "IndirectCostItems" element
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems insertNewIndirectCostItems(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems)get_store().insert_element_user(INDIRECTCOSTITEMS$0, i);
                      return target;
                    }
                }
                
                /**
                 * Appends and returns a new empty value (as xml) as the last "IndirectCostItems" element
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems addNewIndirectCostItems()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems)get_store().add_element_user(INDIRECTCOSTITEMS$0);
                      return target;
                    }
                }
                
                /**
                 * Removes the ith "IndirectCostItems" element
                 */
                public void removeIndirectCostItems(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(INDIRECTCOSTITEMS$0, i);
                    }
                }
                
                /**
                 * Gets the "CognizantFederalAgency" element
                 */
                public java.lang.String getCognizantFederalAgency()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COGNIZANTFEDERALAGENCY$2, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "CognizantFederalAgency" element
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency xgetCognizantFederalAgency()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency)get_store().find_element_user(COGNIZANTFEDERALAGENCY$2, 0);
                      return target;
                    }
                }
                
                /**
                 * True if has "CognizantFederalAgency" element
                 */
                public boolean isSetCognizantFederalAgency()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(COGNIZANTFEDERALAGENCY$2) != 0;
                    }
                }
                
                /**
                 * Sets the "CognizantFederalAgency" element
                 */
                public void setCognizantFederalAgency(java.lang.String cognizantFederalAgency)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COGNIZANTFEDERALAGENCY$2, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COGNIZANTFEDERALAGENCY$2);
                      }
                      target.setStringValue(cognizantFederalAgency);
                    }
                }
                
                /**
                 * Sets (as xml) the "CognizantFederalAgency" element
                 */
                public void xsetCognizantFederalAgency(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency cognizantFederalAgency)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency)get_store().find_element_user(COGNIZANTFEDERALAGENCY$2, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency)get_store().add_element_user(COGNIZANTFEDERALAGENCY$2);
                      }
                      target.set(cognizantFederalAgency);
                    }
                }
                
                /**
                 * Unsets the "CognizantFederalAgency" element
                 */
                public void unsetCognizantFederalAgency()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(COGNIZANTFEDERALAGENCY$2, 0);
                    }
                }
                
                /**
                 * Gets the "IndirectCostAgreementDate" element
                 */
                public java.util.Calendar getIndirectCostAgreementDate()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTAGREEMENTDATE$4, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getCalendarValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "IndirectCostAgreementDate" element
                 */
                public org.apache.xmlbeans.XmlDate xgetIndirectCostAgreementDate()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlDate target = null;
                      target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(INDIRECTCOSTAGREEMENTDATE$4, 0);
                      return target;
                    }
                }
                
                /**
                 * True if has "IndirectCostAgreementDate" element
                 */
                public boolean isSetIndirectCostAgreementDate()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(INDIRECTCOSTAGREEMENTDATE$4) != 0;
                    }
                }
                
                /**
                 * Sets the "IndirectCostAgreementDate" element
                 */
                public void setIndirectCostAgreementDate(java.util.Calendar indirectCostAgreementDate)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTAGREEMENTDATE$4, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIRECTCOSTAGREEMENTDATE$4);
                      }
                      target.setCalendarValue(indirectCostAgreementDate);
                    }
                }
                
                /**
                 * Sets (as xml) the "IndirectCostAgreementDate" element
                 */
                public void xsetIndirectCostAgreementDate(org.apache.xmlbeans.XmlDate indirectCostAgreementDate)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlDate target = null;
                      target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(INDIRECTCOSTAGREEMENTDATE$4, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(INDIRECTCOSTAGREEMENTDATE$4);
                      }
                      target.set(indirectCostAgreementDate);
                    }
                }
                
                /**
                 * Unsets the "IndirectCostAgreementDate" element
                 */
                public void unsetIndirectCostAgreementDate()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(INDIRECTCOSTAGREEMENTDATE$4, 0);
                    }
                }
                
                /**
                 * Gets the "TotalFundsRequestedIndirectCost" element
                 */
                public java.math.BigDecimal getTotalFundsRequestedIndirectCost()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "TotalFundsRequestedIndirectCost" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetTotalFundsRequestedIndirectCost()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
                      return target;
                    }
                }
                
                /**
                 * True if has "TotalFundsRequestedIndirectCost" element
                 */
                public boolean isSetTotalFundsRequestedIndirectCost()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(TOTALFUNDSREQUESTEDINDIRECTCOST$6) != 0;
                    }
                }
                
                /**
                 * Sets the "TotalFundsRequestedIndirectCost" element
                 */
                public void setTotalFundsRequestedIndirectCost(java.math.BigDecimal totalFundsRequestedIndirectCost)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6);
                      }
                      target.setBigDecimalValue(totalFundsRequestedIndirectCost);
                    }
                }
                
                /**
                 * Sets (as xml) the "TotalFundsRequestedIndirectCost" element
                 */
                public void xsetTotalFundsRequestedIndirectCost(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType totalFundsRequestedIndirectCost)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6);
                      }
                      target.set(totalFundsRequestedIndirectCost);
                    }
                }
                
                /**
                 * Unsets the "TotalFundsRequestedIndirectCost" element
                 */
                public void unsetTotalFundsRequestedIndirectCost()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(TOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
                    }
                }
                /**
                 * An XML IndirectCostItems(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
                 *
                 * This is a complex type.
                 */
                public static class IndirectCostItemsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems
                {
                    private static final long serialVersionUID = 1L;
                    
                    public IndirectCostItemsImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType);
                    }
                    
                    private static final javax.xml.namespace.QName INDIRECTCOSTTYPEDESCRIPTION$0 = 
                      new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostTypeDescription");
                    private static final javax.xml.namespace.QName INDIRECTCOSTRATE$2 = 
                      new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostRate");
                    private static final javax.xml.namespace.QName INDIRECTCOSTBASE$4 = 
                      new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostBase");
                    private static final javax.xml.namespace.QName INDIRECTCOSTFUNDSREQUESTED$6 = 
                      new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostFundsRequested");
                    
                    
                    /**
                     * Gets the "IndirectCostTypeDescription" element
                     */
                    public java.lang.String getIndirectCostTypeDescription()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        org.apache.xmlbeans.SimpleValue target = null;
                        target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTTYPEDESCRIPTION$0, 0);
                        if (target == null)
                        {
                          return null;
                        }
                        return target.getStringValue();
                      }
                    }
                    
                    /**
                     * Gets (as xml) the "IndirectCostTypeDescription" element
                     */
                    public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription xgetIndirectCostTypeDescription()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription target = null;
                        target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription)get_store().find_element_user(INDIRECTCOSTTYPEDESCRIPTION$0, 0);
                        return target;
                      }
                    }
                    
                    /**
                     * True if has "IndirectCostTypeDescription" element
                     */
                    public boolean isSetIndirectCostTypeDescription()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        return get_store().count_elements(INDIRECTCOSTTYPEDESCRIPTION$0) != 0;
                      }
                    }
                    
                    /**
                     * Sets the "IndirectCostTypeDescription" element
                     */
                    public void setIndirectCostTypeDescription(java.lang.String indirectCostTypeDescription)
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        org.apache.xmlbeans.SimpleValue target = null;
                        target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTTYPEDESCRIPTION$0, 0);
                        if (target == null)
                        {
                          target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIRECTCOSTTYPEDESCRIPTION$0);
                        }
                        target.setStringValue(indirectCostTypeDescription);
                      }
                    }
                    
                    /**
                     * Sets (as xml) the "IndirectCostTypeDescription" element
                     */
                    public void xsetIndirectCostTypeDescription(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription indirectCostTypeDescription)
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription target = null;
                        target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription)get_store().find_element_user(INDIRECTCOSTTYPEDESCRIPTION$0, 0);
                        if (target == null)
                        {
                          target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription)get_store().add_element_user(INDIRECTCOSTTYPEDESCRIPTION$0);
                        }
                        target.set(indirectCostTypeDescription);
                      }
                    }
                    
                    /**
                     * Unsets the "IndirectCostTypeDescription" element
                     */
                    public void unsetIndirectCostTypeDescription()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        get_store().remove_element(INDIRECTCOSTTYPEDESCRIPTION$0, 0);
                      }
                    }
                    
                    /**
                     * Gets the "IndirectCostRate" element
                     */
                    public java.math.BigDecimal getIndirectCostRate()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        org.apache.xmlbeans.SimpleValue target = null;
                        target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTRATE$2, 0);
                        if (target == null)
                        {
                          return null;
                        }
                        return target.getBigDecimalValue();
                      }
                    }
                    
                    /**
                     * Gets (as xml) the "IndirectCostRate" element
                     */
                    public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate xgetIndirectCostRate()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate target = null;
                        target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate)get_store().find_element_user(INDIRECTCOSTRATE$2, 0);
                        return target;
                      }
                    }
                    
                    /**
                     * True if has "IndirectCostRate" element
                     */
                    public boolean isSetIndirectCostRate()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        return get_store().count_elements(INDIRECTCOSTRATE$2) != 0;
                      }
                    }
                    
                    /**
                     * Sets the "IndirectCostRate" element
                     */
                    public void setIndirectCostRate(java.math.BigDecimal indirectCostRate)
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        org.apache.xmlbeans.SimpleValue target = null;
                        target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTRATE$2, 0);
                        if (target == null)
                        {
                          target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIRECTCOSTRATE$2);
                        }
                        target.setBigDecimalValue(indirectCostRate);
                      }
                    }
                    
                    /**
                     * Sets (as xml) the "IndirectCostRate" element
                     */
                    public void xsetIndirectCostRate(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate indirectCostRate)
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate target = null;
                        target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate)get_store().find_element_user(INDIRECTCOSTRATE$2, 0);
                        if (target == null)
                        {
                          target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate)get_store().add_element_user(INDIRECTCOSTRATE$2);
                        }
                        target.set(indirectCostRate);
                      }
                    }
                    
                    /**
                     * Unsets the "IndirectCostRate" element
                     */
                    public void unsetIndirectCostRate()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        get_store().remove_element(INDIRECTCOSTRATE$2, 0);
                      }
                    }
                    
                    /**
                     * Gets the "IndirectCostBase" element
                     */
                    public java.math.BigDecimal getIndirectCostBase()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        org.apache.xmlbeans.SimpleValue target = null;
                        target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTBASE$4, 0);
                        if (target == null)
                        {
                          return null;
                        }
                        return target.getBigDecimalValue();
                      }
                    }
                    
                    /**
                     * Gets (as xml) the "IndirectCostBase" element
                     */
                    public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetIndirectCostBase()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(INDIRECTCOSTBASE$4, 0);
                        return target;
                      }
                    }
                    
                    /**
                     * True if has "IndirectCostBase" element
                     */
                    public boolean isSetIndirectCostBase()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        return get_store().count_elements(INDIRECTCOSTBASE$4) != 0;
                      }
                    }
                    
                    /**
                     * Sets the "IndirectCostBase" element
                     */
                    public void setIndirectCostBase(java.math.BigDecimal indirectCostBase)
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        org.apache.xmlbeans.SimpleValue target = null;
                        target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTBASE$4, 0);
                        if (target == null)
                        {
                          target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIRECTCOSTBASE$4);
                        }
                        target.setBigDecimalValue(indirectCostBase);
                      }
                    }
                    
                    /**
                     * Sets (as xml) the "IndirectCostBase" element
                     */
                    public void xsetIndirectCostBase(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType indirectCostBase)
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(INDIRECTCOSTBASE$4, 0);
                        if (target == null)
                        {
                          target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(INDIRECTCOSTBASE$4);
                        }
                        target.set(indirectCostBase);
                      }
                    }
                    
                    /**
                     * Unsets the "IndirectCostBase" element
                     */
                    public void unsetIndirectCostBase()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        get_store().remove_element(INDIRECTCOSTBASE$4, 0);
                      }
                    }
                    
                    /**
                     * Gets the "IndirectCostFundsRequested" element
                     */
                    public java.math.BigDecimal getIndirectCostFundsRequested()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        org.apache.xmlbeans.SimpleValue target = null;
                        target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTFUNDSREQUESTED$6, 0);
                        if (target == null)
                        {
                          return null;
                        }
                        return target.getBigDecimalValue();
                      }
                    }
                    
                    /**
                     * Gets (as xml) the "IndirectCostFundsRequested" element
                     */
                    public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetIndirectCostFundsRequested()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(INDIRECTCOSTFUNDSREQUESTED$6, 0);
                        return target;
                      }
                    }
                    
                    /**
                     * True if has "IndirectCostFundsRequested" element
                     */
                    public boolean isSetIndirectCostFundsRequested()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        return get_store().count_elements(INDIRECTCOSTFUNDSREQUESTED$6) != 0;
                      }
                    }
                    
                    /**
                     * Sets the "IndirectCostFundsRequested" element
                     */
                    public void setIndirectCostFundsRequested(java.math.BigDecimal indirectCostFundsRequested)
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        org.apache.xmlbeans.SimpleValue target = null;
                        target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTFUNDSREQUESTED$6, 0);
                        if (target == null)
                        {
                          target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIRECTCOSTFUNDSREQUESTED$6);
                        }
                        target.setBigDecimalValue(indirectCostFundsRequested);
                      }
                    }
                    
                    /**
                     * Sets (as xml) the "IndirectCostFundsRequested" element
                     */
                    public void xsetIndirectCostFundsRequested(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType indirectCostFundsRequested)
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(INDIRECTCOSTFUNDSREQUESTED$6, 0);
                        if (target == null)
                        {
                          target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(INDIRECTCOSTFUNDSREQUESTED$6);
                        }
                        target.set(indirectCostFundsRequested);
                      }
                    }
                    
                    /**
                     * Unsets the "IndirectCostFundsRequested" element
                     */
                    public void unsetIndirectCostFundsRequested()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        get_store().remove_element(INDIRECTCOSTFUNDSREQUESTED$6, 0);
                      }
                    }
                    /**
                     * An XML IndirectCostTypeDescription(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
                     *
                     * This is an atomic type that is a restriction of gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document$PHS398ModularBudget12$Periods$IndirectCost$IndirectCostItems$IndirectCostTypeDescription.
                     */
                    public static class IndirectCostTypeDescriptionImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription
                    {
                      private static final long serialVersionUID = 1L;
                      
                      public IndirectCostTypeDescriptionImpl(org.apache.xmlbeans.SchemaType sType)
                      {
                        super(sType, false);
                      }
                      
                      protected IndirectCostTypeDescriptionImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                      {
                        super(sType, b);
                      }
                    }
                    /**
                     * An XML IndirectCostRate(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
                     *
                     * This is an atomic type that is a restriction of gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document$PHS398ModularBudget12$Periods$IndirectCost$IndirectCostItems$IndirectCostRate.
                     */
                    public static class IndirectCostRateImpl extends org.apache.xmlbeans.impl.values.JavaDecimalHolderEx implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate
                    {
                      private static final long serialVersionUID = 1L;
                      
                      public IndirectCostRateImpl(org.apache.xmlbeans.SchemaType sType)
                      {
                        super(sType, false);
                      }
                      
                      protected IndirectCostRateImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                      {
                        super(sType, b);
                      }
                    }
                }
                /**
                 * An XML CognizantFederalAgency(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
                 *
                 * This is an atomic type that is a restriction of gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document$PHS398ModularBudget12$Periods$IndirectCost$CognizantFederalAgency.
                 */
                public static class CognizantFederalAgencyImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency
                {
                    private static final long serialVersionUID = 1L;
                    
                    public CognizantFederalAgencyImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType, false);
                    }
                    
                    protected CognizantFederalAgencyImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                    {
                      super(sType, b);
                    }
                }
            }
        }
        /**
         * An XML CummulativeBudgetInfo(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
         *
         * This is a complex type.
         */
        public static class CummulativeBudgetInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo
        {
            private static final long serialVersionUID = 1L;
            
            public CummulativeBudgetInfoImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName ENTIREPERIODTOTALCOST$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "EntirePeriodTotalCost");
            private static final javax.xml.namespace.QName BUDGETJUSTIFICATIONS$2 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "BudgetJustifications");
            
            
            /**
             * Gets the "EntirePeriodTotalCost" element
             */
            public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost getEntirePeriodTotalCost()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost target = null;
                    target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost)get_store().find_element_user(ENTIREPERIODTOTALCOST$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "EntirePeriodTotalCost" element
             */
            public void setEntirePeriodTotalCost(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost entirePeriodTotalCost)
            {
                generatedSetterHelperImpl(entirePeriodTotalCost, ENTIREPERIODTOTALCOST$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
            }
            
            /**
             * Appends and returns a new empty "EntirePeriodTotalCost" element
             */
            public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost addNewEntirePeriodTotalCost()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost target = null;
                    target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost)get_store().add_element_user(ENTIREPERIODTOTALCOST$0);
                    return target;
                }
            }
            
            /**
             * Gets the "BudgetJustifications" element
             */
            public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications getBudgetJustifications()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications target = null;
                    target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications)get_store().find_element_user(BUDGETJUSTIFICATIONS$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "BudgetJustifications" element
             */
            public boolean isSetBudgetJustifications()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(BUDGETJUSTIFICATIONS$2) != 0;
                }
            }
            
            /**
             * Sets the "BudgetJustifications" element
             */
            public void setBudgetJustifications(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications budgetJustifications)
            {
                generatedSetterHelperImpl(budgetJustifications, BUDGETJUSTIFICATIONS$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
            }
            
            /**
             * Appends and returns a new empty "BudgetJustifications" element
             */
            public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications addNewBudgetJustifications()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications target = null;
                    target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications)get_store().add_element_user(BUDGETJUSTIFICATIONS$2);
                    return target;
                }
            }
            
            /**
             * Unsets the "BudgetJustifications" element
             */
            public void unsetBudgetJustifications()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(BUDGETJUSTIFICATIONS$2, 0);
                }
            }
            /**
             * An XML EntirePeriodTotalCost(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
             *
             * This is a complex type.
             */
            public static class EntirePeriodTotalCostImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost
            {
                private static final long serialVersionUID = 1L;
                
                public EntirePeriodTotalCostImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CumulativeDirectCostLessConsortiumFandA");
                private static final javax.xml.namespace.QName CUMULATIVECONSORTIUMFANDA$2 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CumulativeConsortiumFandA");
                private static final javax.xml.namespace.QName CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CumulativeTotalFundsRequestedDirectCosts");
                private static final javax.xml.namespace.QName CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CumulativeTotalFundsRequestedIndirectCost");
                private static final javax.xml.namespace.QName CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CumulativeTotalFundsRequestedDirectIndirectCosts");
                
                
                /**
                 * Gets the "CumulativeDirectCostLessConsortiumFandA" element
                 */
                public java.math.BigDecimal getCumulativeDirectCostLessConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "CumulativeDirectCostLessConsortiumFandA" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetCumulativeDirectCostLessConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "CumulativeDirectCostLessConsortiumFandA" element
                 */
                public void setCumulativeDirectCostLessConsortiumFandA(java.math.BigDecimal cumulativeDirectCostLessConsortiumFandA)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0);
                      }
                      target.setBigDecimalValue(cumulativeDirectCostLessConsortiumFandA);
                    }
                }
                
                /**
                 * Sets (as xml) the "CumulativeDirectCostLessConsortiumFandA" element
                 */
                public void xsetCumulativeDirectCostLessConsortiumFandA(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType cumulativeDirectCostLessConsortiumFandA)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0);
                      }
                      target.set(cumulativeDirectCostLessConsortiumFandA);
                    }
                }
                
                /**
                 * Gets the "CumulativeConsortiumFandA" element
                 */
                public java.math.BigDecimal getCumulativeConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVECONSORTIUMFANDA$2, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "CumulativeConsortiumFandA" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetCumulativeConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVECONSORTIUMFANDA$2, 0);
                      return target;
                    }
                }
                
                /**
                 * True if has "CumulativeConsortiumFandA" element
                 */
                public boolean isSetCumulativeConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(CUMULATIVECONSORTIUMFANDA$2) != 0;
                    }
                }
                
                /**
                 * Sets the "CumulativeConsortiumFandA" element
                 */
                public void setCumulativeConsortiumFandA(java.math.BigDecimal cumulativeConsortiumFandA)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVECONSORTIUMFANDA$2, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CUMULATIVECONSORTIUMFANDA$2);
                      }
                      target.setBigDecimalValue(cumulativeConsortiumFandA);
                    }
                }
                
                /**
                 * Sets (as xml) the "CumulativeConsortiumFandA" element
                 */
                public void xsetCumulativeConsortiumFandA(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType cumulativeConsortiumFandA)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVECONSORTIUMFANDA$2, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(CUMULATIVECONSORTIUMFANDA$2);
                      }
                      target.set(cumulativeConsortiumFandA);
                    }
                }
                
                /**
                 * Unsets the "CumulativeConsortiumFandA" element
                 */
                public void unsetCumulativeConsortiumFandA()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(CUMULATIVECONSORTIUMFANDA$2, 0);
                    }
                }
                
                /**
                 * Gets the "CumulativeTotalFundsRequestedDirectCosts" element
                 */
                public java.math.BigDecimal getCumulativeTotalFundsRequestedDirectCosts()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "CumulativeTotalFundsRequestedDirectCosts" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetCumulativeTotalFundsRequestedDirectCosts()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "CumulativeTotalFundsRequestedDirectCosts" element
                 */
                public void setCumulativeTotalFundsRequestedDirectCosts(java.math.BigDecimal cumulativeTotalFundsRequestedDirectCosts)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4);
                      }
                      target.setBigDecimalValue(cumulativeTotalFundsRequestedDirectCosts);
                    }
                }
                
                /**
                 * Sets (as xml) the "CumulativeTotalFundsRequestedDirectCosts" element
                 */
                public void xsetCumulativeTotalFundsRequestedDirectCosts(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType cumulativeTotalFundsRequestedDirectCosts)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4);
                      }
                      target.set(cumulativeTotalFundsRequestedDirectCosts);
                    }
                }
                
                /**
                 * Gets the "CumulativeTotalFundsRequestedIndirectCost" element
                 */
                public java.math.BigDecimal getCumulativeTotalFundsRequestedIndirectCost()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "CumulativeTotalFundsRequestedIndirectCost" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetCumulativeTotalFundsRequestedIndirectCost()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
                      return target;
                    }
                }
                
                /**
                 * True if has "CumulativeTotalFundsRequestedIndirectCost" element
                 */
                public boolean isSetCumulativeTotalFundsRequestedIndirectCost()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6) != 0;
                    }
                }
                
                /**
                 * Sets the "CumulativeTotalFundsRequestedIndirectCost" element
                 */
                public void setCumulativeTotalFundsRequestedIndirectCost(java.math.BigDecimal cumulativeTotalFundsRequestedIndirectCost)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6);
                      }
                      target.setBigDecimalValue(cumulativeTotalFundsRequestedIndirectCost);
                    }
                }
                
                /**
                 * Sets (as xml) the "CumulativeTotalFundsRequestedIndirectCost" element
                 */
                public void xsetCumulativeTotalFundsRequestedIndirectCost(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType cumulativeTotalFundsRequestedIndirectCost)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6);
                      }
                      target.set(cumulativeTotalFundsRequestedIndirectCost);
                    }
                }
                
                /**
                 * Unsets the "CumulativeTotalFundsRequestedIndirectCost" element
                 */
                public void unsetCumulativeTotalFundsRequestedIndirectCost()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
                    }
                }
                
                /**
                 * Gets the "CumulativeTotalFundsRequestedDirectIndirectCosts" element
                 */
                public java.math.BigDecimal getCumulativeTotalFundsRequestedDirectIndirectCosts()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "CumulativeTotalFundsRequestedDirectIndirectCosts" element
                 */
                public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetCumulativeTotalFundsRequestedDirectIndirectCosts()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "CumulativeTotalFundsRequestedDirectIndirectCosts" element
                 */
                public void setCumulativeTotalFundsRequestedDirectIndirectCosts(java.math.BigDecimal cumulativeTotalFundsRequestedDirectIndirectCosts)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8);
                      }
                      target.setBigDecimalValue(cumulativeTotalFundsRequestedDirectIndirectCosts);
                    }
                }
                
                /**
                 * Sets (as xml) the "CumulativeTotalFundsRequestedDirectIndirectCosts" element
                 */
                public void xsetCumulativeTotalFundsRequestedDirectIndirectCosts(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType cumulativeTotalFundsRequestedDirectIndirectCosts)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
                      target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
                      if (target == null)
                      {
                        target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8);
                      }
                      target.set(cumulativeTotalFundsRequestedDirectIndirectCosts);
                    }
                }
            }
            /**
             * An XML BudgetJustifications(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
             *
             * This is a complex type.
             */
            public static class BudgetJustificationsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications
            {
                private static final long serialVersionUID = 1L;
                
                public BudgetJustificationsImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName PERSONNELJUSTIFICATION$0 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "PersonnelJustification");
                private static final javax.xml.namespace.QName CONSORTIUMJUSTIFICATION$2 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "ConsortiumJustification");
                private static final javax.xml.namespace.QName ADDITIONALNARRATIVEJUSTIFICATION$4 = 
                    new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "AdditionalNarrativeJustification");
                
                
                /**
                 * Gets the "PersonnelJustification" element
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification getPersonnelJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification)get_store().find_element_user(PERSONNELJUSTIFICATION$0, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target;
                    }
                }
                
                /**
                 * True if has "PersonnelJustification" element
                 */
                public boolean isSetPersonnelJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(PERSONNELJUSTIFICATION$0) != 0;
                    }
                }
                
                /**
                 * Sets the "PersonnelJustification" element
                 */
                public void setPersonnelJustification(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification personnelJustification)
                {
                    generatedSetterHelperImpl(personnelJustification, PERSONNELJUSTIFICATION$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
                }
                
                /**
                 * Appends and returns a new empty "PersonnelJustification" element
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification addNewPersonnelJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification)get_store().add_element_user(PERSONNELJUSTIFICATION$0);
                      return target;
                    }
                }
                
                /**
                 * Unsets the "PersonnelJustification" element
                 */
                public void unsetPersonnelJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(PERSONNELJUSTIFICATION$0, 0);
                    }
                }
                
                /**
                 * Gets the "ConsortiumJustification" element
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification getConsortiumJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification)get_store().find_element_user(CONSORTIUMJUSTIFICATION$2, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target;
                    }
                }
                
                /**
                 * True if has "ConsortiumJustification" element
                 */
                public boolean isSetConsortiumJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(CONSORTIUMJUSTIFICATION$2) != 0;
                    }
                }
                
                /**
                 * Sets the "ConsortiumJustification" element
                 */
                public void setConsortiumJustification(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification consortiumJustification)
                {
                    generatedSetterHelperImpl(consortiumJustification, CONSORTIUMJUSTIFICATION$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
                }
                
                /**
                 * Appends and returns a new empty "ConsortiumJustification" element
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification addNewConsortiumJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification)get_store().add_element_user(CONSORTIUMJUSTIFICATION$2);
                      return target;
                    }
                }
                
                /**
                 * Unsets the "ConsortiumJustification" element
                 */
                public void unsetConsortiumJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(CONSORTIUMJUSTIFICATION$2, 0);
                    }
                }
                
                /**
                 * Gets the "AdditionalNarrativeJustification" element
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification getAdditionalNarrativeJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification)get_store().find_element_user(ADDITIONALNARRATIVEJUSTIFICATION$4, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target;
                    }
                }
                
                /**
                 * True if has "AdditionalNarrativeJustification" element
                 */
                public boolean isSetAdditionalNarrativeJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(ADDITIONALNARRATIVEJUSTIFICATION$4) != 0;
                    }
                }
                
                /**
                 * Sets the "AdditionalNarrativeJustification" element
                 */
                public void setAdditionalNarrativeJustification(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification additionalNarrativeJustification)
                {
                    generatedSetterHelperImpl(additionalNarrativeJustification, ADDITIONALNARRATIVEJUSTIFICATION$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
                }
                
                /**
                 * Appends and returns a new empty "AdditionalNarrativeJustification" element
                 */
                public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification addNewAdditionalNarrativeJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification target = null;
                      target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification)get_store().add_element_user(ADDITIONALNARRATIVEJUSTIFICATION$4);
                      return target;
                    }
                }
                
                /**
                 * Unsets the "AdditionalNarrativeJustification" element
                 */
                public void unsetAdditionalNarrativeJustification()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(ADDITIONALNARRATIVEJUSTIFICATION$4, 0);
                    }
                }
                /**
                 * An XML PersonnelJustification(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
                 *
                 * This is a complex type.
                 */
                public static class PersonnelJustificationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification
                {
                    private static final long serialVersionUID = 1L;
                    
                    public PersonnelJustificationImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType);
                    }
                    
                    private static final javax.xml.namespace.QName ATTFILE$0 = 
                      new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "attFile");
                    
                    
                    /**
                     * Gets the "attFile" element
                     */
                    public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getAttFile()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
                        target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(ATTFILE$0, 0);
                        if (target == null)
                        {
                          return null;
                        }
                        return target;
                      }
                    }
                    
                    /**
                     * Sets the "attFile" element
                     */
                    public void setAttFile(gov.grants.apply.system.attachmentsV10.AttachedFileDataType attFile)
                    {
                      generatedSetterHelperImpl(attFile, ATTFILE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
                    }
                    
                    /**
                     * Appends and returns a new empty "attFile" element
                     */
                    public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewAttFile()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
                        target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(ATTFILE$0);
                        return target;
                      }
                    }
                }
                /**
                 * An XML ConsortiumJustification(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
                 *
                 * This is a complex type.
                 */
                public static class ConsortiumJustificationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification
                {
                    private static final long serialVersionUID = 1L;
                    
                    public ConsortiumJustificationImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType);
                    }
                    
                    private static final javax.xml.namespace.QName ATTFILE$0 = 
                      new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "attFile");
                    
                    
                    /**
                     * Gets the "attFile" element
                     */
                    public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getAttFile()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
                        target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(ATTFILE$0, 0);
                        if (target == null)
                        {
                          return null;
                        }
                        return target;
                      }
                    }
                    
                    /**
                     * Sets the "attFile" element
                     */
                    public void setAttFile(gov.grants.apply.system.attachmentsV10.AttachedFileDataType attFile)
                    {
                      generatedSetterHelperImpl(attFile, ATTFILE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
                    }
                    
                    /**
                     * Appends and returns a new empty "attFile" element
                     */
                    public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewAttFile()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
                        target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(ATTFILE$0);
                        return target;
                      }
                    }
                }
                /**
                 * An XML AdditionalNarrativeJustification(@http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2).
                 *
                 * This is a complex type.
                 */
                public static class AdditionalNarrativeJustificationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification
                {
                    private static final long serialVersionUID = 1L;
                    
                    public AdditionalNarrativeJustificationImpl(org.apache.xmlbeans.SchemaType sType)
                    {
                      super(sType);
                    }
                    
                    private static final javax.xml.namespace.QName ATTFILE$0 = 
                      new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "attFile");
                    
                    
                    /**
                     * Gets the "attFile" element
                     */
                    public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getAttFile()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
                        target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(ATTFILE$0, 0);
                        if (target == null)
                        {
                          return null;
                        }
                        return target;
                      }
                    }
                    
                    /**
                     * Sets the "attFile" element
                     */
                    public void setAttFile(gov.grants.apply.system.attachmentsV10.AttachedFileDataType attFile)
                    {
                      generatedSetterHelperImpl(attFile, ATTFILE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
                    }
                    
                    /**
                     * Appends and returns a new empty "attFile" element
                     */
                    public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewAttFile()
                    {
                      synchronized (monitor())
                      {
                        check_orphaned();
                        gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
                        target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(ATTFILE$0);
                        return target;
                      }
                    }
                }
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy