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

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

/*
 * An XML document type.
 * Localname: FundsLineItem
 * Namespace: http://apply.grants.gov/forms/SF424A-V1.0
 * Java type: gov.grants.apply.forms.sf424AV10.FundsLineItemDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.forms.sf424AV10.impl;
/**
 * A document containing one FundsLineItem(@http://apply.grants.gov/forms/SF424A-V1.0) element.
 *
 * This is a complex type.
 */
public class FundsLineItemDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.FundsLineItemDocument
{
    private static final long serialVersionUID = 1L;
    
    public FundsLineItemDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName FUNDSLINEITEM$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "FundsLineItem");
    
    
    /**
     * Gets the "FundsLineItem" element
     */
    public gov.grants.apply.forms.sf424AV10.FundsLineItemDocument.FundsLineItem getFundsLineItem()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424AV10.FundsLineItemDocument.FundsLineItem target = null;
            target = (gov.grants.apply.forms.sf424AV10.FundsLineItemDocument.FundsLineItem)get_store().find_element_user(FUNDSLINEITEM$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "FundsLineItem" element
     */
    public void setFundsLineItem(gov.grants.apply.forms.sf424AV10.FundsLineItemDocument.FundsLineItem fundsLineItem)
    {
        generatedSetterHelperImpl(fundsLineItem, FUNDSLINEITEM$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "FundsLineItem" element
     */
    public gov.grants.apply.forms.sf424AV10.FundsLineItemDocument.FundsLineItem addNewFundsLineItem()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424AV10.FundsLineItemDocument.FundsLineItem target = null;
            target = (gov.grants.apply.forms.sf424AV10.FundsLineItemDocument.FundsLineItem)get_store().add_element_user(FUNDSLINEITEM$0);
            return target;
        }
    }
    /**
     * An XML FundsLineItem(@http://apply.grants.gov/forms/SF424A-V1.0).
     *
     * This is a complex type.
     */
    public static class FundsLineItemImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.FundsLineItemDocument.FundsLineItem
    {
        private static final long serialVersionUID = 1L;
        
        public FundsLineItemImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName BUDGETFIRSTYEARAMOUNT$0 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFirstYearAmount");
        private static final javax.xml.namespace.QName BUDGETSECONDYEARAMOUNT$2 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetSecondYearAmount");
        private static final javax.xml.namespace.QName BUDGETTHIRDYEARAMOUNT$4 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetThirdYearAmount");
        private static final javax.xml.namespace.QName BUDGETFOURTHYEARAMOUNT$6 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFourthYearAmount");
        private static final javax.xml.namespace.QName ACTIVITYTITLE$8 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "activityTitle");
        
        
        /**
         * Gets the "BudgetFirstYearAmount" element
         */
        public java.math.BigDecimal getBudgetFirstYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFIRSTYEARAMOUNT$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetFirstYearAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetFirstYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFIRSTYEARAMOUNT$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetFirstYearAmount" element
         */
        public boolean isSetBudgetFirstYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETFIRSTYEARAMOUNT$0) != 0;
            }
        }
        
        /**
         * Sets the "BudgetFirstYearAmount" element
         */
        public void setBudgetFirstYearAmount(java.math.BigDecimal budgetFirstYearAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFIRSTYEARAMOUNT$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETFIRSTYEARAMOUNT$0);
                }
                target.setBigDecimalValue(budgetFirstYearAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetFirstYearAmount" element
         */
        public void xsetBudgetFirstYearAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetFirstYearAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFIRSTYEARAMOUNT$0, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETFIRSTYEARAMOUNT$0);
                }
                target.set(budgetFirstYearAmount);
            }
        }
        
        /**
         * Unsets the "BudgetFirstYearAmount" element
         */
        public void unsetBudgetFirstYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETFIRSTYEARAMOUNT$0, 0);
            }
        }
        
        /**
         * Gets the "BudgetSecondYearAmount" element
         */
        public java.math.BigDecimal getBudgetSecondYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETSECONDYEARAMOUNT$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetSecondYearAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetSecondYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETSECONDYEARAMOUNT$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetSecondYearAmount" element
         */
        public boolean isSetBudgetSecondYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETSECONDYEARAMOUNT$2) != 0;
            }
        }
        
        /**
         * Sets the "BudgetSecondYearAmount" element
         */
        public void setBudgetSecondYearAmount(java.math.BigDecimal budgetSecondYearAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETSECONDYEARAMOUNT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETSECONDYEARAMOUNT$2);
                }
                target.setBigDecimalValue(budgetSecondYearAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetSecondYearAmount" element
         */
        public void xsetBudgetSecondYearAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetSecondYearAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETSECONDYEARAMOUNT$2, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETSECONDYEARAMOUNT$2);
                }
                target.set(budgetSecondYearAmount);
            }
        }
        
        /**
         * Unsets the "BudgetSecondYearAmount" element
         */
        public void unsetBudgetSecondYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETSECONDYEARAMOUNT$2, 0);
            }
        }
        
        /**
         * Gets the "BudgetThirdYearAmount" element
         */
        public java.math.BigDecimal getBudgetThirdYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTHIRDYEARAMOUNT$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetThirdYearAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetThirdYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTHIRDYEARAMOUNT$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetThirdYearAmount" element
         */
        public boolean isSetBudgetThirdYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETTHIRDYEARAMOUNT$4) != 0;
            }
        }
        
        /**
         * Sets the "BudgetThirdYearAmount" element
         */
        public void setBudgetThirdYearAmount(java.math.BigDecimal budgetThirdYearAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTHIRDYEARAMOUNT$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETTHIRDYEARAMOUNT$4);
                }
                target.setBigDecimalValue(budgetThirdYearAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetThirdYearAmount" element
         */
        public void xsetBudgetThirdYearAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetThirdYearAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTHIRDYEARAMOUNT$4, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETTHIRDYEARAMOUNT$4);
                }
                target.set(budgetThirdYearAmount);
            }
        }
        
        /**
         * Unsets the "BudgetThirdYearAmount" element
         */
        public void unsetBudgetThirdYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETTHIRDYEARAMOUNT$4, 0);
            }
        }
        
        /**
         * Gets the "BudgetFourthYearAmount" element
         */
        public java.math.BigDecimal getBudgetFourthYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFOURTHYEARAMOUNT$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "BudgetFourthYearAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetFourthYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFOURTHYEARAMOUNT$6, 0);
                return target;
            }
        }
        
        /**
         * True if has "BudgetFourthYearAmount" element
         */
        public boolean isSetBudgetFourthYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUDGETFOURTHYEARAMOUNT$6) != 0;
            }
        }
        
        /**
         * Sets the "BudgetFourthYearAmount" element
         */
        public void setBudgetFourthYearAmount(java.math.BigDecimal budgetFourthYearAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFOURTHYEARAMOUNT$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETFOURTHYEARAMOUNT$6);
                }
                target.setBigDecimalValue(budgetFourthYearAmount);
            }
        }
        
        /**
         * Sets (as xml) the "BudgetFourthYearAmount" element
         */
        public void xsetBudgetFourthYearAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetFourthYearAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFOURTHYEARAMOUNT$6, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETFOURTHYEARAMOUNT$6);
                }
                target.set(budgetFourthYearAmount);
            }
        }
        
        /**
         * Unsets the "BudgetFourthYearAmount" element
         */
        public void unsetBudgetFourthYearAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUDGETFOURTHYEARAMOUNT$6, 0);
            }
        }
        
        /**
         * Gets the "activityTitle" attribute
         */
        public java.lang.String getActivityTitle()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTIVITYTITLE$8);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "activityTitle" attribute
         */
        public gov.grants.apply.system.globalV10.StringMin1Max120Type xgetActivityTitle()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.StringMin1Max120Type target = null;
                target = (gov.grants.apply.system.globalV10.StringMin1Max120Type)get_store().find_attribute_user(ACTIVITYTITLE$8);
                return target;
            }
        }
        
        /**
         * Sets the "activityTitle" attribute
         */
        public void setActivityTitle(java.lang.String activityTitle)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTIVITYTITLE$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ACTIVITYTITLE$8);
                }
                target.setStringValue(activityTitle);
            }
        }
        
        /**
         * Sets (as xml) the "activityTitle" attribute
         */
        public void xsetActivityTitle(gov.grants.apply.system.globalV10.StringMin1Max120Type activityTitle)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.StringMin1Max120Type target = null;
                target = (gov.grants.apply.system.globalV10.StringMin1Max120Type)get_store().find_attribute_user(ACTIVITYTITLE$8);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.StringMin1Max120Type)get_store().add_attribute_user(ACTIVITYTITLE$8);
                }
                target.set(activityTitle);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy