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

gov.grants.apply.forms.sf424CV10.impl.TotalProjectCostsDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: TotalProjectCosts
 * Namespace: http://apply.grants.gov/forms/SF424C-V1.0
 * Java type: gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.forms.sf424CV10.impl;
/**
 * A document containing one TotalProjectCosts(@http://apply.grants.gov/forms/SF424C-V1.0) element.
 *
 * This is a complex type.
 */
public class TotalProjectCostsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument
{
    private static final long serialVersionUID = 1L;
    
    public TotalProjectCostsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TOTALPROJECTCOSTS$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "TotalProjectCosts");
    
    
    /**
     * Gets the "TotalProjectCosts" element
     */
    public gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument.TotalProjectCosts getTotalProjectCosts()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument.TotalProjectCosts target = null;
            target = (gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument.TotalProjectCosts)get_store().find_element_user(TOTALPROJECTCOSTS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "TotalProjectCosts" element
     */
    public void setTotalProjectCosts(gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument.TotalProjectCosts totalProjectCosts)
    {
        generatedSetterHelperImpl(totalProjectCosts, TOTALPROJECTCOSTS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "TotalProjectCosts" element
     */
    public gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument.TotalProjectCosts addNewTotalProjectCosts()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument.TotalProjectCosts target = null;
            target = (gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument.TotalProjectCosts)get_store().add_element_user(TOTALPROJECTCOSTS$0);
            return target;
        }
    }
    /**
     * An XML TotalProjectCosts(@http://apply.grants.gov/forms/SF424C-V1.0).
     *
     * This is a complex type.
     */
    public static class TotalProjectCostsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument.TotalProjectCosts
    {
        private static final long serialVersionUID = 1L;
        
        public TotalProjectCostsImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName BUDGETESTIMATEDCOSTAMOUNT$0 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "BudgetEstimatedCostAmount");
        private static final javax.xml.namespace.QName BUDGETNONALLOWABLECOSTAMOUNT$2 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "BudgetNonAllowableCostAmount");
        private static final javax.xml.namespace.QName BUDGETTOTALALLOWABLECOSTAMOUNT$4 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "BudgetTotalAllowableCostAmount");
        
        
        /**
         * Gets the "BudgetEstimatedCostAmount" element
         */
        public java.math.BigDecimal getBudgetEstimatedCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETESTIMATEDCOSTAMOUNT$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetEstimatedCostAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetEstimatedCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETESTIMATEDCOSTAMOUNT$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetEstimatedCostAmount" element
         */
        public boolean isSetBudgetEstimatedCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETESTIMATEDCOSTAMOUNT$0) != 0;
            }
        }
        
        /**
         * Sets the "BudgetEstimatedCostAmount" element
         */
        public void setBudgetEstimatedCostAmount(java.math.BigDecimal budgetEstimatedCostAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETESTIMATEDCOSTAMOUNT$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETESTIMATEDCOSTAMOUNT$0);
                }
                target.setBigDecimalValue(budgetEstimatedCostAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetEstimatedCostAmount" element
         */
        public void xsetBudgetEstimatedCostAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetEstimatedCostAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETESTIMATEDCOSTAMOUNT$0, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETESTIMATEDCOSTAMOUNT$0);
                }
                target.set(budgetEstimatedCostAmount);
            }
        }
        
        /**
         * Unsets the "BudgetEstimatedCostAmount" element
         */
        public void unsetBudgetEstimatedCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETESTIMATEDCOSTAMOUNT$0, 0);
            }
        }
        
        /**
         * Gets the "BudgetNonAllowableCostAmount" element
         */
        public java.math.BigDecimal getBudgetNonAllowableCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONALLOWABLECOSTAMOUNT$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetNonAllowableCostAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetNonAllowableCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONALLOWABLECOSTAMOUNT$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetNonAllowableCostAmount" element
         */
        public boolean isSetBudgetNonAllowableCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETNONALLOWABLECOSTAMOUNT$2) != 0;
            }
        }
        
        /**
         * Sets the "BudgetNonAllowableCostAmount" element
         */
        public void setBudgetNonAllowableCostAmount(java.math.BigDecimal budgetNonAllowableCostAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONALLOWABLECOSTAMOUNT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETNONALLOWABLECOSTAMOUNT$2);
                }
                target.setBigDecimalValue(budgetNonAllowableCostAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetNonAllowableCostAmount" element
         */
        public void xsetBudgetNonAllowableCostAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetNonAllowableCostAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONALLOWABLECOSTAMOUNT$2, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETNONALLOWABLECOSTAMOUNT$2);
                }
                target.set(budgetNonAllowableCostAmount);
            }
        }
        
        /**
         * Unsets the "BudgetNonAllowableCostAmount" element
         */
        public void unsetBudgetNonAllowableCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETNONALLOWABLECOSTAMOUNT$2, 0);
            }
        }
        
        /**
         * Gets the "BudgetTotalAllowableCostAmount" element
         */
        public java.math.BigDecimal getBudgetTotalAllowableCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTOTALALLOWABLECOSTAMOUNT$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetTotalAllowableCostAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetTotalAllowableCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTOTALALLOWABLECOSTAMOUNT$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetTotalAllowableCostAmount" element
         */
        public boolean isSetBudgetTotalAllowableCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETTOTALALLOWABLECOSTAMOUNT$4) != 0;
            }
        }
        
        /**
         * Sets the "BudgetTotalAllowableCostAmount" element
         */
        public void setBudgetTotalAllowableCostAmount(java.math.BigDecimal budgetTotalAllowableCostAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTOTALALLOWABLECOSTAMOUNT$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETTOTALALLOWABLECOSTAMOUNT$4);
                }
                target.setBigDecimalValue(budgetTotalAllowableCostAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetTotalAllowableCostAmount" element
         */
        public void xsetBudgetTotalAllowableCostAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetTotalAllowableCostAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTOTALALLOWABLECOSTAMOUNT$4, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETTOTALALLOWABLECOSTAMOUNT$4);
                }
                target.set(budgetTotalAllowableCostAmount);
            }
        }
        
        /**
         * Unsets the "BudgetTotalAllowableCostAmount" element
         */
        public void unsetBudgetTotalAllowableCostAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETTOTALALLOWABLECOSTAMOUNT$4, 0);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy