1   
2   
3   
4   
5   
6   
7   
8   
9   package gov.grants.apply.forms.phs398ModularBudget12V12.impl;
10  
11  
12  
13  
14  
15  public class PHS398ModularBudget12DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public PHS398ModularBudget12DocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName PHS398MODULARBUDGET12$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "PHS398_ModularBudget_1_2");
26      
27      
28      
29  
30  
31      public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12 getPHS398ModularBudget12()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12 target = null;
37              target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12)get_store().find_element_user(PHS398MODULARBUDGET12$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      
47  
48  
49      public void setPHS398ModularBudget12(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12 phs398ModularBudget12)
50      {
51          generatedSetterHelperImpl(phs398ModularBudget12, PHS398MODULARBUDGET12$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      
55  
56  
57      public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12 addNewPHS398ModularBudget12()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12 target = null;
63              target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12)get_store().add_element_user(PHS398MODULARBUDGET12$0);
64              return target;
65          }
66      }
67      
68  
69  
70  
71  
72      public static class PHS398ModularBudget12Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public PHS398ModularBudget12Impl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName PERIODS$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "Periods");
83          private static final javax.xml.namespace.QName CUMMULATIVEBUDGETINFO$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CummulativeBudgetInfo");
85          private static final javax.xml.namespace.QName FORMVERSION$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "FormVersion");
87          
88          
89          
90  
91  
92          public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods[] getPeriodsArray()
93          {
94              synchronized (monitor())
95              {
96                  check_orphaned();
97                  java.util.List targetList = new java.util.ArrayList();
98                  get_store().find_all_element_users(PERIODS$0, targetList);
99                  gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods[] result = new gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods[targetList.size()];
100                 targetList.toArray(result);
101                 return result;
102             }
103         }
104         
105         
106 
107 
108         public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods getPeriodsArray(int i)
109         {
110             synchronized (monitor())
111             {
112                 check_orphaned();
113                 gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods target = null;
114                 target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods)get_store().find_element_user(PERIODS$0, i);
115                 if (target == null)
116                 {
117                     throw new IndexOutOfBoundsException();
118                 }
119                 return target;
120             }
121         }
122         
123         
124 
125 
126         public int sizeOfPeriodsArray()
127         {
128             synchronized (monitor())
129             {
130                 check_orphaned();
131                 return get_store().count_elements(PERIODS$0);
132             }
133         }
134         
135         
136 
137 
138         public void setPeriodsArray(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods[] periodsArray)
139         {
140             check_orphaned();
141             arraySetterHelper(periodsArray, PERIODS$0);
142         }
143         
144         
145 
146 
147         public void setPeriodsArray(int i, gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods periods)
148         {
149             generatedSetterHelperImpl(periods, PERIODS$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
150         }
151         
152         
153 
154 
155         public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods insertNewPeriods(int i)
156         {
157             synchronized (monitor())
158             {
159                 check_orphaned();
160                 gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods target = null;
161                 target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods)get_store().insert_element_user(PERIODS$0, i);
162                 return target;
163             }
164         }
165         
166         
167 
168 
169         public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods addNewPeriods()
170         {
171             synchronized (monitor())
172             {
173                 check_orphaned();
174                 gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods target = null;
175                 target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods)get_store().add_element_user(PERIODS$0);
176                 return target;
177             }
178         }
179         
180         
181 
182 
183         public void removePeriods(int i)
184         {
185             synchronized (monitor())
186             {
187                 check_orphaned();
188                 get_store().remove_element(PERIODS$0, i);
189             }
190         }
191         
192         
193 
194 
195         public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo getCummulativeBudgetInfo()
196         {
197             synchronized (monitor())
198             {
199                 check_orphaned();
200                 gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo target = null;
201                 target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo)get_store().find_element_user(CUMMULATIVEBUDGETINFO$2, 0);
202                 if (target == null)
203                 {
204                     return null;
205                 }
206                 return target;
207             }
208         }
209         
210         
211 
212 
213         public void setCummulativeBudgetInfo(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo cummulativeBudgetInfo)
214         {
215             generatedSetterHelperImpl(cummulativeBudgetInfo, CUMMULATIVEBUDGETINFO$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
216         }
217         
218         
219 
220 
221         public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo addNewCummulativeBudgetInfo()
222         {
223             synchronized (monitor())
224             {
225                 check_orphaned();
226                 gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo target = null;
227                 target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo)get_store().add_element_user(CUMMULATIVEBUDGETINFO$2);
228                 return target;
229             }
230         }
231         
232         
233 
234 
235         public java.lang.String getFormVersion()
236         {
237             synchronized (monitor())
238             {
239                 check_orphaned();
240                 org.apache.xmlbeans.SimpleValue target = null;
241                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$4);
242                 if (target == null)
243                 {
244                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$4);
245                 }
246                 if (target == null)
247                 {
248                     return null;
249                 }
250                 return target.getStringValue();
251             }
252         }
253         
254         
255 
256 
257         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
258         {
259             synchronized (monitor())
260             {
261                 check_orphaned();
262                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
263                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$4);
264                 if (target == null)
265                 {
266                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$4);
267                 }
268                 return target;
269             }
270         }
271         
272         
273 
274 
275         public void setFormVersion(java.lang.String formVersion)
276         {
277             synchronized (monitor())
278             {
279                 check_orphaned();
280                 org.apache.xmlbeans.SimpleValue target = null;
281                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$4);
282                 if (target == null)
283                 {
284                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$4);
285                 }
286                 target.setStringValue(formVersion);
287             }
288         }
289         
290         
291 
292 
293         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
294         {
295             synchronized (monitor())
296             {
297                 check_orphaned();
298                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
299                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$4);
300                 if (target == null)
301                 {
302                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$4);
303                 }
304                 target.set(formVersion);
305             }
306         }
307         
308 
309 
310 
311 
312         public static class PeriodsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods
313         {
314             private static final long serialVersionUID = 1L;
315             
316             public PeriodsImpl(org.apache.xmlbeans.SchemaType sType)
317             {
318                 super(sType);
319             }
320             
321             private static final javax.xml.namespace.QName BUDGETPERIODSTARTDATE$0 = 
322                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "BudgetPeriodStartDate");
323             private static final javax.xml.namespace.QName BUDGETPERIODENDDATE$2 = 
324                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "BudgetPeriodEndDate");
325             private static final javax.xml.namespace.QName DIRECTCOST$4 = 
326                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "DirectCost");
327             private static final javax.xml.namespace.QName INDIRECTCOST$6 = 
328                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCost");
329             private static final javax.xml.namespace.QName TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8 = 
330                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "TotalFundsRequestedDirectIndirectCosts");
331             
332             
333             
334 
335 
336             public java.util.Calendar getBudgetPeriodStartDate()
337             {
338                 synchronized (monitor())
339                 {
340                     check_orphaned();
341                     org.apache.xmlbeans.SimpleValue target = null;
342                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETPERIODSTARTDATE$0, 0);
343                     if (target == null)
344                     {
345                       return null;
346                     }
347                     return target.getCalendarValue();
348                 }
349             }
350             
351             
352 
353 
354             public org.apache.xmlbeans.XmlDate xgetBudgetPeriodStartDate()
355             {
356                 synchronized (monitor())
357                 {
358                     check_orphaned();
359                     org.apache.xmlbeans.XmlDate target = null;
360                     target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(BUDGETPERIODSTARTDATE$0, 0);
361                     return target;
362                 }
363             }
364             
365             
366 
367 
368             public boolean isSetBudgetPeriodStartDate()
369             {
370                 synchronized (monitor())
371                 {
372                     check_orphaned();
373                     return get_store().count_elements(BUDGETPERIODSTARTDATE$0) != 0;
374                 }
375             }
376             
377             
378 
379 
380             public void setBudgetPeriodStartDate(java.util.Calendar budgetPeriodStartDate)
381             {
382                 synchronized (monitor())
383                 {
384                     check_orphaned();
385                     org.apache.xmlbeans.SimpleValue target = null;
386                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETPERIODSTARTDATE$0, 0);
387                     if (target == null)
388                     {
389                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETPERIODSTARTDATE$0);
390                     }
391                     target.setCalendarValue(budgetPeriodStartDate);
392                 }
393             }
394             
395             
396 
397 
398             public void xsetBudgetPeriodStartDate(org.apache.xmlbeans.XmlDate budgetPeriodStartDate)
399             {
400                 synchronized (monitor())
401                 {
402                     check_orphaned();
403                     org.apache.xmlbeans.XmlDate target = null;
404                     target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(BUDGETPERIODSTARTDATE$0, 0);
405                     if (target == null)
406                     {
407                       target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(BUDGETPERIODSTARTDATE$0);
408                     }
409                     target.set(budgetPeriodStartDate);
410                 }
411             }
412             
413             
414 
415 
416             public void unsetBudgetPeriodStartDate()
417             {
418                 synchronized (monitor())
419                 {
420                     check_orphaned();
421                     get_store().remove_element(BUDGETPERIODSTARTDATE$0, 0);
422                 }
423             }
424             
425             
426 
427 
428             public java.util.Calendar getBudgetPeriodEndDate()
429             {
430                 synchronized (monitor())
431                 {
432                     check_orphaned();
433                     org.apache.xmlbeans.SimpleValue target = null;
434                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETPERIODENDDATE$2, 0);
435                     if (target == null)
436                     {
437                       return null;
438                     }
439                     return target.getCalendarValue();
440                 }
441             }
442             
443             
444 
445 
446             public org.apache.xmlbeans.XmlDate xgetBudgetPeriodEndDate()
447             {
448                 synchronized (monitor())
449                 {
450                     check_orphaned();
451                     org.apache.xmlbeans.XmlDate target = null;
452                     target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(BUDGETPERIODENDDATE$2, 0);
453                     return target;
454                 }
455             }
456             
457             
458 
459 
460             public boolean isSetBudgetPeriodEndDate()
461             {
462                 synchronized (monitor())
463                 {
464                     check_orphaned();
465                     return get_store().count_elements(BUDGETPERIODENDDATE$2) != 0;
466                 }
467             }
468             
469             
470 
471 
472             public void setBudgetPeriodEndDate(java.util.Calendar budgetPeriodEndDate)
473             {
474                 synchronized (monitor())
475                 {
476                     check_orphaned();
477                     org.apache.xmlbeans.SimpleValue target = null;
478                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETPERIODENDDATE$2, 0);
479                     if (target == null)
480                     {
481                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETPERIODENDDATE$2);
482                     }
483                     target.setCalendarValue(budgetPeriodEndDate);
484                 }
485             }
486             
487             
488 
489 
490             public void xsetBudgetPeriodEndDate(org.apache.xmlbeans.XmlDate budgetPeriodEndDate)
491             {
492                 synchronized (monitor())
493                 {
494                     check_orphaned();
495                     org.apache.xmlbeans.XmlDate target = null;
496                     target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(BUDGETPERIODENDDATE$2, 0);
497                     if (target == null)
498                     {
499                       target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(BUDGETPERIODENDDATE$2);
500                     }
501                     target.set(budgetPeriodEndDate);
502                 }
503             }
504             
505             
506 
507 
508             public void unsetBudgetPeriodEndDate()
509             {
510                 synchronized (monitor())
511                 {
512                     check_orphaned();
513                     get_store().remove_element(BUDGETPERIODENDDATE$2, 0);
514                 }
515             }
516             
517             
518 
519 
520             public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost getDirectCost()
521             {
522                 synchronized (monitor())
523                 {
524                     check_orphaned();
525                     gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost target = null;
526                     target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost)get_store().find_element_user(DIRECTCOST$4, 0);
527                     if (target == null)
528                     {
529                       return null;
530                     }
531                     return target;
532                 }
533             }
534             
535             
536 
537 
538             public void setDirectCost(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost directCost)
539             {
540                 generatedSetterHelperImpl(directCost, DIRECTCOST$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
541             }
542             
543             
544 
545 
546             public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost addNewDirectCost()
547             {
548                 synchronized (monitor())
549                 {
550                     check_orphaned();
551                     gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost target = null;
552                     target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost)get_store().add_element_user(DIRECTCOST$4);
553                     return target;
554                 }
555             }
556             
557             
558 
559 
560             public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost getIndirectCost()
561             {
562                 synchronized (monitor())
563                 {
564                     check_orphaned();
565                     gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost target = null;
566                     target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost)get_store().find_element_user(INDIRECTCOST$6, 0);
567                     if (target == null)
568                     {
569                       return null;
570                     }
571                     return target;
572                 }
573             }
574             
575             
576 
577 
578             public boolean isSetIndirectCost()
579             {
580                 synchronized (monitor())
581                 {
582                     check_orphaned();
583                     return get_store().count_elements(INDIRECTCOST$6) != 0;
584                 }
585             }
586             
587             
588 
589 
590             public void setIndirectCost(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost indirectCost)
591             {
592                 generatedSetterHelperImpl(indirectCost, INDIRECTCOST$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
593             }
594             
595             
596 
597 
598             public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost addNewIndirectCost()
599             {
600                 synchronized (monitor())
601                 {
602                     check_orphaned();
603                     gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost target = null;
604                     target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost)get_store().add_element_user(INDIRECTCOST$6);
605                     return target;
606                 }
607             }
608             
609             
610 
611 
612             public void unsetIndirectCost()
613             {
614                 synchronized (monitor())
615                 {
616                     check_orphaned();
617                     get_store().remove_element(INDIRECTCOST$6, 0);
618                 }
619             }
620             
621             
622 
623 
624             public java.math.BigDecimal getTotalFundsRequestedDirectIndirectCosts()
625             {
626                 synchronized (monitor())
627                 {
628                     check_orphaned();
629                     org.apache.xmlbeans.SimpleValue target = null;
630                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
631                     if (target == null)
632                     {
633                       return null;
634                     }
635                     return target.getBigDecimalValue();
636                 }
637             }
638             
639             
640 
641 
642             public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetTotalFundsRequestedDirectIndirectCosts()
643             {
644                 synchronized (monitor())
645                 {
646                     check_orphaned();
647                     gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
648                     target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
649                     return target;
650                 }
651             }
652             
653             
654 
655 
656             public void setTotalFundsRequestedDirectIndirectCosts(java.math.BigDecimal totalFundsRequestedDirectIndirectCosts)
657             {
658                 synchronized (monitor())
659                 {
660                     check_orphaned();
661                     org.apache.xmlbeans.SimpleValue target = null;
662                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
663                     if (target == null)
664                     {
665                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8);
666                     }
667                     target.setBigDecimalValue(totalFundsRequestedDirectIndirectCosts);
668                 }
669             }
670             
671             
672 
673 
674             public void xsetTotalFundsRequestedDirectIndirectCosts(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType totalFundsRequestedDirectIndirectCosts)
675             {
676                 synchronized (monitor())
677                 {
678                     check_orphaned();
679                     gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
680                     target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
681                     if (target == null)
682                     {
683                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(TOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8);
684                     }
685                     target.set(totalFundsRequestedDirectIndirectCosts);
686                 }
687             }
688             
689 
690 
691 
692 
693             public static class DirectCostImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.DirectCost
694             {
695                 private static final long serialVersionUID = 1L;
696                 
697                 public DirectCostImpl(org.apache.xmlbeans.SchemaType sType)
698                 {
699                     super(sType);
700                 }
701                 
702                 private static final javax.xml.namespace.QName DIRECTCOSTLESSCONSORTIUMFANDA$0 = 
703                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "DirectCostLessConsortiumFandA");
704                 private static final javax.xml.namespace.QName CONSORTIUMFANDA$2 = 
705                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "ConsortiumFandA");
706                 private static final javax.xml.namespace.QName TOTALFUNDSREQUESTEDDIRECTCOSTS$4 = 
707                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "TotalFundsRequestedDirectCosts");
708                 
709                 
710                 
711 
712 
713                 public java.math.BigDecimal getDirectCostLessConsortiumFandA()
714                 {
715                     synchronized (monitor())
716                     {
717                       check_orphaned();
718                       org.apache.xmlbeans.SimpleValue target = null;
719                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
720                       if (target == null)
721                       {
722                         return null;
723                       }
724                       return target.getBigDecimalValue();
725                     }
726                 }
727                 
728                 
729 
730 
731                 public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetDirectCostLessConsortiumFandA()
732                 {
733                     synchronized (monitor())
734                     {
735                       check_orphaned();
736                       gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
737                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
738                       return target;
739                     }
740                 }
741                 
742                 
743 
744 
745                 public void setDirectCostLessConsortiumFandA(java.math.BigDecimal directCostLessConsortiumFandA)
746                 {
747                     synchronized (monitor())
748                     {
749                       check_orphaned();
750                       org.apache.xmlbeans.SimpleValue target = null;
751                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
752                       if (target == null)
753                       {
754                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0);
755                       }
756                       target.setBigDecimalValue(directCostLessConsortiumFandA);
757                     }
758                 }
759                 
760                 
761 
762 
763                 public void xsetDirectCostLessConsortiumFandA(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType directCostLessConsortiumFandA)
764                 {
765                     synchronized (monitor())
766                     {
767                       check_orphaned();
768                       gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
769                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
770                       if (target == null)
771                       {
772                         target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(DIRECTCOSTLESSCONSORTIUMFANDA$0);
773                       }
774                       target.set(directCostLessConsortiumFandA);
775                     }
776                 }
777                 
778                 
779 
780 
781                 public java.math.BigDecimal getConsortiumFandA()
782                 {
783                     synchronized (monitor())
784                     {
785                       check_orphaned();
786                       org.apache.xmlbeans.SimpleValue target = null;
787                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONSORTIUMFANDA$2, 0);
788                       if (target == null)
789                       {
790                         return null;
791                       }
792                       return target.getBigDecimalValue();
793                     }
794                 }
795                 
796                 
797 
798 
799                 public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetConsortiumFandA()
800                 {
801                     synchronized (monitor())
802                     {
803                       check_orphaned();
804                       gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
805                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(CONSORTIUMFANDA$2, 0);
806                       return target;
807                     }
808                 }
809                 
810                 
811 
812 
813                 public boolean isSetConsortiumFandA()
814                 {
815                     synchronized (monitor())
816                     {
817                       check_orphaned();
818                       return get_store().count_elements(CONSORTIUMFANDA$2) != 0;
819                     }
820                 }
821                 
822                 
823 
824 
825                 public void setConsortiumFandA(java.math.BigDecimal consortiumFandA)
826                 {
827                     synchronized (monitor())
828                     {
829                       check_orphaned();
830                       org.apache.xmlbeans.SimpleValue target = null;
831                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONSORTIUMFANDA$2, 0);
832                       if (target == null)
833                       {
834                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONSORTIUMFANDA$2);
835                       }
836                       target.setBigDecimalValue(consortiumFandA);
837                     }
838                 }
839                 
840                 
841 
842 
843                 public void xsetConsortiumFandA(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType consortiumFandA)
844                 {
845                     synchronized (monitor())
846                     {
847                       check_orphaned();
848                       gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
849                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(CONSORTIUMFANDA$2, 0);
850                       if (target == null)
851                       {
852                         target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(CONSORTIUMFANDA$2);
853                       }
854                       target.set(consortiumFandA);
855                     }
856                 }
857                 
858                 
859 
860 
861                 public void unsetConsortiumFandA()
862                 {
863                     synchronized (monitor())
864                     {
865                       check_orphaned();
866                       get_store().remove_element(CONSORTIUMFANDA$2, 0);
867                     }
868                 }
869                 
870                 
871 
872 
873                 public java.math.BigDecimal getTotalFundsRequestedDirectCosts()
874                 {
875                     synchronized (monitor())
876                     {
877                       check_orphaned();
878                       org.apache.xmlbeans.SimpleValue target = null;
879                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
880                       if (target == null)
881                       {
882                         return null;
883                       }
884                       return target.getBigDecimalValue();
885                     }
886                 }
887                 
888                 
889 
890 
891                 public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetTotalFundsRequestedDirectCosts()
892                 {
893                     synchronized (monitor())
894                     {
895                       check_orphaned();
896                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
897                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
898                       return target;
899                     }
900                 }
901                 
902                 
903 
904 
905                 public void setTotalFundsRequestedDirectCosts(java.math.BigDecimal totalFundsRequestedDirectCosts)
906                 {
907                     synchronized (monitor())
908                     {
909                       check_orphaned();
910                       org.apache.xmlbeans.SimpleValue target = null;
911                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
912                       if (target == null)
913                       {
914                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4);
915                       }
916                       target.setBigDecimalValue(totalFundsRequestedDirectCosts);
917                     }
918                 }
919                 
920                 
921 
922 
923                 public void xsetTotalFundsRequestedDirectCosts(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType totalFundsRequestedDirectCosts)
924                 {
925                     synchronized (monitor())
926                     {
927                       check_orphaned();
928                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
929                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
930                       if (target == null)
931                       {
932                         target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(TOTALFUNDSREQUESTEDDIRECTCOSTS$4);
933                       }
934                       target.set(totalFundsRequestedDirectCosts);
935                     }
936                 }
937             }
938             
939 
940 
941 
942 
943             public static class IndirectCostImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost
944             {
945                 private static final long serialVersionUID = 1L;
946                 
947                 public IndirectCostImpl(org.apache.xmlbeans.SchemaType sType)
948                 {
949                     super(sType);
950                 }
951                 
952                 private static final javax.xml.namespace.QName INDIRECTCOSTITEMS$0 = 
953                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostItems");
954                 private static final javax.xml.namespace.QName COGNIZANTFEDERALAGENCY$2 = 
955                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CognizantFederalAgency");
956                 private static final javax.xml.namespace.QName INDIRECTCOSTAGREEMENTDATE$4 = 
957                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostAgreementDate");
958                 private static final javax.xml.namespace.QName TOTALFUNDSREQUESTEDINDIRECTCOST$6 = 
959                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "TotalFundsRequestedIndirectCost");
960                 
961                 
962                 
963 
964 
965                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems[] getIndirectCostItemsArray()
966                 {
967                     synchronized (monitor())
968                     {
969                       check_orphaned();
970                       java.util.List targetList = new java.util.ArrayList();
971                       get_store().find_all_element_users(INDIRECTCOSTITEMS$0, targetList);
972                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems[] result = new gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems[targetList.size()];
973                       targetList.toArray(result);
974                       return result;
975                     }
976                 }
977                 
978                 
979 
980 
981                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems getIndirectCostItemsArray(int i)
982                 {
983                     synchronized (monitor())
984                     {
985                       check_orphaned();
986                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems target = null;
987                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems)get_store().find_element_user(INDIRECTCOSTITEMS$0, i);
988                       if (target == null)
989                       {
990                         throw new IndexOutOfBoundsException();
991                       }
992                       return target;
993                     }
994                 }
995                 
996                 
997 
998 
999                 public int sizeOfIndirectCostItemsArray()
1000                 {
1001                     synchronized (monitor())
1002                     {
1003                       check_orphaned();
1004                       return get_store().count_elements(INDIRECTCOSTITEMS$0);
1005                     }
1006                 }
1007                 
1008                 
1009 
1010 
1011                 public void setIndirectCostItemsArray(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems[] indirectCostItemsArray)
1012                 {
1013                     check_orphaned();
1014                     arraySetterHelper(indirectCostItemsArray, INDIRECTCOSTITEMS$0);
1015                 }
1016                 
1017                 
1018 
1019 
1020                 public void setIndirectCostItemsArray(int i, gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems indirectCostItems)
1021                 {
1022                     generatedSetterHelperImpl(indirectCostItems, INDIRECTCOSTITEMS$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
1023                 }
1024                 
1025                 
1026 
1027 
1028                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems insertNewIndirectCostItems(int i)
1029                 {
1030                     synchronized (monitor())
1031                     {
1032                       check_orphaned();
1033                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems target = null;
1034                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems)get_store().insert_element_user(INDIRECTCOSTITEMS$0, i);
1035                       return target;
1036                     }
1037                 }
1038                 
1039                 
1040 
1041 
1042                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems addNewIndirectCostItems()
1043                 {
1044                     synchronized (monitor())
1045                     {
1046                       check_orphaned();
1047                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems target = null;
1048                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems)get_store().add_element_user(INDIRECTCOSTITEMS$0);
1049                       return target;
1050                     }
1051                 }
1052                 
1053                 
1054 
1055 
1056                 public void removeIndirectCostItems(int i)
1057                 {
1058                     synchronized (monitor())
1059                     {
1060                       check_orphaned();
1061                       get_store().remove_element(INDIRECTCOSTITEMS$0, i);
1062                     }
1063                 }
1064                 
1065                 
1066 
1067 
1068                 public java.lang.String getCognizantFederalAgency()
1069                 {
1070                     synchronized (monitor())
1071                     {
1072                       check_orphaned();
1073                       org.apache.xmlbeans.SimpleValue target = null;
1074                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COGNIZANTFEDERALAGENCY$2, 0);
1075                       if (target == null)
1076                       {
1077                         return null;
1078                       }
1079                       return target.getStringValue();
1080                     }
1081                 }
1082                 
1083                 
1084 
1085 
1086                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency xgetCognizantFederalAgency()
1087                 {
1088                     synchronized (monitor())
1089                     {
1090                       check_orphaned();
1091                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency target = null;
1092                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency)get_store().find_element_user(COGNIZANTFEDERALAGENCY$2, 0);
1093                       return target;
1094                     }
1095                 }
1096                 
1097                 
1098 
1099 
1100                 public boolean isSetCognizantFederalAgency()
1101                 {
1102                     synchronized (monitor())
1103                     {
1104                       check_orphaned();
1105                       return get_store().count_elements(COGNIZANTFEDERALAGENCY$2) != 0;
1106                     }
1107                 }
1108                 
1109                 
1110 
1111 
1112                 public void setCognizantFederalAgency(java.lang.String cognizantFederalAgency)
1113                 {
1114                     synchronized (monitor())
1115                     {
1116                       check_orphaned();
1117                       org.apache.xmlbeans.SimpleValue target = null;
1118                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COGNIZANTFEDERALAGENCY$2, 0);
1119                       if (target == null)
1120                       {
1121                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COGNIZANTFEDERALAGENCY$2);
1122                       }
1123                       target.setStringValue(cognizantFederalAgency);
1124                     }
1125                 }
1126                 
1127                 
1128 
1129 
1130                 public void xsetCognizantFederalAgency(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency cognizantFederalAgency)
1131                 {
1132                     synchronized (monitor())
1133                     {
1134                       check_orphaned();
1135                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency target = null;
1136                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency)get_store().find_element_user(COGNIZANTFEDERALAGENCY$2, 0);
1137                       if (target == null)
1138                       {
1139                         target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency)get_store().add_element_user(COGNIZANTFEDERALAGENCY$2);
1140                       }
1141                       target.set(cognizantFederalAgency);
1142                     }
1143                 }
1144                 
1145                 
1146 
1147 
1148                 public void unsetCognizantFederalAgency()
1149                 {
1150                     synchronized (monitor())
1151                     {
1152                       check_orphaned();
1153                       get_store().remove_element(COGNIZANTFEDERALAGENCY$2, 0);
1154                     }
1155                 }
1156                 
1157                 
1158 
1159 
1160                 public java.util.Calendar getIndirectCostAgreementDate()
1161                 {
1162                     synchronized (monitor())
1163                     {
1164                       check_orphaned();
1165                       org.apache.xmlbeans.SimpleValue target = null;
1166                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTAGREEMENTDATE$4, 0);
1167                       if (target == null)
1168                       {
1169                         return null;
1170                       }
1171                       return target.getCalendarValue();
1172                     }
1173                 }
1174                 
1175                 
1176 
1177 
1178                 public org.apache.xmlbeans.XmlDate xgetIndirectCostAgreementDate()
1179                 {
1180                     synchronized (monitor())
1181                     {
1182                       check_orphaned();
1183                       org.apache.xmlbeans.XmlDate target = null;
1184                       target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(INDIRECTCOSTAGREEMENTDATE$4, 0);
1185                       return target;
1186                     }
1187                 }
1188                 
1189                 
1190 
1191 
1192                 public boolean isSetIndirectCostAgreementDate()
1193                 {
1194                     synchronized (monitor())
1195                     {
1196                       check_orphaned();
1197                       return get_store().count_elements(INDIRECTCOSTAGREEMENTDATE$4) != 0;
1198                     }
1199                 }
1200                 
1201                 
1202 
1203 
1204                 public void setIndirectCostAgreementDate(java.util.Calendar indirectCostAgreementDate)
1205                 {
1206                     synchronized (monitor())
1207                     {
1208                       check_orphaned();
1209                       org.apache.xmlbeans.SimpleValue target = null;
1210                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTAGREEMENTDATE$4, 0);
1211                       if (target == null)
1212                       {
1213                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIRECTCOSTAGREEMENTDATE$4);
1214                       }
1215                       target.setCalendarValue(indirectCostAgreementDate);
1216                     }
1217                 }
1218                 
1219                 
1220 
1221 
1222                 public void xsetIndirectCostAgreementDate(org.apache.xmlbeans.XmlDate indirectCostAgreementDate)
1223                 {
1224                     synchronized (monitor())
1225                     {
1226                       check_orphaned();
1227                       org.apache.xmlbeans.XmlDate target = null;
1228                       target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(INDIRECTCOSTAGREEMENTDATE$4, 0);
1229                       if (target == null)
1230                       {
1231                         target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(INDIRECTCOSTAGREEMENTDATE$4);
1232                       }
1233                       target.set(indirectCostAgreementDate);
1234                     }
1235                 }
1236                 
1237                 
1238 
1239 
1240                 public void unsetIndirectCostAgreementDate()
1241                 {
1242                     synchronized (monitor())
1243                     {
1244                       check_orphaned();
1245                       get_store().remove_element(INDIRECTCOSTAGREEMENTDATE$4, 0);
1246                     }
1247                 }
1248                 
1249                 
1250 
1251 
1252                 public java.math.BigDecimal getTotalFundsRequestedIndirectCost()
1253                 {
1254                     synchronized (monitor())
1255                     {
1256                       check_orphaned();
1257                       org.apache.xmlbeans.SimpleValue target = null;
1258                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
1259                       if (target == null)
1260                       {
1261                         return null;
1262                       }
1263                       return target.getBigDecimalValue();
1264                     }
1265                 }
1266                 
1267                 
1268 
1269 
1270                 public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetTotalFundsRequestedIndirectCost()
1271                 {
1272                     synchronized (monitor())
1273                     {
1274                       check_orphaned();
1275                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
1276                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
1277                       return target;
1278                     }
1279                 }
1280                 
1281                 
1282 
1283 
1284                 public boolean isSetTotalFundsRequestedIndirectCost()
1285                 {
1286                     synchronized (monitor())
1287                     {
1288                       check_orphaned();
1289                       return get_store().count_elements(TOTALFUNDSREQUESTEDINDIRECTCOST$6) != 0;
1290                     }
1291                 }
1292                 
1293                 
1294 
1295 
1296                 public void setTotalFundsRequestedIndirectCost(java.math.BigDecimal totalFundsRequestedIndirectCost)
1297                 {
1298                     synchronized (monitor())
1299                     {
1300                       check_orphaned();
1301                       org.apache.xmlbeans.SimpleValue target = null;
1302                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
1303                       if (target == null)
1304                       {
1305                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6);
1306                       }
1307                       target.setBigDecimalValue(totalFundsRequestedIndirectCost);
1308                     }
1309                 }
1310                 
1311                 
1312 
1313 
1314                 public void xsetTotalFundsRequestedIndirectCost(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType totalFundsRequestedIndirectCost)
1315                 {
1316                     synchronized (monitor())
1317                     {
1318                       check_orphaned();
1319                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
1320                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
1321                       if (target == null)
1322                       {
1323                         target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(TOTALFUNDSREQUESTEDINDIRECTCOST$6);
1324                       }
1325                       target.set(totalFundsRequestedIndirectCost);
1326                     }
1327                 }
1328                 
1329                 
1330 
1331 
1332                 public void unsetTotalFundsRequestedIndirectCost()
1333                 {
1334                     synchronized (monitor())
1335                     {
1336                       check_orphaned();
1337                       get_store().remove_element(TOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
1338                     }
1339                 }
1340                 
1341 
1342 
1343 
1344 
1345                 public static class IndirectCostItemsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems
1346                 {
1347                     private static final long serialVersionUID = 1L;
1348                     
1349                     public IndirectCostItemsImpl(org.apache.xmlbeans.SchemaType sType)
1350                     {
1351                       super(sType);
1352                     }
1353                     
1354                     private static final javax.xml.namespace.QName INDIRECTCOSTTYPEDESCRIPTION$0 = 
1355                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostTypeDescription");
1356                     private static final javax.xml.namespace.QName INDIRECTCOSTRATE$2 = 
1357                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostRate");
1358                     private static final javax.xml.namespace.QName INDIRECTCOSTBASE$4 = 
1359                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostBase");
1360                     private static final javax.xml.namespace.QName INDIRECTCOSTFUNDSREQUESTED$6 = 
1361                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "IndirectCostFundsRequested");
1362                     
1363                     
1364                     
1365 
1366 
1367                     public java.lang.String getIndirectCostTypeDescription()
1368                     {
1369                       synchronized (monitor())
1370                       {
1371                         check_orphaned();
1372                         org.apache.xmlbeans.SimpleValue target = null;
1373                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTTYPEDESCRIPTION$0, 0);
1374                         if (target == null)
1375                         {
1376                           return null;
1377                         }
1378                         return target.getStringValue();
1379                       }
1380                     }
1381                     
1382                     
1383 
1384 
1385                     public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription xgetIndirectCostTypeDescription()
1386                     {
1387                       synchronized (monitor())
1388                       {
1389                         check_orphaned();
1390                         gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription target = null;
1391                         target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription)get_store().find_element_user(INDIRECTCOSTTYPEDESCRIPTION$0, 0);
1392                         return target;
1393                       }
1394                     }
1395                     
1396                     
1397 
1398 
1399                     public boolean isSetIndirectCostTypeDescription()
1400                     {
1401                       synchronized (monitor())
1402                       {
1403                         check_orphaned();
1404                         return get_store().count_elements(INDIRECTCOSTTYPEDESCRIPTION$0) != 0;
1405                       }
1406                     }
1407                     
1408                     
1409 
1410 
1411                     public void setIndirectCostTypeDescription(java.lang.String indirectCostTypeDescription)
1412                     {
1413                       synchronized (monitor())
1414                       {
1415                         check_orphaned();
1416                         org.apache.xmlbeans.SimpleValue target = null;
1417                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTTYPEDESCRIPTION$0, 0);
1418                         if (target == null)
1419                         {
1420                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIRECTCOSTTYPEDESCRIPTION$0);
1421                         }
1422                         target.setStringValue(indirectCostTypeDescription);
1423                       }
1424                     }
1425                     
1426                     
1427 
1428 
1429                     public void xsetIndirectCostTypeDescription(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription indirectCostTypeDescription)
1430                     {
1431                       synchronized (monitor())
1432                       {
1433                         check_orphaned();
1434                         gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription target = null;
1435                         target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription)get_store().find_element_user(INDIRECTCOSTTYPEDESCRIPTION$0, 0);
1436                         if (target == null)
1437                         {
1438                           target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription)get_store().add_element_user(INDIRECTCOSTTYPEDESCRIPTION$0);
1439                         }
1440                         target.set(indirectCostTypeDescription);
1441                       }
1442                     }
1443                     
1444                     
1445 
1446 
1447                     public void unsetIndirectCostTypeDescription()
1448                     {
1449                       synchronized (monitor())
1450                       {
1451                         check_orphaned();
1452                         get_store().remove_element(INDIRECTCOSTTYPEDESCRIPTION$0, 0);
1453                       }
1454                     }
1455                     
1456                     
1457 
1458 
1459                     public java.math.BigDecimal getIndirectCostRate()
1460                     {
1461                       synchronized (monitor())
1462                       {
1463                         check_orphaned();
1464                         org.apache.xmlbeans.SimpleValue target = null;
1465                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTRATE$2, 0);
1466                         if (target == null)
1467                         {
1468                           return null;
1469                         }
1470                         return target.getBigDecimalValue();
1471                       }
1472                     }
1473                     
1474                     
1475 
1476 
1477                     public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate xgetIndirectCostRate()
1478                     {
1479                       synchronized (monitor())
1480                       {
1481                         check_orphaned();
1482                         gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate target = null;
1483                         target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate)get_store().find_element_user(INDIRECTCOSTRATE$2, 0);
1484                         return target;
1485                       }
1486                     }
1487                     
1488                     
1489 
1490 
1491                     public boolean isSetIndirectCostRate()
1492                     {
1493                       synchronized (monitor())
1494                       {
1495                         check_orphaned();
1496                         return get_store().count_elements(INDIRECTCOSTRATE$2) != 0;
1497                       }
1498                     }
1499                     
1500                     
1501 
1502 
1503                     public void setIndirectCostRate(java.math.BigDecimal indirectCostRate)
1504                     {
1505                       synchronized (monitor())
1506                       {
1507                         check_orphaned();
1508                         org.apache.xmlbeans.SimpleValue target = null;
1509                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTRATE$2, 0);
1510                         if (target == null)
1511                         {
1512                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIRECTCOSTRATE$2);
1513                         }
1514                         target.setBigDecimalValue(indirectCostRate);
1515                       }
1516                     }
1517                     
1518                     
1519 
1520 
1521                     public void xsetIndirectCostRate(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate indirectCostRate)
1522                     {
1523                       synchronized (monitor())
1524                       {
1525                         check_orphaned();
1526                         gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate target = null;
1527                         target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate)get_store().find_element_user(INDIRECTCOSTRATE$2, 0);
1528                         if (target == null)
1529                         {
1530                           target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate)get_store().add_element_user(INDIRECTCOSTRATE$2);
1531                         }
1532                         target.set(indirectCostRate);
1533                       }
1534                     }
1535                     
1536                     
1537 
1538 
1539                     public void unsetIndirectCostRate()
1540                     {
1541                       synchronized (monitor())
1542                       {
1543                         check_orphaned();
1544                         get_store().remove_element(INDIRECTCOSTRATE$2, 0);
1545                       }
1546                     }
1547                     
1548                     
1549 
1550 
1551                     public java.math.BigDecimal getIndirectCostBase()
1552                     {
1553                       synchronized (monitor())
1554                       {
1555                         check_orphaned();
1556                         org.apache.xmlbeans.SimpleValue target = null;
1557                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTBASE$4, 0);
1558                         if (target == null)
1559                         {
1560                           return null;
1561                         }
1562                         return target.getBigDecimalValue();
1563                       }
1564                     }
1565                     
1566                     
1567 
1568 
1569                     public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetIndirectCostBase()
1570                     {
1571                       synchronized (monitor())
1572                       {
1573                         check_orphaned();
1574                         gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
1575                         target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(INDIRECTCOSTBASE$4, 0);
1576                         return target;
1577                       }
1578                     }
1579                     
1580                     
1581 
1582 
1583                     public boolean isSetIndirectCostBase()
1584                     {
1585                       synchronized (monitor())
1586                       {
1587                         check_orphaned();
1588                         return get_store().count_elements(INDIRECTCOSTBASE$4) != 0;
1589                       }
1590                     }
1591                     
1592                     
1593 
1594 
1595                     public void setIndirectCostBase(java.math.BigDecimal indirectCostBase)
1596                     {
1597                       synchronized (monitor())
1598                       {
1599                         check_orphaned();
1600                         org.apache.xmlbeans.SimpleValue target = null;
1601                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTBASE$4, 0);
1602                         if (target == null)
1603                         {
1604                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIRECTCOSTBASE$4);
1605                         }
1606                         target.setBigDecimalValue(indirectCostBase);
1607                       }
1608                     }
1609                     
1610                     
1611 
1612 
1613                     public void xsetIndirectCostBase(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType indirectCostBase)
1614                     {
1615                       synchronized (monitor())
1616                       {
1617                         check_orphaned();
1618                         gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
1619                         target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(INDIRECTCOSTBASE$4, 0);
1620                         if (target == null)
1621                         {
1622                           target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(INDIRECTCOSTBASE$4);
1623                         }
1624                         target.set(indirectCostBase);
1625                       }
1626                     }
1627                     
1628                     
1629 
1630 
1631                     public void unsetIndirectCostBase()
1632                     {
1633                       synchronized (monitor())
1634                       {
1635                         check_orphaned();
1636                         get_store().remove_element(INDIRECTCOSTBASE$4, 0);
1637                       }
1638                     }
1639                     
1640                     
1641 
1642 
1643                     public java.math.BigDecimal getIndirectCostFundsRequested()
1644                     {
1645                       synchronized (monitor())
1646                       {
1647                         check_orphaned();
1648                         org.apache.xmlbeans.SimpleValue target = null;
1649                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTFUNDSREQUESTED$6, 0);
1650                         if (target == null)
1651                         {
1652                           return null;
1653                         }
1654                         return target.getBigDecimalValue();
1655                       }
1656                     }
1657                     
1658                     
1659 
1660 
1661                     public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetIndirectCostFundsRequested()
1662                     {
1663                       synchronized (monitor())
1664                       {
1665                         check_orphaned();
1666                         gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
1667                         target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(INDIRECTCOSTFUNDSREQUESTED$6, 0);
1668                         return target;
1669                       }
1670                     }
1671                     
1672                     
1673 
1674 
1675                     public boolean isSetIndirectCostFundsRequested()
1676                     {
1677                       synchronized (monitor())
1678                       {
1679                         check_orphaned();
1680                         return get_store().count_elements(INDIRECTCOSTFUNDSREQUESTED$6) != 0;
1681                       }
1682                     }
1683                     
1684                     
1685 
1686 
1687                     public void setIndirectCostFundsRequested(java.math.BigDecimal indirectCostFundsRequested)
1688                     {
1689                       synchronized (monitor())
1690                       {
1691                         check_orphaned();
1692                         org.apache.xmlbeans.SimpleValue target = null;
1693                         target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INDIRECTCOSTFUNDSREQUESTED$6, 0);
1694                         if (target == null)
1695                         {
1696                           target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INDIRECTCOSTFUNDSREQUESTED$6);
1697                         }
1698                         target.setBigDecimalValue(indirectCostFundsRequested);
1699                       }
1700                     }
1701                     
1702                     
1703 
1704 
1705                     public void xsetIndirectCostFundsRequested(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType indirectCostFundsRequested)
1706                     {
1707                       synchronized (monitor())
1708                       {
1709                         check_orphaned();
1710                         gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
1711                         target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(INDIRECTCOSTFUNDSREQUESTED$6, 0);
1712                         if (target == null)
1713                         {
1714                           target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(INDIRECTCOSTFUNDSREQUESTED$6);
1715                         }
1716                         target.set(indirectCostFundsRequested);
1717                       }
1718                     }
1719                     
1720                     
1721 
1722 
1723                     public void unsetIndirectCostFundsRequested()
1724                     {
1725                       synchronized (monitor())
1726                       {
1727                         check_orphaned();
1728                         get_store().remove_element(INDIRECTCOSTFUNDSREQUESTED$6, 0);
1729                       }
1730                     }
1731                     
1732 
1733 
1734 
1735 
1736                     public static class IndirectCostTypeDescriptionImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostTypeDescription
1737                     {
1738                       private static final long serialVersionUID = 1L;
1739                       
1740                       public IndirectCostTypeDescriptionImpl(org.apache.xmlbeans.SchemaType sType)
1741                       {
1742                         super(sType, false);
1743                       }
1744                       
1745                       protected IndirectCostTypeDescriptionImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1746                       {
1747                         super(sType, b);
1748                       }
1749                     }
1750                     
1751 
1752 
1753 
1754 
1755                     public static class IndirectCostRateImpl extends org.apache.xmlbeans.impl.values.JavaDecimalHolderEx implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.IndirectCostItems.IndirectCostRate
1756                     {
1757                       private static final long serialVersionUID = 1L;
1758                       
1759                       public IndirectCostRateImpl(org.apache.xmlbeans.SchemaType sType)
1760                       {
1761                         super(sType, false);
1762                       }
1763                       
1764                       protected IndirectCostRateImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1765                       {
1766                         super(sType, b);
1767                       }
1768                     }
1769                 }
1770                 
1771 
1772 
1773 
1774 
1775                 public static class CognizantFederalAgencyImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.Periods.IndirectCost.CognizantFederalAgency
1776                 {
1777                     private static final long serialVersionUID = 1L;
1778                     
1779                     public CognizantFederalAgencyImpl(org.apache.xmlbeans.SchemaType sType)
1780                     {
1781                       super(sType, false);
1782                     }
1783                     
1784                     protected CognizantFederalAgencyImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1785                     {
1786                       super(sType, b);
1787                     }
1788                 }
1789             }
1790         }
1791         
1792 
1793 
1794 
1795 
1796         public static class CummulativeBudgetInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo
1797         {
1798             private static final long serialVersionUID = 1L;
1799             
1800             public CummulativeBudgetInfoImpl(org.apache.xmlbeans.SchemaType sType)
1801             {
1802                 super(sType);
1803             }
1804             
1805             private static final javax.xml.namespace.QName ENTIREPERIODTOTALCOST$0 = 
1806                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "EntirePeriodTotalCost");
1807             private static final javax.xml.namespace.QName BUDGETJUSTIFICATIONS$2 = 
1808                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "BudgetJustifications");
1809             
1810             
1811             
1812 
1813 
1814             public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost getEntirePeriodTotalCost()
1815             {
1816                 synchronized (monitor())
1817                 {
1818                     check_orphaned();
1819                     gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost target = null;
1820                     target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost)get_store().find_element_user(ENTIREPERIODTOTALCOST$0, 0);
1821                     if (target == null)
1822                     {
1823                       return null;
1824                     }
1825                     return target;
1826                 }
1827             }
1828             
1829             
1830 
1831 
1832             public void setEntirePeriodTotalCost(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost entirePeriodTotalCost)
1833             {
1834                 generatedSetterHelperImpl(entirePeriodTotalCost, ENTIREPERIODTOTALCOST$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1835             }
1836             
1837             
1838 
1839 
1840             public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost addNewEntirePeriodTotalCost()
1841             {
1842                 synchronized (monitor())
1843                 {
1844                     check_orphaned();
1845                     gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost target = null;
1846                     target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost)get_store().add_element_user(ENTIREPERIODTOTALCOST$0);
1847                     return target;
1848                 }
1849             }
1850             
1851             
1852 
1853 
1854             public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications getBudgetJustifications()
1855             {
1856                 synchronized (monitor())
1857                 {
1858                     check_orphaned();
1859                     gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications target = null;
1860                     target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications)get_store().find_element_user(BUDGETJUSTIFICATIONS$2, 0);
1861                     if (target == null)
1862                     {
1863                       return null;
1864                     }
1865                     return target;
1866                 }
1867             }
1868             
1869             
1870 
1871 
1872             public boolean isSetBudgetJustifications()
1873             {
1874                 synchronized (monitor())
1875                 {
1876                     check_orphaned();
1877                     return get_store().count_elements(BUDGETJUSTIFICATIONS$2) != 0;
1878                 }
1879             }
1880             
1881             
1882 
1883 
1884             public void setBudgetJustifications(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications budgetJustifications)
1885             {
1886                 generatedSetterHelperImpl(budgetJustifications, BUDGETJUSTIFICATIONS$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1887             }
1888             
1889             
1890 
1891 
1892             public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications addNewBudgetJustifications()
1893             {
1894                 synchronized (monitor())
1895                 {
1896                     check_orphaned();
1897                     gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications target = null;
1898                     target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications)get_store().add_element_user(BUDGETJUSTIFICATIONS$2);
1899                     return target;
1900                 }
1901             }
1902             
1903             
1904 
1905 
1906             public void unsetBudgetJustifications()
1907             {
1908                 synchronized (monitor())
1909                 {
1910                     check_orphaned();
1911                     get_store().remove_element(BUDGETJUSTIFICATIONS$2, 0);
1912                 }
1913             }
1914             
1915 
1916 
1917 
1918 
1919             public static class EntirePeriodTotalCostImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.EntirePeriodTotalCost
1920             {
1921                 private static final long serialVersionUID = 1L;
1922                 
1923                 public EntirePeriodTotalCostImpl(org.apache.xmlbeans.SchemaType sType)
1924                 {
1925                     super(sType);
1926                 }
1927                 
1928                 private static final javax.xml.namespace.QName CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0 = 
1929                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CumulativeDirectCostLessConsortiumFandA");
1930                 private static final javax.xml.namespace.QName CUMULATIVECONSORTIUMFANDA$2 = 
1931                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CumulativeConsortiumFandA");
1932                 private static final javax.xml.namespace.QName CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4 = 
1933                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CumulativeTotalFundsRequestedDirectCosts");
1934                 private static final javax.xml.namespace.QName CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6 = 
1935                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CumulativeTotalFundsRequestedIndirectCost");
1936                 private static final javax.xml.namespace.QName CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8 = 
1937                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "CumulativeTotalFundsRequestedDirectIndirectCosts");
1938                 
1939                 
1940                 
1941 
1942 
1943                 public java.math.BigDecimal getCumulativeDirectCostLessConsortiumFandA()
1944                 {
1945                     synchronized (monitor())
1946                     {
1947                       check_orphaned();
1948                       org.apache.xmlbeans.SimpleValue target = null;
1949                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
1950                       if (target == null)
1951                       {
1952                         return null;
1953                       }
1954                       return target.getBigDecimalValue();
1955                     }
1956                 }
1957                 
1958                 
1959 
1960 
1961                 public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetCumulativeDirectCostLessConsortiumFandA()
1962                 {
1963                     synchronized (monitor())
1964                     {
1965                       check_orphaned();
1966                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
1967                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
1968                       return target;
1969                     }
1970                 }
1971                 
1972                 
1973 
1974 
1975                 public void setCumulativeDirectCostLessConsortiumFandA(java.math.BigDecimal cumulativeDirectCostLessConsortiumFandA)
1976                 {
1977                     synchronized (monitor())
1978                     {
1979                       check_orphaned();
1980                       org.apache.xmlbeans.SimpleValue target = null;
1981                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
1982                       if (target == null)
1983                       {
1984                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0);
1985                       }
1986                       target.setBigDecimalValue(cumulativeDirectCostLessConsortiumFandA);
1987                     }
1988                 }
1989                 
1990                 
1991 
1992 
1993                 public void xsetCumulativeDirectCostLessConsortiumFandA(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType cumulativeDirectCostLessConsortiumFandA)
1994                 {
1995                     synchronized (monitor())
1996                     {
1997                       check_orphaned();
1998                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
1999                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0, 0);
2000                       if (target == null)
2001                       {
2002                         target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(CUMULATIVEDIRECTCOSTLESSCONSORTIUMFANDA$0);
2003                       }
2004                       target.set(cumulativeDirectCostLessConsortiumFandA);
2005                     }
2006                 }
2007                 
2008                 
2009 
2010 
2011                 public java.math.BigDecimal getCumulativeConsortiumFandA()
2012                 {
2013                     synchronized (monitor())
2014                     {
2015                       check_orphaned();
2016                       org.apache.xmlbeans.SimpleValue target = null;
2017                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVECONSORTIUMFANDA$2, 0);
2018                       if (target == null)
2019                       {
2020                         return null;
2021                       }
2022                       return target.getBigDecimalValue();
2023                     }
2024                 }
2025                 
2026                 
2027 
2028 
2029                 public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetCumulativeConsortiumFandA()
2030                 {
2031                     synchronized (monitor())
2032                     {
2033                       check_orphaned();
2034                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
2035                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVECONSORTIUMFANDA$2, 0);
2036                       return target;
2037                     }
2038                 }
2039                 
2040                 
2041 
2042 
2043                 public boolean isSetCumulativeConsortiumFandA()
2044                 {
2045                     synchronized (monitor())
2046                     {
2047                       check_orphaned();
2048                       return get_store().count_elements(CUMULATIVECONSORTIUMFANDA$2) != 0;
2049                     }
2050                 }
2051                 
2052                 
2053 
2054 
2055                 public void setCumulativeConsortiumFandA(java.math.BigDecimal cumulativeConsortiumFandA)
2056                 {
2057                     synchronized (monitor())
2058                     {
2059                       check_orphaned();
2060                       org.apache.xmlbeans.SimpleValue target = null;
2061                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVECONSORTIUMFANDA$2, 0);
2062                       if (target == null)
2063                       {
2064                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CUMULATIVECONSORTIUMFANDA$2);
2065                       }
2066                       target.setBigDecimalValue(cumulativeConsortiumFandA);
2067                     }
2068                 }
2069                 
2070                 
2071 
2072 
2073                 public void xsetCumulativeConsortiumFandA(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType cumulativeConsortiumFandA)
2074                 {
2075                     synchronized (monitor())
2076                     {
2077                       check_orphaned();
2078                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
2079                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVECONSORTIUMFANDA$2, 0);
2080                       if (target == null)
2081                       {
2082                         target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(CUMULATIVECONSORTIUMFANDA$2);
2083                       }
2084                       target.set(cumulativeConsortiumFandA);
2085                     }
2086                 }
2087                 
2088                 
2089 
2090 
2091                 public void unsetCumulativeConsortiumFandA()
2092                 {
2093                     synchronized (monitor())
2094                     {
2095                       check_orphaned();
2096                       get_store().remove_element(CUMULATIVECONSORTIUMFANDA$2, 0);
2097                     }
2098                 }
2099                 
2100                 
2101 
2102 
2103                 public java.math.BigDecimal getCumulativeTotalFundsRequestedDirectCosts()
2104                 {
2105                     synchronized (monitor())
2106                     {
2107                       check_orphaned();
2108                       org.apache.xmlbeans.SimpleValue target = null;
2109                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
2110                       if (target == null)
2111                       {
2112                         return null;
2113                       }
2114                       return target.getBigDecimalValue();
2115                     }
2116                 }
2117                 
2118                 
2119 
2120 
2121                 public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetCumulativeTotalFundsRequestedDirectCosts()
2122                 {
2123                     synchronized (monitor())
2124                     {
2125                       check_orphaned();
2126                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
2127                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
2128                       return target;
2129                     }
2130                 }
2131                 
2132                 
2133 
2134 
2135                 public void setCumulativeTotalFundsRequestedDirectCosts(java.math.BigDecimal cumulativeTotalFundsRequestedDirectCosts)
2136                 {
2137                     synchronized (monitor())
2138                     {
2139                       check_orphaned();
2140                       org.apache.xmlbeans.SimpleValue target = null;
2141                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
2142                       if (target == null)
2143                       {
2144                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4);
2145                       }
2146                       target.setBigDecimalValue(cumulativeTotalFundsRequestedDirectCosts);
2147                     }
2148                 }
2149                 
2150                 
2151 
2152 
2153                 public void xsetCumulativeTotalFundsRequestedDirectCosts(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType cumulativeTotalFundsRequestedDirectCosts)
2154                 {
2155                     synchronized (monitor())
2156                     {
2157                       check_orphaned();
2158                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
2159                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4, 0);
2160                       if (target == null)
2161                       {
2162                         target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTCOSTS$4);
2163                       }
2164                       target.set(cumulativeTotalFundsRequestedDirectCosts);
2165                     }
2166                 }
2167                 
2168                 
2169 
2170 
2171                 public java.math.BigDecimal getCumulativeTotalFundsRequestedIndirectCost()
2172                 {
2173                     synchronized (monitor())
2174                     {
2175                       check_orphaned();
2176                       org.apache.xmlbeans.SimpleValue target = null;
2177                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
2178                       if (target == null)
2179                       {
2180                         return null;
2181                       }
2182                       return target.getBigDecimalValue();
2183                     }
2184                 }
2185                 
2186                 
2187 
2188 
2189                 public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetCumulativeTotalFundsRequestedIndirectCost()
2190                 {
2191                     synchronized (monitor())
2192                     {
2193                       check_orphaned();
2194                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
2195                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
2196                       return target;
2197                     }
2198                 }
2199                 
2200                 
2201 
2202 
2203                 public boolean isSetCumulativeTotalFundsRequestedIndirectCost()
2204                 {
2205                     synchronized (monitor())
2206                     {
2207                       check_orphaned();
2208                       return get_store().count_elements(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6) != 0;
2209                     }
2210                 }
2211                 
2212                 
2213 
2214 
2215                 public void setCumulativeTotalFundsRequestedIndirectCost(java.math.BigDecimal cumulativeTotalFundsRequestedIndirectCost)
2216                 {
2217                     synchronized (monitor())
2218                     {
2219                       check_orphaned();
2220                       org.apache.xmlbeans.SimpleValue target = null;
2221                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
2222                       if (target == null)
2223                       {
2224                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6);
2225                       }
2226                       target.setBigDecimalValue(cumulativeTotalFundsRequestedIndirectCost);
2227                     }
2228                 }
2229                 
2230                 
2231 
2232 
2233                 public void xsetCumulativeTotalFundsRequestedIndirectCost(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType cumulativeTotalFundsRequestedIndirectCost)
2234                 {
2235                     synchronized (monitor())
2236                     {
2237                       check_orphaned();
2238                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
2239                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
2240                       if (target == null)
2241                       {
2242                         target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6);
2243                       }
2244                       target.set(cumulativeTotalFundsRequestedIndirectCost);
2245                     }
2246                 }
2247                 
2248                 
2249 
2250 
2251                 public void unsetCumulativeTotalFundsRequestedIndirectCost()
2252                 {
2253                     synchronized (monitor())
2254                     {
2255                       check_orphaned();
2256                       get_store().remove_element(CUMULATIVETOTALFUNDSREQUESTEDINDIRECTCOST$6, 0);
2257                     }
2258                 }
2259                 
2260                 
2261 
2262 
2263                 public java.math.BigDecimal getCumulativeTotalFundsRequestedDirectIndirectCosts()
2264                 {
2265                     synchronized (monitor())
2266                     {
2267                       check_orphaned();
2268                       org.apache.xmlbeans.SimpleValue target = null;
2269                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
2270                       if (target == null)
2271                       {
2272                         return null;
2273                       }
2274                       return target.getBigDecimalValue();
2275                     }
2276                 }
2277                 
2278                 
2279 
2280 
2281                 public gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType xgetCumulativeTotalFundsRequestedDirectIndirectCosts()
2282                 {
2283                     synchronized (monitor())
2284                     {
2285                       check_orphaned();
2286                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
2287                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
2288                       return target;
2289                     }
2290                 }
2291                 
2292                 
2293 
2294 
2295                 public void setCumulativeTotalFundsRequestedDirectIndirectCosts(java.math.BigDecimal cumulativeTotalFundsRequestedDirectIndirectCosts)
2296                 {
2297                     synchronized (monitor())
2298                     {
2299                       check_orphaned();
2300                       org.apache.xmlbeans.SimpleValue target = null;
2301                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
2302                       if (target == null)
2303                       {
2304                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8);
2305                       }
2306                       target.setBigDecimalValue(cumulativeTotalFundsRequestedDirectIndirectCosts);
2307                     }
2308                 }
2309                 
2310                 
2311 
2312 
2313                 public void xsetCumulativeTotalFundsRequestedDirectIndirectCosts(gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType cumulativeTotalFundsRequestedDirectIndirectCosts)
2314                 {
2315                     synchronized (monitor())
2316                     {
2317                       check_orphaned();
2318                       gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType target = null;
2319                       target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().find_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8, 0);
2320                       if (target == null)
2321                       {
2322                         target = (gov.grants.apply.system.globalLibraryV20.BudgetTotalAmountDataType)get_store().add_element_user(CUMULATIVETOTALFUNDSREQUESTEDDIRECTINDIRECTCOSTS$8);
2323                       }
2324                       target.set(cumulativeTotalFundsRequestedDirectIndirectCosts);
2325                     }
2326                 }
2327             }
2328             
2329 
2330 
2331 
2332 
2333             public static class BudgetJustificationsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications
2334             {
2335                 private static final long serialVersionUID = 1L;
2336                 
2337                 public BudgetJustificationsImpl(org.apache.xmlbeans.SchemaType sType)
2338                 {
2339                     super(sType);
2340                 }
2341                 
2342                 private static final javax.xml.namespace.QName PERSONNELJUSTIFICATION$0 = 
2343                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "PersonnelJustification");
2344                 private static final javax.xml.namespace.QName CONSORTIUMJUSTIFICATION$2 = 
2345                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "ConsortiumJustification");
2346                 private static final javax.xml.namespace.QName ADDITIONALNARRATIVEJUSTIFICATION$4 = 
2347                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "AdditionalNarrativeJustification");
2348                 
2349                 
2350                 
2351 
2352 
2353                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification getPersonnelJustification()
2354                 {
2355                     synchronized (monitor())
2356                     {
2357                       check_orphaned();
2358                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification target = null;
2359                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification)get_store().find_element_user(PERSONNELJUSTIFICATION$0, 0);
2360                       if (target == null)
2361                       {
2362                         return null;
2363                       }
2364                       return target;
2365                     }
2366                 }
2367                 
2368                 
2369 
2370 
2371                 public boolean isSetPersonnelJustification()
2372                 {
2373                     synchronized (monitor())
2374                     {
2375                       check_orphaned();
2376                       return get_store().count_elements(PERSONNELJUSTIFICATION$0) != 0;
2377                     }
2378                 }
2379                 
2380                 
2381 
2382 
2383                 public void setPersonnelJustification(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification personnelJustification)
2384                 {
2385                     generatedSetterHelperImpl(personnelJustification, PERSONNELJUSTIFICATION$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
2386                 }
2387                 
2388                 
2389 
2390 
2391                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification addNewPersonnelJustification()
2392                 {
2393                     synchronized (monitor())
2394                     {
2395                       check_orphaned();
2396                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification target = null;
2397                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification)get_store().add_element_user(PERSONNELJUSTIFICATION$0);
2398                       return target;
2399                     }
2400                 }
2401                 
2402                 
2403 
2404 
2405                 public void unsetPersonnelJustification()
2406                 {
2407                     synchronized (monitor())
2408                     {
2409                       check_orphaned();
2410                       get_store().remove_element(PERSONNELJUSTIFICATION$0, 0);
2411                     }
2412                 }
2413                 
2414                 
2415 
2416 
2417                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification getConsortiumJustification()
2418                 {
2419                     synchronized (monitor())
2420                     {
2421                       check_orphaned();
2422                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification target = null;
2423                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification)get_store().find_element_user(CONSORTIUMJUSTIFICATION$2, 0);
2424                       if (target == null)
2425                       {
2426                         return null;
2427                       }
2428                       return target;
2429                     }
2430                 }
2431                 
2432                 
2433 
2434 
2435                 public boolean isSetConsortiumJustification()
2436                 {
2437                     synchronized (monitor())
2438                     {
2439                       check_orphaned();
2440                       return get_store().count_elements(CONSORTIUMJUSTIFICATION$2) != 0;
2441                     }
2442                 }
2443                 
2444                 
2445 
2446 
2447                 public void setConsortiumJustification(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification consortiumJustification)
2448                 {
2449                     generatedSetterHelperImpl(consortiumJustification, CONSORTIUMJUSTIFICATION$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
2450                 }
2451                 
2452                 
2453 
2454 
2455                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification addNewConsortiumJustification()
2456                 {
2457                     synchronized (monitor())
2458                     {
2459                       check_orphaned();
2460                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification target = null;
2461                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification)get_store().add_element_user(CONSORTIUMJUSTIFICATION$2);
2462                       return target;
2463                     }
2464                 }
2465                 
2466                 
2467 
2468 
2469                 public void unsetConsortiumJustification()
2470                 {
2471                     synchronized (monitor())
2472                     {
2473                       check_orphaned();
2474                       get_store().remove_element(CONSORTIUMJUSTIFICATION$2, 0);
2475                     }
2476                 }
2477                 
2478                 
2479 
2480 
2481                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification getAdditionalNarrativeJustification()
2482                 {
2483                     synchronized (monitor())
2484                     {
2485                       check_orphaned();
2486                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification target = null;
2487                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification)get_store().find_element_user(ADDITIONALNARRATIVEJUSTIFICATION$4, 0);
2488                       if (target == null)
2489                       {
2490                         return null;
2491                       }
2492                       return target;
2493                     }
2494                 }
2495                 
2496                 
2497 
2498 
2499                 public boolean isSetAdditionalNarrativeJustification()
2500                 {
2501                     synchronized (monitor())
2502                     {
2503                       check_orphaned();
2504                       return get_store().count_elements(ADDITIONALNARRATIVEJUSTIFICATION$4) != 0;
2505                     }
2506                 }
2507                 
2508                 
2509 
2510 
2511                 public void setAdditionalNarrativeJustification(gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification additionalNarrativeJustification)
2512                 {
2513                     generatedSetterHelperImpl(additionalNarrativeJustification, ADDITIONALNARRATIVEJUSTIFICATION$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
2514                 }
2515                 
2516                 
2517 
2518 
2519                 public gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification addNewAdditionalNarrativeJustification()
2520                 {
2521                     synchronized (monitor())
2522                     {
2523                       check_orphaned();
2524                       gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification target = null;
2525                       target = (gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification)get_store().add_element_user(ADDITIONALNARRATIVEJUSTIFICATION$4);
2526                       return target;
2527                     }
2528                 }
2529                 
2530                 
2531 
2532 
2533                 public void unsetAdditionalNarrativeJustification()
2534                 {
2535                     synchronized (monitor())
2536                     {
2537                       check_orphaned();
2538                       get_store().remove_element(ADDITIONALNARRATIVEJUSTIFICATION$4, 0);
2539                     }
2540                 }
2541                 
2542 
2543 
2544 
2545 
2546                 public static class PersonnelJustificationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.PersonnelJustification
2547                 {
2548                     private static final long serialVersionUID = 1L;
2549                     
2550                     public PersonnelJustificationImpl(org.apache.xmlbeans.SchemaType sType)
2551                     {
2552                       super(sType);
2553                     }
2554                     
2555                     private static final javax.xml.namespace.QName ATTFILE$0 = 
2556                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "attFile");
2557                     
2558                     
2559                     
2560 
2561 
2562                     public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getAttFile()
2563                     {
2564                       synchronized (monitor())
2565                       {
2566                         check_orphaned();
2567                         gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
2568                         target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(ATTFILE$0, 0);
2569                         if (target == null)
2570                         {
2571                           return null;
2572                         }
2573                         return target;
2574                       }
2575                     }
2576                     
2577                     
2578 
2579 
2580                     public void setAttFile(gov.grants.apply.system.attachmentsV10.AttachedFileDataType attFile)
2581                     {
2582                       generatedSetterHelperImpl(attFile, ATTFILE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
2583                     }
2584                     
2585                     
2586 
2587 
2588                     public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewAttFile()
2589                     {
2590                       synchronized (monitor())
2591                       {
2592                         check_orphaned();
2593                         gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
2594                         target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(ATTFILE$0);
2595                         return target;
2596                       }
2597                     }
2598                 }
2599                 
2600 
2601 
2602 
2603 
2604                 public static class ConsortiumJustificationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.ConsortiumJustification
2605                 {
2606                     private static final long serialVersionUID = 1L;
2607                     
2608                     public ConsortiumJustificationImpl(org.apache.xmlbeans.SchemaType sType)
2609                     {
2610                       super(sType);
2611                     }
2612                     
2613                     private static final javax.xml.namespace.QName ATTFILE$0 = 
2614                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "attFile");
2615                     
2616                     
2617                     
2618 
2619 
2620                     public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getAttFile()
2621                     {
2622                       synchronized (monitor())
2623                       {
2624                         check_orphaned();
2625                         gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
2626                         target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(ATTFILE$0, 0);
2627                         if (target == null)
2628                         {
2629                           return null;
2630                         }
2631                         return target;
2632                       }
2633                     }
2634                     
2635                     
2636 
2637 
2638                     public void setAttFile(gov.grants.apply.system.attachmentsV10.AttachedFileDataType attFile)
2639                     {
2640                       generatedSetterHelperImpl(attFile, ATTFILE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
2641                     }
2642                     
2643                     
2644 
2645 
2646                     public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewAttFile()
2647                     {
2648                       synchronized (monitor())
2649                       {
2650                         check_orphaned();
2651                         gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
2652                         target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(ATTFILE$0);
2653                         return target;
2654                       }
2655                     }
2656                 }
2657                 
2658 
2659 
2660 
2661 
2662                 public static class AdditionalNarrativeJustificationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398ModularBudget12V12.PHS398ModularBudget12Document.PHS398ModularBudget12.CummulativeBudgetInfo.BudgetJustifications.AdditionalNarrativeJustification
2663                 {
2664                     private static final long serialVersionUID = 1L;
2665                     
2666                     public AdditionalNarrativeJustificationImpl(org.apache.xmlbeans.SchemaType sType)
2667                     {
2668                       super(sType);
2669                     }
2670                     
2671                     private static final javax.xml.namespace.QName ATTFILE$0 = 
2672                       new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_ModularBudget_1_2-V1.2", "attFile");
2673                     
2674                     
2675                     
2676 
2677 
2678                     public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getAttFile()
2679                     {
2680                       synchronized (monitor())
2681                       {
2682                         check_orphaned();
2683                         gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
2684                         target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(ATTFILE$0, 0);
2685                         if (target == null)
2686                         {
2687                           return null;
2688                         }
2689                         return target;
2690                       }
2691                     }
2692                     
2693                     
2694 
2695 
2696                     public void setAttFile(gov.grants.apply.system.attachmentsV10.AttachedFileDataType attFile)
2697                     {
2698                       generatedSetterHelperImpl(attFile, ATTFILE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
2699                     }
2700                     
2701                     
2702 
2703 
2704                     public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewAttFile()
2705                     {
2706                       synchronized (monitor())
2707                       {
2708                         check_orphaned();
2709                         gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
2710                         target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(ATTFILE$0);
2711                         return target;
2712                       }
2713                     }
2714                 }
2715             }
2716         }
2717     }
2718 }