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

gov.grants.apply.forms.sf424C20V20.impl.CostAmountGroupImpl Maven / Gradle / Ivy

/*
 * XML Type:  CostAmountGroup
 * Namespace: http://apply.grants.gov/forms/SF424C_2_0-V2.0
 * Java type: gov.grants.apply.forms.sf424C20V20.CostAmountGroup
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.forms.sf424C20V20.impl;
/**
 * An XML CostAmountGroup(@http://apply.grants.gov/forms/SF424C_2_0-V2.0).
 *
 * This is a complex type.
 */
public class CostAmountGroupImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424C20V20.CostAmountGroup
{
    private static final long serialVersionUID = 1L;
    
    public CostAmountGroupImpl(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_2_0-V2.0", "BudgetEstimatedCostAmount");
    private static final javax.xml.namespace.QName BUDGETNONALLOWABLECOSTAMOUNT$2 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "BudgetNonAllowableCostAmount");
    private static final javax.xml.namespace.QName BUDGETTOTALALLOWABLECOSTAMOUNT$4 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.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.forms.sf424C20V20.EnteredAmountType xgetBudgetEstimatedCostAmount()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424C20V20.EnteredAmountType target = null;
            target = (gov.grants.apply.forms.sf424C20V20.EnteredAmountType)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.forms.sf424C20V20.EnteredAmountType budgetEstimatedCostAmount)
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424C20V20.EnteredAmountType target = null;
            target = (gov.grants.apply.forms.sf424C20V20.EnteredAmountType)get_store().find_element_user(BUDGETESTIMATEDCOSTAMOUNT$0, 0);
            if (target == null)
            {
                target = (gov.grants.apply.forms.sf424C20V20.EnteredAmountType)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.forms.sf424C20V20.EnteredAmountType xgetBudgetNonAllowableCostAmount()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424C20V20.EnteredAmountType target = null;
            target = (gov.grants.apply.forms.sf424C20V20.EnteredAmountType)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.forms.sf424C20V20.EnteredAmountType budgetNonAllowableCostAmount)
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424C20V20.EnteredAmountType target = null;
            target = (gov.grants.apply.forms.sf424C20V20.EnteredAmountType)get_store().find_element_user(BUDGETNONALLOWABLECOSTAMOUNT$2, 0);
            if (target == null)
            {
                target = (gov.grants.apply.forms.sf424C20V20.EnteredAmountType)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.forms.sf424C20V20.EnteredAmountType xgetBudgetTotalAllowableCostAmount()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424C20V20.EnteredAmountType target = null;
            target = (gov.grants.apply.forms.sf424C20V20.EnteredAmountType)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.forms.sf424C20V20.EnteredAmountType budgetTotalAllowableCostAmount)
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424C20V20.EnteredAmountType target = null;
            target = (gov.grants.apply.forms.sf424C20V20.EnteredAmountType)get_store().find_element_user(BUDGETTOTALALLOWABLECOSTAMOUNT$4, 0);
            if (target == null)
            {
                target = (gov.grants.apply.forms.sf424C20V20.EnteredAmountType)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