View Javadoc
1   /*
2    * An XML document type.
3    * Localname: BudgetForecastedCashNeeds
4    * Namespace: http://apply.grants.gov/forms/SF424A-V1.0
5    * Java type: gov.grants.apply.forms.sf424AV10.BudgetForecastedCashNeedsDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.sf424AV10.impl;
10  /**
11   * A document containing one BudgetForecastedCashNeeds(@http://apply.grants.gov/forms/SF424A-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class BudgetForecastedCashNeedsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.BudgetForecastedCashNeedsDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public BudgetForecastedCashNeedsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName BUDGETFORECASTEDCASHNEEDS$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetForecastedCashNeeds");
26      
27      
28      /**
29       * Gets the "BudgetForecastedCashNeeds" element
30       */
31      public gov.grants.apply.forms.sf424AV10.BudgetForecastedCashNeedsDocument.BudgetForecastedCashNeeds getBudgetForecastedCashNeeds()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.sf424AV10.BudgetForecastedCashNeedsDocument.BudgetForecastedCashNeeds target = null;
37              target = (gov.grants.apply.forms.sf424AV10.BudgetForecastedCashNeedsDocument.BudgetForecastedCashNeeds)get_store().find_element_user(BUDGETFORECASTEDCASHNEEDS$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "BudgetForecastedCashNeeds" element
48       */
49      public void setBudgetForecastedCashNeeds(gov.grants.apply.forms.sf424AV10.BudgetForecastedCashNeedsDocument.BudgetForecastedCashNeeds budgetForecastedCashNeeds)
50      {
51          generatedSetterHelperImpl(budgetForecastedCashNeeds, BUDGETFORECASTEDCASHNEEDS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "BudgetForecastedCashNeeds" element
56       */
57      public gov.grants.apply.forms.sf424AV10.BudgetForecastedCashNeedsDocument.BudgetForecastedCashNeeds addNewBudgetForecastedCashNeeds()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.sf424AV10.BudgetForecastedCashNeedsDocument.BudgetForecastedCashNeeds target = null;
63              target = (gov.grants.apply.forms.sf424AV10.BudgetForecastedCashNeedsDocument.BudgetForecastedCashNeeds)get_store().add_element_user(BUDGETFORECASTEDCASHNEEDS$0);
64              return target;
65          }
66      }
67      /**
68       * An XML BudgetForecastedCashNeeds(@http://apply.grants.gov/forms/SF424A-V1.0).
69       *
70       * This is a complex type.
71       */
72      public static class BudgetForecastedCashNeedsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.BudgetForecastedCashNeedsDocument.BudgetForecastedCashNeeds
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public BudgetForecastedCashNeedsImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName BUDGETFIRSTYEARAMOUNTS$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFirstYearAmounts");
83          private static final javax.xml.namespace.QName BUDGETFIRSTQUARTERAMOUNTS$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFirstQuarterAmounts");
85          private static final javax.xml.namespace.QName BUDGETSECONDQUARTERAMOUNTS$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetSecondQuarterAmounts");
87          private static final javax.xml.namespace.QName BUDGETTHIRDQUARTERAMOUNTS$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetThirdQuarterAmounts");
89          private static final javax.xml.namespace.QName BUDGETFOURTHQUARTERAMOUNTS$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFourthQuarterAmounts");
91          
92          
93          /**
94           * Gets the "BudgetFirstYearAmounts" element
95           */
96          public gov.grants.apply.forms.sf424AV10.BudgetFirstYearAmountsDocument.BudgetFirstYearAmounts getBudgetFirstYearAmounts()
97          {
98              synchronized (monitor())
99              {
100                 check_orphaned();
101                 gov.grants.apply.forms.sf424AV10.BudgetFirstYearAmountsDocument.BudgetFirstYearAmounts target = null;
102                 target = (gov.grants.apply.forms.sf424AV10.BudgetFirstYearAmountsDocument.BudgetFirstYearAmounts)get_store().find_element_user(BUDGETFIRSTYEARAMOUNTS$0, 0);
103                 if (target == null)
104                 {
105                     return null;
106                 }
107                 return target;
108             }
109         }
110         
111         /**
112          * True if has "BudgetFirstYearAmounts" element
113          */
114         public boolean isSetBudgetFirstYearAmounts()
115         {
116             synchronized (monitor())
117             {
118                 check_orphaned();
119                 return get_store().count_elements(BUDGETFIRSTYEARAMOUNTS$0) != 0;
120             }
121         }
122         
123         /**
124          * Sets the "BudgetFirstYearAmounts" element
125          */
126         public void setBudgetFirstYearAmounts(gov.grants.apply.forms.sf424AV10.BudgetFirstYearAmountsDocument.BudgetFirstYearAmounts budgetFirstYearAmounts)
127         {
128             generatedSetterHelperImpl(budgetFirstYearAmounts, BUDGETFIRSTYEARAMOUNTS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
129         }
130         
131         /**
132          * Appends and returns a new empty "BudgetFirstYearAmounts" element
133          */
134         public gov.grants.apply.forms.sf424AV10.BudgetFirstYearAmountsDocument.BudgetFirstYearAmounts addNewBudgetFirstYearAmounts()
135         {
136             synchronized (monitor())
137             {
138                 check_orphaned();
139                 gov.grants.apply.forms.sf424AV10.BudgetFirstYearAmountsDocument.BudgetFirstYearAmounts target = null;
140                 target = (gov.grants.apply.forms.sf424AV10.BudgetFirstYearAmountsDocument.BudgetFirstYearAmounts)get_store().add_element_user(BUDGETFIRSTYEARAMOUNTS$0);
141                 return target;
142             }
143         }
144         
145         /**
146          * Unsets the "BudgetFirstYearAmounts" element
147          */
148         public void unsetBudgetFirstYearAmounts()
149         {
150             synchronized (monitor())
151             {
152                 check_orphaned();
153                 get_store().remove_element(BUDGETFIRSTYEARAMOUNTS$0, 0);
154             }
155         }
156         
157         /**
158          * Gets the "BudgetFirstQuarterAmounts" element
159          */
160         public gov.grants.apply.forms.sf424AV10.BudgetFirstQuarterAmountsDocument.BudgetFirstQuarterAmounts getBudgetFirstQuarterAmounts()
161         {
162             synchronized (monitor())
163             {
164                 check_orphaned();
165                 gov.grants.apply.forms.sf424AV10.BudgetFirstQuarterAmountsDocument.BudgetFirstQuarterAmounts target = null;
166                 target = (gov.grants.apply.forms.sf424AV10.BudgetFirstQuarterAmountsDocument.BudgetFirstQuarterAmounts)get_store().find_element_user(BUDGETFIRSTQUARTERAMOUNTS$2, 0);
167                 if (target == null)
168                 {
169                     return null;
170                 }
171                 return target;
172             }
173         }
174         
175         /**
176          * True if has "BudgetFirstQuarterAmounts" element
177          */
178         public boolean isSetBudgetFirstQuarterAmounts()
179         {
180             synchronized (monitor())
181             {
182                 check_orphaned();
183                 return get_store().count_elements(BUDGETFIRSTQUARTERAMOUNTS$2) != 0;
184             }
185         }
186         
187         /**
188          * Sets the "BudgetFirstQuarterAmounts" element
189          */
190         public void setBudgetFirstQuarterAmounts(gov.grants.apply.forms.sf424AV10.BudgetFirstQuarterAmountsDocument.BudgetFirstQuarterAmounts budgetFirstQuarterAmounts)
191         {
192             generatedSetterHelperImpl(budgetFirstQuarterAmounts, BUDGETFIRSTQUARTERAMOUNTS$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
193         }
194         
195         /**
196          * Appends and returns a new empty "BudgetFirstQuarterAmounts" element
197          */
198         public gov.grants.apply.forms.sf424AV10.BudgetFirstQuarterAmountsDocument.BudgetFirstQuarterAmounts addNewBudgetFirstQuarterAmounts()
199         {
200             synchronized (monitor())
201             {
202                 check_orphaned();
203                 gov.grants.apply.forms.sf424AV10.BudgetFirstQuarterAmountsDocument.BudgetFirstQuarterAmounts target = null;
204                 target = (gov.grants.apply.forms.sf424AV10.BudgetFirstQuarterAmountsDocument.BudgetFirstQuarterAmounts)get_store().add_element_user(BUDGETFIRSTQUARTERAMOUNTS$2);
205                 return target;
206             }
207         }
208         
209         /**
210          * Unsets the "BudgetFirstQuarterAmounts" element
211          */
212         public void unsetBudgetFirstQuarterAmounts()
213         {
214             synchronized (monitor())
215             {
216                 check_orphaned();
217                 get_store().remove_element(BUDGETFIRSTQUARTERAMOUNTS$2, 0);
218             }
219         }
220         
221         /**
222          * Gets the "BudgetSecondQuarterAmounts" element
223          */
224         public gov.grants.apply.forms.sf424AV10.BudgetSecondQuarterAmountsDocument.BudgetSecondQuarterAmounts getBudgetSecondQuarterAmounts()
225         {
226             synchronized (monitor())
227             {
228                 check_orphaned();
229                 gov.grants.apply.forms.sf424AV10.BudgetSecondQuarterAmountsDocument.BudgetSecondQuarterAmounts target = null;
230                 target = (gov.grants.apply.forms.sf424AV10.BudgetSecondQuarterAmountsDocument.BudgetSecondQuarterAmounts)get_store().find_element_user(BUDGETSECONDQUARTERAMOUNTS$4, 0);
231                 if (target == null)
232                 {
233                     return null;
234                 }
235                 return target;
236             }
237         }
238         
239         /**
240          * True if has "BudgetSecondQuarterAmounts" element
241          */
242         public boolean isSetBudgetSecondQuarterAmounts()
243         {
244             synchronized (monitor())
245             {
246                 check_orphaned();
247                 return get_store().count_elements(BUDGETSECONDQUARTERAMOUNTS$4) != 0;
248             }
249         }
250         
251         /**
252          * Sets the "BudgetSecondQuarterAmounts" element
253          */
254         public void setBudgetSecondQuarterAmounts(gov.grants.apply.forms.sf424AV10.BudgetSecondQuarterAmountsDocument.BudgetSecondQuarterAmounts budgetSecondQuarterAmounts)
255         {
256             generatedSetterHelperImpl(budgetSecondQuarterAmounts, BUDGETSECONDQUARTERAMOUNTS$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
257         }
258         
259         /**
260          * Appends and returns a new empty "BudgetSecondQuarterAmounts" element
261          */
262         public gov.grants.apply.forms.sf424AV10.BudgetSecondQuarterAmountsDocument.BudgetSecondQuarterAmounts addNewBudgetSecondQuarterAmounts()
263         {
264             synchronized (monitor())
265             {
266                 check_orphaned();
267                 gov.grants.apply.forms.sf424AV10.BudgetSecondQuarterAmountsDocument.BudgetSecondQuarterAmounts target = null;
268                 target = (gov.grants.apply.forms.sf424AV10.BudgetSecondQuarterAmountsDocument.BudgetSecondQuarterAmounts)get_store().add_element_user(BUDGETSECONDQUARTERAMOUNTS$4);
269                 return target;
270             }
271         }
272         
273         /**
274          * Unsets the "BudgetSecondQuarterAmounts" element
275          */
276         public void unsetBudgetSecondQuarterAmounts()
277         {
278             synchronized (monitor())
279             {
280                 check_orphaned();
281                 get_store().remove_element(BUDGETSECONDQUARTERAMOUNTS$4, 0);
282             }
283         }
284         
285         /**
286          * Gets the "BudgetThirdQuarterAmounts" element
287          */
288         public gov.grants.apply.forms.sf424AV10.BudgetThirdQuarterAmountsDocument.BudgetThirdQuarterAmounts getBudgetThirdQuarterAmounts()
289         {
290             synchronized (monitor())
291             {
292                 check_orphaned();
293                 gov.grants.apply.forms.sf424AV10.BudgetThirdQuarterAmountsDocument.BudgetThirdQuarterAmounts target = null;
294                 target = (gov.grants.apply.forms.sf424AV10.BudgetThirdQuarterAmountsDocument.BudgetThirdQuarterAmounts)get_store().find_element_user(BUDGETTHIRDQUARTERAMOUNTS$6, 0);
295                 if (target == null)
296                 {
297                     return null;
298                 }
299                 return target;
300             }
301         }
302         
303         /**
304          * True if has "BudgetThirdQuarterAmounts" element
305          */
306         public boolean isSetBudgetThirdQuarterAmounts()
307         {
308             synchronized (monitor())
309             {
310                 check_orphaned();
311                 return get_store().count_elements(BUDGETTHIRDQUARTERAMOUNTS$6) != 0;
312             }
313         }
314         
315         /**
316          * Sets the "BudgetThirdQuarterAmounts" element
317          */
318         public void setBudgetThirdQuarterAmounts(gov.grants.apply.forms.sf424AV10.BudgetThirdQuarterAmountsDocument.BudgetThirdQuarterAmounts budgetThirdQuarterAmounts)
319         {
320             generatedSetterHelperImpl(budgetThirdQuarterAmounts, BUDGETTHIRDQUARTERAMOUNTS$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
321         }
322         
323         /**
324          * Appends and returns a new empty "BudgetThirdQuarterAmounts" element
325          */
326         public gov.grants.apply.forms.sf424AV10.BudgetThirdQuarterAmountsDocument.BudgetThirdQuarterAmounts addNewBudgetThirdQuarterAmounts()
327         {
328             synchronized (monitor())
329             {
330                 check_orphaned();
331                 gov.grants.apply.forms.sf424AV10.BudgetThirdQuarterAmountsDocument.BudgetThirdQuarterAmounts target = null;
332                 target = (gov.grants.apply.forms.sf424AV10.BudgetThirdQuarterAmountsDocument.BudgetThirdQuarterAmounts)get_store().add_element_user(BUDGETTHIRDQUARTERAMOUNTS$6);
333                 return target;
334             }
335         }
336         
337         /**
338          * Unsets the "BudgetThirdQuarterAmounts" element
339          */
340         public void unsetBudgetThirdQuarterAmounts()
341         {
342             synchronized (monitor())
343             {
344                 check_orphaned();
345                 get_store().remove_element(BUDGETTHIRDQUARTERAMOUNTS$6, 0);
346             }
347         }
348         
349         /**
350          * Gets the "BudgetFourthQuarterAmounts" element
351          */
352         public gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts getBudgetFourthQuarterAmounts()
353         {
354             synchronized (monitor())
355             {
356                 check_orphaned();
357                 gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts target = null;
358                 target = (gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts)get_store().find_element_user(BUDGETFOURTHQUARTERAMOUNTS$8, 0);
359                 if (target == null)
360                 {
361                     return null;
362                 }
363                 return target;
364             }
365         }
366         
367         /**
368          * True if has "BudgetFourthQuarterAmounts" element
369          */
370         public boolean isSetBudgetFourthQuarterAmounts()
371         {
372             synchronized (monitor())
373             {
374                 check_orphaned();
375                 return get_store().count_elements(BUDGETFOURTHQUARTERAMOUNTS$8) != 0;
376             }
377         }
378         
379         /**
380          * Sets the "BudgetFourthQuarterAmounts" element
381          */
382         public void setBudgetFourthQuarterAmounts(gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts budgetFourthQuarterAmounts)
383         {
384             generatedSetterHelperImpl(budgetFourthQuarterAmounts, BUDGETFOURTHQUARTERAMOUNTS$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
385         }
386         
387         /**
388          * Appends and returns a new empty "BudgetFourthQuarterAmounts" element
389          */
390         public gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts addNewBudgetFourthQuarterAmounts()
391         {
392             synchronized (monitor())
393             {
394                 check_orphaned();
395                 gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts target = null;
396                 target = (gov.grants.apply.forms.sf424AV10.BudgetFourthQuarterAmountsDocument.BudgetFourthQuarterAmounts)get_store().add_element_user(BUDGETFOURTHQUARTERAMOUNTS$8);
397                 return target;
398             }
399         }
400         
401         /**
402          * Unsets the "BudgetFourthQuarterAmounts" element
403          */
404         public void unsetBudgetFourthQuarterAmounts()
405         {
406             synchronized (monitor())
407             {
408                 check_orphaned();
409                 get_store().remove_element(BUDGETFOURTHQUARTERAMOUNTS$8, 0);
410             }
411         }
412     }
413 }