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

gov.grants.apply.forms.sf424AV10.impl.SummaryTotalsDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: SummaryTotals
 * Namespace: http://apply.grants.gov/forms/SF424A-V1.0
 * Java type: gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.forms.sf424AV10.impl;
/**
 * A document containing one SummaryTotals(@http://apply.grants.gov/forms/SF424A-V1.0) element.
 *
 * This is a complex type.
 */
public class SummaryTotalsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument
{
    private static final long serialVersionUID = 1L;
    
    public SummaryTotalsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SUMMARYTOTALS$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "SummaryTotals");
    
    
    /**
     * Gets the "SummaryTotals" element
     */
    public gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals getSummaryTotals()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals target = null;
            target = (gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals)get_store().find_element_user(SUMMARYTOTALS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "SummaryTotals" element
     */
    public void setSummaryTotals(gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals summaryTotals)
    {
        generatedSetterHelperImpl(summaryTotals, SUMMARYTOTALS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "SummaryTotals" element
     */
    public gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals addNewSummaryTotals()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals target = null;
            target = (gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals)get_store().add_element_user(SUMMARYTOTALS$0);
            return target;
        }
    }
    /**
     * An XML SummaryTotals(@http://apply.grants.gov/forms/SF424A-V1.0).
     *
     * This is a complex type.
     */
    public static class SummaryTotalsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals
    {
        private static final long serialVersionUID = 1L;
        
        public SummaryTotalsImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFederalEstimatedUnobligatedAmount");
        private static final javax.xml.namespace.QName BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetNonFederalEstimatedUnobligatedAmount");
        private static final javax.xml.namespace.QName BUDGETFEDERALNEWORREVISEDAMOUNT$4 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFederalNewOrRevisedAmount");
        private static final javax.xml.namespace.QName BUDGETNONFEDERALNEWORREVISEDAMOUNT$6 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetNonFederalNewOrRevisedAmount");
        private static final javax.xml.namespace.QName BUDGETTOTALNEWORREVISEDAMOUNT$8 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetTotalNewOrRevisedAmount");
        
        
        /**
         * Gets the "BudgetFederalEstimatedUnobligatedAmount" element
         */
        public java.math.BigDecimal getBudgetFederalEstimatedUnobligatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetFederalEstimatedUnobligatedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetFederalEstimatedUnobligatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetFederalEstimatedUnobligatedAmount" element
         */
        public boolean isSetBudgetFederalEstimatedUnobligatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0) != 0;
            }
        }
        
        /**
         * Sets the "BudgetFederalEstimatedUnobligatedAmount" element
         */
        public void setBudgetFederalEstimatedUnobligatedAmount(java.math.BigDecimal budgetFederalEstimatedUnobligatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0);
                }
                target.setBigDecimalValue(budgetFederalEstimatedUnobligatedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetFederalEstimatedUnobligatedAmount" element
         */
        public void xsetBudgetFederalEstimatedUnobligatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetFederalEstimatedUnobligatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0);
                }
                target.set(budgetFederalEstimatedUnobligatedAmount);
            }
        }
        
        /**
         * Unsets the "BudgetFederalEstimatedUnobligatedAmount" element
         */
        public void unsetBudgetFederalEstimatedUnobligatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0, 0);
            }
        }
        
        /**
         * Gets the "BudgetNonFederalEstimatedUnobligatedAmount" element
         */
        public java.math.BigDecimal getBudgetNonFederalEstimatedUnobligatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetNonFederalEstimatedUnobligatedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetNonFederalEstimatedUnobligatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetNonFederalEstimatedUnobligatedAmount" element
         */
        public boolean isSetBudgetNonFederalEstimatedUnobligatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2) != 0;
            }
        }
        
        /**
         * Sets the "BudgetNonFederalEstimatedUnobligatedAmount" element
         */
        public void setBudgetNonFederalEstimatedUnobligatedAmount(java.math.BigDecimal budgetNonFederalEstimatedUnobligatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2);
                }
                target.setBigDecimalValue(budgetNonFederalEstimatedUnobligatedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetNonFederalEstimatedUnobligatedAmount" element
         */
        public void xsetBudgetNonFederalEstimatedUnobligatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetNonFederalEstimatedUnobligatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2);
                }
                target.set(budgetNonFederalEstimatedUnobligatedAmount);
            }
        }
        
        /**
         * Unsets the "BudgetNonFederalEstimatedUnobligatedAmount" element
         */
        public void unsetBudgetNonFederalEstimatedUnobligatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2, 0);
            }
        }
        
        /**
         * Gets the "BudgetFederalNewOrRevisedAmount" element
         */
        public java.math.BigDecimal getBudgetFederalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetFederalNewOrRevisedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetFederalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetFederalNewOrRevisedAmount" element
         */
        public boolean isSetBudgetFederalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETFEDERALNEWORREVISEDAMOUNT$4) != 0;
            }
        }
        
        /**
         * Sets the "BudgetFederalNewOrRevisedAmount" element
         */
        public void setBudgetFederalNewOrRevisedAmount(java.math.BigDecimal budgetFederalNewOrRevisedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4);
                }
                target.setBigDecimalValue(budgetFederalNewOrRevisedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetFederalNewOrRevisedAmount" element
         */
        public void xsetBudgetFederalNewOrRevisedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetFederalNewOrRevisedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4);
                }
                target.set(budgetFederalNewOrRevisedAmount);
            }
        }
        
        /**
         * Unsets the "BudgetFederalNewOrRevisedAmount" element
         */
        public void unsetBudgetFederalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETFEDERALNEWORREVISEDAMOUNT$4, 0);
            }
        }
        
        /**
         * Gets the "BudgetNonFederalNewOrRevisedAmount" element
         */
        public java.math.BigDecimal getBudgetNonFederalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetNonFederalNewOrRevisedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetNonFederalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetNonFederalNewOrRevisedAmount" element
         */
        public boolean isSetBudgetNonFederalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6) != 0;
            }
        }
        
        /**
         * Sets the "BudgetNonFederalNewOrRevisedAmount" element
         */
        public void setBudgetNonFederalNewOrRevisedAmount(java.math.BigDecimal budgetNonFederalNewOrRevisedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6);
                }
                target.setBigDecimalValue(budgetNonFederalNewOrRevisedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetNonFederalNewOrRevisedAmount" element
         */
        public void xsetBudgetNonFederalNewOrRevisedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetNonFederalNewOrRevisedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6);
                }
                target.set(budgetNonFederalNewOrRevisedAmount);
            }
        }
        
        /**
         * Unsets the "BudgetNonFederalNewOrRevisedAmount" element
         */
        public void unsetBudgetNonFederalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6, 0);
            }
        }
        
        /**
         * Gets the "BudgetTotalNewOrRevisedAmount" element
         */
        public java.math.BigDecimal getBudgetTotalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetTotalNewOrRevisedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetTotalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetTotalNewOrRevisedAmount" element
         */
        public boolean isSetBudgetTotalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETTOTALNEWORREVISEDAMOUNT$8) != 0;
            }
        }
        
        /**
         * Sets the "BudgetTotalNewOrRevisedAmount" element
         */
        public void setBudgetTotalNewOrRevisedAmount(java.math.BigDecimal budgetTotalNewOrRevisedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8);
                }
                target.setBigDecimalValue(budgetTotalNewOrRevisedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetTotalNewOrRevisedAmount" element
         */
        public void xsetBudgetTotalNewOrRevisedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetTotalNewOrRevisedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8);
                }
                target.set(budgetTotalNewOrRevisedAmount);
            }
        }
        
        /**
         * Unsets the "BudgetTotalNewOrRevisedAmount" element
         */
        public void unsetBudgetTotalNewOrRevisedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETTOTALNEWORREVISEDAMOUNT$8, 0);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy