View Javadoc
1   /*
2    * An XML document type.
3    * Localname: SummaryTotals
4    * Namespace: http://apply.grants.gov/forms/SF424A-V1.0
5    * Java type: gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.sf424AV10.impl;
10  /**
11   * A document containing one SummaryTotals(@http://apply.grants.gov/forms/SF424A-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class SummaryTotalsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public SummaryTotalsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName SUMMARYTOTALS$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "SummaryTotals");
26      
27      
28      /**
29       * Gets the "SummaryTotals" element
30       */
31      public gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals getSummaryTotals()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals target = null;
37              target = (gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals)get_store().find_element_user(SUMMARYTOTALS$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "SummaryTotals" element
48       */
49      public void setSummaryTotals(gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals summaryTotals)
50      {
51          generatedSetterHelperImpl(summaryTotals, SUMMARYTOTALS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "SummaryTotals" element
56       */
57      public gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals addNewSummaryTotals()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals target = null;
63              target = (gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals)get_store().add_element_user(SUMMARYTOTALS$0);
64              return target;
65          }
66      }
67      /**
68       * An XML SummaryTotals(@http://apply.grants.gov/forms/SF424A-V1.0).
69       *
70       * This is a complex type.
71       */
72      public static class SummaryTotalsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public SummaryTotalsImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFederalEstimatedUnobligatedAmount");
83          private static final javax.xml.namespace.QName BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetNonFederalEstimatedUnobligatedAmount");
85          private static final javax.xml.namespace.QName BUDGETFEDERALNEWORREVISEDAMOUNT$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetFederalNewOrRevisedAmount");
87          private static final javax.xml.namespace.QName BUDGETNONFEDERALNEWORREVISEDAMOUNT$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetNonFederalNewOrRevisedAmount");
89          private static final javax.xml.namespace.QName BUDGETTOTALNEWORREVISEDAMOUNT$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetTotalNewOrRevisedAmount");
91          
92          
93          /**
94           * Gets the "BudgetFederalEstimatedUnobligatedAmount" element
95           */
96          public java.math.BigDecimal getBudgetFederalEstimatedUnobligatedAmount()
97          {
98              synchronized (monitor())
99              {
100                 check_orphaned();
101                 org.apache.xmlbeans.SimpleValue target = null;
102                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0, 0);
103                 if (target == null)
104                 {
105                     return null;
106                 }
107                 return target.getBigDecimalValue();
108             }
109         }
110         
111         /**
112          * Gets (as xml) the "BudgetFederalEstimatedUnobligatedAmount" element
113          */
114         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetFederalEstimatedUnobligatedAmount()
115         {
116             synchronized (monitor())
117             {
118                 check_orphaned();
119                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
120                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0, 0);
121                 return target;
122             }
123         }
124         
125         /**
126          * True if has "BudgetFederalEstimatedUnobligatedAmount" element
127          */
128         public boolean isSetBudgetFederalEstimatedUnobligatedAmount()
129         {
130             synchronized (monitor())
131             {
132                 check_orphaned();
133                 return get_store().count_elements(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0) != 0;
134             }
135         }
136         
137         /**
138          * Sets the "BudgetFederalEstimatedUnobligatedAmount" element
139          */
140         public void setBudgetFederalEstimatedUnobligatedAmount(java.math.BigDecimal budgetFederalEstimatedUnobligatedAmount)
141         {
142             synchronized (monitor())
143             {
144                 check_orphaned();
145                 org.apache.xmlbeans.SimpleValue target = null;
146                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0, 0);
147                 if (target == null)
148                 {
149                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0);
150                 }
151                 target.setBigDecimalValue(budgetFederalEstimatedUnobligatedAmount);
152             }
153         }
154         
155         /**
156          * Sets (as xml) the "BudgetFederalEstimatedUnobligatedAmount" element
157          */
158         public void xsetBudgetFederalEstimatedUnobligatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetFederalEstimatedUnobligatedAmount)
159         {
160             synchronized (monitor())
161             {
162                 check_orphaned();
163                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
164                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0, 0);
165                 if (target == null)
166                 {
167                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0);
168                 }
169                 target.set(budgetFederalEstimatedUnobligatedAmount);
170             }
171         }
172         
173         /**
174          * Unsets the "BudgetFederalEstimatedUnobligatedAmount" element
175          */
176         public void unsetBudgetFederalEstimatedUnobligatedAmount()
177         {
178             synchronized (monitor())
179             {
180                 check_orphaned();
181                 get_store().remove_element(BUDGETFEDERALESTIMATEDUNOBLIGATEDAMOUNT$0, 0);
182             }
183         }
184         
185         /**
186          * Gets the "BudgetNonFederalEstimatedUnobligatedAmount" element
187          */
188         public java.math.BigDecimal getBudgetNonFederalEstimatedUnobligatedAmount()
189         {
190             synchronized (monitor())
191             {
192                 check_orphaned();
193                 org.apache.xmlbeans.SimpleValue target = null;
194                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2, 0);
195                 if (target == null)
196                 {
197                     return null;
198                 }
199                 return target.getBigDecimalValue();
200             }
201         }
202         
203         /**
204          * Gets (as xml) the "BudgetNonFederalEstimatedUnobligatedAmount" element
205          */
206         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetNonFederalEstimatedUnobligatedAmount()
207         {
208             synchronized (monitor())
209             {
210                 check_orphaned();
211                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
212                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2, 0);
213                 return target;
214             }
215         }
216         
217         /**
218          * True if has "BudgetNonFederalEstimatedUnobligatedAmount" element
219          */
220         public boolean isSetBudgetNonFederalEstimatedUnobligatedAmount()
221         {
222             synchronized (monitor())
223             {
224                 check_orphaned();
225                 return get_store().count_elements(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2) != 0;
226             }
227         }
228         
229         /**
230          * Sets the "BudgetNonFederalEstimatedUnobligatedAmount" element
231          */
232         public void setBudgetNonFederalEstimatedUnobligatedAmount(java.math.BigDecimal budgetNonFederalEstimatedUnobligatedAmount)
233         {
234             synchronized (monitor())
235             {
236                 check_orphaned();
237                 org.apache.xmlbeans.SimpleValue target = null;
238                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2, 0);
239                 if (target == null)
240                 {
241                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2);
242                 }
243                 target.setBigDecimalValue(budgetNonFederalEstimatedUnobligatedAmount);
244             }
245         }
246         
247         /**
248          * Sets (as xml) the "BudgetNonFederalEstimatedUnobligatedAmount" element
249          */
250         public void xsetBudgetNonFederalEstimatedUnobligatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetNonFederalEstimatedUnobligatedAmount)
251         {
252             synchronized (monitor())
253             {
254                 check_orphaned();
255                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
256                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2, 0);
257                 if (target == null)
258                 {
259                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2);
260                 }
261                 target.set(budgetNonFederalEstimatedUnobligatedAmount);
262             }
263         }
264         
265         /**
266          * Unsets the "BudgetNonFederalEstimatedUnobligatedAmount" element
267          */
268         public void unsetBudgetNonFederalEstimatedUnobligatedAmount()
269         {
270             synchronized (monitor())
271             {
272                 check_orphaned();
273                 get_store().remove_element(BUDGETNONFEDERALESTIMATEDUNOBLIGATEDAMOUNT$2, 0);
274             }
275         }
276         
277         /**
278          * Gets the "BudgetFederalNewOrRevisedAmount" element
279          */
280         public java.math.BigDecimal getBudgetFederalNewOrRevisedAmount()
281         {
282             synchronized (monitor())
283             {
284                 check_orphaned();
285                 org.apache.xmlbeans.SimpleValue target = null;
286                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4, 0);
287                 if (target == null)
288                 {
289                     return null;
290                 }
291                 return target.getBigDecimalValue();
292             }
293         }
294         
295         /**
296          * Gets (as xml) the "BudgetFederalNewOrRevisedAmount" element
297          */
298         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetFederalNewOrRevisedAmount()
299         {
300             synchronized (monitor())
301             {
302                 check_orphaned();
303                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
304                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4, 0);
305                 return target;
306             }
307         }
308         
309         /**
310          * True if has "BudgetFederalNewOrRevisedAmount" element
311          */
312         public boolean isSetBudgetFederalNewOrRevisedAmount()
313         {
314             synchronized (monitor())
315             {
316                 check_orphaned();
317                 return get_store().count_elements(BUDGETFEDERALNEWORREVISEDAMOUNT$4) != 0;
318             }
319         }
320         
321         /**
322          * Sets the "BudgetFederalNewOrRevisedAmount" element
323          */
324         public void setBudgetFederalNewOrRevisedAmount(java.math.BigDecimal budgetFederalNewOrRevisedAmount)
325         {
326             synchronized (monitor())
327             {
328                 check_orphaned();
329                 org.apache.xmlbeans.SimpleValue target = null;
330                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4, 0);
331                 if (target == null)
332                 {
333                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4);
334                 }
335                 target.setBigDecimalValue(budgetFederalNewOrRevisedAmount);
336             }
337         }
338         
339         /**
340          * Sets (as xml) the "BudgetFederalNewOrRevisedAmount" element
341          */
342         public void xsetBudgetFederalNewOrRevisedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetFederalNewOrRevisedAmount)
343         {
344             synchronized (monitor())
345             {
346                 check_orphaned();
347                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
348                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4, 0);
349                 if (target == null)
350                 {
351                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETFEDERALNEWORREVISEDAMOUNT$4);
352                 }
353                 target.set(budgetFederalNewOrRevisedAmount);
354             }
355         }
356         
357         /**
358          * Unsets the "BudgetFederalNewOrRevisedAmount" element
359          */
360         public void unsetBudgetFederalNewOrRevisedAmount()
361         {
362             synchronized (monitor())
363             {
364                 check_orphaned();
365                 get_store().remove_element(BUDGETFEDERALNEWORREVISEDAMOUNT$4, 0);
366             }
367         }
368         
369         /**
370          * Gets the "BudgetNonFederalNewOrRevisedAmount" element
371          */
372         public java.math.BigDecimal getBudgetNonFederalNewOrRevisedAmount()
373         {
374             synchronized (monitor())
375             {
376                 check_orphaned();
377                 org.apache.xmlbeans.SimpleValue target = null;
378                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6, 0);
379                 if (target == null)
380                 {
381                     return null;
382                 }
383                 return target.getBigDecimalValue();
384             }
385         }
386         
387         /**
388          * Gets (as xml) the "BudgetNonFederalNewOrRevisedAmount" element
389          */
390         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetNonFederalNewOrRevisedAmount()
391         {
392             synchronized (monitor())
393             {
394                 check_orphaned();
395                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
396                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6, 0);
397                 return target;
398             }
399         }
400         
401         /**
402          * True if has "BudgetNonFederalNewOrRevisedAmount" element
403          */
404         public boolean isSetBudgetNonFederalNewOrRevisedAmount()
405         {
406             synchronized (monitor())
407             {
408                 check_orphaned();
409                 return get_store().count_elements(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6) != 0;
410             }
411         }
412         
413         /**
414          * Sets the "BudgetNonFederalNewOrRevisedAmount" element
415          */
416         public void setBudgetNonFederalNewOrRevisedAmount(java.math.BigDecimal budgetNonFederalNewOrRevisedAmount)
417         {
418             synchronized (monitor())
419             {
420                 check_orphaned();
421                 org.apache.xmlbeans.SimpleValue target = null;
422                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6, 0);
423                 if (target == null)
424                 {
425                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6);
426                 }
427                 target.setBigDecimalValue(budgetNonFederalNewOrRevisedAmount);
428             }
429         }
430         
431         /**
432          * Sets (as xml) the "BudgetNonFederalNewOrRevisedAmount" element
433          */
434         public void xsetBudgetNonFederalNewOrRevisedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetNonFederalNewOrRevisedAmount)
435         {
436             synchronized (monitor())
437             {
438                 check_orphaned();
439                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
440                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6, 0);
441                 if (target == null)
442                 {
443                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6);
444                 }
445                 target.set(budgetNonFederalNewOrRevisedAmount);
446             }
447         }
448         
449         /**
450          * Unsets the "BudgetNonFederalNewOrRevisedAmount" element
451          */
452         public void unsetBudgetNonFederalNewOrRevisedAmount()
453         {
454             synchronized (monitor())
455             {
456                 check_orphaned();
457                 get_store().remove_element(BUDGETNONFEDERALNEWORREVISEDAMOUNT$6, 0);
458             }
459         }
460         
461         /**
462          * Gets the "BudgetTotalNewOrRevisedAmount" element
463          */
464         public java.math.BigDecimal getBudgetTotalNewOrRevisedAmount()
465         {
466             synchronized (monitor())
467             {
468                 check_orphaned();
469                 org.apache.xmlbeans.SimpleValue target = null;
470                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8, 0);
471                 if (target == null)
472                 {
473                     return null;
474                 }
475                 return target.getBigDecimalValue();
476             }
477         }
478         
479         /**
480          * Gets (as xml) the "BudgetTotalNewOrRevisedAmount" element
481          */
482         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetTotalNewOrRevisedAmount()
483         {
484             synchronized (monitor())
485             {
486                 check_orphaned();
487                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
488                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8, 0);
489                 return target;
490             }
491         }
492         
493         /**
494          * True if has "BudgetTotalNewOrRevisedAmount" element
495          */
496         public boolean isSetBudgetTotalNewOrRevisedAmount()
497         {
498             synchronized (monitor())
499             {
500                 check_orphaned();
501                 return get_store().count_elements(BUDGETTOTALNEWORREVISEDAMOUNT$8) != 0;
502             }
503         }
504         
505         /**
506          * Sets the "BudgetTotalNewOrRevisedAmount" element
507          */
508         public void setBudgetTotalNewOrRevisedAmount(java.math.BigDecimal budgetTotalNewOrRevisedAmount)
509         {
510             synchronized (monitor())
511             {
512                 check_orphaned();
513                 org.apache.xmlbeans.SimpleValue target = null;
514                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8, 0);
515                 if (target == null)
516                 {
517                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8);
518                 }
519                 target.setBigDecimalValue(budgetTotalNewOrRevisedAmount);
520             }
521         }
522         
523         /**
524          * Sets (as xml) the "BudgetTotalNewOrRevisedAmount" element
525          */
526         public void xsetBudgetTotalNewOrRevisedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetTotalNewOrRevisedAmount)
527         {
528             synchronized (monitor())
529             {
530                 check_orphaned();
531                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
532                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8, 0);
533                 if (target == null)
534                 {
535                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETTOTALNEWORREVISEDAMOUNT$8);
536                 }
537                 target.set(budgetTotalNewOrRevisedAmount);
538             }
539         }
540         
541         /**
542          * Unsets the "BudgetTotalNewOrRevisedAmount" element
543          */
544         public void unsetBudgetTotalNewOrRevisedAmount()
545         {
546             synchronized (monitor())
547             {
548                 check_orphaned();
549                 get_store().remove_element(BUDGETTOTALNEWORREVISEDAMOUNT$8, 0);
550             }
551         }
552     }
553 }