View Javadoc
1   /*
2    * An XML document type.
3    * Localname: NEH_Budget
4    * Namespace: http://apply.grants.gov/forms/NEH_Budget-V1.1
5    * Java type: gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.nehBudgetV11.impl;
10  /**
11   * A document containing one NEH_Budget(@http://apply.grants.gov/forms/NEH_Budget-V1.1) element.
12   *
13   * This is a complex type.
14   */
15  public class NEHBudgetDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public NEHBudgetDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName NEHBUDGET$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "NEH_Budget");
26      
27      
28      /**
29       * Gets the "NEH_Budget" element
30       */
31      public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget getNEHBudget()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget target = null;
37              target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget)get_store().find_element_user(NEHBUDGET$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "NEH_Budget" element
48       */
49      public void setNEHBudget(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget nehBudget)
50      {
51          generatedSetterHelperImpl(nehBudget, NEHBUDGET$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "NEH_Budget" element
56       */
57      public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget addNewNEHBudget()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget target = null;
63              target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget)get_store().add_element_user(NEHBUDGET$0);
64              return target;
65          }
66      }
67      /**
68       * An XML NEH_Budget(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
69       *
70       * This is a complex type.
71       */
72      public static class NEHBudgetImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public NEHBudgetImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName PROJECTDIRECTOR$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "ProjectDirector");
83          private static final javax.xml.namespace.QName APPNUMBER$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "AppNumber");
85          private static final javax.xml.namespace.QName INSTITUTIONNAME$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "InstitutionName");
87          private static final javax.xml.namespace.QName REQGRANTPERIOD$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "ReqGrantPeriod");
89          private static final javax.xml.namespace.QName DETAILEDBUDGET$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "DetailedBudget");
91          private static final javax.xml.namespace.QName BUDGETSUMMARY$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "BudgetSummary");
93          private static final javax.xml.namespace.QName FORMVERSION$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "FormVersion");
95          
96          
97          /**
98           * Gets the "ProjectDirector" element
99           */
100         public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getProjectDirector()
101         {
102             synchronized (monitor())
103             {
104                 check_orphaned();
105                 gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
106                 target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().find_element_user(PROJECTDIRECTOR$0, 0);
107                 if (target == null)
108                 {
109                     return null;
110                 }
111                 return target;
112             }
113         }
114         
115         /**
116          * Sets the "ProjectDirector" element
117          */
118         public void setProjectDirector(gov.grants.apply.system.globalLibraryV20.HumanNameDataType projectDirector)
119         {
120             generatedSetterHelperImpl(projectDirector, PROJECTDIRECTOR$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
121         }
122         
123         /**
124          * Appends and returns a new empty "ProjectDirector" element
125          */
126         public gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewProjectDirector()
127         {
128             synchronized (monitor())
129             {
130                 check_orphaned();
131                 gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
132                 target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().add_element_user(PROJECTDIRECTOR$0);
133                 return target;
134             }
135         }
136         
137         /**
138          * Gets the "AppNumber" element
139          */
140         public java.lang.String getAppNumber()
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(APPNUMBER$2, 0);
147                 if (target == null)
148                 {
149                     return null;
150                 }
151                 return target.getStringValue();
152             }
153         }
154         
155         /**
156          * Gets (as xml) the "AppNumber" element
157          */
158         public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.AppNumber xgetAppNumber()
159         {
160             synchronized (monitor())
161             {
162                 check_orphaned();
163                 gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.AppNumber target = null;
164                 target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.AppNumber)get_store().find_element_user(APPNUMBER$2, 0);
165                 return target;
166             }
167         }
168         
169         /**
170          * True if has "AppNumber" element
171          */
172         public boolean isSetAppNumber()
173         {
174             synchronized (monitor())
175             {
176                 check_orphaned();
177                 return get_store().count_elements(APPNUMBER$2) != 0;
178             }
179         }
180         
181         /**
182          * Sets the "AppNumber" element
183          */
184         public void setAppNumber(java.lang.String appNumber)
185         {
186             synchronized (monitor())
187             {
188                 check_orphaned();
189                 org.apache.xmlbeans.SimpleValue target = null;
190                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPNUMBER$2, 0);
191                 if (target == null)
192                 {
193                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(APPNUMBER$2);
194                 }
195                 target.setStringValue(appNumber);
196             }
197         }
198         
199         /**
200          * Sets (as xml) the "AppNumber" element
201          */
202         public void xsetAppNumber(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.AppNumber appNumber)
203         {
204             synchronized (monitor())
205             {
206                 check_orphaned();
207                 gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.AppNumber target = null;
208                 target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.AppNumber)get_store().find_element_user(APPNUMBER$2, 0);
209                 if (target == null)
210                 {
211                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.AppNumber)get_store().add_element_user(APPNUMBER$2);
212                 }
213                 target.set(appNumber);
214             }
215         }
216         
217         /**
218          * Unsets the "AppNumber" element
219          */
220         public void unsetAppNumber()
221         {
222             synchronized (monitor())
223             {
224                 check_orphaned();
225                 get_store().remove_element(APPNUMBER$2, 0);
226             }
227         }
228         
229         /**
230          * Gets the "InstitutionName" element
231          */
232         public java.lang.String getInstitutionName()
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(INSTITUTIONNAME$4, 0);
239                 if (target == null)
240                 {
241                     return null;
242                 }
243                 return target.getStringValue();
244             }
245         }
246         
247         /**
248          * Gets (as xml) the "InstitutionName" element
249          */
250         public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetInstitutionName()
251         {
252             synchronized (monitor())
253             {
254                 check_orphaned();
255                 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
256                 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(INSTITUTIONNAME$4, 0);
257                 return target;
258             }
259         }
260         
261         /**
262          * Sets the "InstitutionName" element
263          */
264         public void setInstitutionName(java.lang.String institutionName)
265         {
266             synchronized (monitor())
267             {
268                 check_orphaned();
269                 org.apache.xmlbeans.SimpleValue target = null;
270                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INSTITUTIONNAME$4, 0);
271                 if (target == null)
272                 {
273                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INSTITUTIONNAME$4);
274                 }
275                 target.setStringValue(institutionName);
276             }
277         }
278         
279         /**
280          * Sets (as xml) the "InstitutionName" element
281          */
282         public void xsetInstitutionName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType institutionName)
283         {
284             synchronized (monitor())
285             {
286                 check_orphaned();
287                 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
288                 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(INSTITUTIONNAME$4, 0);
289                 if (target == null)
290                 {
291                     target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(INSTITUTIONNAME$4);
292                 }
293                 target.set(institutionName);
294             }
295         }
296         
297         /**
298          * Gets the "ReqGrantPeriod" element
299          */
300         public gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType getReqGrantPeriod()
301         {
302             synchronized (monitor())
303             {
304                 check_orphaned();
305                 gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType target = null;
306                 target = (gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType)get_store().find_element_user(REQGRANTPERIOD$6, 0);
307                 if (target == null)
308                 {
309                     return null;
310                 }
311                 return target;
312             }
313         }
314         
315         /**
316          * Sets the "ReqGrantPeriod" element
317          */
318         public void setReqGrantPeriod(gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType reqGrantPeriod)
319         {
320             generatedSetterHelperImpl(reqGrantPeriod, REQGRANTPERIOD$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
321         }
322         
323         /**
324          * Appends and returns a new empty "ReqGrantPeriod" element
325          */
326         public gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType addNewReqGrantPeriod()
327         {
328             synchronized (monitor())
329             {
330                 check_orphaned();
331                 gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType target = null;
332                 target = (gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType)get_store().add_element_user(REQGRANTPERIOD$6);
333                 return target;
334             }
335         }
336         
337         /**
338          * Gets the "DetailedBudget" element
339          */
340         public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget getDetailedBudget()
341         {
342             synchronized (monitor())
343             {
344                 check_orphaned();
345                 gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget target = null;
346                 target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget)get_store().find_element_user(DETAILEDBUDGET$8, 0);
347                 if (target == null)
348                 {
349                     return null;
350                 }
351                 return target;
352             }
353         }
354         
355         /**
356          * Sets the "DetailedBudget" element
357          */
358         public void setDetailedBudget(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget detailedBudget)
359         {
360             generatedSetterHelperImpl(detailedBudget, DETAILEDBUDGET$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
361         }
362         
363         /**
364          * Appends and returns a new empty "DetailedBudget" element
365          */
366         public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget addNewDetailedBudget()
367         {
368             synchronized (monitor())
369             {
370                 check_orphaned();
371                 gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget target = null;
372                 target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget)get_store().add_element_user(DETAILEDBUDGET$8);
373                 return target;
374             }
375         }
376         
377         /**
378          * Gets the "BudgetSummary" element
379          */
380         public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary getBudgetSummary()
381         {
382             synchronized (monitor())
383             {
384                 check_orphaned();
385                 gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary target = null;
386                 target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary)get_store().find_element_user(BUDGETSUMMARY$10, 0);
387                 if (target == null)
388                 {
389                     return null;
390                 }
391                 return target;
392             }
393         }
394         
395         /**
396          * True if has "BudgetSummary" element
397          */
398         public boolean isSetBudgetSummary()
399         {
400             synchronized (monitor())
401             {
402                 check_orphaned();
403                 return get_store().count_elements(BUDGETSUMMARY$10) != 0;
404             }
405         }
406         
407         /**
408          * Sets the "BudgetSummary" element
409          */
410         public void setBudgetSummary(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary budgetSummary)
411         {
412             generatedSetterHelperImpl(budgetSummary, BUDGETSUMMARY$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
413         }
414         
415         /**
416          * Appends and returns a new empty "BudgetSummary" element
417          */
418         public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary addNewBudgetSummary()
419         {
420             synchronized (monitor())
421             {
422                 check_orphaned();
423                 gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary target = null;
424                 target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary)get_store().add_element_user(BUDGETSUMMARY$10);
425                 return target;
426             }
427         }
428         
429         /**
430          * Unsets the "BudgetSummary" element
431          */
432         public void unsetBudgetSummary()
433         {
434             synchronized (monitor())
435             {
436                 check_orphaned();
437                 get_store().remove_element(BUDGETSUMMARY$10, 0);
438             }
439         }
440         
441         /**
442          * Gets the "FormVersion" attribute
443          */
444         public java.lang.String getFormVersion()
445         {
446             synchronized (monitor())
447             {
448                 check_orphaned();
449                 org.apache.xmlbeans.SimpleValue target = null;
450                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$12);
451                 if (target == null)
452                 {
453                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$12);
454                 }
455                 if (target == null)
456                 {
457                     return null;
458                 }
459                 return target.getStringValue();
460             }
461         }
462         
463         /**
464          * Gets (as xml) the "FormVersion" attribute
465          */
466         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
467         {
468             synchronized (monitor())
469             {
470                 check_orphaned();
471                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
472                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$12);
473                 if (target == null)
474                 {
475                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$12);
476                 }
477                 return target;
478             }
479         }
480         
481         /**
482          * Sets the "FormVersion" attribute
483          */
484         public void setFormVersion(java.lang.String formVersion)
485         {
486             synchronized (monitor())
487             {
488                 check_orphaned();
489                 org.apache.xmlbeans.SimpleValue target = null;
490                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$12);
491                 if (target == null)
492                 {
493                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$12);
494                 }
495                 target.setStringValue(formVersion);
496             }
497         }
498         
499         /**
500          * Sets (as xml) the "FormVersion" attribute
501          */
502         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
503         {
504             synchronized (monitor())
505             {
506                 check_orphaned();
507                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
508                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$12);
509                 if (target == null)
510                 {
511                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$12);
512                 }
513                 target.set(formVersion);
514             }
515         }
516         /**
517          * An XML AppNumber(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
518          *
519          * This is an atomic type that is a restriction of gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument$NEHBudget$AppNumber.
520          */
521         public static class AppNumberImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.AppNumber
522         {
523             private static final long serialVersionUID = 1L;
524             
525             public AppNumberImpl(org.apache.xmlbeans.SchemaType sType)
526             {
527                 super(sType, false);
528             }
529             
530             protected AppNumberImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
531             {
532                 super(sType, b);
533             }
534         }
535         /**
536          * An XML DetailedBudget(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
537          *
538          * This is a complex type.
539          */
540         public static class DetailedBudgetImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget
541         {
542             private static final long serialVersionUID = 1L;
543             
544             public DetailedBudgetImpl(org.apache.xmlbeans.SchemaType sType)
545             {
546                 super(sType);
547             }
548             
549             private static final javax.xml.namespace.QName DETAILEDBUDGETPERIOD$0 = 
550                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "DetailedBudgetPeriod");
551             private static final javax.xml.namespace.QName SALARIESWAGES$2 = 
552                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SalariesWages");
553             private static final javax.xml.namespace.QName FRINGEBENEFITS$4 = 
554                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "FringeBenefits");
555             private static final javax.xml.namespace.QName CONSULTANTFEES$6 = 
556                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "ConsultantFees");
557             private static final javax.xml.namespace.QName TRAVELS$8 = 
558                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "Travels");
559             private static final javax.xml.namespace.QName SUPPLIESMATERIALS$10 = 
560                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SuppliesMaterials");
561             private static final javax.xml.namespace.QName SERVICES$12 = 
562                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "Services");
563             private static final javax.xml.namespace.QName OTHERCOSTS$14 = 
564                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "OtherCosts");
565             private static final javax.xml.namespace.QName TOTALDIRECTCOSTS$16 = 
566                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "TotalDirectCosts");
567             private static final javax.xml.namespace.QName INDIRECTCOSTS$18 = 
568                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "IndirectCosts");
569             private static final javax.xml.namespace.QName TOTALPROJECTCOSTS$20 = 
570                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "TotalProjectCosts");
571             
572             
573             /**
574              * Gets the "DetailedBudgetPeriod" element
575              */
576             public gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType getDetailedBudgetPeriod()
577             {
578                 synchronized (monitor())
579                 {
580                     check_orphaned();
581                     gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType target = null;
582                     target = (gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType)get_store().find_element_user(DETAILEDBUDGETPERIOD$0, 0);
583                     if (target == null)
584                     {
585                       return null;
586                     }
587                     return target;
588                 }
589             }
590             
591             /**
592              * Sets the "DetailedBudgetPeriod" element
593              */
594             public void setDetailedBudgetPeriod(gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType detailedBudgetPeriod)
595             {
596                 generatedSetterHelperImpl(detailedBudgetPeriod, DETAILEDBUDGETPERIOD$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
597             }
598             
599             /**
600              * Appends and returns a new empty "DetailedBudgetPeriod" element
601              */
602             public gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType addNewDetailedBudgetPeriod()
603             {
604                 synchronized (monitor())
605                 {
606                     check_orphaned();
607                     gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType target = null;
608                     target = (gov.grants.apply.forms.nehBudgetV11.BudgetPeriodDataType)get_store().add_element_user(DETAILEDBUDGETPERIOD$0);
609                     return target;
610                 }
611             }
612             
613             /**
614              * Gets the "SalariesWages" element
615              */
616             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SalariesWages getSalariesWages()
617             {
618                 synchronized (monitor())
619                 {
620                     check_orphaned();
621                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SalariesWages target = null;
622                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SalariesWages)get_store().find_element_user(SALARIESWAGES$2, 0);
623                     if (target == null)
624                     {
625                       return null;
626                     }
627                     return target;
628                 }
629             }
630             
631             /**
632              * True if has "SalariesWages" element
633              */
634             public boolean isSetSalariesWages()
635             {
636                 synchronized (monitor())
637                 {
638                     check_orphaned();
639                     return get_store().count_elements(SALARIESWAGES$2) != 0;
640                 }
641             }
642             
643             /**
644              * Sets the "SalariesWages" element
645              */
646             public void setSalariesWages(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SalariesWages salariesWages)
647             {
648                 generatedSetterHelperImpl(salariesWages, SALARIESWAGES$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
649             }
650             
651             /**
652              * Appends and returns a new empty "SalariesWages" element
653              */
654             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SalariesWages addNewSalariesWages()
655             {
656                 synchronized (monitor())
657                 {
658                     check_orphaned();
659                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SalariesWages target = null;
660                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SalariesWages)get_store().add_element_user(SALARIESWAGES$2);
661                     return target;
662                 }
663             }
664             
665             /**
666              * Unsets the "SalariesWages" element
667              */
668             public void unsetSalariesWages()
669             {
670                 synchronized (monitor())
671                 {
672                     check_orphaned();
673                     get_store().remove_element(SALARIESWAGES$2, 0);
674                 }
675             }
676             
677             /**
678              * Gets the "FringeBenefits" element
679              */
680             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.FringeBenefits getFringeBenefits()
681             {
682                 synchronized (monitor())
683                 {
684                     check_orphaned();
685                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.FringeBenefits target = null;
686                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.FringeBenefits)get_store().find_element_user(FRINGEBENEFITS$4, 0);
687                     if (target == null)
688                     {
689                       return null;
690                     }
691                     return target;
692                 }
693             }
694             
695             /**
696              * True if has "FringeBenefits" element
697              */
698             public boolean isSetFringeBenefits()
699             {
700                 synchronized (monitor())
701                 {
702                     check_orphaned();
703                     return get_store().count_elements(FRINGEBENEFITS$4) != 0;
704                 }
705             }
706             
707             /**
708              * Sets the "FringeBenefits" element
709              */
710             public void setFringeBenefits(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.FringeBenefits fringeBenefits)
711             {
712                 generatedSetterHelperImpl(fringeBenefits, FRINGEBENEFITS$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
713             }
714             
715             /**
716              * Appends and returns a new empty "FringeBenefits" element
717              */
718             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.FringeBenefits addNewFringeBenefits()
719             {
720                 synchronized (monitor())
721                 {
722                     check_orphaned();
723                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.FringeBenefits target = null;
724                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.FringeBenefits)get_store().add_element_user(FRINGEBENEFITS$4);
725                     return target;
726                 }
727             }
728             
729             /**
730              * Unsets the "FringeBenefits" element
731              */
732             public void unsetFringeBenefits()
733             {
734                 synchronized (monitor())
735                 {
736                     check_orphaned();
737                     get_store().remove_element(FRINGEBENEFITS$4, 0);
738                 }
739             }
740             
741             /**
742              * Gets the "ConsultantFees" element
743              */
744             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.ConsultantFees getConsultantFees()
745             {
746                 synchronized (monitor())
747                 {
748                     check_orphaned();
749                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.ConsultantFees target = null;
750                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.ConsultantFees)get_store().find_element_user(CONSULTANTFEES$6, 0);
751                     if (target == null)
752                     {
753                       return null;
754                     }
755                     return target;
756                 }
757             }
758             
759             /**
760              * True if has "ConsultantFees" element
761              */
762             public boolean isSetConsultantFees()
763             {
764                 synchronized (monitor())
765                 {
766                     check_orphaned();
767                     return get_store().count_elements(CONSULTANTFEES$6) != 0;
768                 }
769             }
770             
771             /**
772              * Sets the "ConsultantFees" element
773              */
774             public void setConsultantFees(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.ConsultantFees consultantFees)
775             {
776                 generatedSetterHelperImpl(consultantFees, CONSULTANTFEES$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
777             }
778             
779             /**
780              * Appends and returns a new empty "ConsultantFees" element
781              */
782             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.ConsultantFees addNewConsultantFees()
783             {
784                 synchronized (monitor())
785                 {
786                     check_orphaned();
787                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.ConsultantFees target = null;
788                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.ConsultantFees)get_store().add_element_user(CONSULTANTFEES$6);
789                     return target;
790                 }
791             }
792             
793             /**
794              * Unsets the "ConsultantFees" element
795              */
796             public void unsetConsultantFees()
797             {
798                 synchronized (monitor())
799                 {
800                     check_orphaned();
801                     get_store().remove_element(CONSULTANTFEES$6, 0);
802                 }
803             }
804             
805             /**
806              * Gets the "Travels" element
807              */
808             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Travels getTravels()
809             {
810                 synchronized (monitor())
811                 {
812                     check_orphaned();
813                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Travels target = null;
814                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Travels)get_store().find_element_user(TRAVELS$8, 0);
815                     if (target == null)
816                     {
817                       return null;
818                     }
819                     return target;
820                 }
821             }
822             
823             /**
824              * True if has "Travels" element
825              */
826             public boolean isSetTravels()
827             {
828                 synchronized (monitor())
829                 {
830                     check_orphaned();
831                     return get_store().count_elements(TRAVELS$8) != 0;
832                 }
833             }
834             
835             /**
836              * Sets the "Travels" element
837              */
838             public void setTravels(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Travels travels)
839             {
840                 generatedSetterHelperImpl(travels, TRAVELS$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
841             }
842             
843             /**
844              * Appends and returns a new empty "Travels" element
845              */
846             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Travels addNewTravels()
847             {
848                 synchronized (monitor())
849                 {
850                     check_orphaned();
851                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Travels target = null;
852                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Travels)get_store().add_element_user(TRAVELS$8);
853                     return target;
854                 }
855             }
856             
857             /**
858              * Unsets the "Travels" element
859              */
860             public void unsetTravels()
861             {
862                 synchronized (monitor())
863                 {
864                     check_orphaned();
865                     get_store().remove_element(TRAVELS$8, 0);
866                 }
867             }
868             
869             /**
870              * Gets the "SuppliesMaterials" element
871              */
872             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SuppliesMaterials getSuppliesMaterials()
873             {
874                 synchronized (monitor())
875                 {
876                     check_orphaned();
877                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SuppliesMaterials target = null;
878                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SuppliesMaterials)get_store().find_element_user(SUPPLIESMATERIALS$10, 0);
879                     if (target == null)
880                     {
881                       return null;
882                     }
883                     return target;
884                 }
885             }
886             
887             /**
888              * True if has "SuppliesMaterials" element
889              */
890             public boolean isSetSuppliesMaterials()
891             {
892                 synchronized (monitor())
893                 {
894                     check_orphaned();
895                     return get_store().count_elements(SUPPLIESMATERIALS$10) != 0;
896                 }
897             }
898             
899             /**
900              * Sets the "SuppliesMaterials" element
901              */
902             public void setSuppliesMaterials(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SuppliesMaterials suppliesMaterials)
903             {
904                 generatedSetterHelperImpl(suppliesMaterials, SUPPLIESMATERIALS$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
905             }
906             
907             /**
908              * Appends and returns a new empty "SuppliesMaterials" element
909              */
910             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SuppliesMaterials addNewSuppliesMaterials()
911             {
912                 synchronized (monitor())
913                 {
914                     check_orphaned();
915                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SuppliesMaterials target = null;
916                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SuppliesMaterials)get_store().add_element_user(SUPPLIESMATERIALS$10);
917                     return target;
918                 }
919             }
920             
921             /**
922              * Unsets the "SuppliesMaterials" element
923              */
924             public void unsetSuppliesMaterials()
925             {
926                 synchronized (monitor())
927                 {
928                     check_orphaned();
929                     get_store().remove_element(SUPPLIESMATERIALS$10, 0);
930                 }
931             }
932             
933             /**
934              * Gets the "Services" element
935              */
936             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Services getServices()
937             {
938                 synchronized (monitor())
939                 {
940                     check_orphaned();
941                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Services target = null;
942                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Services)get_store().find_element_user(SERVICES$12, 0);
943                     if (target == null)
944                     {
945                       return null;
946                     }
947                     return target;
948                 }
949             }
950             
951             /**
952              * True if has "Services" element
953              */
954             public boolean isSetServices()
955             {
956                 synchronized (monitor())
957                 {
958                     check_orphaned();
959                     return get_store().count_elements(SERVICES$12) != 0;
960                 }
961             }
962             
963             /**
964              * Sets the "Services" element
965              */
966             public void setServices(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Services services)
967             {
968                 generatedSetterHelperImpl(services, SERVICES$12, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
969             }
970             
971             /**
972              * Appends and returns a new empty "Services" element
973              */
974             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Services addNewServices()
975             {
976                 synchronized (monitor())
977                 {
978                     check_orphaned();
979                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Services target = null;
980                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Services)get_store().add_element_user(SERVICES$12);
981                     return target;
982                 }
983             }
984             
985             /**
986              * Unsets the "Services" element
987              */
988             public void unsetServices()
989             {
990                 synchronized (monitor())
991                 {
992                     check_orphaned();
993                     get_store().remove_element(SERVICES$12, 0);
994                 }
995             }
996             
997             /**
998              * Gets the "OtherCosts" element
999              */
1000             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.OtherCosts getOtherCosts()
1001             {
1002                 synchronized (monitor())
1003                 {
1004                     check_orphaned();
1005                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.OtherCosts target = null;
1006                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.OtherCosts)get_store().find_element_user(OTHERCOSTS$14, 0);
1007                     if (target == null)
1008                     {
1009                       return null;
1010                     }
1011                     return target;
1012                 }
1013             }
1014             
1015             /**
1016              * True if has "OtherCosts" element
1017              */
1018             public boolean isSetOtherCosts()
1019             {
1020                 synchronized (monitor())
1021                 {
1022                     check_orphaned();
1023                     return get_store().count_elements(OTHERCOSTS$14) != 0;
1024                 }
1025             }
1026             
1027             /**
1028              * Sets the "OtherCosts" element
1029              */
1030             public void setOtherCosts(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.OtherCosts otherCosts)
1031             {
1032                 generatedSetterHelperImpl(otherCosts, OTHERCOSTS$14, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1033             }
1034             
1035             /**
1036              * Appends and returns a new empty "OtherCosts" element
1037              */
1038             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.OtherCosts addNewOtherCosts()
1039             {
1040                 synchronized (monitor())
1041                 {
1042                     check_orphaned();
1043                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.OtherCosts target = null;
1044                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.OtherCosts)get_store().add_element_user(OTHERCOSTS$14);
1045                     return target;
1046                 }
1047             }
1048             
1049             /**
1050              * Unsets the "OtherCosts" element
1051              */
1052             public void unsetOtherCosts()
1053             {
1054                 synchronized (monitor())
1055                 {
1056                     check_orphaned();
1057                     get_store().remove_element(OTHERCOSTS$14, 0);
1058                 }
1059             }
1060             
1061             /**
1062              * Gets the "TotalDirectCosts" element
1063              */
1064             public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType getTotalDirectCosts()
1065             {
1066                 synchronized (monitor())
1067                 {
1068                     check_orphaned();
1069                     gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1070                     target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().find_element_user(TOTALDIRECTCOSTS$16, 0);
1071                     if (target == null)
1072                     {
1073                       return null;
1074                     }
1075                     return target;
1076                 }
1077             }
1078             
1079             /**
1080              * True if has "TotalDirectCosts" element
1081              */
1082             public boolean isSetTotalDirectCosts()
1083             {
1084                 synchronized (monitor())
1085                 {
1086                     check_orphaned();
1087                     return get_store().count_elements(TOTALDIRECTCOSTS$16) != 0;
1088                 }
1089             }
1090             
1091             /**
1092              * Sets the "TotalDirectCosts" element
1093              */
1094             public void setTotalDirectCosts(gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType totalDirectCosts)
1095             {
1096                 generatedSetterHelperImpl(totalDirectCosts, TOTALDIRECTCOSTS$16, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1097             }
1098             
1099             /**
1100              * Appends and returns a new empty "TotalDirectCosts" element
1101              */
1102             public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType addNewTotalDirectCosts()
1103             {
1104                 synchronized (monitor())
1105                 {
1106                     check_orphaned();
1107                     gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1108                     target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().add_element_user(TOTALDIRECTCOSTS$16);
1109                     return target;
1110                 }
1111             }
1112             
1113             /**
1114              * Unsets the "TotalDirectCosts" element
1115              */
1116             public void unsetTotalDirectCosts()
1117             {
1118                 synchronized (monitor())
1119                 {
1120                     check_orphaned();
1121                     get_store().remove_element(TOTALDIRECTCOSTS$16, 0);
1122                 }
1123             }
1124             
1125             /**
1126              * Gets the "IndirectCosts" element
1127              */
1128             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts getIndirectCosts()
1129             {
1130                 synchronized (monitor())
1131                 {
1132                     check_orphaned();
1133                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts target = null;
1134                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts)get_store().find_element_user(INDIRECTCOSTS$18, 0);
1135                     if (target == null)
1136                     {
1137                       return null;
1138                     }
1139                     return target;
1140                 }
1141             }
1142             
1143             /**
1144              * True if has "IndirectCosts" element
1145              */
1146             public boolean isSetIndirectCosts()
1147             {
1148                 synchronized (monitor())
1149                 {
1150                     check_orphaned();
1151                     return get_store().count_elements(INDIRECTCOSTS$18) != 0;
1152                 }
1153             }
1154             
1155             /**
1156              * Sets the "IndirectCosts" element
1157              */
1158             public void setIndirectCosts(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts indirectCosts)
1159             {
1160                 generatedSetterHelperImpl(indirectCosts, INDIRECTCOSTS$18, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1161             }
1162             
1163             /**
1164              * Appends and returns a new empty "IndirectCosts" element
1165              */
1166             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts addNewIndirectCosts()
1167             {
1168                 synchronized (monitor())
1169                 {
1170                     check_orphaned();
1171                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts target = null;
1172                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts)get_store().add_element_user(INDIRECTCOSTS$18);
1173                     return target;
1174                 }
1175             }
1176             
1177             /**
1178              * Unsets the "IndirectCosts" element
1179              */
1180             public void unsetIndirectCosts()
1181             {
1182                 synchronized (monitor())
1183                 {
1184                     check_orphaned();
1185                     get_store().remove_element(INDIRECTCOSTS$18, 0);
1186                 }
1187             }
1188             
1189             /**
1190              * Gets the "TotalProjectCosts" element
1191              */
1192             public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType getTotalProjectCosts()
1193             {
1194                 synchronized (monitor())
1195                 {
1196                     check_orphaned();
1197                     gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1198                     target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().find_element_user(TOTALPROJECTCOSTS$20, 0);
1199                     if (target == null)
1200                     {
1201                       return null;
1202                     }
1203                     return target;
1204                 }
1205             }
1206             
1207             /**
1208              * True if has "TotalProjectCosts" element
1209              */
1210             public boolean isSetTotalProjectCosts()
1211             {
1212                 synchronized (monitor())
1213                 {
1214                     check_orphaned();
1215                     return get_store().count_elements(TOTALPROJECTCOSTS$20) != 0;
1216                 }
1217             }
1218             
1219             /**
1220              * Sets the "TotalProjectCosts" element
1221              */
1222             public void setTotalProjectCosts(gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType totalProjectCosts)
1223             {
1224                 generatedSetterHelperImpl(totalProjectCosts, TOTALPROJECTCOSTS$20, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1225             }
1226             
1227             /**
1228              * Appends and returns a new empty "TotalProjectCosts" element
1229              */
1230             public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType addNewTotalProjectCosts()
1231             {
1232                 synchronized (monitor())
1233                 {
1234                     check_orphaned();
1235                     gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1236                     target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().add_element_user(TOTALPROJECTCOSTS$20);
1237                     return target;
1238                 }
1239             }
1240             
1241             /**
1242              * Unsets the "TotalProjectCosts" element
1243              */
1244             public void unsetTotalProjectCosts()
1245             {
1246                 synchronized (monitor())
1247                 {
1248                     check_orphaned();
1249                     get_store().remove_element(TOTALPROJECTCOSTS$20, 0);
1250                 }
1251             }
1252             /**
1253              * An XML SalariesWages(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
1254              *
1255              * This is a complex type.
1256              */
1257             public static class SalariesWagesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SalariesWages
1258             {
1259                 private static final long serialVersionUID = 1L;
1260                 
1261                 public SalariesWagesImpl(org.apache.xmlbeans.SchemaType sType)
1262                 {
1263                     super(sType);
1264                 }
1265                 
1266                 private static final javax.xml.namespace.QName SALARYWAGEITEM$0 = 
1267                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SalaryWageItem");
1268                 private static final javax.xml.namespace.QName SUBTOTAL$2 = 
1269                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SubTotal");
1270                 
1271                 
1272                 /**
1273                  * Gets array of all "SalaryWageItem" elements
1274                  */
1275                 public gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType[] getSalaryWageItemArray()
1276                 {
1277                     synchronized (monitor())
1278                     {
1279                       check_orphaned();
1280                       java.util.List targetList = new java.util.ArrayList();
1281                       get_store().find_all_element_users(SALARYWAGEITEM$0, targetList);
1282                       gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType[] result = new gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType[targetList.size()];
1283                       targetList.toArray(result);
1284                       return result;
1285                     }
1286                 }
1287                 
1288                 /**
1289                  * Gets ith "SalaryWageItem" element
1290                  */
1291                 public gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType getSalaryWageItemArray(int i)
1292                 {
1293                     synchronized (monitor())
1294                     {
1295                       check_orphaned();
1296                       gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType target = null;
1297                       target = (gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType)get_store().find_element_user(SALARYWAGEITEM$0, i);
1298                       if (target == null)
1299                       {
1300                         throw new IndexOutOfBoundsException();
1301                       }
1302                       return target;
1303                     }
1304                 }
1305                 
1306                 /**
1307                  * Returns number of "SalaryWageItem" element
1308                  */
1309                 public int sizeOfSalaryWageItemArray()
1310                 {
1311                     synchronized (monitor())
1312                     {
1313                       check_orphaned();
1314                       return get_store().count_elements(SALARYWAGEITEM$0);
1315                     }
1316                 }
1317                 
1318                 /**
1319                  * Sets array of all "SalaryWageItem" element  WARNING: This method is not atomicaly synchronized.
1320                  */
1321                 public void setSalaryWageItemArray(gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType[] salaryWageItemArray)
1322                 {
1323                     check_orphaned();
1324                     arraySetterHelper(salaryWageItemArray, SALARYWAGEITEM$0);
1325                 }
1326                 
1327                 /**
1328                  * Sets ith "SalaryWageItem" element
1329                  */
1330                 public void setSalaryWageItemArray(int i, gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType salaryWageItem)
1331                 {
1332                     generatedSetterHelperImpl(salaryWageItem, SALARYWAGEITEM$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
1333                 }
1334                 
1335                 /**
1336                  * Inserts and returns a new empty value (as xml) as the ith "SalaryWageItem" element
1337                  */
1338                 public gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType insertNewSalaryWageItem(int i)
1339                 {
1340                     synchronized (monitor())
1341                     {
1342                       check_orphaned();
1343                       gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType target = null;
1344                       target = (gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType)get_store().insert_element_user(SALARYWAGEITEM$0, i);
1345                       return target;
1346                     }
1347                 }
1348                 
1349                 /**
1350                  * Appends and returns a new empty value (as xml) as the last "SalaryWageItem" element
1351                  */
1352                 public gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType addNewSalaryWageItem()
1353                 {
1354                     synchronized (monitor())
1355                     {
1356                       check_orphaned();
1357                       gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType target = null;
1358                       target = (gov.grants.apply.forms.nehBudgetV11.SalaryWageItemDataType)get_store().add_element_user(SALARYWAGEITEM$0);
1359                       return target;
1360                     }
1361                 }
1362                 
1363                 /**
1364                  * Removes the ith "SalaryWageItem" element
1365                  */
1366                 public void removeSalaryWageItem(int i)
1367                 {
1368                     synchronized (monitor())
1369                     {
1370                       check_orphaned();
1371                       get_store().remove_element(SALARYWAGEITEM$0, i);
1372                     }
1373                 }
1374                 
1375                 /**
1376                  * Gets the "SubTotal" element
1377                  */
1378                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType getSubTotal()
1379                 {
1380                     synchronized (monitor())
1381                     {
1382                       check_orphaned();
1383                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1384                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().find_element_user(SUBTOTAL$2, 0);
1385                       if (target == null)
1386                       {
1387                         return null;
1388                       }
1389                       return target;
1390                     }
1391                 }
1392                 
1393                 /**
1394                  * True if has "SubTotal" element
1395                  */
1396                 public boolean isSetSubTotal()
1397                 {
1398                     synchronized (monitor())
1399                     {
1400                       check_orphaned();
1401                       return get_store().count_elements(SUBTOTAL$2) != 0;
1402                     }
1403                 }
1404                 
1405                 /**
1406                  * Sets the "SubTotal" element
1407                  */
1408                 public void setSubTotal(gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType subTotal)
1409                 {
1410                     generatedSetterHelperImpl(subTotal, SUBTOTAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1411                 }
1412                 
1413                 /**
1414                  * Appends and returns a new empty "SubTotal" element
1415                  */
1416                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType addNewSubTotal()
1417                 {
1418                     synchronized (monitor())
1419                     {
1420                       check_orphaned();
1421                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1422                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().add_element_user(SUBTOTAL$2);
1423                       return target;
1424                     }
1425                 }
1426                 
1427                 /**
1428                  * Unsets the "SubTotal" element
1429                  */
1430                 public void unsetSubTotal()
1431                 {
1432                     synchronized (monitor())
1433                     {
1434                       check_orphaned();
1435                       get_store().remove_element(SUBTOTAL$2, 0);
1436                     }
1437                 }
1438             }
1439             /**
1440              * An XML FringeBenefits(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
1441              *
1442              * This is a complex type.
1443              */
1444             public static class FringeBenefitsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.FringeBenefits
1445             {
1446                 private static final long serialVersionUID = 1L;
1447                 
1448                 public FringeBenefitsImpl(org.apache.xmlbeans.SchemaType sType)
1449                 {
1450                     super(sType);
1451                 }
1452                 
1453                 private static final javax.xml.namespace.QName FRINGEBENEFITSITEM$0 = 
1454                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "FringeBenefitsItem");
1455                 private static final javax.xml.namespace.QName SUBTOTAL$2 = 
1456                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SubTotal");
1457                 
1458                 
1459                 /**
1460                  * Gets array of all "FringeBenefitsItem" elements
1461                  */
1462                 public gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType[] getFringeBenefitsItemArray()
1463                 {
1464                     synchronized (monitor())
1465                     {
1466                       check_orphaned();
1467                       java.util.List targetList = new java.util.ArrayList();
1468                       get_store().find_all_element_users(FRINGEBENEFITSITEM$0, targetList);
1469                       gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType[] result = new gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType[targetList.size()];
1470                       targetList.toArray(result);
1471                       return result;
1472                     }
1473                 }
1474                 
1475                 /**
1476                  * Gets ith "FringeBenefitsItem" element
1477                  */
1478                 public gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType getFringeBenefitsItemArray(int i)
1479                 {
1480                     synchronized (monitor())
1481                     {
1482                       check_orphaned();
1483                       gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType target = null;
1484                       target = (gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType)get_store().find_element_user(FRINGEBENEFITSITEM$0, i);
1485                       if (target == null)
1486                       {
1487                         throw new IndexOutOfBoundsException();
1488                       }
1489                       return target;
1490                     }
1491                 }
1492                 
1493                 /**
1494                  * Returns number of "FringeBenefitsItem" element
1495                  */
1496                 public int sizeOfFringeBenefitsItemArray()
1497                 {
1498                     synchronized (monitor())
1499                     {
1500                       check_orphaned();
1501                       return get_store().count_elements(FRINGEBENEFITSITEM$0);
1502                     }
1503                 }
1504                 
1505                 /**
1506                  * Sets array of all "FringeBenefitsItem" element  WARNING: This method is not atomicaly synchronized.
1507                  */
1508                 public void setFringeBenefitsItemArray(gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType[] fringeBenefitsItemArray)
1509                 {
1510                     check_orphaned();
1511                     arraySetterHelper(fringeBenefitsItemArray, FRINGEBENEFITSITEM$0);
1512                 }
1513                 
1514                 /**
1515                  * Sets ith "FringeBenefitsItem" element
1516                  */
1517                 public void setFringeBenefitsItemArray(int i, gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType fringeBenefitsItem)
1518                 {
1519                     generatedSetterHelperImpl(fringeBenefitsItem, FRINGEBENEFITSITEM$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
1520                 }
1521                 
1522                 /**
1523                  * Inserts and returns a new empty value (as xml) as the ith "FringeBenefitsItem" element
1524                  */
1525                 public gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType insertNewFringeBenefitsItem(int i)
1526                 {
1527                     synchronized (monitor())
1528                     {
1529                       check_orphaned();
1530                       gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType target = null;
1531                       target = (gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType)get_store().insert_element_user(FRINGEBENEFITSITEM$0, i);
1532                       return target;
1533                     }
1534                 }
1535                 
1536                 /**
1537                  * Appends and returns a new empty value (as xml) as the last "FringeBenefitsItem" element
1538                  */
1539                 public gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType addNewFringeBenefitsItem()
1540                 {
1541                     synchronized (monitor())
1542                     {
1543                       check_orphaned();
1544                       gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType target = null;
1545                       target = (gov.grants.apply.forms.nehBudgetV11.FringeBenefitItemDataType)get_store().add_element_user(FRINGEBENEFITSITEM$0);
1546                       return target;
1547                     }
1548                 }
1549                 
1550                 /**
1551                  * Removes the ith "FringeBenefitsItem" element
1552                  */
1553                 public void removeFringeBenefitsItem(int i)
1554                 {
1555                     synchronized (monitor())
1556                     {
1557                       check_orphaned();
1558                       get_store().remove_element(FRINGEBENEFITSITEM$0, i);
1559                     }
1560                 }
1561                 
1562                 /**
1563                  * Gets the "SubTotal" element
1564                  */
1565                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType getSubTotal()
1566                 {
1567                     synchronized (monitor())
1568                     {
1569                       check_orphaned();
1570                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1571                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().find_element_user(SUBTOTAL$2, 0);
1572                       if (target == null)
1573                       {
1574                         return null;
1575                       }
1576                       return target;
1577                     }
1578                 }
1579                 
1580                 /**
1581                  * True if has "SubTotal" element
1582                  */
1583                 public boolean isSetSubTotal()
1584                 {
1585                     synchronized (monitor())
1586                     {
1587                       check_orphaned();
1588                       return get_store().count_elements(SUBTOTAL$2) != 0;
1589                     }
1590                 }
1591                 
1592                 /**
1593                  * Sets the "SubTotal" element
1594                  */
1595                 public void setSubTotal(gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType subTotal)
1596                 {
1597                     generatedSetterHelperImpl(subTotal, SUBTOTAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1598                 }
1599                 
1600                 /**
1601                  * Appends and returns a new empty "SubTotal" element
1602                  */
1603                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType addNewSubTotal()
1604                 {
1605                     synchronized (monitor())
1606                     {
1607                       check_orphaned();
1608                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1609                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().add_element_user(SUBTOTAL$2);
1610                       return target;
1611                     }
1612                 }
1613                 
1614                 /**
1615                  * Unsets the "SubTotal" element
1616                  */
1617                 public void unsetSubTotal()
1618                 {
1619                     synchronized (monitor())
1620                     {
1621                       check_orphaned();
1622                       get_store().remove_element(SUBTOTAL$2, 0);
1623                     }
1624                 }
1625             }
1626             /**
1627              * An XML ConsultantFees(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
1628              *
1629              * This is a complex type.
1630              */
1631             public static class ConsultantFeesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.ConsultantFees
1632             {
1633                 private static final long serialVersionUID = 1L;
1634                 
1635                 public ConsultantFeesImpl(org.apache.xmlbeans.SchemaType sType)
1636                 {
1637                     super(sType);
1638                 }
1639                 
1640                 private static final javax.xml.namespace.QName CONSULTANTFEEITEM$0 = 
1641                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "ConsultantFeeItem");
1642                 private static final javax.xml.namespace.QName SUBTOTAL$2 = 
1643                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SubTotal");
1644                 
1645                 
1646                 /**
1647                  * Gets array of all "ConsultantFeeItem" elements
1648                  */
1649                 public gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType[] getConsultantFeeItemArray()
1650                 {
1651                     synchronized (monitor())
1652                     {
1653                       check_orphaned();
1654                       java.util.List targetList = new java.util.ArrayList();
1655                       get_store().find_all_element_users(CONSULTANTFEEITEM$0, targetList);
1656                       gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType[] result = new gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType[targetList.size()];
1657                       targetList.toArray(result);
1658                       return result;
1659                     }
1660                 }
1661                 
1662                 /**
1663                  * Gets ith "ConsultantFeeItem" element
1664                  */
1665                 public gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType getConsultantFeeItemArray(int i)
1666                 {
1667                     synchronized (monitor())
1668                     {
1669                       check_orphaned();
1670                       gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType target = null;
1671                       target = (gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType)get_store().find_element_user(CONSULTANTFEEITEM$0, i);
1672                       if (target == null)
1673                       {
1674                         throw new IndexOutOfBoundsException();
1675                       }
1676                       return target;
1677                     }
1678                 }
1679                 
1680                 /**
1681                  * Returns number of "ConsultantFeeItem" element
1682                  */
1683                 public int sizeOfConsultantFeeItemArray()
1684                 {
1685                     synchronized (monitor())
1686                     {
1687                       check_orphaned();
1688                       return get_store().count_elements(CONSULTANTFEEITEM$0);
1689                     }
1690                 }
1691                 
1692                 /**
1693                  * Sets array of all "ConsultantFeeItem" element  WARNING: This method is not atomicaly synchronized.
1694                  */
1695                 public void setConsultantFeeItemArray(gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType[] consultantFeeItemArray)
1696                 {
1697                     check_orphaned();
1698                     arraySetterHelper(consultantFeeItemArray, CONSULTANTFEEITEM$0);
1699                 }
1700                 
1701                 /**
1702                  * Sets ith "ConsultantFeeItem" element
1703                  */
1704                 public void setConsultantFeeItemArray(int i, gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType consultantFeeItem)
1705                 {
1706                     generatedSetterHelperImpl(consultantFeeItem, CONSULTANTFEEITEM$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
1707                 }
1708                 
1709                 /**
1710                  * Inserts and returns a new empty value (as xml) as the ith "ConsultantFeeItem" element
1711                  */
1712                 public gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType insertNewConsultantFeeItem(int i)
1713                 {
1714                     synchronized (monitor())
1715                     {
1716                       check_orphaned();
1717                       gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType target = null;
1718                       target = (gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType)get_store().insert_element_user(CONSULTANTFEEITEM$0, i);
1719                       return target;
1720                     }
1721                 }
1722                 
1723                 /**
1724                  * Appends and returns a new empty value (as xml) as the last "ConsultantFeeItem" element
1725                  */
1726                 public gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType addNewConsultantFeeItem()
1727                 {
1728                     synchronized (monitor())
1729                     {
1730                       check_orphaned();
1731                       gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType target = null;
1732                       target = (gov.grants.apply.forms.nehBudgetV11.ConsultantFeeItemDataType)get_store().add_element_user(CONSULTANTFEEITEM$0);
1733                       return target;
1734                     }
1735                 }
1736                 
1737                 /**
1738                  * Removes the ith "ConsultantFeeItem" element
1739                  */
1740                 public void removeConsultantFeeItem(int i)
1741                 {
1742                     synchronized (monitor())
1743                     {
1744                       check_orphaned();
1745                       get_store().remove_element(CONSULTANTFEEITEM$0, i);
1746                     }
1747                 }
1748                 
1749                 /**
1750                  * Gets the "SubTotal" element
1751                  */
1752                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType getSubTotal()
1753                 {
1754                     synchronized (monitor())
1755                     {
1756                       check_orphaned();
1757                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1758                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().find_element_user(SUBTOTAL$2, 0);
1759                       if (target == null)
1760                       {
1761                         return null;
1762                       }
1763                       return target;
1764                     }
1765                 }
1766                 
1767                 /**
1768                  * True if has "SubTotal" element
1769                  */
1770                 public boolean isSetSubTotal()
1771                 {
1772                     synchronized (monitor())
1773                     {
1774                       check_orphaned();
1775                       return get_store().count_elements(SUBTOTAL$2) != 0;
1776                     }
1777                 }
1778                 
1779                 /**
1780                  * Sets the "SubTotal" element
1781                  */
1782                 public void setSubTotal(gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType subTotal)
1783                 {
1784                     generatedSetterHelperImpl(subTotal, SUBTOTAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1785                 }
1786                 
1787                 /**
1788                  * Appends and returns a new empty "SubTotal" element
1789                  */
1790                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType addNewSubTotal()
1791                 {
1792                     synchronized (monitor())
1793                     {
1794                       check_orphaned();
1795                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1796                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().add_element_user(SUBTOTAL$2);
1797                       return target;
1798                     }
1799                 }
1800                 
1801                 /**
1802                  * Unsets the "SubTotal" element
1803                  */
1804                 public void unsetSubTotal()
1805                 {
1806                     synchronized (monitor())
1807                     {
1808                       check_orphaned();
1809                       get_store().remove_element(SUBTOTAL$2, 0);
1810                     }
1811                 }
1812             }
1813             /**
1814              * An XML Travels(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
1815              *
1816              * This is a complex type.
1817              */
1818             public static class TravelsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Travels
1819             {
1820                 private static final long serialVersionUID = 1L;
1821                 
1822                 public TravelsImpl(org.apache.xmlbeans.SchemaType sType)
1823                 {
1824                     super(sType);
1825                 }
1826                 
1827                 private static final javax.xml.namespace.QName TRAVELITEM$0 = 
1828                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "TravelItem");
1829                 private static final javax.xml.namespace.QName SUBTOTAL$2 = 
1830                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SubTotal");
1831                 
1832                 
1833                 /**
1834                  * Gets array of all "TravelItem" elements
1835                  */
1836                 public gov.grants.apply.forms.nehBudgetV11.TraveltemDataType[] getTravelItemArray()
1837                 {
1838                     synchronized (monitor())
1839                     {
1840                       check_orphaned();
1841                       java.util.List targetList = new java.util.ArrayList();
1842                       get_store().find_all_element_users(TRAVELITEM$0, targetList);
1843                       gov.grants.apply.forms.nehBudgetV11.TraveltemDataType[] result = new gov.grants.apply.forms.nehBudgetV11.TraveltemDataType[targetList.size()];
1844                       targetList.toArray(result);
1845                       return result;
1846                     }
1847                 }
1848                 
1849                 /**
1850                  * Gets ith "TravelItem" element
1851                  */
1852                 public gov.grants.apply.forms.nehBudgetV11.TraveltemDataType getTravelItemArray(int i)
1853                 {
1854                     synchronized (monitor())
1855                     {
1856                       check_orphaned();
1857                       gov.grants.apply.forms.nehBudgetV11.TraveltemDataType target = null;
1858                       target = (gov.grants.apply.forms.nehBudgetV11.TraveltemDataType)get_store().find_element_user(TRAVELITEM$0, i);
1859                       if (target == null)
1860                       {
1861                         throw new IndexOutOfBoundsException();
1862                       }
1863                       return target;
1864                     }
1865                 }
1866                 
1867                 /**
1868                  * Returns number of "TravelItem" element
1869                  */
1870                 public int sizeOfTravelItemArray()
1871                 {
1872                     synchronized (monitor())
1873                     {
1874                       check_orphaned();
1875                       return get_store().count_elements(TRAVELITEM$0);
1876                     }
1877                 }
1878                 
1879                 /**
1880                  * Sets array of all "TravelItem" element  WARNING: This method is not atomicaly synchronized.
1881                  */
1882                 public void setTravelItemArray(gov.grants.apply.forms.nehBudgetV11.TraveltemDataType[] travelItemArray)
1883                 {
1884                     check_orphaned();
1885                     arraySetterHelper(travelItemArray, TRAVELITEM$0);
1886                 }
1887                 
1888                 /**
1889                  * Sets ith "TravelItem" element
1890                  */
1891                 public void setTravelItemArray(int i, gov.grants.apply.forms.nehBudgetV11.TraveltemDataType travelItem)
1892                 {
1893                     generatedSetterHelperImpl(travelItem, TRAVELITEM$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
1894                 }
1895                 
1896                 /**
1897                  * Inserts and returns a new empty value (as xml) as the ith "TravelItem" element
1898                  */
1899                 public gov.grants.apply.forms.nehBudgetV11.TraveltemDataType insertNewTravelItem(int i)
1900                 {
1901                     synchronized (monitor())
1902                     {
1903                       check_orphaned();
1904                       gov.grants.apply.forms.nehBudgetV11.TraveltemDataType target = null;
1905                       target = (gov.grants.apply.forms.nehBudgetV11.TraveltemDataType)get_store().insert_element_user(TRAVELITEM$0, i);
1906                       return target;
1907                     }
1908                 }
1909                 
1910                 /**
1911                  * Appends and returns a new empty value (as xml) as the last "TravelItem" element
1912                  */
1913                 public gov.grants.apply.forms.nehBudgetV11.TraveltemDataType addNewTravelItem()
1914                 {
1915                     synchronized (monitor())
1916                     {
1917                       check_orphaned();
1918                       gov.grants.apply.forms.nehBudgetV11.TraveltemDataType target = null;
1919                       target = (gov.grants.apply.forms.nehBudgetV11.TraveltemDataType)get_store().add_element_user(TRAVELITEM$0);
1920                       return target;
1921                     }
1922                 }
1923                 
1924                 /**
1925                  * Removes the ith "TravelItem" element
1926                  */
1927                 public void removeTravelItem(int i)
1928                 {
1929                     synchronized (monitor())
1930                     {
1931                       check_orphaned();
1932                       get_store().remove_element(TRAVELITEM$0, i);
1933                     }
1934                 }
1935                 
1936                 /**
1937                  * Gets the "SubTotal" element
1938                  */
1939                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType getSubTotal()
1940                 {
1941                     synchronized (monitor())
1942                     {
1943                       check_orphaned();
1944                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1945                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().find_element_user(SUBTOTAL$2, 0);
1946                       if (target == null)
1947                       {
1948                         return null;
1949                       }
1950                       return target;
1951                     }
1952                 }
1953                 
1954                 /**
1955                  * True if has "SubTotal" element
1956                  */
1957                 public boolean isSetSubTotal()
1958                 {
1959                     synchronized (monitor())
1960                     {
1961                       check_orphaned();
1962                       return get_store().count_elements(SUBTOTAL$2) != 0;
1963                     }
1964                 }
1965                 
1966                 /**
1967                  * Sets the "SubTotal" element
1968                  */
1969                 public void setSubTotal(gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType subTotal)
1970                 {
1971                     generatedSetterHelperImpl(subTotal, SUBTOTAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1972                 }
1973                 
1974                 /**
1975                  * Appends and returns a new empty "SubTotal" element
1976                  */
1977                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType addNewSubTotal()
1978                 {
1979                     synchronized (monitor())
1980                     {
1981                       check_orphaned();
1982                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
1983                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().add_element_user(SUBTOTAL$2);
1984                       return target;
1985                     }
1986                 }
1987                 
1988                 /**
1989                  * Unsets the "SubTotal" element
1990                  */
1991                 public void unsetSubTotal()
1992                 {
1993                     synchronized (monitor())
1994                     {
1995                       check_orphaned();
1996                       get_store().remove_element(SUBTOTAL$2, 0);
1997                     }
1998                 }
1999             }
2000             /**
2001              * An XML SuppliesMaterials(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
2002              *
2003              * This is a complex type.
2004              */
2005             public static class SuppliesMaterialsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.SuppliesMaterials
2006             {
2007                 private static final long serialVersionUID = 1L;
2008                 
2009                 public SuppliesMaterialsImpl(org.apache.xmlbeans.SchemaType sType)
2010                 {
2011                     super(sType);
2012                 }
2013                 
2014                 private static final javax.xml.namespace.QName SUPPLYMATERIALITEM$0 = 
2015                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SupplyMaterialItem");
2016                 private static final javax.xml.namespace.QName SUBTOTAL$2 = 
2017                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SubTotal");
2018                 
2019                 
2020                 /**
2021                  * Gets array of all "SupplyMaterialItem" elements
2022                  */
2023                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType[] getSupplyMaterialItemArray()
2024                 {
2025                     synchronized (monitor())
2026                     {
2027                       check_orphaned();
2028                       java.util.List targetList = new java.util.ArrayList();
2029                       get_store().find_all_element_users(SUPPLYMATERIALITEM$0, targetList);
2030                       gov.grants.apply.forms.nehBudgetV11.ItemDataType[] result = new gov.grants.apply.forms.nehBudgetV11.ItemDataType[targetList.size()];
2031                       targetList.toArray(result);
2032                       return result;
2033                     }
2034                 }
2035                 
2036                 /**
2037                  * Gets ith "SupplyMaterialItem" element
2038                  */
2039                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType getSupplyMaterialItemArray(int i)
2040                 {
2041                     synchronized (monitor())
2042                     {
2043                       check_orphaned();
2044                       gov.grants.apply.forms.nehBudgetV11.ItemDataType target = null;
2045                       target = (gov.grants.apply.forms.nehBudgetV11.ItemDataType)get_store().find_element_user(SUPPLYMATERIALITEM$0, i);
2046                       if (target == null)
2047                       {
2048                         throw new IndexOutOfBoundsException();
2049                       }
2050                       return target;
2051                     }
2052                 }
2053                 
2054                 /**
2055                  * Returns number of "SupplyMaterialItem" element
2056                  */
2057                 public int sizeOfSupplyMaterialItemArray()
2058                 {
2059                     synchronized (monitor())
2060                     {
2061                       check_orphaned();
2062                       return get_store().count_elements(SUPPLYMATERIALITEM$0);
2063                     }
2064                 }
2065                 
2066                 /**
2067                  * Sets array of all "SupplyMaterialItem" element  WARNING: This method is not atomicaly synchronized.
2068                  */
2069                 public void setSupplyMaterialItemArray(gov.grants.apply.forms.nehBudgetV11.ItemDataType[] supplyMaterialItemArray)
2070                 {
2071                     check_orphaned();
2072                     arraySetterHelper(supplyMaterialItemArray, SUPPLYMATERIALITEM$0);
2073                 }
2074                 
2075                 /**
2076                  * Sets ith "SupplyMaterialItem" element
2077                  */
2078                 public void setSupplyMaterialItemArray(int i, gov.grants.apply.forms.nehBudgetV11.ItemDataType supplyMaterialItem)
2079                 {
2080                     generatedSetterHelperImpl(supplyMaterialItem, SUPPLYMATERIALITEM$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
2081                 }
2082                 
2083                 /**
2084                  * Inserts and returns a new empty value (as xml) as the ith "SupplyMaterialItem" element
2085                  */
2086                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType insertNewSupplyMaterialItem(int i)
2087                 {
2088                     synchronized (monitor())
2089                     {
2090                       check_orphaned();
2091                       gov.grants.apply.forms.nehBudgetV11.ItemDataType target = null;
2092                       target = (gov.grants.apply.forms.nehBudgetV11.ItemDataType)get_store().insert_element_user(SUPPLYMATERIALITEM$0, i);
2093                       return target;
2094                     }
2095                 }
2096                 
2097                 /**
2098                  * Appends and returns a new empty value (as xml) as the last "SupplyMaterialItem" element
2099                  */
2100                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType addNewSupplyMaterialItem()
2101                 {
2102                     synchronized (monitor())
2103                     {
2104                       check_orphaned();
2105                       gov.grants.apply.forms.nehBudgetV11.ItemDataType target = null;
2106                       target = (gov.grants.apply.forms.nehBudgetV11.ItemDataType)get_store().add_element_user(SUPPLYMATERIALITEM$0);
2107                       return target;
2108                     }
2109                 }
2110                 
2111                 /**
2112                  * Removes the ith "SupplyMaterialItem" element
2113                  */
2114                 public void removeSupplyMaterialItem(int i)
2115                 {
2116                     synchronized (monitor())
2117                     {
2118                       check_orphaned();
2119                       get_store().remove_element(SUPPLYMATERIALITEM$0, i);
2120                     }
2121                 }
2122                 
2123                 /**
2124                  * Gets the "SubTotal" element
2125                  */
2126                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType getSubTotal()
2127                 {
2128                     synchronized (monitor())
2129                     {
2130                       check_orphaned();
2131                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
2132                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().find_element_user(SUBTOTAL$2, 0);
2133                       if (target == null)
2134                       {
2135                         return null;
2136                       }
2137                       return target;
2138                     }
2139                 }
2140                 
2141                 /**
2142                  * True if has "SubTotal" element
2143                  */
2144                 public boolean isSetSubTotal()
2145                 {
2146                     synchronized (monitor())
2147                     {
2148                       check_orphaned();
2149                       return get_store().count_elements(SUBTOTAL$2) != 0;
2150                     }
2151                 }
2152                 
2153                 /**
2154                  * Sets the "SubTotal" element
2155                  */
2156                 public void setSubTotal(gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType subTotal)
2157                 {
2158                     generatedSetterHelperImpl(subTotal, SUBTOTAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
2159                 }
2160                 
2161                 /**
2162                  * Appends and returns a new empty "SubTotal" element
2163                  */
2164                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType addNewSubTotal()
2165                 {
2166                     synchronized (monitor())
2167                     {
2168                       check_orphaned();
2169                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
2170                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().add_element_user(SUBTOTAL$2);
2171                       return target;
2172                     }
2173                 }
2174                 
2175                 /**
2176                  * Unsets the "SubTotal" element
2177                  */
2178                 public void unsetSubTotal()
2179                 {
2180                     synchronized (monitor())
2181                     {
2182                       check_orphaned();
2183                       get_store().remove_element(SUBTOTAL$2, 0);
2184                     }
2185                 }
2186             }
2187             /**
2188              * An XML Services(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
2189              *
2190              * This is a complex type.
2191              */
2192             public static class ServicesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.Services
2193             {
2194                 private static final long serialVersionUID = 1L;
2195                 
2196                 public ServicesImpl(org.apache.xmlbeans.SchemaType sType)
2197                 {
2198                     super(sType);
2199                 }
2200                 
2201                 private static final javax.xml.namespace.QName SERVICEITEM$0 = 
2202                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "ServiceItem");
2203                 private static final javax.xml.namespace.QName SUBTOTAL$2 = 
2204                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SubTotal");
2205                 
2206                 
2207                 /**
2208                  * Gets array of all "ServiceItem" elements
2209                  */
2210                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType[] getServiceItemArray()
2211                 {
2212                     synchronized (monitor())
2213                     {
2214                       check_orphaned();
2215                       java.util.List targetList = new java.util.ArrayList();
2216                       get_store().find_all_element_users(SERVICEITEM$0, targetList);
2217                       gov.grants.apply.forms.nehBudgetV11.ItemDataType[] result = new gov.grants.apply.forms.nehBudgetV11.ItemDataType[targetList.size()];
2218                       targetList.toArray(result);
2219                       return result;
2220                     }
2221                 }
2222                 
2223                 /**
2224                  * Gets ith "ServiceItem" element
2225                  */
2226                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType getServiceItemArray(int i)
2227                 {
2228                     synchronized (monitor())
2229                     {
2230                       check_orphaned();
2231                       gov.grants.apply.forms.nehBudgetV11.ItemDataType target = null;
2232                       target = (gov.grants.apply.forms.nehBudgetV11.ItemDataType)get_store().find_element_user(SERVICEITEM$0, i);
2233                       if (target == null)
2234                       {
2235                         throw new IndexOutOfBoundsException();
2236                       }
2237                       return target;
2238                     }
2239                 }
2240                 
2241                 /**
2242                  * Returns number of "ServiceItem" element
2243                  */
2244                 public int sizeOfServiceItemArray()
2245                 {
2246                     synchronized (monitor())
2247                     {
2248                       check_orphaned();
2249                       return get_store().count_elements(SERVICEITEM$0);
2250                     }
2251                 }
2252                 
2253                 /**
2254                  * Sets array of all "ServiceItem" element  WARNING: This method is not atomicaly synchronized.
2255                  */
2256                 public void setServiceItemArray(gov.grants.apply.forms.nehBudgetV11.ItemDataType[] serviceItemArray)
2257                 {
2258                     check_orphaned();
2259                     arraySetterHelper(serviceItemArray, SERVICEITEM$0);
2260                 }
2261                 
2262                 /**
2263                  * Sets ith "ServiceItem" element
2264                  */
2265                 public void setServiceItemArray(int i, gov.grants.apply.forms.nehBudgetV11.ItemDataType serviceItem)
2266                 {
2267                     generatedSetterHelperImpl(serviceItem, SERVICEITEM$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
2268                 }
2269                 
2270                 /**
2271                  * Inserts and returns a new empty value (as xml) as the ith "ServiceItem" element
2272                  */
2273                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType insertNewServiceItem(int i)
2274                 {
2275                     synchronized (monitor())
2276                     {
2277                       check_orphaned();
2278                       gov.grants.apply.forms.nehBudgetV11.ItemDataType target = null;
2279                       target = (gov.grants.apply.forms.nehBudgetV11.ItemDataType)get_store().insert_element_user(SERVICEITEM$0, i);
2280                       return target;
2281                     }
2282                 }
2283                 
2284                 /**
2285                  * Appends and returns a new empty value (as xml) as the last "ServiceItem" element
2286                  */
2287                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType addNewServiceItem()
2288                 {
2289                     synchronized (monitor())
2290                     {
2291                       check_orphaned();
2292                       gov.grants.apply.forms.nehBudgetV11.ItemDataType target = null;
2293                       target = (gov.grants.apply.forms.nehBudgetV11.ItemDataType)get_store().add_element_user(SERVICEITEM$0);
2294                       return target;
2295                     }
2296                 }
2297                 
2298                 /**
2299                  * Removes the ith "ServiceItem" element
2300                  */
2301                 public void removeServiceItem(int i)
2302                 {
2303                     synchronized (monitor())
2304                     {
2305                       check_orphaned();
2306                       get_store().remove_element(SERVICEITEM$0, i);
2307                     }
2308                 }
2309                 
2310                 /**
2311                  * Gets the "SubTotal" element
2312                  */
2313                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType getSubTotal()
2314                 {
2315                     synchronized (monitor())
2316                     {
2317                       check_orphaned();
2318                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
2319                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().find_element_user(SUBTOTAL$2, 0);
2320                       if (target == null)
2321                       {
2322                         return null;
2323                       }
2324                       return target;
2325                     }
2326                 }
2327                 
2328                 /**
2329                  * True if has "SubTotal" element
2330                  */
2331                 public boolean isSetSubTotal()
2332                 {
2333                     synchronized (monitor())
2334                     {
2335                       check_orphaned();
2336                       return get_store().count_elements(SUBTOTAL$2) != 0;
2337                     }
2338                 }
2339                 
2340                 /**
2341                  * Sets the "SubTotal" element
2342                  */
2343                 public void setSubTotal(gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType subTotal)
2344                 {
2345                     generatedSetterHelperImpl(subTotal, SUBTOTAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
2346                 }
2347                 
2348                 /**
2349                  * Appends and returns a new empty "SubTotal" element
2350                  */
2351                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType addNewSubTotal()
2352                 {
2353                     synchronized (monitor())
2354                     {
2355                       check_orphaned();
2356                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
2357                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().add_element_user(SUBTOTAL$2);
2358                       return target;
2359                     }
2360                 }
2361                 
2362                 /**
2363                  * Unsets the "SubTotal" element
2364                  */
2365                 public void unsetSubTotal()
2366                 {
2367                     synchronized (monitor())
2368                     {
2369                       check_orphaned();
2370                       get_store().remove_element(SUBTOTAL$2, 0);
2371                     }
2372                 }
2373             }
2374             /**
2375              * An XML OtherCosts(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
2376              *
2377              * This is a complex type.
2378              */
2379             public static class OtherCostsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.OtherCosts
2380             {
2381                 private static final long serialVersionUID = 1L;
2382                 
2383                 public OtherCostsImpl(org.apache.xmlbeans.SchemaType sType)
2384                 {
2385                     super(sType);
2386                 }
2387                 
2388                 private static final javax.xml.namespace.QName OTHERCOSTITEM$0 = 
2389                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "OtherCostItem");
2390                 private static final javax.xml.namespace.QName SUBTOTAL$2 = 
2391                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SubTotal");
2392                 
2393                 
2394                 /**
2395                  * Gets array of all "OtherCostItem" elements
2396                  */
2397                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType[] getOtherCostItemArray()
2398                 {
2399                     synchronized (monitor())
2400                     {
2401                       check_orphaned();
2402                       java.util.List targetList = new java.util.ArrayList();
2403                       get_store().find_all_element_users(OTHERCOSTITEM$0, targetList);
2404                       gov.grants.apply.forms.nehBudgetV11.ItemDataType[] result = new gov.grants.apply.forms.nehBudgetV11.ItemDataType[targetList.size()];
2405                       targetList.toArray(result);
2406                       return result;
2407                     }
2408                 }
2409                 
2410                 /**
2411                  * Gets ith "OtherCostItem" element
2412                  */
2413                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType getOtherCostItemArray(int i)
2414                 {
2415                     synchronized (monitor())
2416                     {
2417                       check_orphaned();
2418                       gov.grants.apply.forms.nehBudgetV11.ItemDataType target = null;
2419                       target = (gov.grants.apply.forms.nehBudgetV11.ItemDataType)get_store().find_element_user(OTHERCOSTITEM$0, i);
2420                       if (target == null)
2421                       {
2422                         throw new IndexOutOfBoundsException();
2423                       }
2424                       return target;
2425                     }
2426                 }
2427                 
2428                 /**
2429                  * Returns number of "OtherCostItem" element
2430                  */
2431                 public int sizeOfOtherCostItemArray()
2432                 {
2433                     synchronized (monitor())
2434                     {
2435                       check_orphaned();
2436                       return get_store().count_elements(OTHERCOSTITEM$0);
2437                     }
2438                 }
2439                 
2440                 /**
2441                  * Sets array of all "OtherCostItem" element  WARNING: This method is not atomicaly synchronized.
2442                  */
2443                 public void setOtherCostItemArray(gov.grants.apply.forms.nehBudgetV11.ItemDataType[] otherCostItemArray)
2444                 {
2445                     check_orphaned();
2446                     arraySetterHelper(otherCostItemArray, OTHERCOSTITEM$0);
2447                 }
2448                 
2449                 /**
2450                  * Sets ith "OtherCostItem" element
2451                  */
2452                 public void setOtherCostItemArray(int i, gov.grants.apply.forms.nehBudgetV11.ItemDataType otherCostItem)
2453                 {
2454                     generatedSetterHelperImpl(otherCostItem, OTHERCOSTITEM$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
2455                 }
2456                 
2457                 /**
2458                  * Inserts and returns a new empty value (as xml) as the ith "OtherCostItem" element
2459                  */
2460                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType insertNewOtherCostItem(int i)
2461                 {
2462                     synchronized (monitor())
2463                     {
2464                       check_orphaned();
2465                       gov.grants.apply.forms.nehBudgetV11.ItemDataType target = null;
2466                       target = (gov.grants.apply.forms.nehBudgetV11.ItemDataType)get_store().insert_element_user(OTHERCOSTITEM$0, i);
2467                       return target;
2468                     }
2469                 }
2470                 
2471                 /**
2472                  * Appends and returns a new empty value (as xml) as the last "OtherCostItem" element
2473                  */
2474                 public gov.grants.apply.forms.nehBudgetV11.ItemDataType addNewOtherCostItem()
2475                 {
2476                     synchronized (monitor())
2477                     {
2478                       check_orphaned();
2479                       gov.grants.apply.forms.nehBudgetV11.ItemDataType target = null;
2480                       target = (gov.grants.apply.forms.nehBudgetV11.ItemDataType)get_store().add_element_user(OTHERCOSTITEM$0);
2481                       return target;
2482                     }
2483                 }
2484                 
2485                 /**
2486                  * Removes the ith "OtherCostItem" element
2487                  */
2488                 public void removeOtherCostItem(int i)
2489                 {
2490                     synchronized (monitor())
2491                     {
2492                       check_orphaned();
2493                       get_store().remove_element(OTHERCOSTITEM$0, i);
2494                     }
2495                 }
2496                 
2497                 /**
2498                  * Gets the "SubTotal" element
2499                  */
2500                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType getSubTotal()
2501                 {
2502                     synchronized (monitor())
2503                     {
2504                       check_orphaned();
2505                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
2506                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().find_element_user(SUBTOTAL$2, 0);
2507                       if (target == null)
2508                       {
2509                         return null;
2510                       }
2511                       return target;
2512                     }
2513                 }
2514                 
2515                 /**
2516                  * True if has "SubTotal" element
2517                  */
2518                 public boolean isSetSubTotal()
2519                 {
2520                     synchronized (monitor())
2521                     {
2522                       check_orphaned();
2523                       return get_store().count_elements(SUBTOTAL$2) != 0;
2524                     }
2525                 }
2526                 
2527                 /**
2528                  * Sets the "SubTotal" element
2529                  */
2530                 public void setSubTotal(gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType subTotal)
2531                 {
2532                     generatedSetterHelperImpl(subTotal, SUBTOTAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
2533                 }
2534                 
2535                 /**
2536                  * Appends and returns a new empty "SubTotal" element
2537                  */
2538                 public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType addNewSubTotal()
2539                 {
2540                     synchronized (monitor())
2541                     {
2542                       check_orphaned();
2543                       gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
2544                       target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().add_element_user(SUBTOTAL$2);
2545                       return target;
2546                     }
2547                 }
2548                 
2549                 /**
2550                  * Unsets the "SubTotal" element
2551                  */
2552                 public void unsetSubTotal()
2553                 {
2554                     synchronized (monitor())
2555                     {
2556                       check_orphaned();
2557                       get_store().remove_element(SUBTOTAL$2, 0);
2558                     }
2559                 }
2560             }
2561             /**
2562              * An XML IndirectCosts(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
2563              *
2564              * This is a complex type.
2565              */
2566             public static class IndirectCostsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts
2567             {
2568                 private static final long serialVersionUID = 1L;
2569                 
2570                 public IndirectCostsImpl(org.apache.xmlbeans.SchemaType sType)
2571                 {
2572                     super(sType);
2573                 }
2574                 
2575                 private static final javax.xml.namespace.QName INDIECTCOSTSTYPE$0 = 
2576                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "IndiectCostsType");
2577                 private static final javax.xml.namespace.QName FEDERALAGENCYNAME$2 = 
2578                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "FederalAgencyName");
2579                 private static final javax.xml.namespace.QName AGREEMENTDATE$4 = 
2580                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "AgreementDate");
2581                 private static final javax.xml.namespace.QName INDIRECTCOSTITEMS$6 = 
2582                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "IndirectCostItems");
2583                 
2584                 
2585                 /**
2586                  * Gets the "IndiectCostsType" element
2587                  */
2588                 public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType.Enum getIndiectCostsType()
2589                 {
2590                     synchronized (monitor())
2591                     {
2592                       check_orphaned();
2593                       org.apache.xmlbeans.SimpleValue target = null;
2594                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIECTCOSTSTYPE$0, 0);
2595                       if (target == null)
2596                       {
2597                         return null;
2598                       }
2599                       return (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType.Enum)target.getEnumValue();
2600                     }
2601                 }
2602                 
2603                 /**
2604                  * Gets (as xml) the "IndiectCostsType" element
2605                  */
2606                 public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType xgetIndiectCostsType()
2607                 {
2608                     synchronized (monitor())
2609                     {
2610                       check_orphaned();
2611                       gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType target = null;
2612                       target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType)get_store().find_element_user(INDIECTCOSTSTYPE$0, 0);
2613                       return target;
2614                     }
2615                 }
2616                 
2617                 /**
2618                  * True if has "IndiectCostsType" element
2619                  */
2620                 public boolean isSetIndiectCostsType()
2621                 {
2622                     synchronized (monitor())
2623                     {
2624                       check_orphaned();
2625                       return get_store().count_elements(INDIECTCOSTSTYPE$0) != 0;
2626                     }
2627                 }
2628                 
2629                 /**
2630                  * Sets the "IndiectCostsType" element
2631                  */
2632                 public void setIndiectCostsType(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType.Enum indiectCostsType)
2633                 {
2634                     synchronized (monitor())
2635                     {
2636                       check_orphaned();
2637                       org.apache.xmlbeans.SimpleValue target = null;
2638                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIECTCOSTSTYPE$0, 0);
2639                       if (target == null)
2640                       {
2641                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIECTCOSTSTYPE$0);
2642                       }
2643                       target.setEnumValue(indiectCostsType);
2644                     }
2645                 }
2646                 
2647                 /**
2648                  * Sets (as xml) the "IndiectCostsType" element
2649                  */
2650                 public void xsetIndiectCostsType(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType indiectCostsType)
2651                 {
2652                     synchronized (monitor())
2653                     {
2654                       check_orphaned();
2655                       gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType target = null;
2656                       target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType)get_store().find_element_user(INDIECTCOSTSTYPE$0, 0);
2657                       if (target == null)
2658                       {
2659                         target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType)get_store().add_element_user(INDIECTCOSTSTYPE$0);
2660                       }
2661                       target.set(indiectCostsType);
2662                     }
2663                 }
2664                 
2665                 /**
2666                  * Unsets the "IndiectCostsType" element
2667                  */
2668                 public void unsetIndiectCostsType()
2669                 {
2670                     synchronized (monitor())
2671                     {
2672                       check_orphaned();
2673                       get_store().remove_element(INDIECTCOSTSTYPE$0, 0);
2674                     }
2675                 }
2676                 
2677                 /**
2678                  * Gets the "FederalAgencyName" element
2679                  */
2680                 public java.lang.String getFederalAgencyName()
2681                 {
2682                     synchronized (monitor())
2683                     {
2684                       check_orphaned();
2685                       org.apache.xmlbeans.SimpleValue target = null;
2686                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALAGENCYNAME$2, 0);
2687                       if (target == null)
2688                       {
2689                         return null;
2690                       }
2691                       return target.getStringValue();
2692                     }
2693                 }
2694                 
2695                 /**
2696                  * Gets (as xml) the "FederalAgencyName" element
2697                  */
2698                 public gov.grants.apply.system.globalLibraryV20.AgencyNameDataType xgetFederalAgencyName()
2699                 {
2700                     synchronized (monitor())
2701                     {
2702                       check_orphaned();
2703                       gov.grants.apply.system.globalLibraryV20.AgencyNameDataType target = null;
2704                       target = (gov.grants.apply.system.globalLibraryV20.AgencyNameDataType)get_store().find_element_user(FEDERALAGENCYNAME$2, 0);
2705                       return target;
2706                     }
2707                 }
2708                 
2709                 /**
2710                  * True if has "FederalAgencyName" element
2711                  */
2712                 public boolean isSetFederalAgencyName()
2713                 {
2714                     synchronized (monitor())
2715                     {
2716                       check_orphaned();
2717                       return get_store().count_elements(FEDERALAGENCYNAME$2) != 0;
2718                     }
2719                 }
2720                 
2721                 /**
2722                  * Sets the "FederalAgencyName" element
2723                  */
2724                 public void setFederalAgencyName(java.lang.String federalAgencyName)
2725                 {
2726                     synchronized (monitor())
2727                     {
2728                       check_orphaned();
2729                       org.apache.xmlbeans.SimpleValue target = null;
2730                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALAGENCYNAME$2, 0);
2731                       if (target == null)
2732                       {
2733                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FEDERALAGENCYNAME$2);
2734                       }
2735                       target.setStringValue(federalAgencyName);
2736                     }
2737                 }
2738                 
2739                 /**
2740                  * Sets (as xml) the "FederalAgencyName" element
2741                  */
2742                 public void xsetFederalAgencyName(gov.grants.apply.system.globalLibraryV20.AgencyNameDataType federalAgencyName)
2743                 {
2744                     synchronized (monitor())
2745                     {
2746                       check_orphaned();
2747                       gov.grants.apply.system.globalLibraryV20.AgencyNameDataType target = null;
2748                       target = (gov.grants.apply.system.globalLibraryV20.AgencyNameDataType)get_store().find_element_user(FEDERALAGENCYNAME$2, 0);
2749                       if (target == null)
2750                       {
2751                         target = (gov.grants.apply.system.globalLibraryV20.AgencyNameDataType)get_store().add_element_user(FEDERALAGENCYNAME$2);
2752                       }
2753                       target.set(federalAgencyName);
2754                     }
2755                 }
2756                 
2757                 /**
2758                  * Unsets the "FederalAgencyName" element
2759                  */
2760                 public void unsetFederalAgencyName()
2761                 {
2762                     synchronized (monitor())
2763                     {
2764                       check_orphaned();
2765                       get_store().remove_element(FEDERALAGENCYNAME$2, 0);
2766                     }
2767                 }
2768                 
2769                 /**
2770                  * Gets the "AgreementDate" element
2771                  */
2772                 public java.util.Calendar getAgreementDate()
2773                 {
2774                     synchronized (monitor())
2775                     {
2776                       check_orphaned();
2777                       org.apache.xmlbeans.SimpleValue target = null;
2778                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGREEMENTDATE$4, 0);
2779                       if (target == null)
2780                       {
2781                         return null;
2782                       }
2783                       return target.getCalendarValue();
2784                     }
2785                 }
2786                 
2787                 /**
2788                  * Gets (as xml) the "AgreementDate" element
2789                  */
2790                 public org.apache.xmlbeans.XmlDate xgetAgreementDate()
2791                 {
2792                     synchronized (monitor())
2793                     {
2794                       check_orphaned();
2795                       org.apache.xmlbeans.XmlDate target = null;
2796                       target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(AGREEMENTDATE$4, 0);
2797                       return target;
2798                     }
2799                 }
2800                 
2801                 /**
2802                  * True if has "AgreementDate" element
2803                  */
2804                 public boolean isSetAgreementDate()
2805                 {
2806                     synchronized (monitor())
2807                     {
2808                       check_orphaned();
2809                       return get_store().count_elements(AGREEMENTDATE$4) != 0;
2810                     }
2811                 }
2812                 
2813                 /**
2814                  * Sets the "AgreementDate" element
2815                  */
2816                 public void setAgreementDate(java.util.Calendar agreementDate)
2817                 {
2818                     synchronized (monitor())
2819                     {
2820                       check_orphaned();
2821                       org.apache.xmlbeans.SimpleValue target = null;
2822                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGREEMENTDATE$4, 0);
2823                       if (target == null)
2824                       {
2825                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AGREEMENTDATE$4);
2826                       }
2827                       target.setCalendarValue(agreementDate);
2828                     }
2829                 }
2830                 
2831                 /**
2832                  * Sets (as xml) the "AgreementDate" element
2833                  */
2834                 public void xsetAgreementDate(org.apache.xmlbeans.XmlDate agreementDate)
2835                 {
2836                     synchronized (monitor())
2837                     {
2838                       check_orphaned();
2839                       org.apache.xmlbeans.XmlDate target = null;
2840                       target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(AGREEMENTDATE$4, 0);
2841                       if (target == null)
2842                       {
2843                         target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(AGREEMENTDATE$4);
2844                       }
2845                       target.set(agreementDate);
2846                     }
2847                 }
2848                 
2849                 /**
2850                  * Unsets the "AgreementDate" element
2851                  */
2852                 public void unsetAgreementDate()
2853                 {
2854                     synchronized (monitor())
2855                     {
2856                       check_orphaned();
2857                       get_store().remove_element(AGREEMENTDATE$4, 0);
2858                     }
2859                 }
2860                 
2861                 /**
2862                  * Gets the "IndirectCostItems" element
2863                  */
2864                 public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndirectCostItems getIndirectCostItems()
2865                 {
2866                     synchronized (monitor())
2867                     {
2868                       check_orphaned();
2869                       gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndirectCostItems target = null;
2870                       target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndirectCostItems)get_store().find_element_user(INDIRECTCOSTITEMS$6, 0);
2871                       if (target == null)
2872                       {
2873                         return null;
2874                       }
2875                       return target;
2876                     }
2877                 }
2878                 
2879                 /**
2880                  * True if has "IndirectCostItems" element
2881                  */
2882                 public boolean isSetIndirectCostItems()
2883                 {
2884                     synchronized (monitor())
2885                     {
2886                       check_orphaned();
2887                       return get_store().count_elements(INDIRECTCOSTITEMS$6) != 0;
2888                     }
2889                 }
2890                 
2891                 /**
2892                  * Sets the "IndirectCostItems" element
2893                  */
2894                 public void setIndirectCostItems(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndirectCostItems indirectCostItems)
2895                 {
2896                     generatedSetterHelperImpl(indirectCostItems, INDIRECTCOSTITEMS$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
2897                 }
2898                 
2899                 /**
2900                  * Appends and returns a new empty "IndirectCostItems" element
2901                  */
2902                 public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndirectCostItems addNewIndirectCostItems()
2903                 {
2904                     synchronized (monitor())
2905                     {
2906                       check_orphaned();
2907                       gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndirectCostItems target = null;
2908                       target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndirectCostItems)get_store().add_element_user(INDIRECTCOSTITEMS$6);
2909                       return target;
2910                     }
2911                 }
2912                 
2913                 /**
2914                  * Unsets the "IndirectCostItems" element
2915                  */
2916                 public void unsetIndirectCostItems()
2917                 {
2918                     synchronized (monitor())
2919                     {
2920                       check_orphaned();
2921                       get_store().remove_element(INDIRECTCOSTITEMS$6, 0);
2922                     }
2923                 }
2924                 /**
2925                  * An XML IndiectCostsType(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
2926                  *
2927                  * This is an atomic type that is a restriction of gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument$NEHBudget$DetailedBudget$IndirectCosts$IndiectCostsType.
2928                  */
2929                 public static class IndiectCostsTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndiectCostsType
2930                 {
2931                     private static final long serialVersionUID = 1L;
2932                     
2933                     public IndiectCostsTypeImpl(org.apache.xmlbeans.SchemaType sType)
2934                     {
2935                       super(sType, false);
2936                     }
2937                     
2938                     protected IndiectCostsTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2939                     {
2940                       super(sType, b);
2941                     }
2942                 }
2943                 /**
2944                  * An XML IndirectCostItems(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
2945                  *
2946                  * This is a complex type.
2947                  */
2948                 public static class IndirectCostItemsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.DetailedBudget.IndirectCosts.IndirectCostItems
2949                 {
2950                     private static final long serialVersionUID = 1L;
2951                     
2952                     public IndirectCostItemsImpl(org.apache.xmlbeans.SchemaType sType)
2953                     {
2954                       super(sType);
2955                     }
2956                     
2957                     private static final javax.xml.namespace.QName INDIRECTCOSTITEM$0 = 
2958                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "IndirectCostItem");
2959                     private static final javax.xml.namespace.QName SUBTOTAL$2 = 
2960                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SubTotal");
2961                     
2962                     
2963                     /**
2964                      * Gets array of all "IndirectCostItem" elements
2965                      */
2966                     public gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType[] getIndirectCostItemArray()
2967                     {
2968                       synchronized (monitor())
2969                       {
2970                         check_orphaned();
2971                         java.util.List targetList = new java.util.ArrayList();
2972                         get_store().find_all_element_users(INDIRECTCOSTITEM$0, targetList);
2973                         gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType[] result = new gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType[targetList.size()];
2974                         targetList.toArray(result);
2975                         return result;
2976                       }
2977                     }
2978                     
2979                     /**
2980                      * Gets ith "IndirectCostItem" element
2981                      */
2982                     public gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType getIndirectCostItemArray(int i)
2983                     {
2984                       synchronized (monitor())
2985                       {
2986                         check_orphaned();
2987                         gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType target = null;
2988                         target = (gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType)get_store().find_element_user(INDIRECTCOSTITEM$0, i);
2989                         if (target == null)
2990                         {
2991                           throw new IndexOutOfBoundsException();
2992                         }
2993                         return target;
2994                       }
2995                     }
2996                     
2997                     /**
2998                      * Returns number of "IndirectCostItem" element
2999                      */
3000                     public int sizeOfIndirectCostItemArray()
3001                     {
3002                       synchronized (monitor())
3003                       {
3004                         check_orphaned();
3005                         return get_store().count_elements(INDIRECTCOSTITEM$0);
3006                       }
3007                     }
3008                     
3009                     /**
3010                      * Sets array of all "IndirectCostItem" element  WARNING: This method is not atomicaly synchronized.
3011                      */
3012                     public void setIndirectCostItemArray(gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType[] indirectCostItemArray)
3013                     {
3014                       check_orphaned();
3015                       arraySetterHelper(indirectCostItemArray, INDIRECTCOSTITEM$0);
3016                     }
3017                     
3018                     /**
3019                      * Sets ith "IndirectCostItem" element
3020                      */
3021                     public void setIndirectCostItemArray(int i, gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType indirectCostItem)
3022                     {
3023                       generatedSetterHelperImpl(indirectCostItem, INDIRECTCOSTITEM$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
3024                     }
3025                     
3026                     /**
3027                      * Inserts and returns a new empty value (as xml) as the ith "IndirectCostItem" element
3028                      */
3029                     public gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType insertNewIndirectCostItem(int i)
3030                     {
3031                       synchronized (monitor())
3032                       {
3033                         check_orphaned();
3034                         gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType target = null;
3035                         target = (gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType)get_store().insert_element_user(INDIRECTCOSTITEM$0, i);
3036                         return target;
3037                       }
3038                     }
3039                     
3040                     /**
3041                      * Appends and returns a new empty value (as xml) as the last "IndirectCostItem" element
3042                      */
3043                     public gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType addNewIndirectCostItem()
3044                     {
3045                       synchronized (monitor())
3046                       {
3047                         check_orphaned();
3048                         gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType target = null;
3049                         target = (gov.grants.apply.forms.nehBudgetV11.IndiectCostItemDataType)get_store().add_element_user(INDIRECTCOSTITEM$0);
3050                         return target;
3051                       }
3052                     }
3053                     
3054                     /**
3055                      * Removes the ith "IndirectCostItem" element
3056                      */
3057                     public void removeIndirectCostItem(int i)
3058                     {
3059                       synchronized (monitor())
3060                       {
3061                         check_orphaned();
3062                         get_store().remove_element(INDIRECTCOSTITEM$0, i);
3063                       }
3064                     }
3065                     
3066                     /**
3067                      * Gets the "SubTotal" element
3068                      */
3069                     public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType getSubTotal()
3070                     {
3071                       synchronized (monitor())
3072                       {
3073                         check_orphaned();
3074                         gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
3075                         target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().find_element_user(SUBTOTAL$2, 0);
3076                         if (target == null)
3077                         {
3078                           return null;
3079                         }
3080                         return target;
3081                       }
3082                     }
3083                     
3084                     /**
3085                      * True if has "SubTotal" element
3086                      */
3087                     public boolean isSetSubTotal()
3088                     {
3089                       synchronized (monitor())
3090                       {
3091                         check_orphaned();
3092                         return get_store().count_elements(SUBTOTAL$2) != 0;
3093                       }
3094                     }
3095                     
3096                     /**
3097                      * Sets the "SubTotal" element
3098                      */
3099                     public void setSubTotal(gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType subTotal)
3100                     {
3101                       generatedSetterHelperImpl(subTotal, SUBTOTAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3102                     }
3103                     
3104                     /**
3105                      * Appends and returns a new empty "SubTotal" element
3106                      */
3107                     public gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType addNewSubTotal()
3108                     {
3109                       synchronized (monitor())
3110                       {
3111                         check_orphaned();
3112                         gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType target = null;
3113                         target = (gov.grants.apply.forms.nehBudgetV11.BaseTotalFundDataType)get_store().add_element_user(SUBTOTAL$2);
3114                         return target;
3115                       }
3116                     }
3117                     
3118                     /**
3119                      * Unsets the "SubTotal" element
3120                      */
3121                     public void unsetSubTotal()
3122                     {
3123                       synchronized (monitor())
3124                       {
3125                         check_orphaned();
3126                         get_store().remove_element(SUBTOTAL$2, 0);
3127                       }
3128                     }
3129                 }
3130             }
3131         }
3132         /**
3133          * An XML BudgetSummary(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
3134          *
3135          * This is a complex type.
3136          */
3137         public static class BudgetSummaryImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary
3138         {
3139             private static final long serialVersionUID = 1L;
3140             
3141             public BudgetSummaryImpl(org.apache.xmlbeans.SchemaType sType)
3142             {
3143                 super(sType);
3144             }
3145             
3146             private static final javax.xml.namespace.QName BUDGETCATEGORIES$0 = 
3147                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "BudgetCategories");
3148             private static final javax.xml.namespace.QName PROJECTFUNDING$2 = 
3149                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "ProjectFunding");
3150             
3151             
3152             /**
3153              * Gets the "BudgetCategories" element
3154              */
3155             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories getBudgetCategories()
3156             {
3157                 synchronized (monitor())
3158                 {
3159                     check_orphaned();
3160                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories target = null;
3161                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories)get_store().find_element_user(BUDGETCATEGORIES$0, 0);
3162                     if (target == null)
3163                     {
3164                       return null;
3165                     }
3166                     return target;
3167                 }
3168             }
3169             
3170             /**
3171              * True if has "BudgetCategories" element
3172              */
3173             public boolean isSetBudgetCategories()
3174             {
3175                 synchronized (monitor())
3176                 {
3177                     check_orphaned();
3178                     return get_store().count_elements(BUDGETCATEGORIES$0) != 0;
3179                 }
3180             }
3181             
3182             /**
3183              * Sets the "BudgetCategories" element
3184              */
3185             public void setBudgetCategories(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories budgetCategories)
3186             {
3187                 generatedSetterHelperImpl(budgetCategories, BUDGETCATEGORIES$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3188             }
3189             
3190             /**
3191              * Appends and returns a new empty "BudgetCategories" element
3192              */
3193             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories addNewBudgetCategories()
3194             {
3195                 synchronized (monitor())
3196                 {
3197                     check_orphaned();
3198                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories target = null;
3199                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories)get_store().add_element_user(BUDGETCATEGORIES$0);
3200                     return target;
3201                 }
3202             }
3203             
3204             /**
3205              * Unsets the "BudgetCategories" element
3206              */
3207             public void unsetBudgetCategories()
3208             {
3209                 synchronized (monitor())
3210                 {
3211                     check_orphaned();
3212                     get_store().remove_element(BUDGETCATEGORIES$0, 0);
3213                 }
3214             }
3215             
3216             /**
3217              * Gets the "ProjectFunding" element
3218              */
3219             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding getProjectFunding()
3220             {
3221                 synchronized (monitor())
3222                 {
3223                     check_orphaned();
3224                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding target = null;
3225                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding)get_store().find_element_user(PROJECTFUNDING$2, 0);
3226                     if (target == null)
3227                     {
3228                       return null;
3229                     }
3230                     return target;
3231                 }
3232             }
3233             
3234             /**
3235              * True if has "ProjectFunding" element
3236              */
3237             public boolean isSetProjectFunding()
3238             {
3239                 synchronized (monitor())
3240                 {
3241                     check_orphaned();
3242                     return get_store().count_elements(PROJECTFUNDING$2) != 0;
3243                 }
3244             }
3245             
3246             /**
3247              * Sets the "ProjectFunding" element
3248              */
3249             public void setProjectFunding(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding projectFunding)
3250             {
3251                 generatedSetterHelperImpl(projectFunding, PROJECTFUNDING$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3252             }
3253             
3254             /**
3255              * Appends and returns a new empty "ProjectFunding" element
3256              */
3257             public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding addNewProjectFunding()
3258             {
3259                 synchronized (monitor())
3260                 {
3261                     check_orphaned();
3262                     gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding target = null;
3263                     target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding)get_store().add_element_user(PROJECTFUNDING$2);
3264                     return target;
3265                 }
3266             }
3267             
3268             /**
3269              * Unsets the "ProjectFunding" element
3270              */
3271             public void unsetProjectFunding()
3272             {
3273                 synchronized (monitor())
3274                 {
3275                     check_orphaned();
3276                     get_store().remove_element(PROJECTFUNDING$2, 0);
3277                 }
3278             }
3279             /**
3280              * An XML BudgetCategories(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
3281              *
3282              * This is a complex type.
3283              */
3284             public static class BudgetCategoriesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories
3285             {
3286                 private static final long serialVersionUID = 1L;
3287                 
3288                 public BudgetCategoriesImpl(org.apache.xmlbeans.SchemaType sType)
3289                 {
3290                     super(sType);
3291                 }
3292                 
3293                 private static final javax.xml.namespace.QName BUDGETYEARS$0 = 
3294                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "BudgetYears");
3295                 private static final javax.xml.namespace.QName SALARIESWAGES$2 = 
3296                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SalariesWages");
3297                 private static final javax.xml.namespace.QName FRINGEBENEFITS$4 = 
3298                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "FringeBenefits");
3299                 private static final javax.xml.namespace.QName CONSULTANTFEES$6 = 
3300                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "ConsultantFees");
3301                 private static final javax.xml.namespace.QName TRAVEL$8 = 
3302                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "Travel");
3303                 private static final javax.xml.namespace.QName SUPPLIESMATERIALS$10 = 
3304                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "SuppliesMaterials");
3305                 private static final javax.xml.namespace.QName SERVICES$12 = 
3306                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "Services");
3307                 private static final javax.xml.namespace.QName OTHERCOSTS$14 = 
3308                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "OtherCosts");
3309                 private static final javax.xml.namespace.QName TOTALDIRECTCOSTS$16 = 
3310                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "TotalDirectCosts");
3311                 private static final javax.xml.namespace.QName INDIRECTCOSTS$18 = 
3312                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "IndirectCosts");
3313                 private static final javax.xml.namespace.QName TOTALPROJECTCOSTS$20 = 
3314                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "TotalProjectCosts");
3315                 
3316                 
3317                 /**
3318                  * Gets the "BudgetYears" element
3319                  */
3320                 public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears getBudgetYears()
3321                 {
3322                     synchronized (monitor())
3323                     {
3324                       check_orphaned();
3325                       gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears target = null;
3326                       target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears)get_store().find_element_user(BUDGETYEARS$0, 0);
3327                       if (target == null)
3328                       {
3329                         return null;
3330                       }
3331                       return target;
3332                     }
3333                 }
3334                 
3335                 /**
3336                  * True if has "BudgetYears" element
3337                  */
3338                 public boolean isSetBudgetYears()
3339                 {
3340                     synchronized (monitor())
3341                     {
3342                       check_orphaned();
3343                       return get_store().count_elements(BUDGETYEARS$0) != 0;
3344                     }
3345                 }
3346                 
3347                 /**
3348                  * Sets the "BudgetYears" element
3349                  */
3350                 public void setBudgetYears(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears budgetYears)
3351                 {
3352                     generatedSetterHelperImpl(budgetYears, BUDGETYEARS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3353                 }
3354                 
3355                 /**
3356                  * Appends and returns a new empty "BudgetYears" element
3357                  */
3358                 public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears addNewBudgetYears()
3359                 {
3360                     synchronized (monitor())
3361                     {
3362                       check_orphaned();
3363                       gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears target = null;
3364                       target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears)get_store().add_element_user(BUDGETYEARS$0);
3365                       return target;
3366                     }
3367                 }
3368                 
3369                 /**
3370                  * Unsets the "BudgetYears" element
3371                  */
3372                 public void unsetBudgetYears()
3373                 {
3374                     synchronized (monitor())
3375                     {
3376                       check_orphaned();
3377                       get_store().remove_element(BUDGETYEARS$0, 0);
3378                     }
3379                 }
3380                 
3381                 /**
3382                  * Gets the "SalariesWages" element
3383                  */
3384                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType getSalariesWages()
3385                 {
3386                     synchronized (monitor())
3387                     {
3388                       check_orphaned();
3389                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3390                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().find_element_user(SALARIESWAGES$2, 0);
3391                       if (target == null)
3392                       {
3393                         return null;
3394                       }
3395                       return target;
3396                     }
3397                 }
3398                 
3399                 /**
3400                  * True if has "SalariesWages" element
3401                  */
3402                 public boolean isSetSalariesWages()
3403                 {
3404                     synchronized (monitor())
3405                     {
3406                       check_orphaned();
3407                       return get_store().count_elements(SALARIESWAGES$2) != 0;
3408                     }
3409                 }
3410                 
3411                 /**
3412                  * Sets the "SalariesWages" element
3413                  */
3414                 public void setSalariesWages(gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType salariesWages)
3415                 {
3416                     generatedSetterHelperImpl(salariesWages, SALARIESWAGES$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3417                 }
3418                 
3419                 /**
3420                  * Appends and returns a new empty "SalariesWages" element
3421                  */
3422                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType addNewSalariesWages()
3423                 {
3424                     synchronized (monitor())
3425                     {
3426                       check_orphaned();
3427                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3428                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().add_element_user(SALARIESWAGES$2);
3429                       return target;
3430                     }
3431                 }
3432                 
3433                 /**
3434                  * Unsets the "SalariesWages" element
3435                  */
3436                 public void unsetSalariesWages()
3437                 {
3438                     synchronized (monitor())
3439                     {
3440                       check_orphaned();
3441                       get_store().remove_element(SALARIESWAGES$2, 0);
3442                     }
3443                 }
3444                 
3445                 /**
3446                  * Gets the "FringeBenefits" element
3447                  */
3448                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType getFringeBenefits()
3449                 {
3450                     synchronized (monitor())
3451                     {
3452                       check_orphaned();
3453                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3454                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().find_element_user(FRINGEBENEFITS$4, 0);
3455                       if (target == null)
3456                       {
3457                         return null;
3458                       }
3459                       return target;
3460                     }
3461                 }
3462                 
3463                 /**
3464                  * True if has "FringeBenefits" element
3465                  */
3466                 public boolean isSetFringeBenefits()
3467                 {
3468                     synchronized (monitor())
3469                     {
3470                       check_orphaned();
3471                       return get_store().count_elements(FRINGEBENEFITS$4) != 0;
3472                     }
3473                 }
3474                 
3475                 /**
3476                  * Sets the "FringeBenefits" element
3477                  */
3478                 public void setFringeBenefits(gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType fringeBenefits)
3479                 {
3480                     generatedSetterHelperImpl(fringeBenefits, FRINGEBENEFITS$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3481                 }
3482                 
3483                 /**
3484                  * Appends and returns a new empty "FringeBenefits" element
3485                  */
3486                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType addNewFringeBenefits()
3487                 {
3488                     synchronized (monitor())
3489                     {
3490                       check_orphaned();
3491                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3492                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().add_element_user(FRINGEBENEFITS$4);
3493                       return target;
3494                     }
3495                 }
3496                 
3497                 /**
3498                  * Unsets the "FringeBenefits" element
3499                  */
3500                 public void unsetFringeBenefits()
3501                 {
3502                     synchronized (monitor())
3503                     {
3504                       check_orphaned();
3505                       get_store().remove_element(FRINGEBENEFITS$4, 0);
3506                     }
3507                 }
3508                 
3509                 /**
3510                  * Gets the "ConsultantFees" element
3511                  */
3512                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType getConsultantFees()
3513                 {
3514                     synchronized (monitor())
3515                     {
3516                       check_orphaned();
3517                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3518                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().find_element_user(CONSULTANTFEES$6, 0);
3519                       if (target == null)
3520                       {
3521                         return null;
3522                       }
3523                       return target;
3524                     }
3525                 }
3526                 
3527                 /**
3528                  * True if has "ConsultantFees" element
3529                  */
3530                 public boolean isSetConsultantFees()
3531                 {
3532                     synchronized (monitor())
3533                     {
3534                       check_orphaned();
3535                       return get_store().count_elements(CONSULTANTFEES$6) != 0;
3536                     }
3537                 }
3538                 
3539                 /**
3540                  * Sets the "ConsultantFees" element
3541                  */
3542                 public void setConsultantFees(gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType consultantFees)
3543                 {
3544                     generatedSetterHelperImpl(consultantFees, CONSULTANTFEES$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3545                 }
3546                 
3547                 /**
3548                  * Appends and returns a new empty "ConsultantFees" element
3549                  */
3550                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType addNewConsultantFees()
3551                 {
3552                     synchronized (monitor())
3553                     {
3554                       check_orphaned();
3555                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3556                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().add_element_user(CONSULTANTFEES$6);
3557                       return target;
3558                     }
3559                 }
3560                 
3561                 /**
3562                  * Unsets the "ConsultantFees" element
3563                  */
3564                 public void unsetConsultantFees()
3565                 {
3566                     synchronized (monitor())
3567                     {
3568                       check_orphaned();
3569                       get_store().remove_element(CONSULTANTFEES$6, 0);
3570                     }
3571                 }
3572                 
3573                 /**
3574                  * Gets the "Travel" element
3575                  */
3576                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType getTravel()
3577                 {
3578                     synchronized (monitor())
3579                     {
3580                       check_orphaned();
3581                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3582                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().find_element_user(TRAVEL$8, 0);
3583                       if (target == null)
3584                       {
3585                         return null;
3586                       }
3587                       return target;
3588                     }
3589                 }
3590                 
3591                 /**
3592                  * True if has "Travel" element
3593                  */
3594                 public boolean isSetTravel()
3595                 {
3596                     synchronized (monitor())
3597                     {
3598                       check_orphaned();
3599                       return get_store().count_elements(TRAVEL$8) != 0;
3600                     }
3601                 }
3602                 
3603                 /**
3604                  * Sets the "Travel" element
3605                  */
3606                 public void setTravel(gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType travel)
3607                 {
3608                     generatedSetterHelperImpl(travel, TRAVEL$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3609                 }
3610                 
3611                 /**
3612                  * Appends and returns a new empty "Travel" element
3613                  */
3614                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType addNewTravel()
3615                 {
3616                     synchronized (monitor())
3617                     {
3618                       check_orphaned();
3619                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3620                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().add_element_user(TRAVEL$8);
3621                       return target;
3622                     }
3623                 }
3624                 
3625                 /**
3626                  * Unsets the "Travel" element
3627                  */
3628                 public void unsetTravel()
3629                 {
3630                     synchronized (monitor())
3631                     {
3632                       check_orphaned();
3633                       get_store().remove_element(TRAVEL$8, 0);
3634                     }
3635                 }
3636                 
3637                 /**
3638                  * Gets the "SuppliesMaterials" element
3639                  */
3640                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType getSuppliesMaterials()
3641                 {
3642                     synchronized (monitor())
3643                     {
3644                       check_orphaned();
3645                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3646                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().find_element_user(SUPPLIESMATERIALS$10, 0);
3647                       if (target == null)
3648                       {
3649                         return null;
3650                       }
3651                       return target;
3652                     }
3653                 }
3654                 
3655                 /**
3656                  * True if has "SuppliesMaterials" element
3657                  */
3658                 public boolean isSetSuppliesMaterials()
3659                 {
3660                     synchronized (monitor())
3661                     {
3662                       check_orphaned();
3663                       return get_store().count_elements(SUPPLIESMATERIALS$10) != 0;
3664                     }
3665                 }
3666                 
3667                 /**
3668                  * Sets the "SuppliesMaterials" element
3669                  */
3670                 public void setSuppliesMaterials(gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType suppliesMaterials)
3671                 {
3672                     generatedSetterHelperImpl(suppliesMaterials, SUPPLIESMATERIALS$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3673                 }
3674                 
3675                 /**
3676                  * Appends and returns a new empty "SuppliesMaterials" element
3677                  */
3678                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType addNewSuppliesMaterials()
3679                 {
3680                     synchronized (monitor())
3681                     {
3682                       check_orphaned();
3683                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3684                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().add_element_user(SUPPLIESMATERIALS$10);
3685                       return target;
3686                     }
3687                 }
3688                 
3689                 /**
3690                  * Unsets the "SuppliesMaterials" element
3691                  */
3692                 public void unsetSuppliesMaterials()
3693                 {
3694                     synchronized (monitor())
3695                     {
3696                       check_orphaned();
3697                       get_store().remove_element(SUPPLIESMATERIALS$10, 0);
3698                     }
3699                 }
3700                 
3701                 /**
3702                  * Gets the "Services" element
3703                  */
3704                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType getServices()
3705                 {
3706                     synchronized (monitor())
3707                     {
3708                       check_orphaned();
3709                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3710                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().find_element_user(SERVICES$12, 0);
3711                       if (target == null)
3712                       {
3713                         return null;
3714                       }
3715                       return target;
3716                     }
3717                 }
3718                 
3719                 /**
3720                  * True if has "Services" element
3721                  */
3722                 public boolean isSetServices()
3723                 {
3724                     synchronized (monitor())
3725                     {
3726                       check_orphaned();
3727                       return get_store().count_elements(SERVICES$12) != 0;
3728                     }
3729                 }
3730                 
3731                 /**
3732                  * Sets the "Services" element
3733                  */
3734                 public void setServices(gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType services)
3735                 {
3736                     generatedSetterHelperImpl(services, SERVICES$12, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3737                 }
3738                 
3739                 /**
3740                  * Appends and returns a new empty "Services" element
3741                  */
3742                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType addNewServices()
3743                 {
3744                     synchronized (monitor())
3745                     {
3746                       check_orphaned();
3747                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3748                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().add_element_user(SERVICES$12);
3749                       return target;
3750                     }
3751                 }
3752                 
3753                 /**
3754                  * Unsets the "Services" element
3755                  */
3756                 public void unsetServices()
3757                 {
3758                     synchronized (monitor())
3759                     {
3760                       check_orphaned();
3761                       get_store().remove_element(SERVICES$12, 0);
3762                     }
3763                 }
3764                 
3765                 /**
3766                  * Gets the "OtherCosts" element
3767                  */
3768                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType getOtherCosts()
3769                 {
3770                     synchronized (monitor())
3771                     {
3772                       check_orphaned();
3773                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3774                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().find_element_user(OTHERCOSTS$14, 0);
3775                       if (target == null)
3776                       {
3777                         return null;
3778                       }
3779                       return target;
3780                     }
3781                 }
3782                 
3783                 /**
3784                  * True if has "OtherCosts" element
3785                  */
3786                 public boolean isSetOtherCosts()
3787                 {
3788                     synchronized (monitor())
3789                     {
3790                       check_orphaned();
3791                       return get_store().count_elements(OTHERCOSTS$14) != 0;
3792                     }
3793                 }
3794                 
3795                 /**
3796                  * Sets the "OtherCosts" element
3797                  */
3798                 public void setOtherCosts(gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType otherCosts)
3799                 {
3800                     generatedSetterHelperImpl(otherCosts, OTHERCOSTS$14, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3801                 }
3802                 
3803                 /**
3804                  * Appends and returns a new empty "OtherCosts" element
3805                  */
3806                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType addNewOtherCosts()
3807                 {
3808                     synchronized (monitor())
3809                     {
3810                       check_orphaned();
3811                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType target = null;
3812                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryDataType)get_store().add_element_user(OTHERCOSTS$14);
3813                       return target;
3814                     }
3815                 }
3816                 
3817                 /**
3818                  * Unsets the "OtherCosts" element
3819                  */
3820                 public void unsetOtherCosts()
3821                 {
3822                     synchronized (monitor())
3823                     {
3824                       check_orphaned();
3825                       get_store().remove_element(OTHERCOSTS$14, 0);
3826                     }
3827                 }
3828                 
3829                 /**
3830                  * Gets the "TotalDirectCosts" element
3831                  */
3832                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType getTotalDirectCosts()
3833                 {
3834                     synchronized (monitor())
3835                     {
3836                       check_orphaned();
3837                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType target = null;
3838                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType)get_store().find_element_user(TOTALDIRECTCOSTS$16, 0);
3839                       if (target == null)
3840                       {
3841                         return null;
3842                       }
3843                       return target;
3844                     }
3845                 }
3846                 
3847                 /**
3848                  * True if has "TotalDirectCosts" element
3849                  */
3850                 public boolean isSetTotalDirectCosts()
3851                 {
3852                     synchronized (monitor())
3853                     {
3854                       check_orphaned();
3855                       return get_store().count_elements(TOTALDIRECTCOSTS$16) != 0;
3856                     }
3857                 }
3858                 
3859                 /**
3860                  * Sets the "TotalDirectCosts" element
3861                  */
3862                 public void setTotalDirectCosts(gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType totalDirectCosts)
3863                 {
3864                     generatedSetterHelperImpl(totalDirectCosts, TOTALDIRECTCOSTS$16, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3865                 }
3866                 
3867                 /**
3868                  * Appends and returns a new empty "TotalDirectCosts" element
3869                  */
3870                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType addNewTotalDirectCosts()
3871                 {
3872                     synchronized (monitor())
3873                     {
3874                       check_orphaned();
3875                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType target = null;
3876                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType)get_store().add_element_user(TOTALDIRECTCOSTS$16);
3877                       return target;
3878                     }
3879                 }
3880                 
3881                 /**
3882                  * Unsets the "TotalDirectCosts" element
3883                  */
3884                 public void unsetTotalDirectCosts()
3885                 {
3886                     synchronized (monitor())
3887                     {
3888                       check_orphaned();
3889                       get_store().remove_element(TOTALDIRECTCOSTS$16, 0);
3890                     }
3891                 }
3892                 
3893                 /**
3894                  * Gets the "IndirectCosts" element
3895                  */
3896                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType getIndirectCosts()
3897                 {
3898                     synchronized (monitor())
3899                     {
3900                       check_orphaned();
3901                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType target = null;
3902                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType)get_store().find_element_user(INDIRECTCOSTS$18, 0);
3903                       if (target == null)
3904                       {
3905                         return null;
3906                       }
3907                       return target;
3908                     }
3909                 }
3910                 
3911                 /**
3912                  * True if has "IndirectCosts" element
3913                  */
3914                 public boolean isSetIndirectCosts()
3915                 {
3916                     synchronized (monitor())
3917                     {
3918                       check_orphaned();
3919                       return get_store().count_elements(INDIRECTCOSTS$18) != 0;
3920                     }
3921                 }
3922                 
3923                 /**
3924                  * Sets the "IndirectCosts" element
3925                  */
3926                 public void setIndirectCosts(gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType indirectCosts)
3927                 {
3928                     generatedSetterHelperImpl(indirectCosts, INDIRECTCOSTS$18, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3929                 }
3930                 
3931                 /**
3932                  * Appends and returns a new empty "IndirectCosts" element
3933                  */
3934                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType addNewIndirectCosts()
3935                 {
3936                     synchronized (monitor())
3937                     {
3938                       check_orphaned();
3939                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType target = null;
3940                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType)get_store().add_element_user(INDIRECTCOSTS$18);
3941                       return target;
3942                     }
3943                 }
3944                 
3945                 /**
3946                  * Unsets the "IndirectCosts" element
3947                  */
3948                 public void unsetIndirectCosts()
3949                 {
3950                     synchronized (monitor())
3951                     {
3952                       check_orphaned();
3953                       get_store().remove_element(INDIRECTCOSTS$18, 0);
3954                     }
3955                 }
3956                 
3957                 /**
3958                  * Gets the "TotalProjectCosts" element
3959                  */
3960                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType getTotalProjectCosts()
3961                 {
3962                     synchronized (monitor())
3963                     {
3964                       check_orphaned();
3965                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType target = null;
3966                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType)get_store().find_element_user(TOTALPROJECTCOSTS$20, 0);
3967                       if (target == null)
3968                       {
3969                         return null;
3970                       }
3971                       return target;
3972                     }
3973                 }
3974                 
3975                 /**
3976                  * True if has "TotalProjectCosts" element
3977                  */
3978                 public boolean isSetTotalProjectCosts()
3979                 {
3980                     synchronized (monitor())
3981                     {
3982                       check_orphaned();
3983                       return get_store().count_elements(TOTALPROJECTCOSTS$20) != 0;
3984                     }
3985                 }
3986                 
3987                 /**
3988                  * Sets the "TotalProjectCosts" element
3989                  */
3990                 public void setTotalProjectCosts(gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType totalProjectCosts)
3991                 {
3992                     generatedSetterHelperImpl(totalProjectCosts, TOTALPROJECTCOSTS$20, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
3993                 }
3994                 
3995                 /**
3996                  * Appends and returns a new empty "TotalProjectCosts" element
3997                  */
3998                 public gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType addNewTotalProjectCosts()
3999                 {
4000                     synchronized (monitor())
4001                     {
4002                       check_orphaned();
4003                       gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType target = null;
4004                       target = (gov.grants.apply.forms.nehBudgetV11.BudgtCategoryTotalDataType)get_store().add_element_user(TOTALPROJECTCOSTS$20);
4005                       return target;
4006                     }
4007                 }
4008                 
4009                 /**
4010                  * Unsets the "TotalProjectCosts" element
4011                  */
4012                 public void unsetTotalProjectCosts()
4013                 {
4014                     synchronized (monitor())
4015                     {
4016                       check_orphaned();
4017                       get_store().remove_element(TOTALPROJECTCOSTS$20, 0);
4018                     }
4019                 }
4020                 /**
4021                  * An XML BudgetYears(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
4022                  *
4023                  * This is a complex type.
4024                  */
4025                 public static class BudgetYearsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears
4026                 {
4027                     private static final long serialVersionUID = 1L;
4028                     
4029                     public BudgetYearsImpl(org.apache.xmlbeans.SchemaType sType)
4030                     {
4031                       super(sType);
4032                     }
4033                     
4034                     private static final javax.xml.namespace.QName YEAR1$0 = 
4035                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "Year1");
4036                     private static final javax.xml.namespace.QName YEAR2$2 = 
4037                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "Year2");
4038                     private static final javax.xml.namespace.QName YEAR3$4 = 
4039                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "Year3");
4040                     
4041                     
4042                     /**
4043                      * Gets the "Year1" element
4044                      */
4045                     public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year1 getYear1()
4046                     {
4047                       synchronized (monitor())
4048                       {
4049                         check_orphaned();
4050                         gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year1 target = null;
4051                         target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year1)get_store().find_element_user(YEAR1$0, 0);
4052                         if (target == null)
4053                         {
4054                           return null;
4055                         }
4056                         return target;
4057                       }
4058                     }
4059                     
4060                     /**
4061                      * True if has "Year1" element
4062                      */
4063                     public boolean isSetYear1()
4064                     {
4065                       synchronized (monitor())
4066                       {
4067                         check_orphaned();
4068                         return get_store().count_elements(YEAR1$0) != 0;
4069                       }
4070                     }
4071                     
4072                     /**
4073                      * Sets the "Year1" element
4074                      */
4075                     public void setYear1(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year1 year1)
4076                     {
4077                       generatedSetterHelperImpl(year1, YEAR1$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
4078                     }
4079                     
4080                     /**
4081                      * Appends and returns a new empty "Year1" element
4082                      */
4083                     public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year1 addNewYear1()
4084                     {
4085                       synchronized (monitor())
4086                       {
4087                         check_orphaned();
4088                         gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year1 target = null;
4089                         target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year1)get_store().add_element_user(YEAR1$0);
4090                         return target;
4091                       }
4092                     }
4093                     
4094                     /**
4095                      * Unsets the "Year1" element
4096                      */
4097                     public void unsetYear1()
4098                     {
4099                       synchronized (monitor())
4100                       {
4101                         check_orphaned();
4102                         get_store().remove_element(YEAR1$0, 0);
4103                       }
4104                     }
4105                     
4106                     /**
4107                      * Gets the "Year2" element
4108                      */
4109                     public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year2 getYear2()
4110                     {
4111                       synchronized (monitor())
4112                       {
4113                         check_orphaned();
4114                         gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year2 target = null;
4115                         target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year2)get_store().find_element_user(YEAR2$2, 0);
4116                         if (target == null)
4117                         {
4118                           return null;
4119                         }
4120                         return target;
4121                       }
4122                     }
4123                     
4124                     /**
4125                      * True if has "Year2" element
4126                      */
4127                     public boolean isSetYear2()
4128                     {
4129                       synchronized (monitor())
4130                       {
4131                         check_orphaned();
4132                         return get_store().count_elements(YEAR2$2) != 0;
4133                       }
4134                     }
4135                     
4136                     /**
4137                      * Sets the "Year2" element
4138                      */
4139                     public void setYear2(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year2 year2)
4140                     {
4141                       generatedSetterHelperImpl(year2, YEAR2$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
4142                     }
4143                     
4144                     /**
4145                      * Appends and returns a new empty "Year2" element
4146                      */
4147                     public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year2 addNewYear2()
4148                     {
4149                       synchronized (monitor())
4150                       {
4151                         check_orphaned();
4152                         gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year2 target = null;
4153                         target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year2)get_store().add_element_user(YEAR2$2);
4154                         return target;
4155                       }
4156                     }
4157                     
4158                     /**
4159                      * Unsets the "Year2" element
4160                      */
4161                     public void unsetYear2()
4162                     {
4163                       synchronized (monitor())
4164                       {
4165                         check_orphaned();
4166                         get_store().remove_element(YEAR2$2, 0);
4167                       }
4168                     }
4169                     
4170                     /**
4171                      * Gets the "Year3" element
4172                      */
4173                     public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year3 getYear3()
4174                     {
4175                       synchronized (monitor())
4176                       {
4177                         check_orphaned();
4178                         gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year3 target = null;
4179                         target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year3)get_store().find_element_user(YEAR3$4, 0);
4180                         if (target == null)
4181                         {
4182                           return null;
4183                         }
4184                         return target;
4185                       }
4186                     }
4187                     
4188                     /**
4189                      * True if has "Year3" element
4190                      */
4191                     public boolean isSetYear3()
4192                     {
4193                       synchronized (monitor())
4194                       {
4195                         check_orphaned();
4196                         return get_store().count_elements(YEAR3$4) != 0;
4197                       }
4198                     }
4199                     
4200                     /**
4201                      * Sets the "Year3" element
4202                      */
4203                     public void setYear3(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year3 year3)
4204                     {
4205                       generatedSetterHelperImpl(year3, YEAR3$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
4206                     }
4207                     
4208                     /**
4209                      * Appends and returns a new empty "Year3" element
4210                      */
4211                     public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year3 addNewYear3()
4212                     {
4213                       synchronized (monitor())
4214                       {
4215                         check_orphaned();
4216                         gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year3 target = null;
4217                         target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year3)get_store().add_element_user(YEAR3$4);
4218                         return target;
4219                       }
4220                     }
4221                     
4222                     /**
4223                      * Unsets the "Year3" element
4224                      */
4225                     public void unsetYear3()
4226                     {
4227                       synchronized (monitor())
4228                       {
4229                         check_orphaned();
4230                         get_store().remove_element(YEAR3$4, 0);
4231                       }
4232                     }
4233                     /**
4234                      * An XML Year1(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
4235                      *
4236                      * This is a complex type.
4237                      */
4238                     public static class Year1Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year1
4239                     {
4240                       private static final long serialVersionUID = 1L;
4241                       
4242                       public Year1Impl(org.apache.xmlbeans.SchemaType sType)
4243                       {
4244                         super(sType);
4245                       }
4246                       
4247                       private static final javax.xml.namespace.QName STARTDATE$0 = 
4248                         new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "StartDate");
4249                       private static final javax.xml.namespace.QName ENDDATE$2 = 
4250                         new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "EndDate");
4251                       
4252                       
4253                       /**
4254                        * Gets the "StartDate" element
4255                        */
4256                       public java.util.Calendar getStartDate()
4257                       {
4258                         synchronized (monitor())
4259                         {
4260                           check_orphaned();
4261                           org.apache.xmlbeans.SimpleValue target = null;
4262                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STARTDATE$0, 0);
4263                           if (target == null)
4264                           {
4265                             return null;
4266                           }
4267                           return target.getCalendarValue();
4268                         }
4269                       }
4270                       
4271                       /**
4272                        * Gets (as xml) the "StartDate" element
4273                        */
4274                       public org.apache.xmlbeans.XmlDate xgetStartDate()
4275                       {
4276                         synchronized (monitor())
4277                         {
4278                           check_orphaned();
4279                           org.apache.xmlbeans.XmlDate target = null;
4280                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTDATE$0, 0);
4281                           return target;
4282                         }
4283                       }
4284                       
4285                       /**
4286                        * True if has "StartDate" element
4287                        */
4288                       public boolean isSetStartDate()
4289                       {
4290                         synchronized (monitor())
4291                         {
4292                           check_orphaned();
4293                           return get_store().count_elements(STARTDATE$0) != 0;
4294                         }
4295                       }
4296                       
4297                       /**
4298                        * Sets the "StartDate" element
4299                        */
4300                       public void setStartDate(java.util.Calendar startDate)
4301                       {
4302                         synchronized (monitor())
4303                         {
4304                           check_orphaned();
4305                           org.apache.xmlbeans.SimpleValue target = null;
4306                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STARTDATE$0, 0);
4307                           if (target == null)
4308                           {
4309                             target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STARTDATE$0);
4310                           }
4311                           target.setCalendarValue(startDate);
4312                         }
4313                       }
4314                       
4315                       /**
4316                        * Sets (as xml) the "StartDate" element
4317                        */
4318                       public void xsetStartDate(org.apache.xmlbeans.XmlDate startDate)
4319                       {
4320                         synchronized (monitor())
4321                         {
4322                           check_orphaned();
4323                           org.apache.xmlbeans.XmlDate target = null;
4324                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTDATE$0, 0);
4325                           if (target == null)
4326                           {
4327                             target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(STARTDATE$0);
4328                           }
4329                           target.set(startDate);
4330                         }
4331                       }
4332                       
4333                       /**
4334                        * Unsets the "StartDate" element
4335                        */
4336                       public void unsetStartDate()
4337                       {
4338                         synchronized (monitor())
4339                         {
4340                           check_orphaned();
4341                           get_store().remove_element(STARTDATE$0, 0);
4342                         }
4343                       }
4344                       
4345                       /**
4346                        * Gets the "EndDate" element
4347                        */
4348                       public java.util.Calendar getEndDate()
4349                       {
4350                         synchronized (monitor())
4351                         {
4352                           check_orphaned();
4353                           org.apache.xmlbeans.SimpleValue target = null;
4354                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ENDDATE$2, 0);
4355                           if (target == null)
4356                           {
4357                             return null;
4358                           }
4359                           return target.getCalendarValue();
4360                         }
4361                       }
4362                       
4363                       /**
4364                        * Gets (as xml) the "EndDate" element
4365                        */
4366                       public org.apache.xmlbeans.XmlDate xgetEndDate()
4367                       {
4368                         synchronized (monitor())
4369                         {
4370                           check_orphaned();
4371                           org.apache.xmlbeans.XmlDate target = null;
4372                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(ENDDATE$2, 0);
4373                           return target;
4374                         }
4375                       }
4376                       
4377                       /**
4378                        * True if has "EndDate" element
4379                        */
4380                       public boolean isSetEndDate()
4381                       {
4382                         synchronized (monitor())
4383                         {
4384                           check_orphaned();
4385                           return get_store().count_elements(ENDDATE$2) != 0;
4386                         }
4387                       }
4388                       
4389                       /**
4390                        * Sets the "EndDate" element
4391                        */
4392                       public void setEndDate(java.util.Calendar endDate)
4393                       {
4394                         synchronized (monitor())
4395                         {
4396                           check_orphaned();
4397                           org.apache.xmlbeans.SimpleValue target = null;
4398                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ENDDATE$2, 0);
4399                           if (target == null)
4400                           {
4401                             target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENDDATE$2);
4402                           }
4403                           target.setCalendarValue(endDate);
4404                         }
4405                       }
4406                       
4407                       /**
4408                        * Sets (as xml) the "EndDate" element
4409                        */
4410                       public void xsetEndDate(org.apache.xmlbeans.XmlDate endDate)
4411                       {
4412                         synchronized (monitor())
4413                         {
4414                           check_orphaned();
4415                           org.apache.xmlbeans.XmlDate target = null;
4416                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(ENDDATE$2, 0);
4417                           if (target == null)
4418                           {
4419                             target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(ENDDATE$2);
4420                           }
4421                           target.set(endDate);
4422                         }
4423                       }
4424                       
4425                       /**
4426                        * Unsets the "EndDate" element
4427                        */
4428                       public void unsetEndDate()
4429                       {
4430                         synchronized (monitor())
4431                         {
4432                           check_orphaned();
4433                           get_store().remove_element(ENDDATE$2, 0);
4434                         }
4435                       }
4436                     }
4437                     /**
4438                      * An XML Year2(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
4439                      *
4440                      * This is a complex type.
4441                      */
4442                     public static class Year2Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year2
4443                     {
4444                       private static final long serialVersionUID = 1L;
4445                       
4446                       public Year2Impl(org.apache.xmlbeans.SchemaType sType)
4447                       {
4448                         super(sType);
4449                       }
4450                       
4451                       private static final javax.xml.namespace.QName STARTDATE$0 = 
4452                         new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "StartDate");
4453                       private static final javax.xml.namespace.QName ENDDATE$2 = 
4454                         new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "EndDate");
4455                       
4456                       
4457                       /**
4458                        * Gets the "StartDate" element
4459                        */
4460                       public java.util.Calendar getStartDate()
4461                       {
4462                         synchronized (monitor())
4463                         {
4464                           check_orphaned();
4465                           org.apache.xmlbeans.SimpleValue target = null;
4466                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STARTDATE$0, 0);
4467                           if (target == null)
4468                           {
4469                             return null;
4470                           }
4471                           return target.getCalendarValue();
4472                         }
4473                       }
4474                       
4475                       /**
4476                        * Gets (as xml) the "StartDate" element
4477                        */
4478                       public org.apache.xmlbeans.XmlDate xgetStartDate()
4479                       {
4480                         synchronized (monitor())
4481                         {
4482                           check_orphaned();
4483                           org.apache.xmlbeans.XmlDate target = null;
4484                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTDATE$0, 0);
4485                           return target;
4486                         }
4487                       }
4488                       
4489                       /**
4490                        * True if has "StartDate" element
4491                        */
4492                       public boolean isSetStartDate()
4493                       {
4494                         synchronized (monitor())
4495                         {
4496                           check_orphaned();
4497                           return get_store().count_elements(STARTDATE$0) != 0;
4498                         }
4499                       }
4500                       
4501                       /**
4502                        * Sets the "StartDate" element
4503                        */
4504                       public void setStartDate(java.util.Calendar startDate)
4505                       {
4506                         synchronized (monitor())
4507                         {
4508                           check_orphaned();
4509                           org.apache.xmlbeans.SimpleValue target = null;
4510                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STARTDATE$0, 0);
4511                           if (target == null)
4512                           {
4513                             target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STARTDATE$0);
4514                           }
4515                           target.setCalendarValue(startDate);
4516                         }
4517                       }
4518                       
4519                       /**
4520                        * Sets (as xml) the "StartDate" element
4521                        */
4522                       public void xsetStartDate(org.apache.xmlbeans.XmlDate startDate)
4523                       {
4524                         synchronized (monitor())
4525                         {
4526                           check_orphaned();
4527                           org.apache.xmlbeans.XmlDate target = null;
4528                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTDATE$0, 0);
4529                           if (target == null)
4530                           {
4531                             target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(STARTDATE$0);
4532                           }
4533                           target.set(startDate);
4534                         }
4535                       }
4536                       
4537                       /**
4538                        * Unsets the "StartDate" element
4539                        */
4540                       public void unsetStartDate()
4541                       {
4542                         synchronized (monitor())
4543                         {
4544                           check_orphaned();
4545                           get_store().remove_element(STARTDATE$0, 0);
4546                         }
4547                       }
4548                       
4549                       /**
4550                        * Gets the "EndDate" element
4551                        */
4552                       public java.util.Calendar getEndDate()
4553                       {
4554                         synchronized (monitor())
4555                         {
4556                           check_orphaned();
4557                           org.apache.xmlbeans.SimpleValue target = null;
4558                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ENDDATE$2, 0);
4559                           if (target == null)
4560                           {
4561                             return null;
4562                           }
4563                           return target.getCalendarValue();
4564                         }
4565                       }
4566                       
4567                       /**
4568                        * Gets (as xml) the "EndDate" element
4569                        */
4570                       public org.apache.xmlbeans.XmlDate xgetEndDate()
4571                       {
4572                         synchronized (monitor())
4573                         {
4574                           check_orphaned();
4575                           org.apache.xmlbeans.XmlDate target = null;
4576                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(ENDDATE$2, 0);
4577                           return target;
4578                         }
4579                       }
4580                       
4581                       /**
4582                        * True if has "EndDate" element
4583                        */
4584                       public boolean isSetEndDate()
4585                       {
4586                         synchronized (monitor())
4587                         {
4588                           check_orphaned();
4589                           return get_store().count_elements(ENDDATE$2) != 0;
4590                         }
4591                       }
4592                       
4593                       /**
4594                        * Sets the "EndDate" element
4595                        */
4596                       public void setEndDate(java.util.Calendar endDate)
4597                       {
4598                         synchronized (monitor())
4599                         {
4600                           check_orphaned();
4601                           org.apache.xmlbeans.SimpleValue target = null;
4602                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ENDDATE$2, 0);
4603                           if (target == null)
4604                           {
4605                             target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENDDATE$2);
4606                           }
4607                           target.setCalendarValue(endDate);
4608                         }
4609                       }
4610                       
4611                       /**
4612                        * Sets (as xml) the "EndDate" element
4613                        */
4614                       public void xsetEndDate(org.apache.xmlbeans.XmlDate endDate)
4615                       {
4616                         synchronized (monitor())
4617                         {
4618                           check_orphaned();
4619                           org.apache.xmlbeans.XmlDate target = null;
4620                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(ENDDATE$2, 0);
4621                           if (target == null)
4622                           {
4623                             target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(ENDDATE$2);
4624                           }
4625                           target.set(endDate);
4626                         }
4627                       }
4628                       
4629                       /**
4630                        * Unsets the "EndDate" element
4631                        */
4632                       public void unsetEndDate()
4633                       {
4634                         synchronized (monitor())
4635                         {
4636                           check_orphaned();
4637                           get_store().remove_element(ENDDATE$2, 0);
4638                         }
4639                       }
4640                     }
4641                     /**
4642                      * An XML Year3(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
4643                      *
4644                      * This is a complex type.
4645                      */
4646                     public static class Year3Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.BudgetCategories.BudgetYears.Year3
4647                     {
4648                       private static final long serialVersionUID = 1L;
4649                       
4650                       public Year3Impl(org.apache.xmlbeans.SchemaType sType)
4651                       {
4652                         super(sType);
4653                       }
4654                       
4655                       private static final javax.xml.namespace.QName STARTDATE$0 = 
4656                         new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "StartDate");
4657                       private static final javax.xml.namespace.QName ENDDATE$2 = 
4658                         new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "EndDate");
4659                       
4660                       
4661                       /**
4662                        * Gets the "StartDate" element
4663                        */
4664                       public java.util.Calendar getStartDate()
4665                       {
4666                         synchronized (monitor())
4667                         {
4668                           check_orphaned();
4669                           org.apache.xmlbeans.SimpleValue target = null;
4670                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STARTDATE$0, 0);
4671                           if (target == null)
4672                           {
4673                             return null;
4674                           }
4675                           return target.getCalendarValue();
4676                         }
4677                       }
4678                       
4679                       /**
4680                        * Gets (as xml) the "StartDate" element
4681                        */
4682                       public org.apache.xmlbeans.XmlDate xgetStartDate()
4683                       {
4684                         synchronized (monitor())
4685                         {
4686                           check_orphaned();
4687                           org.apache.xmlbeans.XmlDate target = null;
4688                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTDATE$0, 0);
4689                           return target;
4690                         }
4691                       }
4692                       
4693                       /**
4694                        * True if has "StartDate" element
4695                        */
4696                       public boolean isSetStartDate()
4697                       {
4698                         synchronized (monitor())
4699                         {
4700                           check_orphaned();
4701                           return get_store().count_elements(STARTDATE$0) != 0;
4702                         }
4703                       }
4704                       
4705                       /**
4706                        * Sets the "StartDate" element
4707                        */
4708                       public void setStartDate(java.util.Calendar startDate)
4709                       {
4710                         synchronized (monitor())
4711                         {
4712                           check_orphaned();
4713                           org.apache.xmlbeans.SimpleValue target = null;
4714                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STARTDATE$0, 0);
4715                           if (target == null)
4716                           {
4717                             target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STARTDATE$0);
4718                           }
4719                           target.setCalendarValue(startDate);
4720                         }
4721                       }
4722                       
4723                       /**
4724                        * Sets (as xml) the "StartDate" element
4725                        */
4726                       public void xsetStartDate(org.apache.xmlbeans.XmlDate startDate)
4727                       {
4728                         synchronized (monitor())
4729                         {
4730                           check_orphaned();
4731                           org.apache.xmlbeans.XmlDate target = null;
4732                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTDATE$0, 0);
4733                           if (target == null)
4734                           {
4735                             target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(STARTDATE$0);
4736                           }
4737                           target.set(startDate);
4738                         }
4739                       }
4740                       
4741                       /**
4742                        * Unsets the "StartDate" element
4743                        */
4744                       public void unsetStartDate()
4745                       {
4746                         synchronized (monitor())
4747                         {
4748                           check_orphaned();
4749                           get_store().remove_element(STARTDATE$0, 0);
4750                         }
4751                       }
4752                       
4753                       /**
4754                        * Gets the "EndDate" element
4755                        */
4756                       public java.util.Calendar getEndDate()
4757                       {
4758                         synchronized (monitor())
4759                         {
4760                           check_orphaned();
4761                           org.apache.xmlbeans.SimpleValue target = null;
4762                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ENDDATE$2, 0);
4763                           if (target == null)
4764                           {
4765                             return null;
4766                           }
4767                           return target.getCalendarValue();
4768                         }
4769                       }
4770                       
4771                       /**
4772                        * Gets (as xml) the "EndDate" element
4773                        */
4774                       public org.apache.xmlbeans.XmlDate xgetEndDate()
4775                       {
4776                         synchronized (monitor())
4777                         {
4778                           check_orphaned();
4779                           org.apache.xmlbeans.XmlDate target = null;
4780                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(ENDDATE$2, 0);
4781                           return target;
4782                         }
4783                       }
4784                       
4785                       /**
4786                        * True if has "EndDate" element
4787                        */
4788                       public boolean isSetEndDate()
4789                       {
4790                         synchronized (monitor())
4791                         {
4792                           check_orphaned();
4793                           return get_store().count_elements(ENDDATE$2) != 0;
4794                         }
4795                       }
4796                       
4797                       /**
4798                        * Sets the "EndDate" element
4799                        */
4800                       public void setEndDate(java.util.Calendar endDate)
4801                       {
4802                         synchronized (monitor())
4803                         {
4804                           check_orphaned();
4805                           org.apache.xmlbeans.SimpleValue target = null;
4806                           target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ENDDATE$2, 0);
4807                           if (target == null)
4808                           {
4809                             target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENDDATE$2);
4810                           }
4811                           target.setCalendarValue(endDate);
4812                         }
4813                       }
4814                       
4815                       /**
4816                        * Sets (as xml) the "EndDate" element
4817                        */
4818                       public void xsetEndDate(org.apache.xmlbeans.XmlDate endDate)
4819                       {
4820                         synchronized (monitor())
4821                         {
4822                           check_orphaned();
4823                           org.apache.xmlbeans.XmlDate target = null;
4824                           target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(ENDDATE$2, 0);
4825                           if (target == null)
4826                           {
4827                             target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(ENDDATE$2);
4828                           }
4829                           target.set(endDate);
4830                         }
4831                       }
4832                       
4833                       /**
4834                        * Unsets the "EndDate" element
4835                        */
4836                       public void unsetEndDate()
4837                       {
4838                         synchronized (monitor())
4839                         {
4840                           check_orphaned();
4841                           get_store().remove_element(ENDDATE$2, 0);
4842                         }
4843                       }
4844                     }
4845                 }
4846             }
4847             /**
4848              * An XML ProjectFunding(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
4849              *
4850              * This is a complex type.
4851              */
4852             public static class ProjectFundingImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding
4853             {
4854                 private static final long serialVersionUID = 1L;
4855                 
4856                 public ProjectFundingImpl(org.apache.xmlbeans.SchemaType sType)
4857                 {
4858                     super(sType);
4859                 }
4860                 
4861                 private static final javax.xml.namespace.QName REQUESTEDFROMNEH$0 = 
4862                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "RequestedFromNEH");
4863                 private static final javax.xml.namespace.QName COSTSHARING$2 = 
4864                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "CostSharing");
4865                 private static final javax.xml.namespace.QName TOTALPROJECTFUND$4 = 
4866                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "TotalProjectFund");
4867                 
4868                 
4869                 /**
4870                  * Gets the "RequestedFromNEH" element
4871                  */
4872                 public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.RequestedFromNEH getRequestedFromNEH()
4873                 {
4874                     synchronized (monitor())
4875                     {
4876                       check_orphaned();
4877                       gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.RequestedFromNEH target = null;
4878                       target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.RequestedFromNEH)get_store().find_element_user(REQUESTEDFROMNEH$0, 0);
4879                       if (target == null)
4880                       {
4881                         return null;
4882                       }
4883                       return target;
4884                     }
4885                 }
4886                 
4887                 /**
4888                  * True if has "RequestedFromNEH" element
4889                  */
4890                 public boolean isSetRequestedFromNEH()
4891                 {
4892                     synchronized (monitor())
4893                     {
4894                       check_orphaned();
4895                       return get_store().count_elements(REQUESTEDFROMNEH$0) != 0;
4896                     }
4897                 }
4898                 
4899                 /**
4900                  * Sets the "RequestedFromNEH" element
4901                  */
4902                 public void setRequestedFromNEH(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.RequestedFromNEH requestedFromNEH)
4903                 {
4904                     generatedSetterHelperImpl(requestedFromNEH, REQUESTEDFROMNEH$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
4905                 }
4906                 
4907                 /**
4908                  * Appends and returns a new empty "RequestedFromNEH" element
4909                  */
4910                 public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.RequestedFromNEH addNewRequestedFromNEH()
4911                 {
4912                     synchronized (monitor())
4913                     {
4914                       check_orphaned();
4915                       gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.RequestedFromNEH target = null;
4916                       target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.RequestedFromNEH)get_store().add_element_user(REQUESTEDFROMNEH$0);
4917                       return target;
4918                     }
4919                 }
4920                 
4921                 /**
4922                  * Unsets the "RequestedFromNEH" element
4923                  */
4924                 public void unsetRequestedFromNEH()
4925                 {
4926                     synchronized (monitor())
4927                     {
4928                       check_orphaned();
4929                       get_store().remove_element(REQUESTEDFROMNEH$0, 0);
4930                     }
4931                 }
4932                 
4933                 /**
4934                  * Gets the "CostSharing" element
4935                  */
4936                 public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.CostSharing getCostSharing()
4937                 {
4938                     synchronized (monitor())
4939                     {
4940                       check_orphaned();
4941                       gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.CostSharing target = null;
4942                       target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.CostSharing)get_store().find_element_user(COSTSHARING$2, 0);
4943                       if (target == null)
4944                       {
4945                         return null;
4946                       }
4947                       return target;
4948                     }
4949                 }
4950                 
4951                 /**
4952                  * True if has "CostSharing" element
4953                  */
4954                 public boolean isSetCostSharing()
4955                 {
4956                     synchronized (monitor())
4957                     {
4958                       check_orphaned();
4959                       return get_store().count_elements(COSTSHARING$2) != 0;
4960                     }
4961                 }
4962                 
4963                 /**
4964                  * Sets the "CostSharing" element
4965                  */
4966                 public void setCostSharing(gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.CostSharing costSharing)
4967                 {
4968                     generatedSetterHelperImpl(costSharing, COSTSHARING$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
4969                 }
4970                 
4971                 /**
4972                  * Appends and returns a new empty "CostSharing" element
4973                  */
4974                 public gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.CostSharing addNewCostSharing()
4975                 {
4976                     synchronized (monitor())
4977                     {
4978                       check_orphaned();
4979                       gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.CostSharing target = null;
4980                       target = (gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.CostSharing)get_store().add_element_user(COSTSHARING$2);
4981                       return target;
4982                     }
4983                 }
4984                 
4985                 /**
4986                  * Unsets the "CostSharing" element
4987                  */
4988                 public void unsetCostSharing()
4989                 {
4990                     synchronized (monitor())
4991                     {
4992                       check_orphaned();
4993                       get_store().remove_element(COSTSHARING$2, 0);
4994                     }
4995                 }
4996                 
4997                 /**
4998                  * Gets the "TotalProjectFund" element
4999                  */
5000                 public java.math.BigDecimal getTotalProjectFund()
5001                 {
5002                     synchronized (monitor())
5003                     {
5004                       check_orphaned();
5005                       org.apache.xmlbeans.SimpleValue target = null;
5006                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALPROJECTFUND$4, 0);
5007                       if (target == null)
5008                       {
5009                         return null;
5010                       }
5011                       return target.getBigDecimalValue();
5012                     }
5013                 }
5014                 
5015                 /**
5016                  * Gets (as xml) the "TotalProjectFund" element
5017                  */
5018                 public gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type xgetTotalProjectFund()
5019                 {
5020                     synchronized (monitor())
5021                     {
5022                       check_orphaned();
5023                       gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type target = null;
5024                       target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().find_element_user(TOTALPROJECTFUND$4, 0);
5025                       return target;
5026                     }
5027                 }
5028                 
5029                 /**
5030                  * True if has "TotalProjectFund" element
5031                  */
5032                 public boolean isSetTotalProjectFund()
5033                 {
5034                     synchronized (monitor())
5035                     {
5036                       check_orphaned();
5037                       return get_store().count_elements(TOTALPROJECTFUND$4) != 0;
5038                     }
5039                 }
5040                 
5041                 /**
5042                  * Sets the "TotalProjectFund" element
5043                  */
5044                 public void setTotalProjectFund(java.math.BigDecimal totalProjectFund)
5045                 {
5046                     synchronized (monitor())
5047                     {
5048                       check_orphaned();
5049                       org.apache.xmlbeans.SimpleValue target = null;
5050                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALPROJECTFUND$4, 0);
5051                       if (target == null)
5052                       {
5053                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALPROJECTFUND$4);
5054                       }
5055                       target.setBigDecimalValue(totalProjectFund);
5056                     }
5057                 }
5058                 
5059                 /**
5060                  * Sets (as xml) the "TotalProjectFund" element
5061                  */
5062                 public void xsetTotalProjectFund(gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type totalProjectFund)
5063                 {
5064                     synchronized (monitor())
5065                     {
5066                       check_orphaned();
5067                       gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type target = null;
5068                       target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().find_element_user(TOTALPROJECTFUND$4, 0);
5069                       if (target == null)
5070                       {
5071                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().add_element_user(TOTALPROJECTFUND$4);
5072                       }
5073                       target.set(totalProjectFund);
5074                     }
5075                 }
5076                 
5077                 /**
5078                  * Unsets the "TotalProjectFund" element
5079                  */
5080                 public void unsetTotalProjectFund()
5081                 {
5082                     synchronized (monitor())
5083                     {
5084                       check_orphaned();
5085                       get_store().remove_element(TOTALPROJECTFUND$4, 0);
5086                     }
5087                 }
5088                 /**
5089                  * An XML RequestedFromNEH(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
5090                  *
5091                  * This is a complex type.
5092                  */
5093                 public static class RequestedFromNEHImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.RequestedFromNEH
5094                 {
5095                     private static final long serialVersionUID = 1L;
5096                     
5097                     public RequestedFromNEHImpl(org.apache.xmlbeans.SchemaType sType)
5098                     {
5099                       super(sType);
5100                     }
5101                     
5102                     private static final javax.xml.namespace.QName OUTRIGHT$0 = 
5103                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "Outright");
5104                     private static final javax.xml.namespace.QName FEDERALMATCH$2 = 
5105                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "FederalMatch");
5106                     private static final javax.xml.namespace.QName TOTALNEHFUND$4 = 
5107                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "TotalNEHFund");
5108                     
5109                     
5110                     /**
5111                      * Gets the "Outright" element
5112                      */
5113                     public java.math.BigDecimal getOutright()
5114                     {
5115                       synchronized (monitor())
5116                       {
5117                         check_orphaned();
5118                         org.apache.xmlbeans.SimpleValue target = null;
5119                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OUTRIGHT$0, 0);
5120                         if (target == null)
5121                         {
5122                           return null;
5123                         }
5124                         return target.getBigDecimalValue();
5125                       }
5126                     }
5127                     
5128                     /**
5129                      * Gets (as xml) the "Outright" element
5130                      */
5131                     public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetOutright()
5132                     {
5133                       synchronized (monitor())
5134                       {
5135                         check_orphaned();
5136                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5137                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(OUTRIGHT$0, 0);
5138                         return target;
5139                       }
5140                     }
5141                     
5142                     /**
5143                      * True if has "Outright" element
5144                      */
5145                     public boolean isSetOutright()
5146                     {
5147                       synchronized (monitor())
5148                       {
5149                         check_orphaned();
5150                         return get_store().count_elements(OUTRIGHT$0) != 0;
5151                       }
5152                     }
5153                     
5154                     /**
5155                      * Sets the "Outright" element
5156                      */
5157                     public void setOutright(java.math.BigDecimal outright)
5158                     {
5159                       synchronized (monitor())
5160                       {
5161                         check_orphaned();
5162                         org.apache.xmlbeans.SimpleValue target = null;
5163                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OUTRIGHT$0, 0);
5164                         if (target == null)
5165                         {
5166                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OUTRIGHT$0);
5167                         }
5168                         target.setBigDecimalValue(outright);
5169                       }
5170                     }
5171                     
5172                     /**
5173                      * Sets (as xml) the "Outright" element
5174                      */
5175                     public void xsetOutright(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type outright)
5176                     {
5177                       synchronized (monitor())
5178                       {
5179                         check_orphaned();
5180                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5181                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(OUTRIGHT$0, 0);
5182                         if (target == null)
5183                         {
5184                           target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(OUTRIGHT$0);
5185                         }
5186                         target.set(outright);
5187                       }
5188                     }
5189                     
5190                     /**
5191                      * Unsets the "Outright" element
5192                      */
5193                     public void unsetOutright()
5194                     {
5195                       synchronized (monitor())
5196                       {
5197                         check_orphaned();
5198                         get_store().remove_element(OUTRIGHT$0, 0);
5199                       }
5200                     }
5201                     
5202                     /**
5203                      * Gets the "FederalMatch" element
5204                      */
5205                     public java.math.BigDecimal getFederalMatch()
5206                     {
5207                       synchronized (monitor())
5208                       {
5209                         check_orphaned();
5210                         org.apache.xmlbeans.SimpleValue target = null;
5211                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALMATCH$2, 0);
5212                         if (target == null)
5213                         {
5214                           return null;
5215                         }
5216                         return target.getBigDecimalValue();
5217                       }
5218                     }
5219                     
5220                     /**
5221                      * Gets (as xml) the "FederalMatch" element
5222                      */
5223                     public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetFederalMatch()
5224                     {
5225                       synchronized (monitor())
5226                       {
5227                         check_orphaned();
5228                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5229                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(FEDERALMATCH$2, 0);
5230                         return target;
5231                       }
5232                     }
5233                     
5234                     /**
5235                      * True if has "FederalMatch" element
5236                      */
5237                     public boolean isSetFederalMatch()
5238                     {
5239                       synchronized (monitor())
5240                       {
5241                         check_orphaned();
5242                         return get_store().count_elements(FEDERALMATCH$2) != 0;
5243                       }
5244                     }
5245                     
5246                     /**
5247                      * Sets the "FederalMatch" element
5248                      */
5249                     public void setFederalMatch(java.math.BigDecimal federalMatch)
5250                     {
5251                       synchronized (monitor())
5252                       {
5253                         check_orphaned();
5254                         org.apache.xmlbeans.SimpleValue target = null;
5255                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALMATCH$2, 0);
5256                         if (target == null)
5257                         {
5258                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FEDERALMATCH$2);
5259                         }
5260                         target.setBigDecimalValue(federalMatch);
5261                       }
5262                     }
5263                     
5264                     /**
5265                      * Sets (as xml) the "FederalMatch" element
5266                      */
5267                     public void xsetFederalMatch(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type federalMatch)
5268                     {
5269                       synchronized (monitor())
5270                       {
5271                         check_orphaned();
5272                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5273                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(FEDERALMATCH$2, 0);
5274                         if (target == null)
5275                         {
5276                           target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(FEDERALMATCH$2);
5277                         }
5278                         target.set(federalMatch);
5279                       }
5280                     }
5281                     
5282                     /**
5283                      * Unsets the "FederalMatch" element
5284                      */
5285                     public void unsetFederalMatch()
5286                     {
5287                       synchronized (monitor())
5288                       {
5289                         check_orphaned();
5290                         get_store().remove_element(FEDERALMATCH$2, 0);
5291                       }
5292                     }
5293                     
5294                     /**
5295                      * Gets the "TotalNEHFund" element
5296                      */
5297                     public java.math.BigDecimal getTotalNEHFund()
5298                     {
5299                       synchronized (monitor())
5300                       {
5301                         check_orphaned();
5302                         org.apache.xmlbeans.SimpleValue target = null;
5303                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALNEHFUND$4, 0);
5304                         if (target == null)
5305                         {
5306                           return null;
5307                         }
5308                         return target.getBigDecimalValue();
5309                       }
5310                     }
5311                     
5312                     /**
5313                      * Gets (as xml) the "TotalNEHFund" element
5314                      */
5315                     public gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type xgetTotalNEHFund()
5316                     {
5317                       synchronized (monitor())
5318                       {
5319                         check_orphaned();
5320                         gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type target = null;
5321                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().find_element_user(TOTALNEHFUND$4, 0);
5322                         return target;
5323                       }
5324                     }
5325                     
5326                     /**
5327                      * True if has "TotalNEHFund" element
5328                      */
5329                     public boolean isSetTotalNEHFund()
5330                     {
5331                       synchronized (monitor())
5332                       {
5333                         check_orphaned();
5334                         return get_store().count_elements(TOTALNEHFUND$4) != 0;
5335                       }
5336                     }
5337                     
5338                     /**
5339                      * Sets the "TotalNEHFund" element
5340                      */
5341                     public void setTotalNEHFund(java.math.BigDecimal totalNEHFund)
5342                     {
5343                       synchronized (monitor())
5344                       {
5345                         check_orphaned();
5346                         org.apache.xmlbeans.SimpleValue target = null;
5347                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALNEHFUND$4, 0);
5348                         if (target == null)
5349                         {
5350                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALNEHFUND$4);
5351                         }
5352                         target.setBigDecimalValue(totalNEHFund);
5353                       }
5354                     }
5355                     
5356                     /**
5357                      * Sets (as xml) the "TotalNEHFund" element
5358                      */
5359                     public void xsetTotalNEHFund(gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type totalNEHFund)
5360                     {
5361                       synchronized (monitor())
5362                       {
5363                         check_orphaned();
5364                         gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type target = null;
5365                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().find_element_user(TOTALNEHFUND$4, 0);
5366                         if (target == null)
5367                         {
5368                           target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().add_element_user(TOTALNEHFUND$4);
5369                         }
5370                         target.set(totalNEHFund);
5371                       }
5372                     }
5373                     
5374                     /**
5375                      * Unsets the "TotalNEHFund" element
5376                      */
5377                     public void unsetTotalNEHFund()
5378                     {
5379                       synchronized (monitor())
5380                       {
5381                         check_orphaned();
5382                         get_store().remove_element(TOTALNEHFUND$4, 0);
5383                       }
5384                     }
5385                 }
5386                 /**
5387                  * An XML CostSharing(@http://apply.grants.gov/forms/NEH_Budget-V1.1).
5388                  *
5389                  * This is a complex type.
5390                  */
5391                 public static class CostSharingImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehBudgetV11.NEHBudgetDocument.NEHBudget.BudgetSummary.ProjectFunding.CostSharing
5392                 {
5393                     private static final long serialVersionUID = 1L;
5394                     
5395                     public CostSharingImpl(org.apache.xmlbeans.SchemaType sType)
5396                     {
5397                       super(sType);
5398                     }
5399                     
5400                     private static final javax.xml.namespace.QName APPLICANTCONTRIBUTION$0 = 
5401                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "ApplicantContribution");
5402                     private static final javax.xml.namespace.QName THIRDPARTYCONTRIBUTION$2 = 
5403                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "ThirdPartyContribution");
5404                     private static final javax.xml.namespace.QName PROJECTINCOME$4 = 
5405                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "ProjectIncome");
5406                     private static final javax.xml.namespace.QName FEDERALAGENCIES$6 = 
5407                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "FederalAgencies");
5408                     private static final javax.xml.namespace.QName TOTALCOSTSHARING$8 = 
5409                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEH_Budget-V1.1", "TotalCostSharing");
5410                     
5411                     
5412                     /**
5413                      * Gets the "ApplicantContribution" element
5414                      */
5415                     public java.math.BigDecimal getApplicantContribution()
5416                     {
5417                       synchronized (monitor())
5418                       {
5419                         check_orphaned();
5420                         org.apache.xmlbeans.SimpleValue target = null;
5421                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPLICANTCONTRIBUTION$0, 0);
5422                         if (target == null)
5423                         {
5424                           return null;
5425                         }
5426                         return target.getBigDecimalValue();
5427                       }
5428                     }
5429                     
5430                     /**
5431                      * Gets (as xml) the "ApplicantContribution" element
5432                      */
5433                     public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetApplicantContribution()
5434                     {
5435                       synchronized (monitor())
5436                       {
5437                         check_orphaned();
5438                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5439                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(APPLICANTCONTRIBUTION$0, 0);
5440                         return target;
5441                       }
5442                     }
5443                     
5444                     /**
5445                      * True if has "ApplicantContribution" element
5446                      */
5447                     public boolean isSetApplicantContribution()
5448                     {
5449                       synchronized (monitor())
5450                       {
5451                         check_orphaned();
5452                         return get_store().count_elements(APPLICANTCONTRIBUTION$0) != 0;
5453                       }
5454                     }
5455                     
5456                     /**
5457                      * Sets the "ApplicantContribution" element
5458                      */
5459                     public void setApplicantContribution(java.math.BigDecimal applicantContribution)
5460                     {
5461                       synchronized (monitor())
5462                       {
5463                         check_orphaned();
5464                         org.apache.xmlbeans.SimpleValue target = null;
5465                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(APPLICANTCONTRIBUTION$0, 0);
5466                         if (target == null)
5467                         {
5468                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(APPLICANTCONTRIBUTION$0);
5469                         }
5470                         target.setBigDecimalValue(applicantContribution);
5471                       }
5472                     }
5473                     
5474                     /**
5475                      * Sets (as xml) the "ApplicantContribution" element
5476                      */
5477                     public void xsetApplicantContribution(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type applicantContribution)
5478                     {
5479                       synchronized (monitor())
5480                       {
5481                         check_orphaned();
5482                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5483                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(APPLICANTCONTRIBUTION$0, 0);
5484                         if (target == null)
5485                         {
5486                           target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(APPLICANTCONTRIBUTION$0);
5487                         }
5488                         target.set(applicantContribution);
5489                       }
5490                     }
5491                     
5492                     /**
5493                      * Unsets the "ApplicantContribution" element
5494                      */
5495                     public void unsetApplicantContribution()
5496                     {
5497                       synchronized (monitor())
5498                       {
5499                         check_orphaned();
5500                         get_store().remove_element(APPLICANTCONTRIBUTION$0, 0);
5501                       }
5502                     }
5503                     
5504                     /**
5505                      * Gets the "ThirdPartyContribution" element
5506                      */
5507                     public java.math.BigDecimal getThirdPartyContribution()
5508                     {
5509                       synchronized (monitor())
5510                       {
5511                         check_orphaned();
5512                         org.apache.xmlbeans.SimpleValue target = null;
5513                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(THIRDPARTYCONTRIBUTION$2, 0);
5514                         if (target == null)
5515                         {
5516                           return null;
5517                         }
5518                         return target.getBigDecimalValue();
5519                       }
5520                     }
5521                     
5522                     /**
5523                      * Gets (as xml) the "ThirdPartyContribution" element
5524                      */
5525                     public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetThirdPartyContribution()
5526                     {
5527                       synchronized (monitor())
5528                       {
5529                         check_orphaned();
5530                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5531                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(THIRDPARTYCONTRIBUTION$2, 0);
5532                         return target;
5533                       }
5534                     }
5535                     
5536                     /**
5537                      * True if has "ThirdPartyContribution" element
5538                      */
5539                     public boolean isSetThirdPartyContribution()
5540                     {
5541                       synchronized (monitor())
5542                       {
5543                         check_orphaned();
5544                         return get_store().count_elements(THIRDPARTYCONTRIBUTION$2) != 0;
5545                       }
5546                     }
5547                     
5548                     /**
5549                      * Sets the "ThirdPartyContribution" element
5550                      */
5551                     public void setThirdPartyContribution(java.math.BigDecimal thirdPartyContribution)
5552                     {
5553                       synchronized (monitor())
5554                       {
5555                         check_orphaned();
5556                         org.apache.xmlbeans.SimpleValue target = null;
5557                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(THIRDPARTYCONTRIBUTION$2, 0);
5558                         if (target == null)
5559                         {
5560                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(THIRDPARTYCONTRIBUTION$2);
5561                         }
5562                         target.setBigDecimalValue(thirdPartyContribution);
5563                       }
5564                     }
5565                     
5566                     /**
5567                      * Sets (as xml) the "ThirdPartyContribution" element
5568                      */
5569                     public void xsetThirdPartyContribution(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type thirdPartyContribution)
5570                     {
5571                       synchronized (monitor())
5572                       {
5573                         check_orphaned();
5574                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5575                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(THIRDPARTYCONTRIBUTION$2, 0);
5576                         if (target == null)
5577                         {
5578                           target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(THIRDPARTYCONTRIBUTION$2);
5579                         }
5580                         target.set(thirdPartyContribution);
5581                       }
5582                     }
5583                     
5584                     /**
5585                      * Unsets the "ThirdPartyContribution" element
5586                      */
5587                     public void unsetThirdPartyContribution()
5588                     {
5589                       synchronized (monitor())
5590                       {
5591                         check_orphaned();
5592                         get_store().remove_element(THIRDPARTYCONTRIBUTION$2, 0);
5593                       }
5594                     }
5595                     
5596                     /**
5597                      * Gets the "ProjectIncome" element
5598                      */
5599                     public java.math.BigDecimal getProjectIncome()
5600                     {
5601                       synchronized (monitor())
5602                       {
5603                         check_orphaned();
5604                         org.apache.xmlbeans.SimpleValue target = null;
5605                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROJECTINCOME$4, 0);
5606                         if (target == null)
5607                         {
5608                           return null;
5609                         }
5610                         return target.getBigDecimalValue();
5611                       }
5612                     }
5613                     
5614                     /**
5615                      * Gets (as xml) the "ProjectIncome" element
5616                      */
5617                     public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetProjectIncome()
5618                     {
5619                       synchronized (monitor())
5620                       {
5621                         check_orphaned();
5622                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5623                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(PROJECTINCOME$4, 0);
5624                         return target;
5625                       }
5626                     }
5627                     
5628                     /**
5629                      * True if has "ProjectIncome" element
5630                      */
5631                     public boolean isSetProjectIncome()
5632                     {
5633                       synchronized (monitor())
5634                       {
5635                         check_orphaned();
5636                         return get_store().count_elements(PROJECTINCOME$4) != 0;
5637                       }
5638                     }
5639                     
5640                     /**
5641                      * Sets the "ProjectIncome" element
5642                      */
5643                     public void setProjectIncome(java.math.BigDecimal projectIncome)
5644                     {
5645                       synchronized (monitor())
5646                       {
5647                         check_orphaned();
5648                         org.apache.xmlbeans.SimpleValue target = null;
5649                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROJECTINCOME$4, 0);
5650                         if (target == null)
5651                         {
5652                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROJECTINCOME$4);
5653                         }
5654                         target.setBigDecimalValue(projectIncome);
5655                       }
5656                     }
5657                     
5658                     /**
5659                      * Sets (as xml) the "ProjectIncome" element
5660                      */
5661                     public void xsetProjectIncome(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type projectIncome)
5662                     {
5663                       synchronized (monitor())
5664                       {
5665                         check_orphaned();
5666                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5667                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(PROJECTINCOME$4, 0);
5668                         if (target == null)
5669                         {
5670                           target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(PROJECTINCOME$4);
5671                         }
5672                         target.set(projectIncome);
5673                       }
5674                     }
5675                     
5676                     /**
5677                      * Unsets the "ProjectIncome" element
5678                      */
5679                     public void unsetProjectIncome()
5680                     {
5681                       synchronized (monitor())
5682                       {
5683                         check_orphaned();
5684                         get_store().remove_element(PROJECTINCOME$4, 0);
5685                       }
5686                     }
5687                     
5688                     /**
5689                      * Gets the "FederalAgencies" element
5690                      */
5691                     public java.math.BigDecimal getFederalAgencies()
5692                     {
5693                       synchronized (monitor())
5694                       {
5695                         check_orphaned();
5696                         org.apache.xmlbeans.SimpleValue target = null;
5697                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALAGENCIES$6, 0);
5698                         if (target == null)
5699                         {
5700                           return null;
5701                         }
5702                         return target.getBigDecimalValue();
5703                       }
5704                     }
5705                     
5706                     /**
5707                      * Gets (as xml) the "FederalAgencies" element
5708                      */
5709                     public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetFederalAgencies()
5710                     {
5711                       synchronized (monitor())
5712                       {
5713                         check_orphaned();
5714                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5715                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(FEDERALAGENCIES$6, 0);
5716                         return target;
5717                       }
5718                     }
5719                     
5720                     /**
5721                      * True if has "FederalAgencies" element
5722                      */
5723                     public boolean isSetFederalAgencies()
5724                     {
5725                       synchronized (monitor())
5726                       {
5727                         check_orphaned();
5728                         return get_store().count_elements(FEDERALAGENCIES$6) != 0;
5729                       }
5730                     }
5731                     
5732                     /**
5733                      * Sets the "FederalAgencies" element
5734                      */
5735                     public void setFederalAgencies(java.math.BigDecimal federalAgencies)
5736                     {
5737                       synchronized (monitor())
5738                       {
5739                         check_orphaned();
5740                         org.apache.xmlbeans.SimpleValue target = null;
5741                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALAGENCIES$6, 0);
5742                         if (target == null)
5743                         {
5744                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FEDERALAGENCIES$6);
5745                         }
5746                         target.setBigDecimalValue(federalAgencies);
5747                       }
5748                     }
5749                     
5750                     /**
5751                      * Sets (as xml) the "FederalAgencies" element
5752                      */
5753                     public void xsetFederalAgencies(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type federalAgencies)
5754                     {
5755                       synchronized (monitor())
5756                       {
5757                         check_orphaned();
5758                         gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
5759                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(FEDERALAGENCIES$6, 0);
5760                         if (target == null)
5761                         {
5762                           target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(FEDERALAGENCIES$6);
5763                         }
5764                         target.set(federalAgencies);
5765                       }
5766                     }
5767                     
5768                     /**
5769                      * Unsets the "FederalAgencies" element
5770                      */
5771                     public void unsetFederalAgencies()
5772                     {
5773                       synchronized (monitor())
5774                       {
5775                         check_orphaned();
5776                         get_store().remove_element(FEDERALAGENCIES$6, 0);
5777                       }
5778                     }
5779                     
5780                     /**
5781                      * Gets the "TotalCostSharing" element
5782                      */
5783                     public java.math.BigDecimal getTotalCostSharing()
5784                     {
5785                       synchronized (monitor())
5786                       {
5787                         check_orphaned();
5788                         org.apache.xmlbeans.SimpleValue target = null;
5789                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALCOSTSHARING$8, 0);
5790                         if (target == null)
5791                         {
5792                           return null;
5793                         }
5794                         return target.getBigDecimalValue();
5795                       }
5796                     }
5797                     
5798                     /**
5799                      * Gets (as xml) the "TotalCostSharing" element
5800                      */
5801                     public gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type xgetTotalCostSharing()
5802                     {
5803                       synchronized (monitor())
5804                       {
5805                         check_orphaned();
5806                         gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type target = null;
5807                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().find_element_user(TOTALCOSTSHARING$8, 0);
5808                         return target;
5809                       }
5810                     }
5811                     
5812                     /**
5813                      * True if has "TotalCostSharing" element
5814                      */
5815                     public boolean isSetTotalCostSharing()
5816                     {
5817                       synchronized (monitor())
5818                       {
5819                         check_orphaned();
5820                         return get_store().count_elements(TOTALCOSTSHARING$8) != 0;
5821                       }
5822                     }
5823                     
5824                     /**
5825                      * Sets the "TotalCostSharing" element
5826                      */
5827                     public void setTotalCostSharing(java.math.BigDecimal totalCostSharing)
5828                     {
5829                       synchronized (monitor())
5830                       {
5831                         check_orphaned();
5832                         org.apache.xmlbeans.SimpleValue target = null;
5833                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALCOSTSHARING$8, 0);
5834                         if (target == null)
5835                         {
5836                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALCOSTSHARING$8);
5837                         }
5838                         target.setBigDecimalValue(totalCostSharing);
5839                       }
5840                     }
5841                     
5842                     /**
5843                      * Sets (as xml) the "TotalCostSharing" element
5844                      */
5845                     public void xsetTotalCostSharing(gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type totalCostSharing)
5846                     {
5847                       synchronized (monitor())
5848                       {
5849                         check_orphaned();
5850                         gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type target = null;
5851                         target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().find_element_user(TOTALCOSTSHARING$8, 0);
5852                         if (target == null)
5853                         {
5854                           target = (gov.grants.apply.system.globalV10.DecimalMin1Max15Places2Type)get_store().add_element_user(TOTALCOSTSHARING$8);
5855                         }
5856                         target.set(totalCostSharing);
5857                       }
5858                     }
5859                     
5860                     /**
5861                      * Unsets the "TotalCostSharing" element
5862                      */
5863                     public void unsetTotalCostSharing()
5864                     {
5865                       synchronized (monitor())
5866                       {
5867                         check_orphaned();
5868                         get_store().remove_element(TOTALCOSTSHARING$8, 0);
5869                       }
5870                     }
5871                 }
5872             }
5873         }
5874     }
5875 }