View Javadoc
1   /*
2    * An XML document type.
3    * Localname: Budget
4    * Namespace: http://apply.grants.gov/forms/SF424-V1.0
5    * Java type: gov.grants.apply.forms.sf424V10.BudgetDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.sf424V10.impl;
10  /**
11   * A document containing one Budget(@http://apply.grants.gov/forms/SF424-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class BudgetDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.BudgetDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public BudgetDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName BUDGET$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "Budget");
26      
27      
28      /**
29       * Gets the "Budget" element
30       */
31      public gov.grants.apply.forms.sf424V10.BudgetDocument.Budget getBudget()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.sf424V10.BudgetDocument.Budget target = null;
37              target = (gov.grants.apply.forms.sf424V10.BudgetDocument.Budget)get_store().find_element_user(BUDGET$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "Budget" element
48       */
49      public void setBudget(gov.grants.apply.forms.sf424V10.BudgetDocument.Budget budget)
50      {
51          generatedSetterHelperImpl(budget, BUDGET$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "Budget" element
56       */
57      public gov.grants.apply.forms.sf424V10.BudgetDocument.Budget addNewBudget()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.sf424V10.BudgetDocument.Budget target = null;
63              target = (gov.grants.apply.forms.sf424V10.BudgetDocument.Budget)get_store().add_element_user(BUDGET$0);
64              return target;
65          }
66      }
67      /**
68       * An XML Budget(@http://apply.grants.gov/forms/SF424-V1.0).
69       *
70       * This is a complex type.
71       */
72      public static class BudgetImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.BudgetDocument.Budget
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public BudgetImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName FEDERALESTIMATEDAMOUNT$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "FederalEstimatedAmount");
83          private static final javax.xml.namespace.QName APPLICANTESTIMATEDAMOUNT$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "ApplicantEstimatedAmount");
85          private static final javax.xml.namespace.QName STATEESTIMATEDAMOUNT$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "StateEstimatedAmount");
87          private static final javax.xml.namespace.QName LOCALESTIMATEDAMOUNT$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "LocalEstimatedAmount");
89          private static final javax.xml.namespace.QName OTHERESTIMATEDAMOUNT$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "OtherEstimatedAmount");
91          private static final javax.xml.namespace.QName PROGRAMINCOMEESTIMATEDAMOUNT$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "ProgramIncomeEstimatedAmount");
93          private static final javax.xml.namespace.QName TOTALESTIMATEDAMOUNT$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "TotalEstimatedAmount");
95          private static final javax.xml.namespace.QName CURRENCYCODE$14 = 
96              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "currencyCode");
97          
98          
99          /**
100          * Gets the "FederalEstimatedAmount" element
101          */
102         public java.math.BigDecimal getFederalEstimatedAmount()
103         {
104             synchronized (monitor())
105             {
106                 check_orphaned();
107                 org.apache.xmlbeans.SimpleValue target = null;
108                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALESTIMATEDAMOUNT$0, 0);
109                 if (target == null)
110                 {
111                     return null;
112                 }
113                 return target.getBigDecimalValue();
114             }
115         }
116         
117         /**
118          * Gets (as xml) the "FederalEstimatedAmount" element
119          */
120         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetFederalEstimatedAmount()
121         {
122             synchronized (monitor())
123             {
124                 check_orphaned();
125                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
126                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(FEDERALESTIMATEDAMOUNT$0, 0);
127                 return target;
128             }
129         }
130         
131         /**
132          * Sets the "FederalEstimatedAmount" element
133          */
134         public void setFederalEstimatedAmount(java.math.BigDecimal federalEstimatedAmount)
135         {
136             synchronized (monitor())
137             {
138                 check_orphaned();
139                 org.apache.xmlbeans.SimpleValue target = null;
140                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALESTIMATEDAMOUNT$0, 0);
141                 if (target == null)
142                 {
143                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FEDERALESTIMATEDAMOUNT$0);
144                 }
145                 target.setBigDecimalValue(federalEstimatedAmount);
146             }
147         }
148         
149         /**
150          * Sets (as xml) the "FederalEstimatedAmount" element
151          */
152         public void xsetFederalEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type federalEstimatedAmount)
153         {
154             synchronized (monitor())
155             {
156                 check_orphaned();
157                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
158                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(FEDERALESTIMATEDAMOUNT$0, 0);
159                 if (target == null)
160                 {
161                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(FEDERALESTIMATEDAMOUNT$0);
162                 }
163                 target.set(federalEstimatedAmount);
164             }
165         }
166         
167         /**
168          * Gets the "ApplicantEstimatedAmount" element
169          */
170         public java.math.BigDecimal getApplicantEstimatedAmount()
171         {
172             synchronized (monitor())
173             {
174                 check_orphaned();
175                 org.apache.xmlbeans.SimpleValue target = null;
176                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPLICANTESTIMATEDAMOUNT$2, 0);
177                 if (target == null)
178                 {
179                     return null;
180                 }
181                 return target.getBigDecimalValue();
182             }
183         }
184         
185         /**
186          * Gets (as xml) the "ApplicantEstimatedAmount" element
187          */
188         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetApplicantEstimatedAmount()
189         {
190             synchronized (monitor())
191             {
192                 check_orphaned();
193                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
194                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(APPLICANTESTIMATEDAMOUNT$2, 0);
195                 return target;
196             }
197         }
198         
199         /**
200          * True if has "ApplicantEstimatedAmount" element
201          */
202         public boolean isSetApplicantEstimatedAmount()
203         {
204             synchronized (monitor())
205             {
206                 check_orphaned();
207                 return get_store().count_elements(APPLICANTESTIMATEDAMOUNT$2) != 0;
208             }
209         }
210         
211         /**
212          * Sets the "ApplicantEstimatedAmount" element
213          */
214         public void setApplicantEstimatedAmount(java.math.BigDecimal applicantEstimatedAmount)
215         {
216             synchronized (monitor())
217             {
218                 check_orphaned();
219                 org.apache.xmlbeans.SimpleValue target = null;
220                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPLICANTESTIMATEDAMOUNT$2, 0);
221                 if (target == null)
222                 {
223                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(APPLICANTESTIMATEDAMOUNT$2);
224                 }
225                 target.setBigDecimalValue(applicantEstimatedAmount);
226             }
227         }
228         
229         /**
230          * Sets (as xml) the "ApplicantEstimatedAmount" element
231          */
232         public void xsetApplicantEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type applicantEstimatedAmount)
233         {
234             synchronized (monitor())
235             {
236                 check_orphaned();
237                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
238                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(APPLICANTESTIMATEDAMOUNT$2, 0);
239                 if (target == null)
240                 {
241                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(APPLICANTESTIMATEDAMOUNT$2);
242                 }
243                 target.set(applicantEstimatedAmount);
244             }
245         }
246         
247         /**
248          * Unsets the "ApplicantEstimatedAmount" element
249          */
250         public void unsetApplicantEstimatedAmount()
251         {
252             synchronized (monitor())
253             {
254                 check_orphaned();
255                 get_store().remove_element(APPLICANTESTIMATEDAMOUNT$2, 0);
256             }
257         }
258         
259         /**
260          * Gets the "StateEstimatedAmount" element
261          */
262         public java.math.BigDecimal getStateEstimatedAmount()
263         {
264             synchronized (monitor())
265             {
266                 check_orphaned();
267                 org.apache.xmlbeans.SimpleValue target = null;
268                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATEESTIMATEDAMOUNT$4, 0);
269                 if (target == null)
270                 {
271                     return null;
272                 }
273                 return target.getBigDecimalValue();
274             }
275         }
276         
277         /**
278          * Gets (as xml) the "StateEstimatedAmount" element
279          */
280         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetStateEstimatedAmount()
281         {
282             synchronized (monitor())
283             {
284                 check_orphaned();
285                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
286                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(STATEESTIMATEDAMOUNT$4, 0);
287                 return target;
288             }
289         }
290         
291         /**
292          * True if has "StateEstimatedAmount" element
293          */
294         public boolean isSetStateEstimatedAmount()
295         {
296             synchronized (monitor())
297             {
298                 check_orphaned();
299                 return get_store().count_elements(STATEESTIMATEDAMOUNT$4) != 0;
300             }
301         }
302         
303         /**
304          * Sets the "StateEstimatedAmount" element
305          */
306         public void setStateEstimatedAmount(java.math.BigDecimal stateEstimatedAmount)
307         {
308             synchronized (monitor())
309             {
310                 check_orphaned();
311                 org.apache.xmlbeans.SimpleValue target = null;
312                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATEESTIMATEDAMOUNT$4, 0);
313                 if (target == null)
314                 {
315                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATEESTIMATEDAMOUNT$4);
316                 }
317                 target.setBigDecimalValue(stateEstimatedAmount);
318             }
319         }
320         
321         /**
322          * Sets (as xml) the "StateEstimatedAmount" element
323          */
324         public void xsetStateEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type stateEstimatedAmount)
325         {
326             synchronized (monitor())
327             {
328                 check_orphaned();
329                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
330                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(STATEESTIMATEDAMOUNT$4, 0);
331                 if (target == null)
332                 {
333                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(STATEESTIMATEDAMOUNT$4);
334                 }
335                 target.set(stateEstimatedAmount);
336             }
337         }
338         
339         /**
340          * Unsets the "StateEstimatedAmount" element
341          */
342         public void unsetStateEstimatedAmount()
343         {
344             synchronized (monitor())
345             {
346                 check_orphaned();
347                 get_store().remove_element(STATEESTIMATEDAMOUNT$4, 0);
348             }
349         }
350         
351         /**
352          * Gets the "LocalEstimatedAmount" element
353          */
354         public java.math.BigDecimal getLocalEstimatedAmount()
355         {
356             synchronized (monitor())
357             {
358                 check_orphaned();
359                 org.apache.xmlbeans.SimpleValue target = null;
360                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LOCALESTIMATEDAMOUNT$6, 0);
361                 if (target == null)
362                 {
363                     return null;
364                 }
365                 return target.getBigDecimalValue();
366             }
367         }
368         
369         /**
370          * Gets (as xml) the "LocalEstimatedAmount" element
371          */
372         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetLocalEstimatedAmount()
373         {
374             synchronized (monitor())
375             {
376                 check_orphaned();
377                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
378                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(LOCALESTIMATEDAMOUNT$6, 0);
379                 return target;
380             }
381         }
382         
383         /**
384          * True if has "LocalEstimatedAmount" element
385          */
386         public boolean isSetLocalEstimatedAmount()
387         {
388             synchronized (monitor())
389             {
390                 check_orphaned();
391                 return get_store().count_elements(LOCALESTIMATEDAMOUNT$6) != 0;
392             }
393         }
394         
395         /**
396          * Sets the "LocalEstimatedAmount" element
397          */
398         public void setLocalEstimatedAmount(java.math.BigDecimal localEstimatedAmount)
399         {
400             synchronized (monitor())
401             {
402                 check_orphaned();
403                 org.apache.xmlbeans.SimpleValue target = null;
404                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LOCALESTIMATEDAMOUNT$6, 0);
405                 if (target == null)
406                 {
407                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LOCALESTIMATEDAMOUNT$6);
408                 }
409                 target.setBigDecimalValue(localEstimatedAmount);
410             }
411         }
412         
413         /**
414          * Sets (as xml) the "LocalEstimatedAmount" element
415          */
416         public void xsetLocalEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type localEstimatedAmount)
417         {
418             synchronized (monitor())
419             {
420                 check_orphaned();
421                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
422                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(LOCALESTIMATEDAMOUNT$6, 0);
423                 if (target == null)
424                 {
425                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(LOCALESTIMATEDAMOUNT$6);
426                 }
427                 target.set(localEstimatedAmount);
428             }
429         }
430         
431         /**
432          * Unsets the "LocalEstimatedAmount" element
433          */
434         public void unsetLocalEstimatedAmount()
435         {
436             synchronized (monitor())
437             {
438                 check_orphaned();
439                 get_store().remove_element(LOCALESTIMATEDAMOUNT$6, 0);
440             }
441         }
442         
443         /**
444          * Gets the "OtherEstimatedAmount" element
445          */
446         public java.math.BigDecimal getOtherEstimatedAmount()
447         {
448             synchronized (monitor())
449             {
450                 check_orphaned();
451                 org.apache.xmlbeans.SimpleValue target = null;
452                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OTHERESTIMATEDAMOUNT$8, 0);
453                 if (target == null)
454                 {
455                     return null;
456                 }
457                 return target.getBigDecimalValue();
458             }
459         }
460         
461         /**
462          * Gets (as xml) the "OtherEstimatedAmount" element
463          */
464         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetOtherEstimatedAmount()
465         {
466             synchronized (monitor())
467             {
468                 check_orphaned();
469                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
470                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(OTHERESTIMATEDAMOUNT$8, 0);
471                 return target;
472             }
473         }
474         
475         /**
476          * True if has "OtherEstimatedAmount" element
477          */
478         public boolean isSetOtherEstimatedAmount()
479         {
480             synchronized (monitor())
481             {
482                 check_orphaned();
483                 return get_store().count_elements(OTHERESTIMATEDAMOUNT$8) != 0;
484             }
485         }
486         
487         /**
488          * Sets the "OtherEstimatedAmount" element
489          */
490         public void setOtherEstimatedAmount(java.math.BigDecimal otherEstimatedAmount)
491         {
492             synchronized (monitor())
493             {
494                 check_orphaned();
495                 org.apache.xmlbeans.SimpleValue target = null;
496                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OTHERESTIMATEDAMOUNT$8, 0);
497                 if (target == null)
498                 {
499                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OTHERESTIMATEDAMOUNT$8);
500                 }
501                 target.setBigDecimalValue(otherEstimatedAmount);
502             }
503         }
504         
505         /**
506          * Sets (as xml) the "OtherEstimatedAmount" element
507          */
508         public void xsetOtherEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type otherEstimatedAmount)
509         {
510             synchronized (monitor())
511             {
512                 check_orphaned();
513                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
514                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(OTHERESTIMATEDAMOUNT$8, 0);
515                 if (target == null)
516                 {
517                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(OTHERESTIMATEDAMOUNT$8);
518                 }
519                 target.set(otherEstimatedAmount);
520             }
521         }
522         
523         /**
524          * Unsets the "OtherEstimatedAmount" element
525          */
526         public void unsetOtherEstimatedAmount()
527         {
528             synchronized (monitor())
529             {
530                 check_orphaned();
531                 get_store().remove_element(OTHERESTIMATEDAMOUNT$8, 0);
532             }
533         }
534         
535         /**
536          * Gets the "ProgramIncomeEstimatedAmount" element
537          */
538         public java.math.BigDecimal getProgramIncomeEstimatedAmount()
539         {
540             synchronized (monitor())
541             {
542                 check_orphaned();
543                 org.apache.xmlbeans.SimpleValue target = null;
544                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10, 0);
545                 if (target == null)
546                 {
547                     return null;
548                 }
549                 return target.getBigDecimalValue();
550             }
551         }
552         
553         /**
554          * Gets (as xml) the "ProgramIncomeEstimatedAmount" element
555          */
556         public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetProgramIncomeEstimatedAmount()
557         {
558             synchronized (monitor())
559             {
560                 check_orphaned();
561                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
562                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10, 0);
563                 return target;
564             }
565         }
566         
567         /**
568          * True if has "ProgramIncomeEstimatedAmount" element
569          */
570         public boolean isSetProgramIncomeEstimatedAmount()
571         {
572             synchronized (monitor())
573             {
574                 check_orphaned();
575                 return get_store().count_elements(PROGRAMINCOMEESTIMATEDAMOUNT$10) != 0;
576             }
577         }
578         
579         /**
580          * Sets the "ProgramIncomeEstimatedAmount" element
581          */
582         public void setProgramIncomeEstimatedAmount(java.math.BigDecimal programIncomeEstimatedAmount)
583         {
584             synchronized (monitor())
585             {
586                 check_orphaned();
587                 org.apache.xmlbeans.SimpleValue target = null;
588                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10, 0);
589                 if (target == null)
590                 {
591                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10);
592                 }
593                 target.setBigDecimalValue(programIncomeEstimatedAmount);
594             }
595         }
596         
597         /**
598          * Sets (as xml) the "ProgramIncomeEstimatedAmount" element
599          */
600         public void xsetProgramIncomeEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type programIncomeEstimatedAmount)
601         {
602             synchronized (monitor())
603             {
604                 check_orphaned();
605                 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
606                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10, 0);
607                 if (target == null)
608                 {
609                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(PROGRAMINCOMEESTIMATEDAMOUNT$10);
610                 }
611                 target.set(programIncomeEstimatedAmount);
612             }
613         }
614         
615         /**
616          * Unsets the "ProgramIncomeEstimatedAmount" element
617          */
618         public void unsetProgramIncomeEstimatedAmount()
619         {
620             synchronized (monitor())
621             {
622                 check_orphaned();
623                 get_store().remove_element(PROGRAMINCOMEESTIMATEDAMOUNT$10, 0);
624             }
625         }
626         
627         /**
628          * Gets the "TotalEstimatedAmount" element
629          */
630         public java.math.BigDecimal getTotalEstimatedAmount()
631         {
632             synchronized (monitor())
633             {
634                 check_orphaned();
635                 org.apache.xmlbeans.SimpleValue target = null;
636                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALESTIMATEDAMOUNT$12, 0);
637                 if (target == null)
638                 {
639                     return null;
640                 }
641                 return target.getBigDecimalValue();
642             }
643         }
644         
645         /**
646          * Gets (as xml) the "TotalEstimatedAmount" element
647          */
648         public gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type xgetTotalEstimatedAmount()
649         {
650             synchronized (monitor())
651             {
652                 check_orphaned();
653                 gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type target = null;
654                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().find_element_user(TOTALESTIMATEDAMOUNT$12, 0);
655                 return target;
656             }
657         }
658         
659         /**
660          * Sets the "TotalEstimatedAmount" element
661          */
662         public void setTotalEstimatedAmount(java.math.BigDecimal totalEstimatedAmount)
663         {
664             synchronized (monitor())
665             {
666                 check_orphaned();
667                 org.apache.xmlbeans.SimpleValue target = null;
668                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALESTIMATEDAMOUNT$12, 0);
669                 if (target == null)
670                 {
671                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALESTIMATEDAMOUNT$12);
672                 }
673                 target.setBigDecimalValue(totalEstimatedAmount);
674             }
675         }
676         
677         /**
678          * Sets (as xml) the "TotalEstimatedAmount" element
679          */
680         public void xsetTotalEstimatedAmount(gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type totalEstimatedAmount)
681         {
682             synchronized (monitor())
683             {
684                 check_orphaned();
685                 gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type target = null;
686                 target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().find_element_user(TOTALESTIMATEDAMOUNT$12, 0);
687                 if (target == null)
688                 {
689                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().add_element_user(TOTALESTIMATEDAMOUNT$12);
690                 }
691                 target.set(totalEstimatedAmount);
692             }
693         }
694         
695         /**
696          * Gets the "currencyCode" attribute
697          */
698         public gov.grants.apply.system.universalCodesV10.CurrencyCodeType.Enum getCurrencyCode()
699         {
700             synchronized (monitor())
701             {
702                 check_orphaned();
703                 org.apache.xmlbeans.SimpleValue target = null;
704                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CURRENCYCODE$14);
705                 if (target == null)
706                 {
707                     return null;
708                 }
709                 return (gov.grants.apply.system.universalCodesV10.CurrencyCodeType.Enum)target.getEnumValue();
710             }
711         }
712         
713         /**
714          * Gets (as xml) the "currencyCode" attribute
715          */
716         public gov.grants.apply.system.universalCodesV10.CurrencyCodeType xgetCurrencyCode()
717         {
718             synchronized (monitor())
719             {
720                 check_orphaned();
721                 gov.grants.apply.system.universalCodesV10.CurrencyCodeType target = null;
722                 target = (gov.grants.apply.system.universalCodesV10.CurrencyCodeType)get_store().find_attribute_user(CURRENCYCODE$14);
723                 return target;
724             }
725         }
726         
727         /**
728          * Sets the "currencyCode" attribute
729          */
730         public void setCurrencyCode(gov.grants.apply.system.universalCodesV10.CurrencyCodeType.Enum currencyCode)
731         {
732             synchronized (monitor())
733             {
734                 check_orphaned();
735                 org.apache.xmlbeans.SimpleValue target = null;
736                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CURRENCYCODE$14);
737                 if (target == null)
738                 {
739                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CURRENCYCODE$14);
740                 }
741                 target.setEnumValue(currencyCode);
742             }
743         }
744         
745         /**
746          * Sets (as xml) the "currencyCode" attribute
747          */
748         public void xsetCurrencyCode(gov.grants.apply.system.universalCodesV10.CurrencyCodeType currencyCode)
749         {
750             synchronized (monitor())
751             {
752                 check_orphaned();
753                 gov.grants.apply.system.universalCodesV10.CurrencyCodeType target = null;
754                 target = (gov.grants.apply.system.universalCodesV10.CurrencyCodeType)get_store().find_attribute_user(CURRENCYCODE$14);
755                 if (target == null)
756                 {
757                     target = (gov.grants.apply.system.universalCodesV10.CurrencyCodeType)get_store().add_attribute_user(CURRENCYCODE$14);
758                 }
759                 target.set(currencyCode);
760             }
761         }
762     }
763 }