View Javadoc
1   /*
2    * An XML document type.
3    * Localname: DOE_F_540_5
4    * Namespace: http://apply.grants.gov/forms/DOE_F_540_5-V1.0
5    * Java type: gov.grants.apply.forms.doeF5405V10.DOEF5405Document
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.doeF5405V10.impl;
10  /**
11   * A document containing one DOE_F_540_5(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class DOEF5405DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public DOEF5405DocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName DOEF5405$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "DOE_F_540_5");
26      
27      
28      /**
29       * Gets the "DOE_F_540_5" element
30       */
31      public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405 getDOEF5405()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405 target = null;
37              target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405)get_store().find_element_user(DOEF5405$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "DOE_F_540_5" element
48       */
49      public void setDOEF5405(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405 doef5405)
50      {
51          generatedSetterHelperImpl(doef5405, DOEF5405$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "DOE_F_540_5" element
56       */
57      public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405 addNewDOEF5405()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405 target = null;
63              target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405)get_store().add_element_user(DOEF5405$0);
64              return target;
65          }
66      }
67      /**
68       * An XML DOE_F_540_5(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
69       *
70       * This is a complex type.
71       */
72      public static class DOEF5405Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public DOEF5405Impl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName SUBGRANTEE$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "Subgrantee");
83          private static final javax.xml.namespace.QName FORMVERSION$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "FormVersion");
85          
86          
87          /**
88           * Gets array of all "Subgrantee" elements
89           */
90          public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee[] getSubgranteeArray()
91          {
92              synchronized (monitor())
93              {
94                  check_orphaned();
95                  java.util.List targetList = new java.util.ArrayList();
96                  get_store().find_all_element_users(SUBGRANTEE$0, targetList);
97                  gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee[] result = new gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee[targetList.size()];
98                  targetList.toArray(result);
99                  return result;
100             }
101         }
102         
103         /**
104          * Gets ith "Subgrantee" element
105          */
106         public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee getSubgranteeArray(int i)
107         {
108             synchronized (monitor())
109             {
110                 check_orphaned();
111                 gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee target = null;
112                 target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee)get_store().find_element_user(SUBGRANTEE$0, i);
113                 if (target == null)
114                 {
115                     throw new IndexOutOfBoundsException();
116                 }
117                 return target;
118             }
119         }
120         
121         /**
122          * Returns number of "Subgrantee" element
123          */
124         public int sizeOfSubgranteeArray()
125         {
126             synchronized (monitor())
127             {
128                 check_orphaned();
129                 return get_store().count_elements(SUBGRANTEE$0);
130             }
131         }
132         
133         /**
134          * Sets array of all "Subgrantee" element  WARNING: This method is not atomicaly synchronized.
135          */
136         public void setSubgranteeArray(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee[] subgranteeArray)
137         {
138             check_orphaned();
139             arraySetterHelper(subgranteeArray, SUBGRANTEE$0);
140         }
141         
142         /**
143          * Sets ith "Subgrantee" element
144          */
145         public void setSubgranteeArray(int i, gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee subgrantee)
146         {
147             generatedSetterHelperImpl(subgrantee, SUBGRANTEE$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
148         }
149         
150         /**
151          * Inserts and returns a new empty value (as xml) as the ith "Subgrantee" element
152          */
153         public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee insertNewSubgrantee(int i)
154         {
155             synchronized (monitor())
156             {
157                 check_orphaned();
158                 gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee target = null;
159                 target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee)get_store().insert_element_user(SUBGRANTEE$0, i);
160                 return target;
161             }
162         }
163         
164         /**
165          * Appends and returns a new empty value (as xml) as the last "Subgrantee" element
166          */
167         public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee addNewSubgrantee()
168         {
169             synchronized (monitor())
170             {
171                 check_orphaned();
172                 gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee target = null;
173                 target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee)get_store().add_element_user(SUBGRANTEE$0);
174                 return target;
175             }
176         }
177         
178         /**
179          * Removes the ith "Subgrantee" element
180          */
181         public void removeSubgrantee(int i)
182         {
183             synchronized (monitor())
184             {
185                 check_orphaned();
186                 get_store().remove_element(SUBGRANTEE$0, i);
187             }
188         }
189         
190         /**
191          * Gets the "FormVersion" attribute
192          */
193         public java.lang.String getFormVersion()
194         {
195             synchronized (monitor())
196             {
197                 check_orphaned();
198                 org.apache.xmlbeans.SimpleValue target = null;
199                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$2);
200                 if (target == null)
201                 {
202                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$2);
203                 }
204                 if (target == null)
205                 {
206                     return null;
207                 }
208                 return target.getStringValue();
209             }
210         }
211         
212         /**
213          * Gets (as xml) the "FormVersion" attribute
214          */
215         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
216         {
217             synchronized (monitor())
218             {
219                 check_orphaned();
220                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
221                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$2);
222                 if (target == null)
223                 {
224                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$2);
225                 }
226                 return target;
227             }
228         }
229         
230         /**
231          * Sets the "FormVersion" attribute
232          */
233         public void setFormVersion(java.lang.String formVersion)
234         {
235             synchronized (monitor())
236             {
237                 check_orphaned();
238                 org.apache.xmlbeans.SimpleValue target = null;
239                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$2);
240                 if (target == null)
241                 {
242                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$2);
243                 }
244                 target.setStringValue(formVersion);
245             }
246         }
247         
248         /**
249          * Sets (as xml) the "FormVersion" attribute
250          */
251         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
252         {
253             synchronized (monitor())
254             {
255                 check_orphaned();
256                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
257                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$2);
258                 if (target == null)
259                 {
260                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$2);
261                 }
262                 target.set(formVersion);
263             }
264         }
265         /**
266          * An XML Subgrantee(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
267          *
268          * This is a complex type.
269          */
270         public static class SubgranteeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee
271         {
272             private static final long serialVersionUID = 1L;
273             
274             public SubgranteeImpl(org.apache.xmlbeans.SchemaType sType)
275             {
276                 super(sType);
277             }
278             
279             private static final javax.xml.namespace.QName GRNTNUM$0 = 
280                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "GrntNum");
281             private static final javax.xml.namespace.QName MODNUM$2 = 
282                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "ModNum");
283             private static final javax.xml.namespace.QName STATE$4 = 
284                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "State");
285             private static final javax.xml.namespace.QName PY$6 = 
286                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "PY");
287             private static final javax.xml.namespace.QName NAME1$8 = 
288                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "Name1");
289             private static final javax.xml.namespace.QName ADDRESS1$10 = 
290                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "Address1");
291             private static final javax.xml.namespace.QName ADDRESS2$12 = 
292                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "Address2");
293             private static final javax.xml.namespace.QName CITY$14 = 
294                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "City");
295             private static final javax.xml.namespace.QName STABBR$16 = 
296                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "Stabbr");
297             private static final javax.xml.namespace.QName ZIPCODE$18 = 
298                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "ZipCode");
299             private static final javax.xml.namespace.QName CONTACT$20 = 
300                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "Contact");
301             private static final javax.xml.namespace.QName PHONE$22 = 
302                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "Phone");
303             private static final javax.xml.namespace.QName FAXNUM$24 = 
304                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "FaxNum");
305             private static final javax.xml.namespace.QName EMAIL$26 = 
306                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "Email");
307             private static final javax.xml.namespace.QName FUNDSALLOC$28 = 
308                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "FundsAlloc");
309             private static final javax.xml.namespace.QName UNITS$30 = 
310                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "Units");
311             private static final javax.xml.namespace.QName ORGTYPE$32 = 
312                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "OrgType");
313             private static final javax.xml.namespace.QName LABOR$34 = 
314                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "Labor");
315             private static final javax.xml.namespace.QName COUNTY$36 = 
316                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "County");
317             private static final javax.xml.namespace.QName DISTNUM$38 = 
318                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/DOE_F_540_5-V1.0", "DistNum");
319             
320             
321             /**
322              * Gets the "GrntNum" element
323              */
324             public java.lang.String getGrntNum()
325             {
326                 synchronized (monitor())
327                 {
328                     check_orphaned();
329                     org.apache.xmlbeans.SimpleValue target = null;
330                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GRNTNUM$0, 0);
331                     if (target == null)
332                     {
333                       return null;
334                     }
335                     return target.getStringValue();
336                 }
337             }
338             
339             /**
340              * Gets (as xml) the "GrntNum" element
341              */
342             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.GrntNum xgetGrntNum()
343             {
344                 synchronized (monitor())
345                 {
346                     check_orphaned();
347                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.GrntNum target = null;
348                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.GrntNum)get_store().find_element_user(GRNTNUM$0, 0);
349                     return target;
350                 }
351             }
352             
353             /**
354              * True if has "GrntNum" element
355              */
356             public boolean isSetGrntNum()
357             {
358                 synchronized (monitor())
359                 {
360                     check_orphaned();
361                     return get_store().count_elements(GRNTNUM$0) != 0;
362                 }
363             }
364             
365             /**
366              * Sets the "GrntNum" element
367              */
368             public void setGrntNum(java.lang.String grntNum)
369             {
370                 synchronized (monitor())
371                 {
372                     check_orphaned();
373                     org.apache.xmlbeans.SimpleValue target = null;
374                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GRNTNUM$0, 0);
375                     if (target == null)
376                     {
377                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GRNTNUM$0);
378                     }
379                     target.setStringValue(grntNum);
380                 }
381             }
382             
383             /**
384              * Sets (as xml) the "GrntNum" element
385              */
386             public void xsetGrntNum(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.GrntNum grntNum)
387             {
388                 synchronized (monitor())
389                 {
390                     check_orphaned();
391                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.GrntNum target = null;
392                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.GrntNum)get_store().find_element_user(GRNTNUM$0, 0);
393                     if (target == null)
394                     {
395                       target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.GrntNum)get_store().add_element_user(GRNTNUM$0);
396                     }
397                     target.set(grntNum);
398                 }
399             }
400             
401             /**
402              * Unsets the "GrntNum" element
403              */
404             public void unsetGrntNum()
405             {
406                 synchronized (monitor())
407                 {
408                     check_orphaned();
409                     get_store().remove_element(GRNTNUM$0, 0);
410                 }
411             }
412             
413             /**
414              * Gets the "ModNum" element
415              */
416             public java.lang.String getModNum()
417             {
418                 synchronized (monitor())
419                 {
420                     check_orphaned();
421                     org.apache.xmlbeans.SimpleValue target = null;
422                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MODNUM$2, 0);
423                     if (target == null)
424                     {
425                       return null;
426                     }
427                     return target.getStringValue();
428                 }
429             }
430             
431             /**
432              * Gets (as xml) the "ModNum" element
433              */
434             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.ModNum xgetModNum()
435             {
436                 synchronized (monitor())
437                 {
438                     check_orphaned();
439                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.ModNum target = null;
440                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.ModNum)get_store().find_element_user(MODNUM$2, 0);
441                     return target;
442                 }
443             }
444             
445             /**
446              * True if has "ModNum" element
447              */
448             public boolean isSetModNum()
449             {
450                 synchronized (monitor())
451                 {
452                     check_orphaned();
453                     return get_store().count_elements(MODNUM$2) != 0;
454                 }
455             }
456             
457             /**
458              * Sets the "ModNum" element
459              */
460             public void setModNum(java.lang.String modNum)
461             {
462                 synchronized (monitor())
463                 {
464                     check_orphaned();
465                     org.apache.xmlbeans.SimpleValue target = null;
466                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MODNUM$2, 0);
467                     if (target == null)
468                     {
469                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MODNUM$2);
470                     }
471                     target.setStringValue(modNum);
472                 }
473             }
474             
475             /**
476              * Sets (as xml) the "ModNum" element
477              */
478             public void xsetModNum(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.ModNum modNum)
479             {
480                 synchronized (monitor())
481                 {
482                     check_orphaned();
483                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.ModNum target = null;
484                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.ModNum)get_store().find_element_user(MODNUM$2, 0);
485                     if (target == null)
486                     {
487                       target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.ModNum)get_store().add_element_user(MODNUM$2);
488                     }
489                     target.set(modNum);
490                 }
491             }
492             
493             /**
494              * Unsets the "ModNum" element
495              */
496             public void unsetModNum()
497             {
498                 synchronized (monitor())
499                 {
500                     check_orphaned();
501                     get_store().remove_element(MODNUM$2, 0);
502                 }
503             }
504             
505             /**
506              * Gets the "State" element
507              */
508             public gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum getState()
509             {
510                 synchronized (monitor())
511                 {
512                     check_orphaned();
513                     org.apache.xmlbeans.SimpleValue target = null;
514                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATE$4, 0);
515                     if (target == null)
516                     {
517                       return null;
518                     }
519                     return (gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum)target.getEnumValue();
520                 }
521             }
522             
523             /**
524              * Gets (as xml) the "State" element
525              */
526             public gov.grants.apply.system.universalCodesV20.StateCodeDataType xgetState()
527             {
528                 synchronized (monitor())
529                 {
530                     check_orphaned();
531                     gov.grants.apply.system.universalCodesV20.StateCodeDataType target = null;
532                     target = (gov.grants.apply.system.universalCodesV20.StateCodeDataType)get_store().find_element_user(STATE$4, 0);
533                     return target;
534                 }
535             }
536             
537             /**
538              * True if has "State" element
539              */
540             public boolean isSetState()
541             {
542                 synchronized (monitor())
543                 {
544                     check_orphaned();
545                     return get_store().count_elements(STATE$4) != 0;
546                 }
547             }
548             
549             /**
550              * Sets the "State" element
551              */
552             public void setState(gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum state)
553             {
554                 synchronized (monitor())
555                 {
556                     check_orphaned();
557                     org.apache.xmlbeans.SimpleValue target = null;
558                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATE$4, 0);
559                     if (target == null)
560                     {
561                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATE$4);
562                     }
563                     target.setEnumValue(state);
564                 }
565             }
566             
567             /**
568              * Sets (as xml) the "State" element
569              */
570             public void xsetState(gov.grants.apply.system.universalCodesV20.StateCodeDataType state)
571             {
572                 synchronized (monitor())
573                 {
574                     check_orphaned();
575                     gov.grants.apply.system.universalCodesV20.StateCodeDataType target = null;
576                     target = (gov.grants.apply.system.universalCodesV20.StateCodeDataType)get_store().find_element_user(STATE$4, 0);
577                     if (target == null)
578                     {
579                       target = (gov.grants.apply.system.universalCodesV20.StateCodeDataType)get_store().add_element_user(STATE$4);
580                     }
581                     target.set(state);
582                 }
583             }
584             
585             /**
586              * Unsets the "State" element
587              */
588             public void unsetState()
589             {
590                 synchronized (monitor())
591                 {
592                     check_orphaned();
593                     get_store().remove_element(STATE$4, 0);
594                 }
595             }
596             
597             /**
598              * Gets the "PY" element
599              */
600             public java.util.Calendar getPY()
601             {
602                 synchronized (monitor())
603                 {
604                     check_orphaned();
605                     org.apache.xmlbeans.SimpleValue target = null;
606                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PY$6, 0);
607                     if (target == null)
608                     {
609                       return null;
610                     }
611                     return target.getCalendarValue();
612                 }
613             }
614             
615             /**
616              * Gets (as xml) the "PY" element
617              */
618             public org.apache.xmlbeans.XmlGYear xgetPY()
619             {
620                 synchronized (monitor())
621                 {
622                     check_orphaned();
623                     org.apache.xmlbeans.XmlGYear target = null;
624                     target = (org.apache.xmlbeans.XmlGYear)get_store().find_element_user(PY$6, 0);
625                     return target;
626                 }
627             }
628             
629             /**
630              * Sets the "PY" element
631              */
632             public void setPY(java.util.Calendar py)
633             {
634                 synchronized (monitor())
635                 {
636                     check_orphaned();
637                     org.apache.xmlbeans.SimpleValue target = null;
638                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PY$6, 0);
639                     if (target == null)
640                     {
641                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PY$6);
642                     }
643                     target.setCalendarValue(py);
644                 }
645             }
646             
647             /**
648              * Sets (as xml) the "PY" element
649              */
650             public void xsetPY(org.apache.xmlbeans.XmlGYear py)
651             {
652                 synchronized (monitor())
653                 {
654                     check_orphaned();
655                     org.apache.xmlbeans.XmlGYear target = null;
656                     target = (org.apache.xmlbeans.XmlGYear)get_store().find_element_user(PY$6, 0);
657                     if (target == null)
658                     {
659                       target = (org.apache.xmlbeans.XmlGYear)get_store().add_element_user(PY$6);
660                     }
661                     target.set(py);
662                 }
663             }
664             
665             /**
666              * Gets the "Name1" element
667              */
668             public java.lang.String getName1()
669             {
670                 synchronized (monitor())
671                 {
672                     check_orphaned();
673                     org.apache.xmlbeans.SimpleValue target = null;
674                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME1$8, 0);
675                     if (target == null)
676                     {
677                       return null;
678                     }
679                     return target.getStringValue();
680                 }
681             }
682             
683             /**
684              * Gets (as xml) the "Name1" element
685              */
686             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Name1 xgetName1()
687             {
688                 synchronized (monitor())
689                 {
690                     check_orphaned();
691                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Name1 target = null;
692                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Name1)get_store().find_element_user(NAME1$8, 0);
693                     return target;
694                 }
695             }
696             
697             /**
698              * Sets the "Name1" element
699              */
700             public void setName1(java.lang.String name1)
701             {
702                 synchronized (monitor())
703                 {
704                     check_orphaned();
705                     org.apache.xmlbeans.SimpleValue target = null;
706                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME1$8, 0);
707                     if (target == null)
708                     {
709                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAME1$8);
710                     }
711                     target.setStringValue(name1);
712                 }
713             }
714             
715             /**
716              * Sets (as xml) the "Name1" element
717              */
718             public void xsetName1(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Name1 name1)
719             {
720                 synchronized (monitor())
721                 {
722                     check_orphaned();
723                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Name1 target = null;
724                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Name1)get_store().find_element_user(NAME1$8, 0);
725                     if (target == null)
726                     {
727                       target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Name1)get_store().add_element_user(NAME1$8);
728                     }
729                     target.set(name1);
730                 }
731             }
732             
733             /**
734              * Gets the "Address1" element
735              */
736             public java.lang.String getAddress1()
737             {
738                 synchronized (monitor())
739                 {
740                     check_orphaned();
741                     org.apache.xmlbeans.SimpleValue target = null;
742                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADDRESS1$10, 0);
743                     if (target == null)
744                     {
745                       return null;
746                     }
747                     return target.getStringValue();
748                 }
749             }
750             
751             /**
752              * Gets (as xml) the "Address1" element
753              */
754             public gov.grants.apply.system.globalLibraryV20.StreetDataType xgetAddress1()
755             {
756                 synchronized (monitor())
757                 {
758                     check_orphaned();
759                     gov.grants.apply.system.globalLibraryV20.StreetDataType target = null;
760                     target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().find_element_user(ADDRESS1$10, 0);
761                     return target;
762                 }
763             }
764             
765             /**
766              * Sets the "Address1" element
767              */
768             public void setAddress1(java.lang.String address1)
769             {
770                 synchronized (monitor())
771                 {
772                     check_orphaned();
773                     org.apache.xmlbeans.SimpleValue target = null;
774                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADDRESS1$10, 0);
775                     if (target == null)
776                     {
777                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ADDRESS1$10);
778                     }
779                     target.setStringValue(address1);
780                 }
781             }
782             
783             /**
784              * Sets (as xml) the "Address1" element
785              */
786             public void xsetAddress1(gov.grants.apply.system.globalLibraryV20.StreetDataType address1)
787             {
788                 synchronized (monitor())
789                 {
790                     check_orphaned();
791                     gov.grants.apply.system.globalLibraryV20.StreetDataType target = null;
792                     target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().find_element_user(ADDRESS1$10, 0);
793                     if (target == null)
794                     {
795                       target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().add_element_user(ADDRESS1$10);
796                     }
797                     target.set(address1);
798                 }
799             }
800             
801             /**
802              * Gets the "Address2" element
803              */
804             public java.lang.String getAddress2()
805             {
806                 synchronized (monitor())
807                 {
808                     check_orphaned();
809                     org.apache.xmlbeans.SimpleValue target = null;
810                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADDRESS2$12, 0);
811                     if (target == null)
812                     {
813                       return null;
814                     }
815                     return target.getStringValue();
816                 }
817             }
818             
819             /**
820              * Gets (as xml) the "Address2" element
821              */
822             public gov.grants.apply.system.globalLibraryV20.StreetDataType xgetAddress2()
823             {
824                 synchronized (monitor())
825                 {
826                     check_orphaned();
827                     gov.grants.apply.system.globalLibraryV20.StreetDataType target = null;
828                     target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().find_element_user(ADDRESS2$12, 0);
829                     return target;
830                 }
831             }
832             
833             /**
834              * True if has "Address2" element
835              */
836             public boolean isSetAddress2()
837             {
838                 synchronized (monitor())
839                 {
840                     check_orphaned();
841                     return get_store().count_elements(ADDRESS2$12) != 0;
842                 }
843             }
844             
845             /**
846              * Sets the "Address2" element
847              */
848             public void setAddress2(java.lang.String address2)
849             {
850                 synchronized (monitor())
851                 {
852                     check_orphaned();
853                     org.apache.xmlbeans.SimpleValue target = null;
854                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ADDRESS2$12, 0);
855                     if (target == null)
856                     {
857                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ADDRESS2$12);
858                     }
859                     target.setStringValue(address2);
860                 }
861             }
862             
863             /**
864              * Sets (as xml) the "Address2" element
865              */
866             public void xsetAddress2(gov.grants.apply.system.globalLibraryV20.StreetDataType address2)
867             {
868                 synchronized (monitor())
869                 {
870                     check_orphaned();
871                     gov.grants.apply.system.globalLibraryV20.StreetDataType target = null;
872                     target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().find_element_user(ADDRESS2$12, 0);
873                     if (target == null)
874                     {
875                       target = (gov.grants.apply.system.globalLibraryV20.StreetDataType)get_store().add_element_user(ADDRESS2$12);
876                     }
877                     target.set(address2);
878                 }
879             }
880             
881             /**
882              * Unsets the "Address2" element
883              */
884             public void unsetAddress2()
885             {
886                 synchronized (monitor())
887                 {
888                     check_orphaned();
889                     get_store().remove_element(ADDRESS2$12, 0);
890                 }
891             }
892             
893             /**
894              * Gets the "City" element
895              */
896             public java.lang.String getCity()
897             {
898                 synchronized (monitor())
899                 {
900                     check_orphaned();
901                     org.apache.xmlbeans.SimpleValue target = null;
902                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CITY$14, 0);
903                     if (target == null)
904                     {
905                       return null;
906                     }
907                     return target.getStringValue();
908                 }
909             }
910             
911             /**
912              * Gets (as xml) the "City" element
913              */
914             public gov.grants.apply.system.globalLibraryV20.CityDataType xgetCity()
915             {
916                 synchronized (monitor())
917                 {
918                     check_orphaned();
919                     gov.grants.apply.system.globalLibraryV20.CityDataType target = null;
920                     target = (gov.grants.apply.system.globalLibraryV20.CityDataType)get_store().find_element_user(CITY$14, 0);
921                     return target;
922                 }
923             }
924             
925             /**
926              * Sets the "City" element
927              */
928             public void setCity(java.lang.String city)
929             {
930                 synchronized (monitor())
931                 {
932                     check_orphaned();
933                     org.apache.xmlbeans.SimpleValue target = null;
934                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CITY$14, 0);
935                     if (target == null)
936                     {
937                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CITY$14);
938                     }
939                     target.setStringValue(city);
940                 }
941             }
942             
943             /**
944              * Sets (as xml) the "City" element
945              */
946             public void xsetCity(gov.grants.apply.system.globalLibraryV20.CityDataType city)
947             {
948                 synchronized (monitor())
949                 {
950                     check_orphaned();
951                     gov.grants.apply.system.globalLibraryV20.CityDataType target = null;
952                     target = (gov.grants.apply.system.globalLibraryV20.CityDataType)get_store().find_element_user(CITY$14, 0);
953                     if (target == null)
954                     {
955                       target = (gov.grants.apply.system.globalLibraryV20.CityDataType)get_store().add_element_user(CITY$14);
956                     }
957                     target.set(city);
958                 }
959             }
960             
961             /**
962              * Gets the "Stabbr" element
963              */
964             public gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum getStabbr()
965             {
966                 synchronized (monitor())
967                 {
968                     check_orphaned();
969                     org.apache.xmlbeans.SimpleValue target = null;
970                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STABBR$16, 0);
971                     if (target == null)
972                     {
973                       return null;
974                     }
975                     return (gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum)target.getEnumValue();
976                 }
977             }
978             
979             /**
980              * Gets (as xml) the "Stabbr" element
981              */
982             public gov.grants.apply.system.universalCodesV20.StateCodeDataType xgetStabbr()
983             {
984                 synchronized (monitor())
985                 {
986                     check_orphaned();
987                     gov.grants.apply.system.universalCodesV20.StateCodeDataType target = null;
988                     target = (gov.grants.apply.system.universalCodesV20.StateCodeDataType)get_store().find_element_user(STABBR$16, 0);
989                     return target;
990                 }
991             }
992             
993             /**
994              * True if has "Stabbr" element
995              */
996             public boolean isSetStabbr()
997             {
998                 synchronized (monitor())
999                 {
1000                     check_orphaned();
1001                     return get_store().count_elements(STABBR$16) != 0;
1002                 }
1003             }
1004             
1005             /**
1006              * Sets the "Stabbr" element
1007              */
1008             public void setStabbr(gov.grants.apply.system.universalCodesV20.StateCodeDataType.Enum stabbr)
1009             {
1010                 synchronized (monitor())
1011                 {
1012                     check_orphaned();
1013                     org.apache.xmlbeans.SimpleValue target = null;
1014                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STABBR$16, 0);
1015                     if (target == null)
1016                     {
1017                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STABBR$16);
1018                     }
1019                     target.setEnumValue(stabbr);
1020                 }
1021             }
1022             
1023             /**
1024              * Sets (as xml) the "Stabbr" element
1025              */
1026             public void xsetStabbr(gov.grants.apply.system.universalCodesV20.StateCodeDataType stabbr)
1027             {
1028                 synchronized (monitor())
1029                 {
1030                     check_orphaned();
1031                     gov.grants.apply.system.universalCodesV20.StateCodeDataType target = null;
1032                     target = (gov.grants.apply.system.universalCodesV20.StateCodeDataType)get_store().find_element_user(STABBR$16, 0);
1033                     if (target == null)
1034                     {
1035                       target = (gov.grants.apply.system.universalCodesV20.StateCodeDataType)get_store().add_element_user(STABBR$16);
1036                     }
1037                     target.set(stabbr);
1038                 }
1039             }
1040             
1041             /**
1042              * Unsets the "Stabbr" element
1043              */
1044             public void unsetStabbr()
1045             {
1046                 synchronized (monitor())
1047                 {
1048                     check_orphaned();
1049                     get_store().remove_element(STABBR$16, 0);
1050                 }
1051             }
1052             
1053             /**
1054              * Gets the "ZipCode" element
1055              */
1056             public java.lang.String getZipCode()
1057             {
1058                 synchronized (monitor())
1059                 {
1060                     check_orphaned();
1061                     org.apache.xmlbeans.SimpleValue target = null;
1062                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ZIPCODE$18, 0);
1063                     if (target == null)
1064                     {
1065                       return null;
1066                     }
1067                     return target.getStringValue();
1068                 }
1069             }
1070             
1071             /**
1072              * Gets (as xml) the "ZipCode" element
1073              */
1074             public gov.grants.apply.system.globalLibraryV20.ZipPostalCodeDataType xgetZipCode()
1075             {
1076                 synchronized (monitor())
1077                 {
1078                     check_orphaned();
1079                     gov.grants.apply.system.globalLibraryV20.ZipPostalCodeDataType target = null;
1080                     target = (gov.grants.apply.system.globalLibraryV20.ZipPostalCodeDataType)get_store().find_element_user(ZIPCODE$18, 0);
1081                     return target;
1082                 }
1083             }
1084             
1085             /**
1086              * True if has "ZipCode" element
1087              */
1088             public boolean isSetZipCode()
1089             {
1090                 synchronized (monitor())
1091                 {
1092                     check_orphaned();
1093                     return get_store().count_elements(ZIPCODE$18) != 0;
1094                 }
1095             }
1096             
1097             /**
1098              * Sets the "ZipCode" element
1099              */
1100             public void setZipCode(java.lang.String zipCode)
1101             {
1102                 synchronized (monitor())
1103                 {
1104                     check_orphaned();
1105                     org.apache.xmlbeans.SimpleValue target = null;
1106                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ZIPCODE$18, 0);
1107                     if (target == null)
1108                     {
1109                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ZIPCODE$18);
1110                     }
1111                     target.setStringValue(zipCode);
1112                 }
1113             }
1114             
1115             /**
1116              * Sets (as xml) the "ZipCode" element
1117              */
1118             public void xsetZipCode(gov.grants.apply.system.globalLibraryV20.ZipPostalCodeDataType zipCode)
1119             {
1120                 synchronized (monitor())
1121                 {
1122                     check_orphaned();
1123                     gov.grants.apply.system.globalLibraryV20.ZipPostalCodeDataType target = null;
1124                     target = (gov.grants.apply.system.globalLibraryV20.ZipPostalCodeDataType)get_store().find_element_user(ZIPCODE$18, 0);
1125                     if (target == null)
1126                     {
1127                       target = (gov.grants.apply.system.globalLibraryV20.ZipPostalCodeDataType)get_store().add_element_user(ZIPCODE$18);
1128                     }
1129                     target.set(zipCode);
1130                 }
1131             }
1132             
1133             /**
1134              * Unsets the "ZipCode" element
1135              */
1136             public void unsetZipCode()
1137             {
1138                 synchronized (monitor())
1139                 {
1140                     check_orphaned();
1141                     get_store().remove_element(ZIPCODE$18, 0);
1142                 }
1143             }
1144             
1145             /**
1146              * Gets the "Contact" element
1147              */
1148             public java.lang.String getContact()
1149             {
1150                 synchronized (monitor())
1151                 {
1152                     check_orphaned();
1153                     org.apache.xmlbeans.SimpleValue target = null;
1154                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTACT$20, 0);
1155                     if (target == null)
1156                     {
1157                       return null;
1158                     }
1159                     return target.getStringValue();
1160                 }
1161             }
1162             
1163             /**
1164              * Gets (as xml) the "Contact" element
1165              */
1166             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Contact xgetContact()
1167             {
1168                 synchronized (monitor())
1169                 {
1170                     check_orphaned();
1171                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Contact target = null;
1172                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Contact)get_store().find_element_user(CONTACT$20, 0);
1173                     return target;
1174                 }
1175             }
1176             
1177             /**
1178              * True if has "Contact" element
1179              */
1180             public boolean isSetContact()
1181             {
1182                 synchronized (monitor())
1183                 {
1184                     check_orphaned();
1185                     return get_store().count_elements(CONTACT$20) != 0;
1186                 }
1187             }
1188             
1189             /**
1190              * Sets the "Contact" element
1191              */
1192             public void setContact(java.lang.String contact)
1193             {
1194                 synchronized (monitor())
1195                 {
1196                     check_orphaned();
1197                     org.apache.xmlbeans.SimpleValue target = null;
1198                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTACT$20, 0);
1199                     if (target == null)
1200                     {
1201                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTACT$20);
1202                     }
1203                     target.setStringValue(contact);
1204                 }
1205             }
1206             
1207             /**
1208              * Sets (as xml) the "Contact" element
1209              */
1210             public void xsetContact(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Contact contact)
1211             {
1212                 synchronized (monitor())
1213                 {
1214                     check_orphaned();
1215                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Contact target = null;
1216                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Contact)get_store().find_element_user(CONTACT$20, 0);
1217                     if (target == null)
1218                     {
1219                       target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Contact)get_store().add_element_user(CONTACT$20);
1220                     }
1221                     target.set(contact);
1222                 }
1223             }
1224             
1225             /**
1226              * Unsets the "Contact" element
1227              */
1228             public void unsetContact()
1229             {
1230                 synchronized (monitor())
1231                 {
1232                     check_orphaned();
1233                     get_store().remove_element(CONTACT$20, 0);
1234                 }
1235             }
1236             
1237             /**
1238              * Gets the "Phone" element
1239              */
1240             public java.lang.String getPhone()
1241             {
1242                 synchronized (monitor())
1243                 {
1244                     check_orphaned();
1245                     org.apache.xmlbeans.SimpleValue target = null;
1246                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHONE$22, 0);
1247                     if (target == null)
1248                     {
1249                       return null;
1250                     }
1251                     return target.getStringValue();
1252                 }
1253             }
1254             
1255             /**
1256              * Gets (as xml) the "Phone" element
1257              */
1258             public gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType xgetPhone()
1259             {
1260                 synchronized (monitor())
1261                 {
1262                     check_orphaned();
1263                     gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType target = null;
1264                     target = (gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType)get_store().find_element_user(PHONE$22, 0);
1265                     return target;
1266                 }
1267             }
1268             
1269             /**
1270              * True if has "Phone" element
1271              */
1272             public boolean isSetPhone()
1273             {
1274                 synchronized (monitor())
1275                 {
1276                     check_orphaned();
1277                     return get_store().count_elements(PHONE$22) != 0;
1278                 }
1279             }
1280             
1281             /**
1282              * Sets the "Phone" element
1283              */
1284             public void setPhone(java.lang.String phone)
1285             {
1286                 synchronized (monitor())
1287                 {
1288                     check_orphaned();
1289                     org.apache.xmlbeans.SimpleValue target = null;
1290                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHONE$22, 0);
1291                     if (target == null)
1292                     {
1293                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHONE$22);
1294                     }
1295                     target.setStringValue(phone);
1296                 }
1297             }
1298             
1299             /**
1300              * Sets (as xml) the "Phone" element
1301              */
1302             public void xsetPhone(gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType phone)
1303             {
1304                 synchronized (monitor())
1305                 {
1306                     check_orphaned();
1307                     gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType target = null;
1308                     target = (gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType)get_store().find_element_user(PHONE$22, 0);
1309                     if (target == null)
1310                     {
1311                       target = (gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType)get_store().add_element_user(PHONE$22);
1312                     }
1313                     target.set(phone);
1314                 }
1315             }
1316             
1317             /**
1318              * Unsets the "Phone" element
1319              */
1320             public void unsetPhone()
1321             {
1322                 synchronized (monitor())
1323                 {
1324                     check_orphaned();
1325                     get_store().remove_element(PHONE$22, 0);
1326                 }
1327             }
1328             
1329             /**
1330              * Gets the "FaxNum" element
1331              */
1332             public java.lang.String getFaxNum()
1333             {
1334                 synchronized (monitor())
1335                 {
1336                     check_orphaned();
1337                     org.apache.xmlbeans.SimpleValue target = null;
1338                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FAXNUM$24, 0);
1339                     if (target == null)
1340                     {
1341                       return null;
1342                     }
1343                     return target.getStringValue();
1344                 }
1345             }
1346             
1347             /**
1348              * Gets (as xml) the "FaxNum" element
1349              */
1350             public gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType xgetFaxNum()
1351             {
1352                 synchronized (monitor())
1353                 {
1354                     check_orphaned();
1355                     gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType target = null;
1356                     target = (gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType)get_store().find_element_user(FAXNUM$24, 0);
1357                     return target;
1358                 }
1359             }
1360             
1361             /**
1362              * True if has "FaxNum" element
1363              */
1364             public boolean isSetFaxNum()
1365             {
1366                 synchronized (monitor())
1367                 {
1368                     check_orphaned();
1369                     return get_store().count_elements(FAXNUM$24) != 0;
1370                 }
1371             }
1372             
1373             /**
1374              * Sets the "FaxNum" element
1375              */
1376             public void setFaxNum(java.lang.String faxNum)
1377             {
1378                 synchronized (monitor())
1379                 {
1380                     check_orphaned();
1381                     org.apache.xmlbeans.SimpleValue target = null;
1382                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FAXNUM$24, 0);
1383                     if (target == null)
1384                     {
1385                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FAXNUM$24);
1386                     }
1387                     target.setStringValue(faxNum);
1388                 }
1389             }
1390             
1391             /**
1392              * Sets (as xml) the "FaxNum" element
1393              */
1394             public void xsetFaxNum(gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType faxNum)
1395             {
1396                 synchronized (monitor())
1397                 {
1398                     check_orphaned();
1399                     gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType target = null;
1400                     target = (gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType)get_store().find_element_user(FAXNUM$24, 0);
1401                     if (target == null)
1402                     {
1403                       target = (gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType)get_store().add_element_user(FAXNUM$24);
1404                     }
1405                     target.set(faxNum);
1406                 }
1407             }
1408             
1409             /**
1410              * Unsets the "FaxNum" element
1411              */
1412             public void unsetFaxNum()
1413             {
1414                 synchronized (monitor())
1415                 {
1416                     check_orphaned();
1417                     get_store().remove_element(FAXNUM$24, 0);
1418                 }
1419             }
1420             
1421             /**
1422              * Gets the "Email" element
1423              */
1424             public java.lang.String getEmail()
1425             {
1426                 synchronized (monitor())
1427                 {
1428                     check_orphaned();
1429                     org.apache.xmlbeans.SimpleValue target = null;
1430                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EMAIL$26, 0);
1431                     if (target == null)
1432                     {
1433                       return null;
1434                     }
1435                     return target.getStringValue();
1436                 }
1437             }
1438             
1439             /**
1440              * Gets (as xml) the "Email" element
1441              */
1442             public gov.grants.apply.system.globalLibraryV20.EmailDataType xgetEmail()
1443             {
1444                 synchronized (monitor())
1445                 {
1446                     check_orphaned();
1447                     gov.grants.apply.system.globalLibraryV20.EmailDataType target = null;
1448                     target = (gov.grants.apply.system.globalLibraryV20.EmailDataType)get_store().find_element_user(EMAIL$26, 0);
1449                     return target;
1450                 }
1451             }
1452             
1453             /**
1454              * True if has "Email" element
1455              */
1456             public boolean isSetEmail()
1457             {
1458                 synchronized (monitor())
1459                 {
1460                     check_orphaned();
1461                     return get_store().count_elements(EMAIL$26) != 0;
1462                 }
1463             }
1464             
1465             /**
1466              * Sets the "Email" element
1467              */
1468             public void setEmail(java.lang.String email)
1469             {
1470                 synchronized (monitor())
1471                 {
1472                     check_orphaned();
1473                     org.apache.xmlbeans.SimpleValue target = null;
1474                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EMAIL$26, 0);
1475                     if (target == null)
1476                     {
1477                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(EMAIL$26);
1478                     }
1479                     target.setStringValue(email);
1480                 }
1481             }
1482             
1483             /**
1484              * Sets (as xml) the "Email" element
1485              */
1486             public void xsetEmail(gov.grants.apply.system.globalLibraryV20.EmailDataType email)
1487             {
1488                 synchronized (monitor())
1489                 {
1490                     check_orphaned();
1491                     gov.grants.apply.system.globalLibraryV20.EmailDataType target = null;
1492                     target = (gov.grants.apply.system.globalLibraryV20.EmailDataType)get_store().find_element_user(EMAIL$26, 0);
1493                     if (target == null)
1494                     {
1495                       target = (gov.grants.apply.system.globalLibraryV20.EmailDataType)get_store().add_element_user(EMAIL$26);
1496                     }
1497                     target.set(email);
1498                 }
1499             }
1500             
1501             /**
1502              * Unsets the "Email" element
1503              */
1504             public void unsetEmail()
1505             {
1506                 synchronized (monitor())
1507                 {
1508                     check_orphaned();
1509                     get_store().remove_element(EMAIL$26, 0);
1510                 }
1511             }
1512             
1513             /**
1514              * Gets the "FundsAlloc" element
1515              */
1516             public java.math.BigDecimal getFundsAlloc()
1517             {
1518                 synchronized (monitor())
1519                 {
1520                     check_orphaned();
1521                     org.apache.xmlbeans.SimpleValue target = null;
1522                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FUNDSALLOC$28, 0);
1523                     if (target == null)
1524                     {
1525                       return null;
1526                     }
1527                     return target.getBigDecimalValue();
1528                 }
1529             }
1530             
1531             /**
1532              * Gets (as xml) the "FundsAlloc" element
1533              */
1534             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.FundsAlloc xgetFundsAlloc()
1535             {
1536                 synchronized (monitor())
1537                 {
1538                     check_orphaned();
1539                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.FundsAlloc target = null;
1540                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.FundsAlloc)get_store().find_element_user(FUNDSALLOC$28, 0);
1541                     return target;
1542                 }
1543             }
1544             
1545             /**
1546              * Sets the "FundsAlloc" element
1547              */
1548             public void setFundsAlloc(java.math.BigDecimal fundsAlloc)
1549             {
1550                 synchronized (monitor())
1551                 {
1552                     check_orphaned();
1553                     org.apache.xmlbeans.SimpleValue target = null;
1554                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FUNDSALLOC$28, 0);
1555                     if (target == null)
1556                     {
1557                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FUNDSALLOC$28);
1558                     }
1559                     target.setBigDecimalValue(fundsAlloc);
1560                 }
1561             }
1562             
1563             /**
1564              * Sets (as xml) the "FundsAlloc" element
1565              */
1566             public void xsetFundsAlloc(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.FundsAlloc fundsAlloc)
1567             {
1568                 synchronized (monitor())
1569                 {
1570                     check_orphaned();
1571                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.FundsAlloc target = null;
1572                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.FundsAlloc)get_store().find_element_user(FUNDSALLOC$28, 0);
1573                     if (target == null)
1574                     {
1575                       target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.FundsAlloc)get_store().add_element_user(FUNDSALLOC$28);
1576                     }
1577                     target.set(fundsAlloc);
1578                 }
1579             }
1580             
1581             /**
1582              * Gets the "Units" element
1583              */
1584             public int getUnits()
1585             {
1586                 synchronized (monitor())
1587                 {
1588                     check_orphaned();
1589                     org.apache.xmlbeans.SimpleValue target = null;
1590                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UNITS$30, 0);
1591                     if (target == null)
1592                     {
1593                       return 0;
1594                     }
1595                     return target.getIntValue();
1596                 }
1597             }
1598             
1599             /**
1600              * Gets (as xml) the "Units" element
1601              */
1602             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Units xgetUnits()
1603             {
1604                 synchronized (monitor())
1605                 {
1606                     check_orphaned();
1607                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Units target = null;
1608                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Units)get_store().find_element_user(UNITS$30, 0);
1609                     return target;
1610                 }
1611             }
1612             
1613             /**
1614              * Sets the "Units" element
1615              */
1616             public void setUnits(int units)
1617             {
1618                 synchronized (monitor())
1619                 {
1620                     check_orphaned();
1621                     org.apache.xmlbeans.SimpleValue target = null;
1622                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UNITS$30, 0);
1623                     if (target == null)
1624                     {
1625                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(UNITS$30);
1626                     }
1627                     target.setIntValue(units);
1628                 }
1629             }
1630             
1631             /**
1632              * Sets (as xml) the "Units" element
1633              */
1634             public void xsetUnits(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Units units)
1635             {
1636                 synchronized (monitor())
1637                 {
1638                     check_orphaned();
1639                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Units target = null;
1640                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Units)get_store().find_element_user(UNITS$30, 0);
1641                     if (target == null)
1642                     {
1643                       target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Units)get_store().add_element_user(UNITS$30);
1644                     }
1645                     target.set(units);
1646                 }
1647             }
1648             
1649             /**
1650              * Gets the "OrgType" element
1651              */
1652             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType.Enum getOrgType()
1653             {
1654                 synchronized (monitor())
1655                 {
1656                     check_orphaned();
1657                     org.apache.xmlbeans.SimpleValue target = null;
1658                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORGTYPE$32, 0);
1659                     if (target == null)
1660                     {
1661                       return null;
1662                     }
1663                     return (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType.Enum)target.getEnumValue();
1664                 }
1665             }
1666             
1667             /**
1668              * Gets (as xml) the "OrgType" element
1669              */
1670             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType xgetOrgType()
1671             {
1672                 synchronized (monitor())
1673                 {
1674                     check_orphaned();
1675                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType target = null;
1676                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType)get_store().find_element_user(ORGTYPE$32, 0);
1677                     return target;
1678                 }
1679             }
1680             
1681             /**
1682              * Sets the "OrgType" element
1683              */
1684             public void setOrgType(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType.Enum orgType)
1685             {
1686                 synchronized (monitor())
1687                 {
1688                     check_orphaned();
1689                     org.apache.xmlbeans.SimpleValue target = null;
1690                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORGTYPE$32, 0);
1691                     if (target == null)
1692                     {
1693                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORGTYPE$32);
1694                     }
1695                     target.setEnumValue(orgType);
1696                 }
1697             }
1698             
1699             /**
1700              * Sets (as xml) the "OrgType" element
1701              */
1702             public void xsetOrgType(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType orgType)
1703             {
1704                 synchronized (monitor())
1705                 {
1706                     check_orphaned();
1707                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType target = null;
1708                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType)get_store().find_element_user(ORGTYPE$32, 0);
1709                     if (target == null)
1710                     {
1711                       target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType)get_store().add_element_user(ORGTYPE$32);
1712                     }
1713                     target.set(orgType);
1714                 }
1715             }
1716             
1717             /**
1718              * Gets the "Labor" element
1719              */
1720             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor.Enum getLabor()
1721             {
1722                 synchronized (monitor())
1723                 {
1724                     check_orphaned();
1725                     org.apache.xmlbeans.SimpleValue target = null;
1726                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LABOR$34, 0);
1727                     if (target == null)
1728                     {
1729                       return null;
1730                     }
1731                     return (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor.Enum)target.getEnumValue();
1732                 }
1733             }
1734             
1735             /**
1736              * Gets (as xml) the "Labor" element
1737              */
1738             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor xgetLabor()
1739             {
1740                 synchronized (monitor())
1741                 {
1742                     check_orphaned();
1743                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor target = null;
1744                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor)get_store().find_element_user(LABOR$34, 0);
1745                     return target;
1746                 }
1747             }
1748             
1749             /**
1750              * Sets the "Labor" element
1751              */
1752             public void setLabor(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor.Enum labor)
1753             {
1754                 synchronized (monitor())
1755                 {
1756                     check_orphaned();
1757                     org.apache.xmlbeans.SimpleValue target = null;
1758                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LABOR$34, 0);
1759                     if (target == null)
1760                     {
1761                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LABOR$34);
1762                     }
1763                     target.setEnumValue(labor);
1764                 }
1765             }
1766             
1767             /**
1768              * Sets (as xml) the "Labor" element
1769              */
1770             public void xsetLabor(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor labor)
1771             {
1772                 synchronized (monitor())
1773                 {
1774                     check_orphaned();
1775                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor target = null;
1776                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor)get_store().find_element_user(LABOR$34, 0);
1777                     if (target == null)
1778                     {
1779                       target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor)get_store().add_element_user(LABOR$34);
1780                     }
1781                     target.set(labor);
1782                 }
1783             }
1784             
1785             /**
1786              * Gets array of all "County" elements
1787              */
1788             public java.lang.String[] getCountyArray()
1789             {
1790                 synchronized (monitor())
1791                 {
1792                     check_orphaned();
1793                     java.util.List targetList = new java.util.ArrayList();
1794                     get_store().find_all_element_users(COUNTY$36, targetList);
1795                     java.lang.String[] result = new java.lang.String[targetList.size()];
1796                     for (int i = 0, len = targetList.size() ; i < len ; i++)
1797                         result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
1798                     return result;
1799                 }
1800             }
1801             
1802             /**
1803              * Gets ith "County" element
1804              */
1805             public java.lang.String getCountyArray(int i)
1806             {
1807                 synchronized (monitor())
1808                 {
1809                     check_orphaned();
1810                     org.apache.xmlbeans.SimpleValue target = null;
1811                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COUNTY$36, i);
1812                     if (target == null)
1813                     {
1814                       throw new IndexOutOfBoundsException();
1815                     }
1816                     return target.getStringValue();
1817                 }
1818             }
1819             
1820             /**
1821              * Gets (as xml) array of all "County" elements
1822              */
1823             public gov.grants.apply.system.globalLibraryV20.CountyDataType[] xgetCountyArray()
1824             {
1825                 synchronized (monitor())
1826                 {
1827                     check_orphaned();
1828                     java.util.List targetList = new java.util.ArrayList();
1829                     get_store().find_all_element_users(COUNTY$36, targetList);
1830                     gov.grants.apply.system.globalLibraryV20.CountyDataType[] result = new gov.grants.apply.system.globalLibraryV20.CountyDataType[targetList.size()];
1831                     targetList.toArray(result);
1832                     return result;
1833                 }
1834             }
1835             
1836             /**
1837              * Gets (as xml) ith "County" element
1838              */
1839             public gov.grants.apply.system.globalLibraryV20.CountyDataType xgetCountyArray(int i)
1840             {
1841                 synchronized (monitor())
1842                 {
1843                     check_orphaned();
1844                     gov.grants.apply.system.globalLibraryV20.CountyDataType target = null;
1845                     target = (gov.grants.apply.system.globalLibraryV20.CountyDataType)get_store().find_element_user(COUNTY$36, i);
1846                     if (target == null)
1847                     {
1848                       throw new IndexOutOfBoundsException();
1849                     }
1850                     return target;
1851                 }
1852             }
1853             
1854             /**
1855              * Returns number of "County" element
1856              */
1857             public int sizeOfCountyArray()
1858             {
1859                 synchronized (monitor())
1860                 {
1861                     check_orphaned();
1862                     return get_store().count_elements(COUNTY$36);
1863                 }
1864             }
1865             
1866             /**
1867              * Sets array of all "County" element
1868              */
1869             public void setCountyArray(java.lang.String[] countyArray)
1870             {
1871                 synchronized (monitor())
1872                 {
1873                     check_orphaned();
1874                     arraySetterHelper(countyArray, COUNTY$36);
1875                 }
1876             }
1877             
1878             /**
1879              * Sets ith "County" element
1880              */
1881             public void setCountyArray(int i, java.lang.String county)
1882             {
1883                 synchronized (monitor())
1884                 {
1885                     check_orphaned();
1886                     org.apache.xmlbeans.SimpleValue target = null;
1887                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COUNTY$36, i);
1888                     if (target == null)
1889                     {
1890                       throw new IndexOutOfBoundsException();
1891                     }
1892                     target.setStringValue(county);
1893                 }
1894             }
1895             
1896             /**
1897              * Sets (as xml) array of all "County" element
1898              */
1899             public void xsetCountyArray(gov.grants.apply.system.globalLibraryV20.CountyDataType[]countyArray)
1900             {
1901                 synchronized (monitor())
1902                 {
1903                     check_orphaned();
1904                     arraySetterHelper(countyArray, COUNTY$36);
1905                 }
1906             }
1907             
1908             /**
1909              * Sets (as xml) ith "County" element
1910              */
1911             public void xsetCountyArray(int i, gov.grants.apply.system.globalLibraryV20.CountyDataType county)
1912             {
1913                 synchronized (monitor())
1914                 {
1915                     check_orphaned();
1916                     gov.grants.apply.system.globalLibraryV20.CountyDataType target = null;
1917                     target = (gov.grants.apply.system.globalLibraryV20.CountyDataType)get_store().find_element_user(COUNTY$36, i);
1918                     if (target == null)
1919                     {
1920                       throw new IndexOutOfBoundsException();
1921                     }
1922                     target.set(county);
1923                 }
1924             }
1925             
1926             /**
1927              * Inserts the value as the ith "County" element
1928              */
1929             public void insertCounty(int i, java.lang.String county)
1930             {
1931                 synchronized (monitor())
1932                 {
1933                     check_orphaned();
1934                     org.apache.xmlbeans.SimpleValue target = 
1935                       (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(COUNTY$36, i);
1936                     target.setStringValue(county);
1937                 }
1938             }
1939             
1940             /**
1941              * Appends the value as the last "County" element
1942              */
1943             public void addCounty(java.lang.String county)
1944             {
1945                 synchronized (monitor())
1946                 {
1947                     check_orphaned();
1948                     org.apache.xmlbeans.SimpleValue target = null;
1949                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COUNTY$36);
1950                     target.setStringValue(county);
1951                 }
1952             }
1953             
1954             /**
1955              * Inserts and returns a new empty value (as xml) as the ith "County" element
1956              */
1957             public gov.grants.apply.system.globalLibraryV20.CountyDataType insertNewCounty(int i)
1958             {
1959                 synchronized (monitor())
1960                 {
1961                     check_orphaned();
1962                     gov.grants.apply.system.globalLibraryV20.CountyDataType target = null;
1963                     target = (gov.grants.apply.system.globalLibraryV20.CountyDataType)get_store().insert_element_user(COUNTY$36, i);
1964                     return target;
1965                 }
1966             }
1967             
1968             /**
1969              * Appends and returns a new empty value (as xml) as the last "County" element
1970              */
1971             public gov.grants.apply.system.globalLibraryV20.CountyDataType addNewCounty()
1972             {
1973                 synchronized (monitor())
1974                 {
1975                     check_orphaned();
1976                     gov.grants.apply.system.globalLibraryV20.CountyDataType target = null;
1977                     target = (gov.grants.apply.system.globalLibraryV20.CountyDataType)get_store().add_element_user(COUNTY$36);
1978                     return target;
1979                 }
1980             }
1981             
1982             /**
1983              * Removes the ith "County" element
1984              */
1985             public void removeCounty(int i)
1986             {
1987                 synchronized (monitor())
1988                 {
1989                     check_orphaned();
1990                     get_store().remove_element(COUNTY$36, i);
1991                 }
1992             }
1993             
1994             /**
1995              * Gets array of all "DistNum" elements
1996              */
1997             public java.lang.String[] getDistNumArray()
1998             {
1999                 synchronized (monitor())
2000                 {
2001                     check_orphaned();
2002                     java.util.List targetList = new java.util.ArrayList();
2003                     get_store().find_all_element_users(DISTNUM$38, targetList);
2004                     java.lang.String[] result = new java.lang.String[targetList.size()];
2005                     for (int i = 0, len = targetList.size() ; i < len ; i++)
2006                         result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
2007                     return result;
2008                 }
2009             }
2010             
2011             /**
2012              * Gets ith "DistNum" element
2013              */
2014             public java.lang.String getDistNumArray(int i)
2015             {
2016                 synchronized (monitor())
2017                 {
2018                     check_orphaned();
2019                     org.apache.xmlbeans.SimpleValue target = null;
2020                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DISTNUM$38, i);
2021                     if (target == null)
2022                     {
2023                       throw new IndexOutOfBoundsException();
2024                     }
2025                     return target.getStringValue();
2026                 }
2027             }
2028             
2029             /**
2030              * Gets (as xml) array of all "DistNum" elements
2031              */
2032             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum[] xgetDistNumArray()
2033             {
2034                 synchronized (monitor())
2035                 {
2036                     check_orphaned();
2037                     java.util.List targetList = new java.util.ArrayList();
2038                     get_store().find_all_element_users(DISTNUM$38, targetList);
2039                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum[] result = new gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum[targetList.size()];
2040                     targetList.toArray(result);
2041                     return result;
2042                 }
2043             }
2044             
2045             /**
2046              * Gets (as xml) ith "DistNum" element
2047              */
2048             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum xgetDistNumArray(int i)
2049             {
2050                 synchronized (monitor())
2051                 {
2052                     check_orphaned();
2053                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum target = null;
2054                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum)get_store().find_element_user(DISTNUM$38, i);
2055                     if (target == null)
2056                     {
2057                       throw new IndexOutOfBoundsException();
2058                     }
2059                     return target;
2060                 }
2061             }
2062             
2063             /**
2064              * Returns number of "DistNum" element
2065              */
2066             public int sizeOfDistNumArray()
2067             {
2068                 synchronized (monitor())
2069                 {
2070                     check_orphaned();
2071                     return get_store().count_elements(DISTNUM$38);
2072                 }
2073             }
2074             
2075             /**
2076              * Sets array of all "DistNum" element
2077              */
2078             public void setDistNumArray(java.lang.String[] distNumArray)
2079             {
2080                 synchronized (monitor())
2081                 {
2082                     check_orphaned();
2083                     arraySetterHelper(distNumArray, DISTNUM$38);
2084                 }
2085             }
2086             
2087             /**
2088              * Sets ith "DistNum" element
2089              */
2090             public void setDistNumArray(int i, java.lang.String distNum)
2091             {
2092                 synchronized (monitor())
2093                 {
2094                     check_orphaned();
2095                     org.apache.xmlbeans.SimpleValue target = null;
2096                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DISTNUM$38, i);
2097                     if (target == null)
2098                     {
2099                       throw new IndexOutOfBoundsException();
2100                     }
2101                     target.setStringValue(distNum);
2102                 }
2103             }
2104             
2105             /**
2106              * Sets (as xml) array of all "DistNum" element
2107              */
2108             public void xsetDistNumArray(gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum[]distNumArray)
2109             {
2110                 synchronized (monitor())
2111                 {
2112                     check_orphaned();
2113                     arraySetterHelper(distNumArray, DISTNUM$38);
2114                 }
2115             }
2116             
2117             /**
2118              * Sets (as xml) ith "DistNum" element
2119              */
2120             public void xsetDistNumArray(int i, gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum distNum)
2121             {
2122                 synchronized (monitor())
2123                 {
2124                     check_orphaned();
2125                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum target = null;
2126                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum)get_store().find_element_user(DISTNUM$38, i);
2127                     if (target == null)
2128                     {
2129                       throw new IndexOutOfBoundsException();
2130                     }
2131                     target.set(distNum);
2132                 }
2133             }
2134             
2135             /**
2136              * Inserts the value as the ith "DistNum" element
2137              */
2138             public void insertDistNum(int i, java.lang.String distNum)
2139             {
2140                 synchronized (monitor())
2141                 {
2142                     check_orphaned();
2143                     org.apache.xmlbeans.SimpleValue target = 
2144                       (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(DISTNUM$38, i);
2145                     target.setStringValue(distNum);
2146                 }
2147             }
2148             
2149             /**
2150              * Appends the value as the last "DistNum" element
2151              */
2152             public void addDistNum(java.lang.String distNum)
2153             {
2154                 synchronized (monitor())
2155                 {
2156                     check_orphaned();
2157                     org.apache.xmlbeans.SimpleValue target = null;
2158                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DISTNUM$38);
2159                     target.setStringValue(distNum);
2160                 }
2161             }
2162             
2163             /**
2164              * Inserts and returns a new empty value (as xml) as the ith "DistNum" element
2165              */
2166             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum insertNewDistNum(int i)
2167             {
2168                 synchronized (monitor())
2169                 {
2170                     check_orphaned();
2171                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum target = null;
2172                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum)get_store().insert_element_user(DISTNUM$38, i);
2173                     return target;
2174                 }
2175             }
2176             
2177             /**
2178              * Appends and returns a new empty value (as xml) as the last "DistNum" element
2179              */
2180             public gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum addNewDistNum()
2181             {
2182                 synchronized (monitor())
2183                 {
2184                     check_orphaned();
2185                     gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum target = null;
2186                     target = (gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum)get_store().add_element_user(DISTNUM$38);
2187                     return target;
2188                 }
2189             }
2190             
2191             /**
2192              * Removes the ith "DistNum" element
2193              */
2194             public void removeDistNum(int i)
2195             {
2196                 synchronized (monitor())
2197                 {
2198                     check_orphaned();
2199                     get_store().remove_element(DISTNUM$38, i);
2200                 }
2201             }
2202             /**
2203              * An XML GrntNum(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
2204              *
2205              * This is an atomic type that is a restriction of gov.grants.apply.forms.doeF5405V10.DOEF5405Document$DOEF5405$Subgrantee$GrntNum.
2206              */
2207             public static class GrntNumImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.GrntNum
2208             {
2209                 private static final long serialVersionUID = 1L;
2210                 
2211                 public GrntNumImpl(org.apache.xmlbeans.SchemaType sType)
2212                 {
2213                     super(sType, false);
2214                 }
2215                 
2216                 protected GrntNumImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2217                 {
2218                     super(sType, b);
2219                 }
2220             }
2221             /**
2222              * An XML ModNum(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
2223              *
2224              * This is an atomic type that is a restriction of gov.grants.apply.forms.doeF5405V10.DOEF5405Document$DOEF5405$Subgrantee$ModNum.
2225              */
2226             public static class ModNumImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.ModNum
2227             {
2228                 private static final long serialVersionUID = 1L;
2229                 
2230                 public ModNumImpl(org.apache.xmlbeans.SchemaType sType)
2231                 {
2232                     super(sType, false);
2233                 }
2234                 
2235                 protected ModNumImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2236                 {
2237                     super(sType, b);
2238                 }
2239             }
2240             /**
2241              * An XML Name1(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
2242              *
2243              * This is an atomic type that is a restriction of gov.grants.apply.forms.doeF5405V10.DOEF5405Document$DOEF5405$Subgrantee$Name1.
2244              */
2245             public static class Name1Impl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Name1
2246             {
2247                 private static final long serialVersionUID = 1L;
2248                 
2249                 public Name1Impl(org.apache.xmlbeans.SchemaType sType)
2250                 {
2251                     super(sType, false);
2252                 }
2253                 
2254                 protected Name1Impl(org.apache.xmlbeans.SchemaType sType, boolean b)
2255                 {
2256                     super(sType, b);
2257                 }
2258             }
2259             /**
2260              * An XML Contact(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
2261              *
2262              * This is an atomic type that is a restriction of gov.grants.apply.forms.doeF5405V10.DOEF5405Document$DOEF5405$Subgrantee$Contact.
2263              */
2264             public static class ContactImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Contact
2265             {
2266                 private static final long serialVersionUID = 1L;
2267                 
2268                 public ContactImpl(org.apache.xmlbeans.SchemaType sType)
2269                 {
2270                     super(sType, false);
2271                 }
2272                 
2273                 protected ContactImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2274                 {
2275                     super(sType, b);
2276                 }
2277             }
2278             /**
2279              * An XML FundsAlloc(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
2280              *
2281              * This is an atomic type that is a restriction of gov.grants.apply.forms.doeF5405V10.DOEF5405Document$DOEF5405$Subgrantee$FundsAlloc.
2282              */
2283             public static class FundsAllocImpl extends org.apache.xmlbeans.impl.values.JavaDecimalHolderEx implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.FundsAlloc
2284             {
2285                 private static final long serialVersionUID = 1L;
2286                 
2287                 public FundsAllocImpl(org.apache.xmlbeans.SchemaType sType)
2288                 {
2289                     super(sType, false);
2290                 }
2291                 
2292                 protected FundsAllocImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2293                 {
2294                     super(sType, b);
2295                 }
2296             }
2297             /**
2298              * An XML Units(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
2299              *
2300              * This is an atomic type that is a restriction of gov.grants.apply.forms.doeF5405V10.DOEF5405Document$DOEF5405$Subgrantee$Units.
2301              */
2302             public static class UnitsImpl extends org.apache.xmlbeans.impl.values.JavaIntHolderEx implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Units
2303             {
2304                 private static final long serialVersionUID = 1L;
2305                 
2306                 public UnitsImpl(org.apache.xmlbeans.SchemaType sType)
2307                 {
2308                     super(sType, false);
2309                 }
2310                 
2311                 protected UnitsImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2312                 {
2313                     super(sType, b);
2314                 }
2315             }
2316             /**
2317              * An XML OrgType(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
2318              *
2319              * This is an atomic type that is a restriction of gov.grants.apply.forms.doeF5405V10.DOEF5405Document$DOEF5405$Subgrantee$OrgType.
2320              */
2321             public static class OrgTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.OrgType
2322             {
2323                 private static final long serialVersionUID = 1L;
2324                 
2325                 public OrgTypeImpl(org.apache.xmlbeans.SchemaType sType)
2326                 {
2327                     super(sType, false);
2328                 }
2329                 
2330                 protected OrgTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2331                 {
2332                     super(sType, b);
2333                 }
2334             }
2335             /**
2336              * An XML Labor(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
2337              *
2338              * This is an atomic type that is a restriction of gov.grants.apply.forms.doeF5405V10.DOEF5405Document$DOEF5405$Subgrantee$Labor.
2339              */
2340             public static class LaborImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.Labor
2341             {
2342                 private static final long serialVersionUID = 1L;
2343                 
2344                 public LaborImpl(org.apache.xmlbeans.SchemaType sType)
2345                 {
2346                     super(sType, false);
2347                 }
2348                 
2349                 protected LaborImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2350                 {
2351                     super(sType, b);
2352                 }
2353             }
2354             /**
2355              * An XML DistNum(@http://apply.grants.gov/forms/DOE_F_540_5-V1.0).
2356              *
2357              * This is an atomic type that is a restriction of gov.grants.apply.forms.doeF5405V10.DOEF5405Document$DOEF5405$Subgrantee$DistNum.
2358              */
2359             public static class DistNumImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.doeF5405V10.DOEF5405Document.DOEF5405.Subgrantee.DistNum
2360             {
2361                 private static final long serialVersionUID = 1L;
2362                 
2363                 public DistNumImpl(org.apache.xmlbeans.SchemaType sType)
2364                 {
2365                     super(sType, false);
2366                 }
2367                 
2368                 protected DistNumImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2369                 {
2370                     super(sType, b);
2371                 }
2372             }
2373         }
2374     }
2375 }