All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
gov.grants.apply.forms.sf424CV10.impl.ProjectCostsDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: ProjectCosts
* Namespace: http://apply.grants.gov/forms/SF424C-V1.0
* Java type: gov.grants.apply.forms.sf424CV10.ProjectCostsDocument
*
* Automatically generated - do not modify.
*/
package gov.grants.apply.forms.sf424CV10.impl;
/**
* A document containing one ProjectCosts(@http://apply.grants.gov/forms/SF424C-V1.0) element.
*
* This is a complex type.
*/
public class ProjectCostsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424CV10.ProjectCostsDocument
{
private static final long serialVersionUID = 1L;
public ProjectCostsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PROJECTCOSTS$0 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "ProjectCosts");
/**
* Gets the "ProjectCosts" element
*/
public gov.grants.apply.forms.sf424CV10.ProjectCostsDocument.ProjectCosts getProjectCosts()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.ProjectCostsDocument.ProjectCosts target = null;
target = (gov.grants.apply.forms.sf424CV10.ProjectCostsDocument.ProjectCosts)get_store().find_element_user(PROJECTCOSTS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "ProjectCosts" element
*/
public void setProjectCosts(gov.grants.apply.forms.sf424CV10.ProjectCostsDocument.ProjectCosts projectCosts)
{
generatedSetterHelperImpl(projectCosts, PROJECTCOSTS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "ProjectCosts" element
*/
public gov.grants.apply.forms.sf424CV10.ProjectCostsDocument.ProjectCosts addNewProjectCosts()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.ProjectCostsDocument.ProjectCosts target = null;
target = (gov.grants.apply.forms.sf424CV10.ProjectCostsDocument.ProjectCosts)get_store().add_element_user(PROJECTCOSTS$0);
return target;
}
}
/**
* An XML ProjectCosts(@http://apply.grants.gov/forms/SF424C-V1.0).
*
* This is a complex type.
*/
public static class ProjectCostsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424CV10.ProjectCostsDocument.ProjectCosts
{
private static final long serialVersionUID = 1L;
public ProjectCostsImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName COSTLINEITEM$0 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "CostLineItem");
private static final javax.xml.namespace.QName COSTSUBTOTALBEFORECONTINGENCIES$2 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "CostSubtotalBeforeContingencies");
private static final javax.xml.namespace.QName CONTINGENCIES$4 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "Contingencies");
private static final javax.xml.namespace.QName COSTSUBTOTALAFTERCONTINGENCIES$6 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "CostSubtotalAfterContingencies");
private static final javax.xml.namespace.QName PROGRAMINCOME$8 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "ProgramIncome");
private static final javax.xml.namespace.QName TOTALPROJECTCOSTS$10 =
new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C-V1.0", "TotalProjectCosts");
/**
* Gets array of all "CostLineItem" elements
*/
public gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem[] getCostLineItemArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(COSTLINEITEM$0, targetList);
gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem[] result = new gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "CostLineItem" element
*/
public gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem getCostLineItemArray(int i)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem target = null;
target = (gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem)get_store().find_element_user(COSTLINEITEM$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "CostLineItem" element
*/
public int sizeOfCostLineItemArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(COSTLINEITEM$0);
}
}
/**
* Sets array of all "CostLineItem" element WARNING: This method is not atomicaly synchronized.
*/
public void setCostLineItemArray(gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem[] costLineItemArray)
{
check_orphaned();
arraySetterHelper(costLineItemArray, COSTLINEITEM$0);
}
/**
* Sets ith "CostLineItem" element
*/
public void setCostLineItemArray(int i, gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem costLineItem)
{
generatedSetterHelperImpl(costLineItem, COSTLINEITEM$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "CostLineItem" element
*/
public gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem insertNewCostLineItem(int i)
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem target = null;
target = (gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem)get_store().insert_element_user(COSTLINEITEM$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "CostLineItem" element
*/
public gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem addNewCostLineItem()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem target = null;
target = (gov.grants.apply.forms.sf424CV10.CostLineItemDocument.CostLineItem)get_store().add_element_user(COSTLINEITEM$0);
return target;
}
}
/**
* Removes the ith "CostLineItem" element
*/
public void removeCostLineItem(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(COSTLINEITEM$0, i);
}
}
/**
* Gets the "CostSubtotalBeforeContingencies" element
*/
public gov.grants.apply.forms.sf424CV10.CostSubtotalBeforeContingenciesDocument.CostSubtotalBeforeContingencies getCostSubtotalBeforeContingencies()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.CostSubtotalBeforeContingenciesDocument.CostSubtotalBeforeContingencies target = null;
target = (gov.grants.apply.forms.sf424CV10.CostSubtotalBeforeContingenciesDocument.CostSubtotalBeforeContingencies)get_store().find_element_user(COSTSUBTOTALBEFORECONTINGENCIES$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "CostSubtotalBeforeContingencies" element
*/
public boolean isSetCostSubtotalBeforeContingencies()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(COSTSUBTOTALBEFORECONTINGENCIES$2) != 0;
}
}
/**
* Sets the "CostSubtotalBeforeContingencies" element
*/
public void setCostSubtotalBeforeContingencies(gov.grants.apply.forms.sf424CV10.CostSubtotalBeforeContingenciesDocument.CostSubtotalBeforeContingencies costSubtotalBeforeContingencies)
{
generatedSetterHelperImpl(costSubtotalBeforeContingencies, COSTSUBTOTALBEFORECONTINGENCIES$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "CostSubtotalBeforeContingencies" element
*/
public gov.grants.apply.forms.sf424CV10.CostSubtotalBeforeContingenciesDocument.CostSubtotalBeforeContingencies addNewCostSubtotalBeforeContingencies()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.CostSubtotalBeforeContingenciesDocument.CostSubtotalBeforeContingencies target = null;
target = (gov.grants.apply.forms.sf424CV10.CostSubtotalBeforeContingenciesDocument.CostSubtotalBeforeContingencies)get_store().add_element_user(COSTSUBTOTALBEFORECONTINGENCIES$2);
return target;
}
}
/**
* Unsets the "CostSubtotalBeforeContingencies" element
*/
public void unsetCostSubtotalBeforeContingencies()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(COSTSUBTOTALBEFORECONTINGENCIES$2, 0);
}
}
/**
* Gets the "Contingencies" element
*/
public gov.grants.apply.forms.sf424CV10.ContingenciesDocument.Contingencies getContingencies()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.ContingenciesDocument.Contingencies target = null;
target = (gov.grants.apply.forms.sf424CV10.ContingenciesDocument.Contingencies)get_store().find_element_user(CONTINGENCIES$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Contingencies" element
*/
public boolean isSetContingencies()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CONTINGENCIES$4) != 0;
}
}
/**
* Sets the "Contingencies" element
*/
public void setContingencies(gov.grants.apply.forms.sf424CV10.ContingenciesDocument.Contingencies contingencies)
{
generatedSetterHelperImpl(contingencies, CONTINGENCIES$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "Contingencies" element
*/
public gov.grants.apply.forms.sf424CV10.ContingenciesDocument.Contingencies addNewContingencies()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.ContingenciesDocument.Contingencies target = null;
target = (gov.grants.apply.forms.sf424CV10.ContingenciesDocument.Contingencies)get_store().add_element_user(CONTINGENCIES$4);
return target;
}
}
/**
* Unsets the "Contingencies" element
*/
public void unsetContingencies()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CONTINGENCIES$4, 0);
}
}
/**
* Gets the "CostSubtotalAfterContingencies" element
*/
public gov.grants.apply.forms.sf424CV10.CostSubtotalAfterContingenciesDocument.CostSubtotalAfterContingencies getCostSubtotalAfterContingencies()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.CostSubtotalAfterContingenciesDocument.CostSubtotalAfterContingencies target = null;
target = (gov.grants.apply.forms.sf424CV10.CostSubtotalAfterContingenciesDocument.CostSubtotalAfterContingencies)get_store().find_element_user(COSTSUBTOTALAFTERCONTINGENCIES$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "CostSubtotalAfterContingencies" element
*/
public boolean isSetCostSubtotalAfterContingencies()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(COSTSUBTOTALAFTERCONTINGENCIES$6) != 0;
}
}
/**
* Sets the "CostSubtotalAfterContingencies" element
*/
public void setCostSubtotalAfterContingencies(gov.grants.apply.forms.sf424CV10.CostSubtotalAfterContingenciesDocument.CostSubtotalAfterContingencies costSubtotalAfterContingencies)
{
generatedSetterHelperImpl(costSubtotalAfterContingencies, COSTSUBTOTALAFTERCONTINGENCIES$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "CostSubtotalAfterContingencies" element
*/
public gov.grants.apply.forms.sf424CV10.CostSubtotalAfterContingenciesDocument.CostSubtotalAfterContingencies addNewCostSubtotalAfterContingencies()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.CostSubtotalAfterContingenciesDocument.CostSubtotalAfterContingencies target = null;
target = (gov.grants.apply.forms.sf424CV10.CostSubtotalAfterContingenciesDocument.CostSubtotalAfterContingencies)get_store().add_element_user(COSTSUBTOTALAFTERCONTINGENCIES$6);
return target;
}
}
/**
* Unsets the "CostSubtotalAfterContingencies" element
*/
public void unsetCostSubtotalAfterContingencies()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(COSTSUBTOTALAFTERCONTINGENCIES$6, 0);
}
}
/**
* Gets the "ProgramIncome" element
*/
public gov.grants.apply.forms.sf424CV10.ProgramIncomeDocument.ProgramIncome getProgramIncome()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.ProgramIncomeDocument.ProgramIncome target = null;
target = (gov.grants.apply.forms.sf424CV10.ProgramIncomeDocument.ProgramIncome)get_store().find_element_user(PROGRAMINCOME$8, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "ProgramIncome" element
*/
public boolean isSetProgramIncome()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PROGRAMINCOME$8) != 0;
}
}
/**
* Sets the "ProgramIncome" element
*/
public void setProgramIncome(gov.grants.apply.forms.sf424CV10.ProgramIncomeDocument.ProgramIncome programIncome)
{
generatedSetterHelperImpl(programIncome, PROGRAMINCOME$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "ProgramIncome" element
*/
public gov.grants.apply.forms.sf424CV10.ProgramIncomeDocument.ProgramIncome addNewProgramIncome()
{
synchronized (monitor())
{
check_orphaned();
gov.grants.apply.forms.sf424CV10.ProgramIncomeDocument.ProgramIncome target = null;
target = (gov.grants.apply.forms.sf424CV10.ProgramIncomeDocument.ProgramIncome)get_store().add_element_user(PROGRAMINCOME$8);
return target;
}
}
/**
* Unsets the "ProgramIncome" element
*/
public void unsetProgramIncome()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PROGRAMINCOME$8, 0);
}
}
/**
* 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$10, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "TotalProjectCosts" element
*/
public boolean isSetTotalProjectCosts()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TOTALPROJECTCOSTS$10) != 0;
}
}
/**
* Sets the "TotalProjectCosts" element
*/
public void setTotalProjectCosts(gov.grants.apply.forms.sf424CV10.TotalProjectCostsDocument.TotalProjectCosts totalProjectCosts)
{
generatedSetterHelperImpl(totalProjectCosts, TOTALPROJECTCOSTS$10, 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$10);
return target;
}
}
/**
* Unsets the "TotalProjectCosts" element
*/
public void unsetTotalProjectCosts()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TOTALPROJECTCOSTS$10, 0);
}
}
}
}