View Javadoc
1   /*
2    * An XML document type.
3    * Localname: BudgetInformation
4    * Namespace: http://apply.grants.gov/forms/SF424A-V1.0
5    * Java type: gov.grants.apply.forms.sf424AV10.BudgetInformationDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.sf424AV10.impl;
10  /**
11   * A document containing one BudgetInformation(@http://apply.grants.gov/forms/SF424A-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class BudgetInformationDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.BudgetInformationDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public BudgetInformationDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName BUDGETINFORMATION$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetInformation");
26      
27      
28      /**
29       * Gets the "BudgetInformation" element
30       */
31      public gov.grants.apply.forms.sf424AV10.BudgetInformationType getBudgetInformation()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.sf424AV10.BudgetInformationType target = null;
37              target = (gov.grants.apply.forms.sf424AV10.BudgetInformationType)get_store().find_element_user(BUDGETINFORMATION$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "BudgetInformation" element
48       */
49      public void setBudgetInformation(gov.grants.apply.forms.sf424AV10.BudgetInformationType budgetInformation)
50      {
51          generatedSetterHelperImpl(budgetInformation, BUDGETINFORMATION$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "BudgetInformation" element
56       */
57      public gov.grants.apply.forms.sf424AV10.BudgetInformationType addNewBudgetInformation()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.sf424AV10.BudgetInformationType target = null;
63              target = (gov.grants.apply.forms.sf424AV10.BudgetInformationType)get_store().add_element_user(BUDGETINFORMATION$0);
64              return target;
65          }
66      }
67  }