View Javadoc
1   /*
2    * An XML document type.
3    * Localname: Personnels
4    * Namespace: http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1
5    * Java type: gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.ssaSF424SectionGV11.impl;
10  /**
11   * A document containing one Personnels(@http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1) element.
12   *
13   * This is a complex type.
14   */
15  public class PersonnelsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public PersonnelsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName PERSONNELS$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "Personnels");
26      
27      
28      /**
29       * Gets the "Personnels" element
30       */
31      public gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels getPersonnels()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels target = null;
37              target = (gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels)get_store().find_element_user(PERSONNELS$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "Personnels" element
48       */
49      public void setPersonnels(gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels personnels)
50      {
51          generatedSetterHelperImpl(personnels, PERSONNELS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "Personnels" element
56       */
57      public gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels addNewPersonnels()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels target = null;
63              target = (gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels)get_store().add_element_user(PERSONNELS$0);
64              return target;
65          }
66      }
67      /**
68       * An XML Personnels(@http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1).
69       *
70       * This is a complex type.
71       */
72      public static class PersonnelsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public PersonnelsImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName PERSONNEL$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "Personnel");
83          
84          
85          /**
86           * Gets array of all "Personnel" elements
87           */
88          public gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel[] getPersonnelArray()
89          {
90              synchronized (monitor())
91              {
92                  check_orphaned();
93                  java.util.List targetList = new java.util.ArrayList();
94                  get_store().find_all_element_users(PERSONNEL$0, targetList);
95                  gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel[] result = new gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel[targetList.size()];
96                  targetList.toArray(result);
97                  return result;
98              }
99          }
100         
101         /**
102          * Gets ith "Personnel" element
103          */
104         public gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel getPersonnelArray(int i)
105         {
106             synchronized (monitor())
107             {
108                 check_orphaned();
109                 gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel target = null;
110                 target = (gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel)get_store().find_element_user(PERSONNEL$0, i);
111                 if (target == null)
112                 {
113                     throw new IndexOutOfBoundsException();
114                 }
115                 return target;
116             }
117         }
118         
119         /**
120          * Returns number of "Personnel" element
121          */
122         public int sizeOfPersonnelArray()
123         {
124             synchronized (monitor())
125             {
126                 check_orphaned();
127                 return get_store().count_elements(PERSONNEL$0);
128             }
129         }
130         
131         /**
132          * Sets array of all "Personnel" element  WARNING: This method is not atomicaly synchronized.
133          */
134         public void setPersonnelArray(gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel[] personnelArray)
135         {
136             check_orphaned();
137             arraySetterHelper(personnelArray, PERSONNEL$0);
138         }
139         
140         /**
141          * Sets ith "Personnel" element
142          */
143         public void setPersonnelArray(int i, gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel personnel)
144         {
145             generatedSetterHelperImpl(personnel, PERSONNEL$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
146         }
147         
148         /**
149          * Inserts and returns a new empty value (as xml) as the ith "Personnel" element
150          */
151         public gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel insertNewPersonnel(int i)
152         {
153             synchronized (monitor())
154             {
155                 check_orphaned();
156                 gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel target = null;
157                 target = (gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel)get_store().insert_element_user(PERSONNEL$0, i);
158                 return target;
159             }
160         }
161         
162         /**
163          * Appends and returns a new empty value (as xml) as the last "Personnel" element
164          */
165         public gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel addNewPersonnel()
166         {
167             synchronized (monitor())
168             {
169                 check_orphaned();
170                 gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel target = null;
171                 target = (gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel)get_store().add_element_user(PERSONNEL$0);
172                 return target;
173             }
174         }
175         
176         /**
177          * Removes the ith "Personnel" element
178          */
179         public void removePersonnel(int i)
180         {
181             synchronized (monitor())
182             {
183                 check_orphaned();
184                 get_store().remove_element(PERSONNEL$0, i);
185             }
186         }
187         /**
188          * An XML Personnel(@http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1).
189          *
190          * This is a complex type.
191          */
192         public static class PersonnelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ssaSF424SectionGV11.PersonnelsDocument.Personnels.Personnel
193         {
194             private static final long serialVersionUID = 1L;
195             
196             public PersonnelImpl(org.apache.xmlbeans.SchemaType sType)
197             {
198                 super(sType);
199             }
200             
201             private static final javax.xml.namespace.QName NAME$0 = 
202                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "Name");
203             private static final javax.xml.namespace.QName TITLE$2 = 
204                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "Title");
205             private static final javax.xml.namespace.QName ANNUALSALARYRATE$4 = 
206                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "AnnualSalaryRate");
207             private static final javax.xml.namespace.QName BUDGETMONTHS$6 = 
208                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "BudgetMonths");
209             private static final javax.xml.namespace.QName UTILIZATIONPERCENTAGE$8 = 
210                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "UtilizationPercentage");
211             private static final javax.xml.namespace.QName TOTALAMOUNTREQUIRED$10 = 
212                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "TotalAmountRequired");
213             
214             
215             /**
216              * Gets the "Name" element
217              */
218             public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getName()
219             {
220                 synchronized (monitor())
221                 {
222                     check_orphaned();
223                     gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
224                     target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().find_element_user(NAME$0, 0);
225                     if (target == null)
226                     {
227                       return null;
228                     }
229                     return target;
230                 }
231             }
232             
233             /**
234              * True if has "Name" element
235              */
236             public boolean isSetName()
237             {
238                 synchronized (monitor())
239                 {
240                     check_orphaned();
241                     return get_store().count_elements(NAME$0) != 0;
242                 }
243             }
244             
245             /**
246              * Sets the "Name" element
247              */
248             public void setName(gov.grants.apply.system.globalLibraryV20.HumanNameDataType name)
249             {
250                 generatedSetterHelperImpl(name, NAME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
251             }
252             
253             /**
254              * Appends and returns a new empty "Name" element
255              */
256             public gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewName()
257             {
258                 synchronized (monitor())
259                 {
260                     check_orphaned();
261                     gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
262                     target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().add_element_user(NAME$0);
263                     return target;
264                 }
265             }
266             
267             /**
268              * Unsets the "Name" element
269              */
270             public void unsetName()
271             {
272                 synchronized (monitor())
273                 {
274                     check_orphaned();
275                     get_store().remove_element(NAME$0, 0);
276                 }
277             }
278             
279             /**
280              * Gets the "Title" element
281              */
282             public java.lang.String getTitle()
283             {
284                 synchronized (monitor())
285                 {
286                     check_orphaned();
287                     org.apache.xmlbeans.SimpleValue target = null;
288                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TITLE$2, 0);
289                     if (target == null)
290                     {
291                       return null;
292                     }
293                     return target.getStringValue();
294                 }
295             }
296             
297             /**
298              * Gets (as xml) the "Title" element
299              */
300             public gov.grants.apply.system.globalLibraryV20.HumanTitleDataType xgetTitle()
301             {
302                 synchronized (monitor())
303                 {
304                     check_orphaned();
305                     gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
306                     target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(TITLE$2, 0);
307                     return target;
308                 }
309             }
310             
311             /**
312              * True if has "Title" element
313              */
314             public boolean isSetTitle()
315             {
316                 synchronized (monitor())
317                 {
318                     check_orphaned();
319                     return get_store().count_elements(TITLE$2) != 0;
320                 }
321             }
322             
323             /**
324              * Sets the "Title" element
325              */
326             public void setTitle(java.lang.String title)
327             {
328                 synchronized (monitor())
329                 {
330                     check_orphaned();
331                     org.apache.xmlbeans.SimpleValue target = null;
332                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TITLE$2, 0);
333                     if (target == null)
334                     {
335                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TITLE$2);
336                     }
337                     target.setStringValue(title);
338                 }
339             }
340             
341             /**
342              * Sets (as xml) the "Title" element
343              */
344             public void xsetTitle(gov.grants.apply.system.globalLibraryV20.HumanTitleDataType title)
345             {
346                 synchronized (monitor())
347                 {
348                     check_orphaned();
349                     gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
350                     target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(TITLE$2, 0);
351                     if (target == null)
352                     {
353                       target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().add_element_user(TITLE$2);
354                     }
355                     target.set(title);
356                 }
357             }
358             
359             /**
360              * Unsets the "Title" element
361              */
362             public void unsetTitle()
363             {
364                 synchronized (monitor())
365                 {
366                     check_orphaned();
367                     get_store().remove_element(TITLE$2, 0);
368                 }
369             }
370             
371             /**
372              * Gets the "AnnualSalaryRate" element
373              */
374             public java.math.BigDecimal getAnnualSalaryRate()
375             {
376                 synchronized (monitor())
377                 {
378                     check_orphaned();
379                     org.apache.xmlbeans.SimpleValue target = null;
380                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ANNUALSALARYRATE$4, 0);
381                     if (target == null)
382                     {
383                       return null;
384                     }
385                     return target.getBigDecimalValue();
386                 }
387             }
388             
389             /**
390              * Gets (as xml) the "AnnualSalaryRate" element
391              */
392             public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetAnnualSalaryRate()
393             {
394                 synchronized (monitor())
395                 {
396                     check_orphaned();
397                     gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
398                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(ANNUALSALARYRATE$4, 0);
399                     return target;
400                 }
401             }
402             
403             /**
404              * True if has "AnnualSalaryRate" element
405              */
406             public boolean isSetAnnualSalaryRate()
407             {
408                 synchronized (monitor())
409                 {
410                     check_orphaned();
411                     return get_store().count_elements(ANNUALSALARYRATE$4) != 0;
412                 }
413             }
414             
415             /**
416              * Sets the "AnnualSalaryRate" element
417              */
418             public void setAnnualSalaryRate(java.math.BigDecimal annualSalaryRate)
419             {
420                 synchronized (monitor())
421                 {
422                     check_orphaned();
423                     org.apache.xmlbeans.SimpleValue target = null;
424                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ANNUALSALARYRATE$4, 0);
425                     if (target == null)
426                     {
427                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ANNUALSALARYRATE$4);
428                     }
429                     target.setBigDecimalValue(annualSalaryRate);
430                 }
431             }
432             
433             /**
434              * Sets (as xml) the "AnnualSalaryRate" element
435              */
436             public void xsetAnnualSalaryRate(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type annualSalaryRate)
437             {
438                 synchronized (monitor())
439                 {
440                     check_orphaned();
441                     gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
442                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(ANNUALSALARYRATE$4, 0);
443                     if (target == null)
444                     {
445                       target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(ANNUALSALARYRATE$4);
446                     }
447                     target.set(annualSalaryRate);
448                 }
449             }
450             
451             /**
452              * Unsets the "AnnualSalaryRate" element
453              */
454             public void unsetAnnualSalaryRate()
455             {
456                 synchronized (monitor())
457                 {
458                     check_orphaned();
459                     get_store().remove_element(ANNUALSALARYRATE$4, 0);
460                 }
461             }
462             
463             /**
464              * Gets the "BudgetMonths" element
465              */
466             public int getBudgetMonths()
467             {
468                 synchronized (monitor())
469                 {
470                     check_orphaned();
471                     org.apache.xmlbeans.SimpleValue target = null;
472                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETMONTHS$6, 0);
473                     if (target == null)
474                     {
475                       return 0;
476                     }
477                     return target.getIntValue();
478                 }
479             }
480             
481             /**
482              * Gets (as xml) the "BudgetMonths" element
483              */
484             public gov.grants.apply.system.globalV10.IntegerMin1Max2Type xgetBudgetMonths()
485             {
486                 synchronized (monitor())
487                 {
488                     check_orphaned();
489                     gov.grants.apply.system.globalV10.IntegerMin1Max2Type target = null;
490                     target = (gov.grants.apply.system.globalV10.IntegerMin1Max2Type)get_store().find_element_user(BUDGETMONTHS$6, 0);
491                     return target;
492                 }
493             }
494             
495             /**
496              * True if has "BudgetMonths" element
497              */
498             public boolean isSetBudgetMonths()
499             {
500                 synchronized (monitor())
501                 {
502                     check_orphaned();
503                     return get_store().count_elements(BUDGETMONTHS$6) != 0;
504                 }
505             }
506             
507             /**
508              * Sets the "BudgetMonths" element
509              */
510             public void setBudgetMonths(int budgetMonths)
511             {
512                 synchronized (monitor())
513                 {
514                     check_orphaned();
515                     org.apache.xmlbeans.SimpleValue target = null;
516                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETMONTHS$6, 0);
517                     if (target == null)
518                     {
519                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETMONTHS$6);
520                     }
521                     target.setIntValue(budgetMonths);
522                 }
523             }
524             
525             /**
526              * Sets (as xml) the "BudgetMonths" element
527              */
528             public void xsetBudgetMonths(gov.grants.apply.system.globalV10.IntegerMin1Max2Type budgetMonths)
529             {
530                 synchronized (monitor())
531                 {
532                     check_orphaned();
533                     gov.grants.apply.system.globalV10.IntegerMin1Max2Type target = null;
534                     target = (gov.grants.apply.system.globalV10.IntegerMin1Max2Type)get_store().find_element_user(BUDGETMONTHS$6, 0);
535                     if (target == null)
536                     {
537                       target = (gov.grants.apply.system.globalV10.IntegerMin1Max2Type)get_store().add_element_user(BUDGETMONTHS$6);
538                     }
539                     target.set(budgetMonths);
540                 }
541             }
542             
543             /**
544              * Unsets the "BudgetMonths" element
545              */
546             public void unsetBudgetMonths()
547             {
548                 synchronized (monitor())
549                 {
550                     check_orphaned();
551                     get_store().remove_element(BUDGETMONTHS$6, 0);
552                 }
553             }
554             
555             /**
556              * Gets the "UtilizationPercentage" element
557              */
558             public int getUtilizationPercentage()
559             {
560                 synchronized (monitor())
561                 {
562                     check_orphaned();
563                     org.apache.xmlbeans.SimpleValue target = null;
564                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UTILIZATIONPERCENTAGE$8, 0);
565                     if (target == null)
566                     {
567                       return 0;
568                     }
569                     return target.getIntValue();
570                 }
571             }
572             
573             /**
574              * Gets (as xml) the "UtilizationPercentage" element
575              */
576             public gov.grants.apply.system.globalV10.IntegerMin1Max3Type xgetUtilizationPercentage()
577             {
578                 synchronized (monitor())
579                 {
580                     check_orphaned();
581                     gov.grants.apply.system.globalV10.IntegerMin1Max3Type target = null;
582                     target = (gov.grants.apply.system.globalV10.IntegerMin1Max3Type)get_store().find_element_user(UTILIZATIONPERCENTAGE$8, 0);
583                     return target;
584                 }
585             }
586             
587             /**
588              * True if has "UtilizationPercentage" element
589              */
590             public boolean isSetUtilizationPercentage()
591             {
592                 synchronized (monitor())
593                 {
594                     check_orphaned();
595                     return get_store().count_elements(UTILIZATIONPERCENTAGE$8) != 0;
596                 }
597             }
598             
599             /**
600              * Sets the "UtilizationPercentage" element
601              */
602             public void setUtilizationPercentage(int utilizationPercentage)
603             {
604                 synchronized (monitor())
605                 {
606                     check_orphaned();
607                     org.apache.xmlbeans.SimpleValue target = null;
608                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UTILIZATIONPERCENTAGE$8, 0);
609                     if (target == null)
610                     {
611                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(UTILIZATIONPERCENTAGE$8);
612                     }
613                     target.setIntValue(utilizationPercentage);
614                 }
615             }
616             
617             /**
618              * Sets (as xml) the "UtilizationPercentage" element
619              */
620             public void xsetUtilizationPercentage(gov.grants.apply.system.globalV10.IntegerMin1Max3Type utilizationPercentage)
621             {
622                 synchronized (monitor())
623                 {
624                     check_orphaned();
625                     gov.grants.apply.system.globalV10.IntegerMin1Max3Type target = null;
626                     target = (gov.grants.apply.system.globalV10.IntegerMin1Max3Type)get_store().find_element_user(UTILIZATIONPERCENTAGE$8, 0);
627                     if (target == null)
628                     {
629                       target = (gov.grants.apply.system.globalV10.IntegerMin1Max3Type)get_store().add_element_user(UTILIZATIONPERCENTAGE$8);
630                     }
631                     target.set(utilizationPercentage);
632                 }
633             }
634             
635             /**
636              * Unsets the "UtilizationPercentage" element
637              */
638             public void unsetUtilizationPercentage()
639             {
640                 synchronized (monitor())
641                 {
642                     check_orphaned();
643                     get_store().remove_element(UTILIZATIONPERCENTAGE$8, 0);
644                 }
645             }
646             
647             /**
648              * Gets the "TotalAmountRequired" element
649              */
650             public java.math.BigDecimal getTotalAmountRequired()
651             {
652                 synchronized (monitor())
653                 {
654                     check_orphaned();
655                     org.apache.xmlbeans.SimpleValue target = null;
656                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALAMOUNTREQUIRED$10, 0);
657                     if (target == null)
658                     {
659                       return null;
660                     }
661                     return target.getBigDecimalValue();
662                 }
663             }
664             
665             /**
666              * Gets (as xml) the "TotalAmountRequired" element
667              */
668             public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetTotalAmountRequired()
669             {
670                 synchronized (monitor())
671                 {
672                     check_orphaned();
673                     gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
674                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(TOTALAMOUNTREQUIRED$10, 0);
675                     return target;
676                 }
677             }
678             
679             /**
680              * True if has "TotalAmountRequired" element
681              */
682             public boolean isSetTotalAmountRequired()
683             {
684                 synchronized (monitor())
685                 {
686                     check_orphaned();
687                     return get_store().count_elements(TOTALAMOUNTREQUIRED$10) != 0;
688                 }
689             }
690             
691             /**
692              * Sets the "TotalAmountRequired" element
693              */
694             public void setTotalAmountRequired(java.math.BigDecimal totalAmountRequired)
695             {
696                 synchronized (monitor())
697                 {
698                     check_orphaned();
699                     org.apache.xmlbeans.SimpleValue target = null;
700                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALAMOUNTREQUIRED$10, 0);
701                     if (target == null)
702                     {
703                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALAMOUNTREQUIRED$10);
704                     }
705                     target.setBigDecimalValue(totalAmountRequired);
706                 }
707             }
708             
709             /**
710              * Sets (as xml) the "TotalAmountRequired" element
711              */
712             public void xsetTotalAmountRequired(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type totalAmountRequired)
713             {
714                 synchronized (monitor())
715                 {
716                     check_orphaned();
717                     gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
718                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(TOTALAMOUNTREQUIRED$10, 0);
719                     if (target == null)
720                     {
721                       target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(TOTALAMOUNTREQUIRED$10);
722                     }
723                     target.set(totalAmountRequired);
724                 }
725             }
726             
727             /**
728              * Unsets the "TotalAmountRequired" element
729              */
730             public void unsetTotalAmountRequired()
731             {
732                 synchronized (monitor())
733                 {
734                     check_orphaned();
735                     get_store().remove_element(TOTALAMOUNTREQUIRED$10, 0);
736                 }
737             }
738         }
739     }
740 }