gov.grants.apply.forms.sf424AV10.impl.BudgetFourthQuarterAmountsDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: BudgetFourthQuarterAmounts
* Namespace: http://apply.grants.gov/forms/SF424A-V1.0
* Java type: gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument
*
* Automatically generated - do not modify.
*/
package gov.grants.apply.forms.sf424AV10.impl;
/**
* A document containing one BudgetFourthQuarterAmounts(@http://apply.grants.gov/forms/SF424A-V1.0) element.
*
* This is a complex type.
*/
public class BudgetFourthQuarterAmountsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument
{
private static final long serialVersionUID = 1L;
public BudgetFourthQuarterAmountsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName BUDGETFOURTHQUARTERAMOUNTS$0 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFourthQuarterAmounts");
/**
* Gets the "BudgetFourthQuarterAmounts" element
*/
public gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts getBudgetFourthQuarterAmounts()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts target = null;
target = (gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts)get_store().find_element_user(BUDGETFOURTHQUARTERAMOUNTS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "BudgetFourthQuarterAmounts" element
*/
public void setBudgetFourthQuarterAmounts(gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts budgetFourthQuarterAmounts)
{
generatedSetterHelperImpl(budgetFourthQuarterAmounts, BUDGETFOURTHQUARTERAMOUNTS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "BudgetFourthQuarterAmounts" element
*/
public gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts addNewBudgetFourthQuarterAmounts()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts target = null;
target = (gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts)get_store().add_element_user(BUDGETFOURTHQUARTERAMOUNTS$0);
return target;
}
}
/**
* An XML BudgetFourthQuarterAmounts(@http://apply.grants.gov/forms/SF424A-V1.0).
*
* This is a complex type.
*/
public static class BudgetFourthQuarterAmountsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts
{
private static final long serialVersionUID = 1L;
public BudgetFourthQuarterAmountsImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName BUDGETFEDERALFORECASTEDAMOUNT$0 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFederalForecastedAmount");
private static final javax.xml.namespace.QName BUDGETNONFEDERALFORECASTEDAMOUNT$2 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetNonFederalForecastedAmount");
private static final javax.xml.namespace.QName BUDGETTOTALFORECASTEDAMOUNT$4 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetTotalForecastedAmount");
/**
* Gets the "BudgetFederalForecastedAmount" element
*/
public java.math.BigDecimal getBudgetFederalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFEDERALFORECASTEDAMOUNT$0, 0);
if (target == null)
{
return null;
}
return target.getBigDecimalValue();
}
}
/**
* Gets (as xml) the "BudgetFederalForecastedAmount" element
*/
public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetFederalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFEDERALFORECASTEDAMOUNT$0, 0);
return target;
}
}
/**
* True if has "BudgetFederalForecastedAmount" element
*/
public boolean isSetBudgetFederalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(BUDGETFEDERALFORECASTEDAMOUNT$0) != 0;
}
}
/**
* Sets the "BudgetFederalForecastedAmount" element
*/
public void setBudgetFederalForecastedAmount(java.math.BigDecimal budgetFederalForecastedAmount)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFEDERALFORECASTEDAMOUNT$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETFEDERALFORECASTEDAMOUNT$0);
}
target.setBigDecimalValue(budgetFederalForecastedAmount);
}
}
/**
* Sets (as xml) the "BudgetFederalForecastedAmount" element
*/
public void xsetBudgetFederalForecastedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetFederalForecastedAmount)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFEDERALFORECASTEDAMOUNT$0, 0);
if (target == null)
{
target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETFEDERALFORECASTEDAMOUNT$0);
}
target.set(budgetFederalForecastedAmount);
}
}
/**
* Unsets the "BudgetFederalForecastedAmount" element
*/
public void unsetBudgetFederalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(BUDGETFEDERALFORECASTEDAMOUNT$0, 0);
}
}
/**
* Gets the "BudgetNonFederalForecastedAmount" element
*/
public java.math.BigDecimal getBudgetNonFederalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONFEDERALFORECASTEDAMOUNT$2, 0);
if (target == null)
{
return null;
}
return target.getBigDecimalValue();
}
}
/**
* Gets (as xml) the "BudgetNonFederalForecastedAmount" element
*/
public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetNonFederalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONFEDERALFORECASTEDAMOUNT$2, 0);
return target;
}
}
/**
* True if has "BudgetNonFederalForecastedAmount" element
*/
public boolean isSetBudgetNonFederalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(BUDGETNONFEDERALFORECASTEDAMOUNT$2) != 0;
}
}
/**
* Sets the "BudgetNonFederalForecastedAmount" element
*/
public void setBudgetNonFederalForecastedAmount(java.math.BigDecimal budgetNonFederalForecastedAmount)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONFEDERALFORECASTEDAMOUNT$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETNONFEDERALFORECASTEDAMOUNT$2);
}
target.setBigDecimalValue(budgetNonFederalForecastedAmount);
}
}
/**
* Sets (as xml) the "BudgetNonFederalForecastedAmount" element
*/
public void xsetBudgetNonFederalForecastedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetNonFederalForecastedAmount)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONFEDERALFORECASTEDAMOUNT$2, 0);
if (target == null)
{
target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETNONFEDERALFORECASTEDAMOUNT$2);
}
target.set(budgetNonFederalForecastedAmount);
}
}
/**
* Unsets the "BudgetNonFederalForecastedAmount" element
*/
public void unsetBudgetNonFederalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(BUDGETNONFEDERALFORECASTEDAMOUNT$2, 0);
}
}
/**
* Gets the "BudgetTotalForecastedAmount" element
*/
public java.math.BigDecimal getBudgetTotalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTOTALFORECASTEDAMOUNT$4, 0);
if (target == null)
{
return null;
}
return target.getBigDecimalValue();
}
}
/**
* Gets (as xml) the "BudgetTotalForecastedAmount" element
*/
public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetTotalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTOTALFORECASTEDAMOUNT$4, 0);
return target;
}
}
/**
* True if has "BudgetTotalForecastedAmount" element
*/
public boolean isSetBudgetTotalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(BUDGETTOTALFORECASTEDAMOUNT$4) != 0;
}
}
/**
* Sets the "BudgetTotalForecastedAmount" element
*/
public void setBudgetTotalForecastedAmount(java.math.BigDecimal budgetTotalForecastedAmount)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTOTALFORECASTEDAMOUNT$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETTOTALFORECASTEDAMOUNT$4);
}
target.setBigDecimalValue(budgetTotalForecastedAmount);
}
}
/**
* Sets (as xml) the "BudgetTotalForecastedAmount" element
*/
public void xsetBudgetTotalForecastedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetTotalForecastedAmount)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTOTALFORECASTEDAMOUNT$4, 0);
if (target == null)
{
target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETTOTALFORECASTEDAMOUNT$4);
}
target.set(budgetTotalForecastedAmount);
}
}
/**
* Unsets the "BudgetTotalForecastedAmount" element
*/
public void unsetBudgetTotalForecastedAmount()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(BUDGETTOTALFORECASTEDAMOUNT$4, 0);
}
}
}
}