View Javadoc
1   /*
2    * An XML document type.
3    * Localname: SF424C_2_0
4    * Namespace: http://apply.grants.gov/forms/SF424C_2_0-V2.0
5    * Java type: gov.grants.apply.forms.sf424C20V20.SF424C20Document
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.sf424C20V20.impl;
10  /**
11   * A document containing one SF424C_2_0(@http://apply.grants.gov/forms/SF424C_2_0-V2.0) element.
12   *
13   * This is a complex type.
14   */
15  public class SF424C20DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424C20V20.SF424C20Document
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public SF424C20DocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName SF424C20$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "SF424C_2_0");
26      
27      
28      /**
29       * Gets the "SF424C_2_0" element
30       */
31      public gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20 getSF424C20()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20 target = null;
37              target = (gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20)get_store().find_element_user(SF424C20$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "SF424C_2_0" element
48       */
49      public void setSF424C20(gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20 sf424C20)
50      {
51          generatedSetterHelperImpl(sf424C20, SF424C20$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "SF424C_2_0" element
56       */
57      public gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20 addNewSF424C20()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20 target = null;
63              target = (gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20)get_store().add_element_user(SF424C20$0);
64              return target;
65          }
66      }
67      /**
68       * An XML SF424C_2_0(@http://apply.grants.gov/forms/SF424C_2_0-V2.0).
69       *
70       * This is a complex type.
71       */
72      public static class SF424C20Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public SF424C20Impl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName PROJECTCOSTS$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "ProjectCosts");
83          private static final javax.xml.namespace.QName FEDERALFUNDINGPERCENTAGESHAREVALUE$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "FederalFundingPercentageShareValue");
85          private static final javax.xml.namespace.QName FEDERALFUNDINGSHAREVALUE$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "FederalFundingShareValue");
87          private static final javax.xml.namespace.QName PROGRAMTYPE$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "programType");
89          private static final javax.xml.namespace.QName FORMVERSION$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "FormVersion");
91          
92          
93          /**
94           * Gets the "ProjectCosts" element
95           */
96          public gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.ProjectCosts getProjectCosts()
97          {
98              synchronized (monitor())
99              {
100                 check_orphaned();
101                 gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.ProjectCosts target = null;
102                 target = (gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.ProjectCosts)get_store().find_element_user(PROJECTCOSTS$0, 0);
103                 if (target == null)
104                 {
105                     return null;
106                 }
107                 return target;
108             }
109         }
110         
111         /**
112          * True if has "ProjectCosts" element
113          */
114         public boolean isSetProjectCosts()
115         {
116             synchronized (monitor())
117             {
118                 check_orphaned();
119                 return get_store().count_elements(PROJECTCOSTS$0) != 0;
120             }
121         }
122         
123         /**
124          * Sets the "ProjectCosts" element
125          */
126         public void setProjectCosts(gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.ProjectCosts projectCosts)
127         {
128             generatedSetterHelperImpl(projectCosts, PROJECTCOSTS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
129         }
130         
131         /**
132          * Appends and returns a new empty "ProjectCosts" element
133          */
134         public gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.ProjectCosts addNewProjectCosts()
135         {
136             synchronized (monitor())
137             {
138                 check_orphaned();
139                 gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.ProjectCosts target = null;
140                 target = (gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.ProjectCosts)get_store().add_element_user(PROJECTCOSTS$0);
141                 return target;
142             }
143         }
144         
145         /**
146          * Unsets the "ProjectCosts" element
147          */
148         public void unsetProjectCosts()
149         {
150             synchronized (monitor())
151             {
152                 check_orphaned();
153                 get_store().remove_element(PROJECTCOSTS$0, 0);
154             }
155         }
156         
157         /**
158          * Gets the "FederalFundingPercentageShareValue" element
159          */
160         public int getFederalFundingPercentageShareValue()
161         {
162             synchronized (monitor())
163             {
164                 check_orphaned();
165                 org.apache.xmlbeans.SimpleValue target = null;
166                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALFUNDINGPERCENTAGESHAREVALUE$2, 0);
167                 if (target == null)
168                 {
169                     return 0;
170                 }
171                 return target.getIntValue();
172             }
173         }
174         
175         /**
176          * Gets (as xml) the "FederalFundingPercentageShareValue" element
177          */
178         public gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.FederalFundingPercentageShareValue xgetFederalFundingPercentageShareValue()
179         {
180             synchronized (monitor())
181             {
182                 check_orphaned();
183                 gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.FederalFundingPercentageShareValue target = null;
184                 target = (gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.FederalFundingPercentageShareValue)get_store().find_element_user(FEDERALFUNDINGPERCENTAGESHAREVALUE$2, 0);
185                 return target;
186             }
187         }
188         
189         /**
190          * True if has "FederalFundingPercentageShareValue" element
191          */
192         public boolean isSetFederalFundingPercentageShareValue()
193         {
194             synchronized (monitor())
195             {
196                 check_orphaned();
197                 return get_store().count_elements(FEDERALFUNDINGPERCENTAGESHAREVALUE$2) != 0;
198             }
199         }
200         
201         /**
202          * Sets the "FederalFundingPercentageShareValue" element
203          */
204         public void setFederalFundingPercentageShareValue(int federalFundingPercentageShareValue)
205         {
206             synchronized (monitor())
207             {
208                 check_orphaned();
209                 org.apache.xmlbeans.SimpleValue target = null;
210                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALFUNDINGPERCENTAGESHAREVALUE$2, 0);
211                 if (target == null)
212                 {
213                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FEDERALFUNDINGPERCENTAGESHAREVALUE$2);
214                 }
215                 target.setIntValue(federalFundingPercentageShareValue);
216             }
217         }
218         
219         /**
220          * Sets (as xml) the "FederalFundingPercentageShareValue" element
221          */
222         public void xsetFederalFundingPercentageShareValue(gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.FederalFundingPercentageShareValue federalFundingPercentageShareValue)
223         {
224             synchronized (monitor())
225             {
226                 check_orphaned();
227                 gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.FederalFundingPercentageShareValue target = null;
228                 target = (gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.FederalFundingPercentageShareValue)get_store().find_element_user(FEDERALFUNDINGPERCENTAGESHAREVALUE$2, 0);
229                 if (target == null)
230                 {
231                     target = (gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.FederalFundingPercentageShareValue)get_store().add_element_user(FEDERALFUNDINGPERCENTAGESHAREVALUE$2);
232                 }
233                 target.set(federalFundingPercentageShareValue);
234             }
235         }
236         
237         /**
238          * Unsets the "FederalFundingPercentageShareValue" element
239          */
240         public void unsetFederalFundingPercentageShareValue()
241         {
242             synchronized (monitor())
243             {
244                 check_orphaned();
245                 get_store().remove_element(FEDERALFUNDINGPERCENTAGESHAREVALUE$2, 0);
246             }
247         }
248         
249         /**
250          * Gets the "FederalFundingShareValue" element
251          */
252         public java.math.BigDecimal getFederalFundingShareValue()
253         {
254             synchronized (monitor())
255             {
256                 check_orphaned();
257                 org.apache.xmlbeans.SimpleValue target = null;
258                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALFUNDINGSHAREVALUE$4, 0);
259                 if (target == null)
260                 {
261                     return null;
262                 }
263                 return target.getBigDecimalValue();
264             }
265         }
266         
267         /**
268          * Gets (as xml) the "FederalFundingShareValue" element
269          */
270         public gov.grants.apply.forms.sf424C20V20.SubtotalType xgetFederalFundingShareValue()
271         {
272             synchronized (monitor())
273             {
274                 check_orphaned();
275                 gov.grants.apply.forms.sf424C20V20.SubtotalType target = null;
276                 target = (gov.grants.apply.forms.sf424C20V20.SubtotalType)get_store().find_element_user(FEDERALFUNDINGSHAREVALUE$4, 0);
277                 return target;
278             }
279         }
280         
281         /**
282          * True if has "FederalFundingShareValue" element
283          */
284         public boolean isSetFederalFundingShareValue()
285         {
286             synchronized (monitor())
287             {
288                 check_orphaned();
289                 return get_store().count_elements(FEDERALFUNDINGSHAREVALUE$4) != 0;
290             }
291         }
292         
293         /**
294          * Sets the "FederalFundingShareValue" element
295          */
296         public void setFederalFundingShareValue(java.math.BigDecimal federalFundingShareValue)
297         {
298             synchronized (monitor())
299             {
300                 check_orphaned();
301                 org.apache.xmlbeans.SimpleValue target = null;
302                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEDERALFUNDINGSHAREVALUE$4, 0);
303                 if (target == null)
304                 {
305                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FEDERALFUNDINGSHAREVALUE$4);
306                 }
307                 target.setBigDecimalValue(federalFundingShareValue);
308             }
309         }
310         
311         /**
312          * Sets (as xml) the "FederalFundingShareValue" element
313          */
314         public void xsetFederalFundingShareValue(gov.grants.apply.forms.sf424C20V20.SubtotalType federalFundingShareValue)
315         {
316             synchronized (monitor())
317             {
318                 check_orphaned();
319                 gov.grants.apply.forms.sf424C20V20.SubtotalType target = null;
320                 target = (gov.grants.apply.forms.sf424C20V20.SubtotalType)get_store().find_element_user(FEDERALFUNDINGSHAREVALUE$4, 0);
321                 if (target == null)
322                 {
323                     target = (gov.grants.apply.forms.sf424C20V20.SubtotalType)get_store().add_element_user(FEDERALFUNDINGSHAREVALUE$4);
324                 }
325                 target.set(federalFundingShareValue);
326             }
327         }
328         
329         /**
330          * Unsets the "FederalFundingShareValue" element
331          */
332         public void unsetFederalFundingShareValue()
333         {
334             synchronized (monitor())
335             {
336                 check_orphaned();
337                 get_store().remove_element(FEDERALFUNDINGSHAREVALUE$4, 0);
338             }
339         }
340         
341         /**
342          * Gets the "programType" attribute
343          */
344         public java.lang.String getProgramType()
345         {
346             synchronized (monitor())
347             {
348                 check_orphaned();
349                 org.apache.xmlbeans.SimpleValue target = null;
350                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROGRAMTYPE$6);
351                 if (target == null)
352                 {
353                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(PROGRAMTYPE$6);
354                 }
355                 if (target == null)
356                 {
357                     return null;
358                 }
359                 return target.getStringValue();
360             }
361         }
362         
363         /**
364          * Gets (as xml) the "programType" attribute
365          */
366         public org.apache.xmlbeans.XmlString xgetProgramType()
367         {
368             synchronized (monitor())
369             {
370                 check_orphaned();
371                 org.apache.xmlbeans.XmlString target = null;
372                 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROGRAMTYPE$6);
373                 if (target == null)
374                 {
375                     target = (org.apache.xmlbeans.XmlString)get_default_attribute_value(PROGRAMTYPE$6);
376                 }
377                 return target;
378             }
379         }
380         
381         /**
382          * Sets the "programType" attribute
383          */
384         public void setProgramType(java.lang.String programType)
385         {
386             synchronized (monitor())
387             {
388                 check_orphaned();
389                 org.apache.xmlbeans.SimpleValue target = null;
390                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROGRAMTYPE$6);
391                 if (target == null)
392                 {
393                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROGRAMTYPE$6);
394                 }
395                 target.setStringValue(programType);
396             }
397         }
398         
399         /**
400          * Sets (as xml) the "programType" attribute
401          */
402         public void xsetProgramType(org.apache.xmlbeans.XmlString programType)
403         {
404             synchronized (monitor())
405             {
406                 check_orphaned();
407                 org.apache.xmlbeans.XmlString target = null;
408                 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROGRAMTYPE$6);
409                 if (target == null)
410                 {
411                     target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PROGRAMTYPE$6);
412                 }
413                 target.set(programType);
414             }
415         }
416         
417         /**
418          * Gets the "FormVersion" attribute
419          */
420         public java.lang.String getFormVersion()
421         {
422             synchronized (monitor())
423             {
424                 check_orphaned();
425                 org.apache.xmlbeans.SimpleValue target = null;
426                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$8);
427                 if (target == null)
428                 {
429                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$8);
430                 }
431                 if (target == null)
432                 {
433                     return null;
434                 }
435                 return target.getStringValue();
436             }
437         }
438         
439         /**
440          * Gets (as xml) the "FormVersion" attribute
441          */
442         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
443         {
444             synchronized (monitor())
445             {
446                 check_orphaned();
447                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
448                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$8);
449                 if (target == null)
450                 {
451                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$8);
452                 }
453                 return target;
454             }
455         }
456         
457         /**
458          * Sets the "FormVersion" attribute
459          */
460         public void setFormVersion(java.lang.String formVersion)
461         {
462             synchronized (monitor())
463             {
464                 check_orphaned();
465                 org.apache.xmlbeans.SimpleValue target = null;
466                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$8);
467                 if (target == null)
468                 {
469                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$8);
470                 }
471                 target.setStringValue(formVersion);
472             }
473         }
474         
475         /**
476          * Sets (as xml) the "FormVersion" attribute
477          */
478         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
479         {
480             synchronized (monitor())
481             {
482                 check_orphaned();
483                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
484                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$8);
485                 if (target == null)
486                 {
487                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$8);
488                 }
489                 target.set(formVersion);
490             }
491         }
492         /**
493          * An XML ProjectCosts(@http://apply.grants.gov/forms/SF424C_2_0-V2.0).
494          *
495          * This is a complex type.
496          */
497         public static class ProjectCostsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.ProjectCosts
498         {
499             private static final long serialVersionUID = 1L;
500             
501             public ProjectCostsImpl(org.apache.xmlbeans.SchemaType sType)
502             {
503                 super(sType);
504             }
505             
506             private static final javax.xml.namespace.QName ADMINISTRATIONCOST$0 = 
507                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "AdministrationCost");
508             private static final javax.xml.namespace.QName LANDCOST$2 = 
509                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "LandCost");
510             private static final javax.xml.namespace.QName RELOCATIONCOST$4 = 
511                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "RelocationCost");
512             private static final javax.xml.namespace.QName ARCHITECTURALCOST$6 = 
513                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "ArchitecturalCost");
514             private static final javax.xml.namespace.QName OTHERARCHITECTURALCOST$8 = 
515                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "OtherArchitecturalCost");
516             private static final javax.xml.namespace.QName INSPECTIONFEESCOST$10 = 
517                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "InspectionFeesCost");
518             private static final javax.xml.namespace.QName SITEWORKCOST$12 = 
519                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "SiteWorkCost");
520             private static final javax.xml.namespace.QName DEMOLITIONCOST$14 = 
521                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "DemolitionCost");
522             private static final javax.xml.namespace.QName CONSTRUCTIONCOST$16 = 
523                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "ConstructionCost");
524             private static final javax.xml.namespace.QName EQUIPMENTCOST$18 = 
525                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "EquipmentCost");
526             private static final javax.xml.namespace.QName MISCELLANEOUS$20 = 
527                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "Miscellaneous");
528             private static final javax.xml.namespace.QName COSTSUBTOTALBEFORECONTINGENCIES$22 = 
529                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "CostSubtotalBeforeContingencies");
530             private static final javax.xml.namespace.QName CONTINGENCIES$24 = 
531                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "Contingencies");
532             private static final javax.xml.namespace.QName COSTSUBTOTALAFTERCONTINGENCIES$26 = 
533                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "CostSubtotalAfterContingencies");
534             private static final javax.xml.namespace.QName PROGRAMINCOME$28 = 
535                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "ProgramIncome");
536             private static final javax.xml.namespace.QName TOTALPROJECTCOSTS$30 = 
537                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424C_2_0-V2.0", "TotalProjectCosts");
538             
539             
540             /**
541              * Gets the "AdministrationCost" element
542              */
543             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getAdministrationCost()
544             {
545                 synchronized (monitor())
546                 {
547                     check_orphaned();
548                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
549                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(ADMINISTRATIONCOST$0, 0);
550                     if (target == null)
551                     {
552                       return null;
553                     }
554                     return target;
555                 }
556             }
557             
558             /**
559              * True if has "AdministrationCost" element
560              */
561             public boolean isSetAdministrationCost()
562             {
563                 synchronized (monitor())
564                 {
565                     check_orphaned();
566                     return get_store().count_elements(ADMINISTRATIONCOST$0) != 0;
567                 }
568             }
569             
570             /**
571              * Sets the "AdministrationCost" element
572              */
573             public void setAdministrationCost(gov.grants.apply.forms.sf424C20V20.CostAmountGroup administrationCost)
574             {
575                 generatedSetterHelperImpl(administrationCost, ADMINISTRATIONCOST$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
576             }
577             
578             /**
579              * Appends and returns a new empty "AdministrationCost" element
580              */
581             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewAdministrationCost()
582             {
583                 synchronized (monitor())
584                 {
585                     check_orphaned();
586                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
587                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(ADMINISTRATIONCOST$0);
588                     return target;
589                 }
590             }
591             
592             /**
593              * Unsets the "AdministrationCost" element
594              */
595             public void unsetAdministrationCost()
596             {
597                 synchronized (monitor())
598                 {
599                     check_orphaned();
600                     get_store().remove_element(ADMINISTRATIONCOST$0, 0);
601                 }
602             }
603             
604             /**
605              * Gets the "LandCost" element
606              */
607             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getLandCost()
608             {
609                 synchronized (monitor())
610                 {
611                     check_orphaned();
612                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
613                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(LANDCOST$2, 0);
614                     if (target == null)
615                     {
616                       return null;
617                     }
618                     return target;
619                 }
620             }
621             
622             /**
623              * True if has "LandCost" element
624              */
625             public boolean isSetLandCost()
626             {
627                 synchronized (monitor())
628                 {
629                     check_orphaned();
630                     return get_store().count_elements(LANDCOST$2) != 0;
631                 }
632             }
633             
634             /**
635              * Sets the "LandCost" element
636              */
637             public void setLandCost(gov.grants.apply.forms.sf424C20V20.CostAmountGroup landCost)
638             {
639                 generatedSetterHelperImpl(landCost, LANDCOST$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
640             }
641             
642             /**
643              * Appends and returns a new empty "LandCost" element
644              */
645             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewLandCost()
646             {
647                 synchronized (monitor())
648                 {
649                     check_orphaned();
650                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
651                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(LANDCOST$2);
652                     return target;
653                 }
654             }
655             
656             /**
657              * Unsets the "LandCost" element
658              */
659             public void unsetLandCost()
660             {
661                 synchronized (monitor())
662                 {
663                     check_orphaned();
664                     get_store().remove_element(LANDCOST$2, 0);
665                 }
666             }
667             
668             /**
669              * Gets the "RelocationCost" element
670              */
671             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getRelocationCost()
672             {
673                 synchronized (monitor())
674                 {
675                     check_orphaned();
676                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
677                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(RELOCATIONCOST$4, 0);
678                     if (target == null)
679                     {
680                       return null;
681                     }
682                     return target;
683                 }
684             }
685             
686             /**
687              * True if has "RelocationCost" element
688              */
689             public boolean isSetRelocationCost()
690             {
691                 synchronized (monitor())
692                 {
693                     check_orphaned();
694                     return get_store().count_elements(RELOCATIONCOST$4) != 0;
695                 }
696             }
697             
698             /**
699              * Sets the "RelocationCost" element
700              */
701             public void setRelocationCost(gov.grants.apply.forms.sf424C20V20.CostAmountGroup relocationCost)
702             {
703                 generatedSetterHelperImpl(relocationCost, RELOCATIONCOST$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
704             }
705             
706             /**
707              * Appends and returns a new empty "RelocationCost" element
708              */
709             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewRelocationCost()
710             {
711                 synchronized (monitor())
712                 {
713                     check_orphaned();
714                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
715                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(RELOCATIONCOST$4);
716                     return target;
717                 }
718             }
719             
720             /**
721              * Unsets the "RelocationCost" element
722              */
723             public void unsetRelocationCost()
724             {
725                 synchronized (monitor())
726                 {
727                     check_orphaned();
728                     get_store().remove_element(RELOCATIONCOST$4, 0);
729                 }
730             }
731             
732             /**
733              * Gets the "ArchitecturalCost" element
734              */
735             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getArchitecturalCost()
736             {
737                 synchronized (monitor())
738                 {
739                     check_orphaned();
740                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
741                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(ARCHITECTURALCOST$6, 0);
742                     if (target == null)
743                     {
744                       return null;
745                     }
746                     return target;
747                 }
748             }
749             
750             /**
751              * True if has "ArchitecturalCost" element
752              */
753             public boolean isSetArchitecturalCost()
754             {
755                 synchronized (monitor())
756                 {
757                     check_orphaned();
758                     return get_store().count_elements(ARCHITECTURALCOST$6) != 0;
759                 }
760             }
761             
762             /**
763              * Sets the "ArchitecturalCost" element
764              */
765             public void setArchitecturalCost(gov.grants.apply.forms.sf424C20V20.CostAmountGroup architecturalCost)
766             {
767                 generatedSetterHelperImpl(architecturalCost, ARCHITECTURALCOST$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
768             }
769             
770             /**
771              * Appends and returns a new empty "ArchitecturalCost" element
772              */
773             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewArchitecturalCost()
774             {
775                 synchronized (monitor())
776                 {
777                     check_orphaned();
778                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
779                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(ARCHITECTURALCOST$6);
780                     return target;
781                 }
782             }
783             
784             /**
785              * Unsets the "ArchitecturalCost" element
786              */
787             public void unsetArchitecturalCost()
788             {
789                 synchronized (monitor())
790                 {
791                     check_orphaned();
792                     get_store().remove_element(ARCHITECTURALCOST$6, 0);
793                 }
794             }
795             
796             /**
797              * Gets the "OtherArchitecturalCost" element
798              */
799             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getOtherArchitecturalCost()
800             {
801                 synchronized (monitor())
802                 {
803                     check_orphaned();
804                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
805                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(OTHERARCHITECTURALCOST$8, 0);
806                     if (target == null)
807                     {
808                       return null;
809                     }
810                     return target;
811                 }
812             }
813             
814             /**
815              * True if has "OtherArchitecturalCost" element
816              */
817             public boolean isSetOtherArchitecturalCost()
818             {
819                 synchronized (monitor())
820                 {
821                     check_orphaned();
822                     return get_store().count_elements(OTHERARCHITECTURALCOST$8) != 0;
823                 }
824             }
825             
826             /**
827              * Sets the "OtherArchitecturalCost" element
828              */
829             public void setOtherArchitecturalCost(gov.grants.apply.forms.sf424C20V20.CostAmountGroup otherArchitecturalCost)
830             {
831                 generatedSetterHelperImpl(otherArchitecturalCost, OTHERARCHITECTURALCOST$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
832             }
833             
834             /**
835              * Appends and returns a new empty "OtherArchitecturalCost" element
836              */
837             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewOtherArchitecturalCost()
838             {
839                 synchronized (monitor())
840                 {
841                     check_orphaned();
842                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
843                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(OTHERARCHITECTURALCOST$8);
844                     return target;
845                 }
846             }
847             
848             /**
849              * Unsets the "OtherArchitecturalCost" element
850              */
851             public void unsetOtherArchitecturalCost()
852             {
853                 synchronized (monitor())
854                 {
855                     check_orphaned();
856                     get_store().remove_element(OTHERARCHITECTURALCOST$8, 0);
857                 }
858             }
859             
860             /**
861              * Gets the "InspectionFeesCost" element
862              */
863             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getInspectionFeesCost()
864             {
865                 synchronized (monitor())
866                 {
867                     check_orphaned();
868                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
869                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(INSPECTIONFEESCOST$10, 0);
870                     if (target == null)
871                     {
872                       return null;
873                     }
874                     return target;
875                 }
876             }
877             
878             /**
879              * True if has "InspectionFeesCost" element
880              */
881             public boolean isSetInspectionFeesCost()
882             {
883                 synchronized (monitor())
884                 {
885                     check_orphaned();
886                     return get_store().count_elements(INSPECTIONFEESCOST$10) != 0;
887                 }
888             }
889             
890             /**
891              * Sets the "InspectionFeesCost" element
892              */
893             public void setInspectionFeesCost(gov.grants.apply.forms.sf424C20V20.CostAmountGroup inspectionFeesCost)
894             {
895                 generatedSetterHelperImpl(inspectionFeesCost, INSPECTIONFEESCOST$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
896             }
897             
898             /**
899              * Appends and returns a new empty "InspectionFeesCost" element
900              */
901             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewInspectionFeesCost()
902             {
903                 synchronized (monitor())
904                 {
905                     check_orphaned();
906                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
907                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(INSPECTIONFEESCOST$10);
908                     return target;
909                 }
910             }
911             
912             /**
913              * Unsets the "InspectionFeesCost" element
914              */
915             public void unsetInspectionFeesCost()
916             {
917                 synchronized (monitor())
918                 {
919                     check_orphaned();
920                     get_store().remove_element(INSPECTIONFEESCOST$10, 0);
921                 }
922             }
923             
924             /**
925              * Gets the "SiteWorkCost" element
926              */
927             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getSiteWorkCost()
928             {
929                 synchronized (monitor())
930                 {
931                     check_orphaned();
932                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
933                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(SITEWORKCOST$12, 0);
934                     if (target == null)
935                     {
936                       return null;
937                     }
938                     return target;
939                 }
940             }
941             
942             /**
943              * True if has "SiteWorkCost" element
944              */
945             public boolean isSetSiteWorkCost()
946             {
947                 synchronized (monitor())
948                 {
949                     check_orphaned();
950                     return get_store().count_elements(SITEWORKCOST$12) != 0;
951                 }
952             }
953             
954             /**
955              * Sets the "SiteWorkCost" element
956              */
957             public void setSiteWorkCost(gov.grants.apply.forms.sf424C20V20.CostAmountGroup siteWorkCost)
958             {
959                 generatedSetterHelperImpl(siteWorkCost, SITEWORKCOST$12, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
960             }
961             
962             /**
963              * Appends and returns a new empty "SiteWorkCost" element
964              */
965             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewSiteWorkCost()
966             {
967                 synchronized (monitor())
968                 {
969                     check_orphaned();
970                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
971                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(SITEWORKCOST$12);
972                     return target;
973                 }
974             }
975             
976             /**
977              * Unsets the "SiteWorkCost" element
978              */
979             public void unsetSiteWorkCost()
980             {
981                 synchronized (monitor())
982                 {
983                     check_orphaned();
984                     get_store().remove_element(SITEWORKCOST$12, 0);
985                 }
986             }
987             
988             /**
989              * Gets the "DemolitionCost" element
990              */
991             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getDemolitionCost()
992             {
993                 synchronized (monitor())
994                 {
995                     check_orphaned();
996                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
997                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(DEMOLITIONCOST$14, 0);
998                     if (target == null)
999                     {
1000                       return null;
1001                     }
1002                     return target;
1003                 }
1004             }
1005             
1006             /**
1007              * True if has "DemolitionCost" element
1008              */
1009             public boolean isSetDemolitionCost()
1010             {
1011                 synchronized (monitor())
1012                 {
1013                     check_orphaned();
1014                     return get_store().count_elements(DEMOLITIONCOST$14) != 0;
1015                 }
1016             }
1017             
1018             /**
1019              * Sets the "DemolitionCost" element
1020              */
1021             public void setDemolitionCost(gov.grants.apply.forms.sf424C20V20.CostAmountGroup demolitionCost)
1022             {
1023                 generatedSetterHelperImpl(demolitionCost, DEMOLITIONCOST$14, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1024             }
1025             
1026             /**
1027              * Appends and returns a new empty "DemolitionCost" element
1028              */
1029             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewDemolitionCost()
1030             {
1031                 synchronized (monitor())
1032                 {
1033                     check_orphaned();
1034                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1035                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(DEMOLITIONCOST$14);
1036                     return target;
1037                 }
1038             }
1039             
1040             /**
1041              * Unsets the "DemolitionCost" element
1042              */
1043             public void unsetDemolitionCost()
1044             {
1045                 synchronized (monitor())
1046                 {
1047                     check_orphaned();
1048                     get_store().remove_element(DEMOLITIONCOST$14, 0);
1049                 }
1050             }
1051             
1052             /**
1053              * Gets the "ConstructionCost" element
1054              */
1055             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getConstructionCost()
1056             {
1057                 synchronized (monitor())
1058                 {
1059                     check_orphaned();
1060                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1061                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(CONSTRUCTIONCOST$16, 0);
1062                     if (target == null)
1063                     {
1064                       return null;
1065                     }
1066                     return target;
1067                 }
1068             }
1069             
1070             /**
1071              * True if has "ConstructionCost" element
1072              */
1073             public boolean isSetConstructionCost()
1074             {
1075                 synchronized (monitor())
1076                 {
1077                     check_orphaned();
1078                     return get_store().count_elements(CONSTRUCTIONCOST$16) != 0;
1079                 }
1080             }
1081             
1082             /**
1083              * Sets the "ConstructionCost" element
1084              */
1085             public void setConstructionCost(gov.grants.apply.forms.sf424C20V20.CostAmountGroup constructionCost)
1086             {
1087                 generatedSetterHelperImpl(constructionCost, CONSTRUCTIONCOST$16, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1088             }
1089             
1090             /**
1091              * Appends and returns a new empty "ConstructionCost" element
1092              */
1093             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewConstructionCost()
1094             {
1095                 synchronized (monitor())
1096                 {
1097                     check_orphaned();
1098                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1099                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(CONSTRUCTIONCOST$16);
1100                     return target;
1101                 }
1102             }
1103             
1104             /**
1105              * Unsets the "ConstructionCost" element
1106              */
1107             public void unsetConstructionCost()
1108             {
1109                 synchronized (monitor())
1110                 {
1111                     check_orphaned();
1112                     get_store().remove_element(CONSTRUCTIONCOST$16, 0);
1113                 }
1114             }
1115             
1116             /**
1117              * Gets the "EquipmentCost" element
1118              */
1119             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getEquipmentCost()
1120             {
1121                 synchronized (monitor())
1122                 {
1123                     check_orphaned();
1124                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1125                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(EQUIPMENTCOST$18, 0);
1126                     if (target == null)
1127                     {
1128                       return null;
1129                     }
1130                     return target;
1131                 }
1132             }
1133             
1134             /**
1135              * True if has "EquipmentCost" element
1136              */
1137             public boolean isSetEquipmentCost()
1138             {
1139                 synchronized (monitor())
1140                 {
1141                     check_orphaned();
1142                     return get_store().count_elements(EQUIPMENTCOST$18) != 0;
1143                 }
1144             }
1145             
1146             /**
1147              * Sets the "EquipmentCost" element
1148              */
1149             public void setEquipmentCost(gov.grants.apply.forms.sf424C20V20.CostAmountGroup equipmentCost)
1150             {
1151                 generatedSetterHelperImpl(equipmentCost, EQUIPMENTCOST$18, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1152             }
1153             
1154             /**
1155              * Appends and returns a new empty "EquipmentCost" element
1156              */
1157             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewEquipmentCost()
1158             {
1159                 synchronized (monitor())
1160                 {
1161                     check_orphaned();
1162                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1163                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(EQUIPMENTCOST$18);
1164                     return target;
1165                 }
1166             }
1167             
1168             /**
1169              * Unsets the "EquipmentCost" element
1170              */
1171             public void unsetEquipmentCost()
1172             {
1173                 synchronized (monitor())
1174                 {
1175                     check_orphaned();
1176                     get_store().remove_element(EQUIPMENTCOST$18, 0);
1177                 }
1178             }
1179             
1180             /**
1181              * Gets the "Miscellaneous" element
1182              */
1183             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getMiscellaneous()
1184             {
1185                 synchronized (monitor())
1186                 {
1187                     check_orphaned();
1188                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1189                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(MISCELLANEOUS$20, 0);
1190                     if (target == null)
1191                     {
1192                       return null;
1193                     }
1194                     return target;
1195                 }
1196             }
1197             
1198             /**
1199              * True if has "Miscellaneous" element
1200              */
1201             public boolean isSetMiscellaneous()
1202             {
1203                 synchronized (monitor())
1204                 {
1205                     check_orphaned();
1206                     return get_store().count_elements(MISCELLANEOUS$20) != 0;
1207                 }
1208             }
1209             
1210             /**
1211              * Sets the "Miscellaneous" element
1212              */
1213             public void setMiscellaneous(gov.grants.apply.forms.sf424C20V20.CostAmountGroup miscellaneous)
1214             {
1215                 generatedSetterHelperImpl(miscellaneous, MISCELLANEOUS$20, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1216             }
1217             
1218             /**
1219              * Appends and returns a new empty "Miscellaneous" element
1220              */
1221             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewMiscellaneous()
1222             {
1223                 synchronized (monitor())
1224                 {
1225                     check_orphaned();
1226                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1227                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(MISCELLANEOUS$20);
1228                     return target;
1229                 }
1230             }
1231             
1232             /**
1233              * Unsets the "Miscellaneous" element
1234              */
1235             public void unsetMiscellaneous()
1236             {
1237                 synchronized (monitor())
1238                 {
1239                     check_orphaned();
1240                     get_store().remove_element(MISCELLANEOUS$20, 0);
1241                 }
1242             }
1243             
1244             /**
1245              * Gets the "CostSubtotalBeforeContingencies" element
1246              */
1247             public gov.grants.apply.forms.sf424C20V20.CostTotalGroup getCostSubtotalBeforeContingencies()
1248             {
1249                 synchronized (monitor())
1250                 {
1251                     check_orphaned();
1252                     gov.grants.apply.forms.sf424C20V20.CostTotalGroup target = null;
1253                     target = (gov.grants.apply.forms.sf424C20V20.CostTotalGroup)get_store().find_element_user(COSTSUBTOTALBEFORECONTINGENCIES$22, 0);
1254                     if (target == null)
1255                     {
1256                       return null;
1257                     }
1258                     return target;
1259                 }
1260             }
1261             
1262             /**
1263              * Sets the "CostSubtotalBeforeContingencies" element
1264              */
1265             public void setCostSubtotalBeforeContingencies(gov.grants.apply.forms.sf424C20V20.CostTotalGroup costSubtotalBeforeContingencies)
1266             {
1267                 generatedSetterHelperImpl(costSubtotalBeforeContingencies, COSTSUBTOTALBEFORECONTINGENCIES$22, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1268             }
1269             
1270             /**
1271              * Appends and returns a new empty "CostSubtotalBeforeContingencies" element
1272              */
1273             public gov.grants.apply.forms.sf424C20V20.CostTotalGroup addNewCostSubtotalBeforeContingencies()
1274             {
1275                 synchronized (monitor())
1276                 {
1277                     check_orphaned();
1278                     gov.grants.apply.forms.sf424C20V20.CostTotalGroup target = null;
1279                     target = (gov.grants.apply.forms.sf424C20V20.CostTotalGroup)get_store().add_element_user(COSTSUBTOTALBEFORECONTINGENCIES$22);
1280                     return target;
1281                 }
1282             }
1283             
1284             /**
1285              * Gets the "Contingencies" element
1286              */
1287             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getContingencies()
1288             {
1289                 synchronized (monitor())
1290                 {
1291                     check_orphaned();
1292                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1293                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(CONTINGENCIES$24, 0);
1294                     if (target == null)
1295                     {
1296                       return null;
1297                     }
1298                     return target;
1299                 }
1300             }
1301             
1302             /**
1303              * True if has "Contingencies" element
1304              */
1305             public boolean isSetContingencies()
1306             {
1307                 synchronized (monitor())
1308                 {
1309                     check_orphaned();
1310                     return get_store().count_elements(CONTINGENCIES$24) != 0;
1311                 }
1312             }
1313             
1314             /**
1315              * Sets the "Contingencies" element
1316              */
1317             public void setContingencies(gov.grants.apply.forms.sf424C20V20.CostAmountGroup contingencies)
1318             {
1319                 generatedSetterHelperImpl(contingencies, CONTINGENCIES$24, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1320             }
1321             
1322             /**
1323              * Appends and returns a new empty "Contingencies" element
1324              */
1325             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewContingencies()
1326             {
1327                 synchronized (monitor())
1328                 {
1329                     check_orphaned();
1330                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1331                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(CONTINGENCIES$24);
1332                     return target;
1333                 }
1334             }
1335             
1336             /**
1337              * Unsets the "Contingencies" element
1338              */
1339             public void unsetContingencies()
1340             {
1341                 synchronized (monitor())
1342                 {
1343                     check_orphaned();
1344                     get_store().remove_element(CONTINGENCIES$24, 0);
1345                 }
1346             }
1347             
1348             /**
1349              * Gets the "CostSubtotalAfterContingencies" element
1350              */
1351             public gov.grants.apply.forms.sf424C20V20.CostTotalGroup getCostSubtotalAfterContingencies()
1352             {
1353                 synchronized (monitor())
1354                 {
1355                     check_orphaned();
1356                     gov.grants.apply.forms.sf424C20V20.CostTotalGroup target = null;
1357                     target = (gov.grants.apply.forms.sf424C20V20.CostTotalGroup)get_store().find_element_user(COSTSUBTOTALAFTERCONTINGENCIES$26, 0);
1358                     if (target == null)
1359                     {
1360                       return null;
1361                     }
1362                     return target;
1363                 }
1364             }
1365             
1366             /**
1367              * Sets the "CostSubtotalAfterContingencies" element
1368              */
1369             public void setCostSubtotalAfterContingencies(gov.grants.apply.forms.sf424C20V20.CostTotalGroup costSubtotalAfterContingencies)
1370             {
1371                 generatedSetterHelperImpl(costSubtotalAfterContingencies, COSTSUBTOTALAFTERCONTINGENCIES$26, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1372             }
1373             
1374             /**
1375              * Appends and returns a new empty "CostSubtotalAfterContingencies" element
1376              */
1377             public gov.grants.apply.forms.sf424C20V20.CostTotalGroup addNewCostSubtotalAfterContingencies()
1378             {
1379                 synchronized (monitor())
1380                 {
1381                     check_orphaned();
1382                     gov.grants.apply.forms.sf424C20V20.CostTotalGroup target = null;
1383                     target = (gov.grants.apply.forms.sf424C20V20.CostTotalGroup)get_store().add_element_user(COSTSUBTOTALAFTERCONTINGENCIES$26);
1384                     return target;
1385                 }
1386             }
1387             
1388             /**
1389              * Gets the "ProgramIncome" element
1390              */
1391             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup getProgramIncome()
1392             {
1393                 synchronized (monitor())
1394                 {
1395                     check_orphaned();
1396                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1397                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().find_element_user(PROGRAMINCOME$28, 0);
1398                     if (target == null)
1399                     {
1400                       return null;
1401                     }
1402                     return target;
1403                 }
1404             }
1405             
1406             /**
1407              * True if has "ProgramIncome" element
1408              */
1409             public boolean isSetProgramIncome()
1410             {
1411                 synchronized (monitor())
1412                 {
1413                     check_orphaned();
1414                     return get_store().count_elements(PROGRAMINCOME$28) != 0;
1415                 }
1416             }
1417             
1418             /**
1419              * Sets the "ProgramIncome" element
1420              */
1421             public void setProgramIncome(gov.grants.apply.forms.sf424C20V20.CostAmountGroup programIncome)
1422             {
1423                 generatedSetterHelperImpl(programIncome, PROGRAMINCOME$28, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1424             }
1425             
1426             /**
1427              * Appends and returns a new empty "ProgramIncome" element
1428              */
1429             public gov.grants.apply.forms.sf424C20V20.CostAmountGroup addNewProgramIncome()
1430             {
1431                 synchronized (monitor())
1432                 {
1433                     check_orphaned();
1434                     gov.grants.apply.forms.sf424C20V20.CostAmountGroup target = null;
1435                     target = (gov.grants.apply.forms.sf424C20V20.CostAmountGroup)get_store().add_element_user(PROGRAMINCOME$28);
1436                     return target;
1437                 }
1438             }
1439             
1440             /**
1441              * Unsets the "ProgramIncome" element
1442              */
1443             public void unsetProgramIncome()
1444             {
1445                 synchronized (monitor())
1446                 {
1447                     check_orphaned();
1448                     get_store().remove_element(PROGRAMINCOME$28, 0);
1449                 }
1450             }
1451             
1452             /**
1453              * Gets the "TotalProjectCosts" element
1454              */
1455             public gov.grants.apply.forms.sf424C20V20.CostTotalGroup getTotalProjectCosts()
1456             {
1457                 synchronized (monitor())
1458                 {
1459                     check_orphaned();
1460                     gov.grants.apply.forms.sf424C20V20.CostTotalGroup target = null;
1461                     target = (gov.grants.apply.forms.sf424C20V20.CostTotalGroup)get_store().find_element_user(TOTALPROJECTCOSTS$30, 0);
1462                     if (target == null)
1463                     {
1464                       return null;
1465                     }
1466                     return target;
1467                 }
1468             }
1469             
1470             /**
1471              * True if has "TotalProjectCosts" element
1472              */
1473             public boolean isSetTotalProjectCosts()
1474             {
1475                 synchronized (monitor())
1476                 {
1477                     check_orphaned();
1478                     return get_store().count_elements(TOTALPROJECTCOSTS$30) != 0;
1479                 }
1480             }
1481             
1482             /**
1483              * Sets the "TotalProjectCosts" element
1484              */
1485             public void setTotalProjectCosts(gov.grants.apply.forms.sf424C20V20.CostTotalGroup totalProjectCosts)
1486             {
1487                 generatedSetterHelperImpl(totalProjectCosts, TOTALPROJECTCOSTS$30, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1488             }
1489             
1490             /**
1491              * Appends and returns a new empty "TotalProjectCosts" element
1492              */
1493             public gov.grants.apply.forms.sf424C20V20.CostTotalGroup addNewTotalProjectCosts()
1494             {
1495                 synchronized (monitor())
1496                 {
1497                     check_orphaned();
1498                     gov.grants.apply.forms.sf424C20V20.CostTotalGroup target = null;
1499                     target = (gov.grants.apply.forms.sf424C20V20.CostTotalGroup)get_store().add_element_user(TOTALPROJECTCOSTS$30);
1500                     return target;
1501                 }
1502             }
1503             
1504             /**
1505              * Unsets the "TotalProjectCosts" element
1506              */
1507             public void unsetTotalProjectCosts()
1508             {
1509                 synchronized (monitor())
1510                 {
1511                     check_orphaned();
1512                     get_store().remove_element(TOTALPROJECTCOSTS$30, 0);
1513                 }
1514             }
1515         }
1516         /**
1517          * An XML FederalFundingPercentageShareValue(@http://apply.grants.gov/forms/SF424C_2_0-V2.0).
1518          *
1519          * This is an atomic type that is a restriction of gov.grants.apply.forms.sf424C20V20.SF424C20Document$SF424C20$FederalFundingPercentageShareValue.
1520          */
1521         public static class FederalFundingPercentageShareValueImpl extends org.apache.xmlbeans.impl.values.JavaIntHolderEx implements gov.grants.apply.forms.sf424C20V20.SF424C20Document.SF424C20.FederalFundingPercentageShareValue
1522         {
1523             private static final long serialVersionUID = 1L;
1524             
1525             public FederalFundingPercentageShareValueImpl(org.apache.xmlbeans.SchemaType sType)
1526             {
1527                 super(sType, false);
1528             }
1529             
1530             protected FederalFundingPercentageShareValueImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1531             {
1532                 super(sType, b);
1533             }
1534         }
1535     }
1536 }