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

gov.grants.apply.forms.sf424V10.impl.BudgetDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: Budget
 * Namespace: http://apply.grants.gov/forms/SF424-V1.0
 * Java type: gov.grants.apply.forms.sf424V10.BudgetDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.forms.sf424V10.impl;
/**
 * A document containing one Budget(@http://apply.grants.gov/forms/SF424-V1.0) element.
 *
 * This is a complex type.
 */
public class BudgetDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.BudgetDocument
{
    private static final long serialVersionUID = 1L;
    
    public BudgetDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName BUDGET$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "Budget");
    
    
    /**
     * Gets the "Budget" element
     */
    public gov.grants.apply.forms.sf424V10.BudgetDocument.Budget getBudget()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424V10.BudgetDocument.Budget target = null;
            target = (gov.grants.apply.forms.sf424V10.BudgetDocument.Budget)get_store().find_element_user(BUDGET$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Budget" element
     */
    public void setBudget(gov.grants.apply.forms.sf424V10.BudgetDocument.Budget budget)
    {
        generatedSetterHelperImpl(budget, BUDGET$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "Budget" element
     */
    public gov.grants.apply.forms.sf424V10.BudgetDocument.Budget addNewBudget()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.sf424V10.BudgetDocument.Budget target = null;
            target = (gov.grants.apply.forms.sf424V10.BudgetDocument.Budget)get_store().add_element_user(BUDGET$0);
            return target;
        }
    }
    /**
     * An XML Budget(@http://apply.grants.gov/forms/SF424-V1.0).
     *
     * This is a complex type.
     */
    public static class BudgetImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.BudgetDocument.Budget
    {
        private static final long serialVersionUID = 1L;
        
        public BudgetImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName FEDERALESTIMATEDAMOUNT$0 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "FederalEstimatedAmount");
        private static final javax.xml.namespace.QName APPLICANTESTIMATEDAMOUNT$2 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "ApplicantEstimatedAmount");
        private static final javax.xml.namespace.QName STATEESTIMATEDAMOUNT$4 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "StateEstimatedAmount");
        private static final javax.xml.namespace.QName LOCALESTIMATEDAMOUNT$6 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "LocalEstimatedAmount");
        private static final javax.xml.namespace.QName OTHERESTIMATEDAMOUNT$8 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "OtherEstimatedAmount");
        private static final javax.xml.namespace.QName PROGRAMINCOMEESTIMATEDAMOUNT$10 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "ProgramIncomeEstimatedAmount");
        private static final javax.xml.namespace.QName TOTALESTIMATEDAMOUNT$12 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "TotalEstimatedAmount");
        private static final javax.xml.namespace.QName CURRENCYCODE$14 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "currencyCode");
        
        
        /**
         * Gets the "FederalEstimatedAmount" element
         */
        public java.math.BigDecimal getFederalEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALESTIMATEDAMOUNT$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "FederalEstimatedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetFederalEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(FEDERALESTIMATEDAMOUNT$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "FederalEstimatedAmount" element
         */
        public void setFederalEstimatedAmount(java.math.BigDecimal federalEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALESTIMATEDAMOUNT$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FEDERALESTIMATEDAMOUNT$0);
                }
                target.setBigDecimalValue(federalEstimatedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "FederalEstimatedAmount" element
         */
        public void xsetFederalEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type federalEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(FEDERALESTIMATEDAMOUNT$0, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(FEDERALESTIMATEDAMOUNT$0);
                }
                target.set(federalEstimatedAmount);
            }
        }
        
        /**
         * Gets the "ApplicantEstimatedAmount" element
         */
        public java.math.BigDecimal getApplicantEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPLICANTESTIMATEDAMOUNT$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "ApplicantEstimatedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetApplicantEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(APPLICANTESTIMATEDAMOUNT$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "ApplicantEstimatedAmount" element
         */
        public boolean isSetApplicantEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(APPLICANTESTIMATEDAMOUNT$2) != 0;
            }
        }
        
        /**
         * Sets the "ApplicantEstimatedAmount" element
         */
        public void setApplicantEstimatedAmount(java.math.BigDecimal applicantEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPLICANTESTIMATEDAMOUNT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(APPLICANTESTIMATEDAMOUNT$2);
                }
                target.setBigDecimalValue(applicantEstimatedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "ApplicantEstimatedAmount" element
         */
        public void xsetApplicantEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type applicantEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(APPLICANTESTIMATEDAMOUNT$2, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(APPLICANTESTIMATEDAMOUNT$2);
                }
                target.set(applicantEstimatedAmount);
            }
        }
        
        /**
         * Unsets the "ApplicantEstimatedAmount" element
         */
        public void unsetApplicantEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(APPLICANTESTIMATEDAMOUNT$2, 0);
            }
        }
        
        /**
         * Gets the "StateEstimatedAmount" element
         */
        public java.math.BigDecimal getStateEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATEESTIMATEDAMOUNT$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "StateEstimatedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetStateEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(STATEESTIMATEDAMOUNT$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "StateEstimatedAmount" element
         */
        public boolean isSetStateEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(STATEESTIMATEDAMOUNT$4) != 0;
            }
        }
        
        /**
         * Sets the "StateEstimatedAmount" element
         */
        public void setStateEstimatedAmount(java.math.BigDecimal stateEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATEESTIMATEDAMOUNT$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATEESTIMATEDAMOUNT$4);
                }
                target.setBigDecimalValue(stateEstimatedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "StateEstimatedAmount" element
         */
        public void xsetStateEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type stateEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(STATEESTIMATEDAMOUNT$4, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(STATEESTIMATEDAMOUNT$4);
                }
                target.set(stateEstimatedAmount);
            }
        }
        
        /**
         * Unsets the "StateEstimatedAmount" element
         */
        public void unsetStateEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(STATEESTIMATEDAMOUNT$4, 0);
            }
        }
        
        /**
         * Gets the "LocalEstimatedAmount" element
         */
        public java.math.BigDecimal getLocalEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LOCALESTIMATEDAMOUNT$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "LocalEstimatedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetLocalEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(LOCALESTIMATEDAMOUNT$6, 0);
                return target;
            }
        }
        
        /**
         * True if has "LocalEstimatedAmount" element
         */
        public boolean isSetLocalEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LOCALESTIMATEDAMOUNT$6) != 0;
            }
        }
        
        /**
         * Sets the "LocalEstimatedAmount" element
         */
        public void setLocalEstimatedAmount(java.math.BigDecimal localEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LOCALESTIMATEDAMOUNT$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LOCALESTIMATEDAMOUNT$6);
                }
                target.setBigDecimalValue(localEstimatedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "LocalEstimatedAmount" element
         */
        public void xsetLocalEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type localEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(LOCALESTIMATEDAMOUNT$6, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(LOCALESTIMATEDAMOUNT$6);
                }
                target.set(localEstimatedAmount);
            }
        }
        
        /**
         * Unsets the "LocalEstimatedAmount" element
         */
        public void unsetLocalEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LOCALESTIMATEDAMOUNT$6, 0);
            }
        }
        
        /**
         * Gets the "OtherEstimatedAmount" element
         */
        public java.math.BigDecimal getOtherEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OTHERESTIMATEDAMOUNT$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "OtherEstimatedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetOtherEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(OTHERESTIMATEDAMOUNT$8, 0);
                return target;
            }
        }
        
        /**
         * True if has "OtherEstimatedAmount" element
         */
        public boolean isSetOtherEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(OTHERESTIMATEDAMOUNT$8) != 0;
            }
        }
        
        /**
         * Sets the "OtherEstimatedAmount" element
         */
        public void setOtherEstimatedAmount(java.math.BigDecimal otherEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OTHERESTIMATEDAMOUNT$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OTHERESTIMATEDAMOUNT$8);
                }
                target.setBigDecimalValue(otherEstimatedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "OtherEstimatedAmount" element
         */
        public void xsetOtherEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type otherEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(OTHERESTIMATEDAMOUNT$8, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(OTHERESTIMATEDAMOUNT$8);
                }
                target.set(otherEstimatedAmount);
            }
        }
        
        /**
         * Unsets the "OtherEstimatedAmount" element
         */
        public void unsetOtherEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(OTHERESTIMATEDAMOUNT$8, 0);
            }
        }
        
        /**
         * Gets the "ProgramIncomeEstimatedAmount" element
         */
        public java.math.BigDecimal getProgramIncomeEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "ProgramIncomeEstimatedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetProgramIncomeEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10, 0);
                return target;
            }
        }
        
        /**
         * True if has "ProgramIncomeEstimatedAmount" element
         */
        public boolean isSetProgramIncomeEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PROGRAMINCOMEESTIMATEDAMOUNT$10) != 0;
            }
        }
        
        /**
         * Sets the "ProgramIncomeEstimatedAmount" element
         */
        public void setProgramIncomeEstimatedAmount(java.math.BigDecimal programIncomeEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10);
                }
                target.setBigDecimalValue(programIncomeEstimatedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "ProgramIncomeEstimatedAmount" element
         */
        public void xsetProgramIncomeEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type programIncomeEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10);
                }
                target.set(programIncomeEstimatedAmount);
            }
        }
        
        /**
         * Unsets the "ProgramIncomeEstimatedAmount" element
         */
        public void unsetProgramIncomeEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PROGRAMINCOMEESTIMATEDAMOUNT$10, 0);
            }
        }
        
        /**
         * Gets the "TotalEstimatedAmount" element
         */
        public java.math.BigDecimal getTotalEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALESTIMATEDAMOUNT$12, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigDecimalValue();
            }
        }
        
        /**
         * Gets (as xml) the "TotalEstimatedAmount" element
         */
        public gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type xgetTotalEstimatedAmount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().find_element_user(TOTALESTIMATEDAMOUNT$12, 0);
                return target;
            }
        }
        
        /**
         * Sets the "TotalEstimatedAmount" element
         */
        public void setTotalEstimatedAmount(java.math.BigDecimal totalEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALESTIMATEDAMOUNT$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALESTIMATEDAMOUNT$12);
                }
                target.setBigDecimalValue(totalEstimatedAmount);
            }
        }
        
        /**
         * Sets (as xml) the "TotalEstimatedAmount" element
         */
        public void xsetTotalEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type totalEstimatedAmount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type target = null;
                target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().find_element_user(TOTALESTIMATEDAMOUNT$12, 0);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().add_element_user(TOTALESTIMATEDAMOUNT$12);
                }
                target.set(totalEstimatedAmount);
            }
        }
        
        /**
         * Gets the "currencyCode" attribute
         */
        public gov.grants.apply.system.universalCodesV10.CurrencyCodeType.Enum getCurrencyCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CURRENCYCODE$14);
                if (target == null)
                {
                    return null;
                }
                return (gov.grants.apply.system.universalCodesV10.CurrencyCodeType.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "currencyCode" attribute
         */
        public gov.grants.apply.system.universalCodesV10.CurrencyCodeType xgetCurrencyCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.universalCodesV10.CurrencyCodeType target = null;
                target = (gov.grants.apply.system.universalCodesV10.CurrencyCodeType)get_store().find_attribute_user(CURRENCYCODE$14);
                return target;
            }
        }
        
        /**
         * Sets the "currencyCode" attribute
         */
        public void setCurrencyCode(gov.grants.apply.system.universalCodesV10.CurrencyCodeType.Enum currencyCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CURRENCYCODE$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CURRENCYCODE$14);
                }
                target.setEnumValue(currencyCode);
            }
        }
        
        /**
         * Sets (as xml) the "currencyCode" attribute
         */
        public void xsetCurrencyCode(gov.grants.apply.system.universalCodesV10.CurrencyCodeType currencyCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.universalCodesV10.CurrencyCodeType target = null;
                target = (gov.grants.apply.system.universalCodesV10.CurrencyCodeType)get_store().find_attribute_user(CURRENCYCODE$14);
                if (target == null)
                {
                    target = (gov.grants.apply.system.universalCodesV10.CurrencyCodeType)get_store().add_attribute_user(CURRENCYCODE$14);
                }
                target.set(currencyCode);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy