View Javadoc
1   /*
2    * An XML document type.
3    * Localname: RR_KeyPersonExpanded
4    * Namespace: http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1
5    * Java type: gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.rrKeyPersonExpandedV11.impl;
10  /**
11   * A document containing one RR_KeyPersonExpanded(@http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1) element.
12   *
13   * This is a complex type.
14   */
15  public class RRKeyPersonExpandedDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public RRKeyPersonExpandedDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName RRKEYPERSONEXPANDED$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "RR_KeyPersonExpanded");
26      
27      
28      /**
29       * Gets the "RR_KeyPersonExpanded" element
30       */
31      public gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded getRRKeyPersonExpanded()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded target = null;
37              target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded)get_store().find_element_user(RRKEYPERSONEXPANDED$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "RR_KeyPersonExpanded" element
48       */
49      public void setRRKeyPersonExpanded(gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded rrKeyPersonExpanded)
50      {
51          generatedSetterHelperImpl(rrKeyPersonExpanded, RRKEYPERSONEXPANDED$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "RR_KeyPersonExpanded" element
56       */
57      public gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded addNewRRKeyPersonExpanded()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded target = null;
63              target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded)get_store().add_element_user(RRKEYPERSONEXPANDED$0);
64              return target;
65          }
66      }
67      /**
68       * An XML RR_KeyPersonExpanded(@http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1).
69       *
70       * This is a complex type.
71       */
72      public static class RRKeyPersonExpandedImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public RRKeyPersonExpandedImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName PDPI$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "PDPI");
83          private static final javax.xml.namespace.QName KEYPERSON$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "KeyPerson");
85          private static final javax.xml.namespace.QName KEYPERSONATTACHMENTFILENAME1$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "KeyPersonAttachmentFileName1");
87          private static final javax.xml.namespace.QName KEYPERSONATTACHMENTFILENAME2$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "KeyPersonAttachmentFileName2");
89          private static final javax.xml.namespace.QName KEYPERSONATTACHMENTFILENAME3$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "KeyPersonAttachmentFileName3");
91          private static final javax.xml.namespace.QName KEYPERSONATTACHMENTFILENAME4$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "KeyPersonAttachmentFileName4");
93          private static final javax.xml.namespace.QName ADDITIONALPROFILESATTACHED$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "AdditionalProfilesAttached");
95          private static final javax.xml.namespace.QName BIOSKETCHSATTACHED$14 = 
96              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "BioSketchsAttached");
97          private static final javax.xml.namespace.QName SUPPORTSATTACHED$16 = 
98              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "SupportsAttached");
99          private static final javax.xml.namespace.QName FORMVERSION$18 = 
100             new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "FormVersion");
101         
102         
103         /**
104          * Gets the "PDPI" element
105          */
106         public gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType getPDPI()
107         {
108             synchronized (monitor())
109             {
110                 check_orphaned();
111                 gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType target = null;
112                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType)get_store().find_element_user(PDPI$0, 0);
113                 if (target == null)
114                 {
115                     return null;
116                 }
117                 return target;
118             }
119         }
120         
121         /**
122          * Sets the "PDPI" element
123          */
124         public void setPDPI(gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType pdpi)
125         {
126             generatedSetterHelperImpl(pdpi, PDPI$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
127         }
128         
129         /**
130          * Appends and returns a new empty "PDPI" element
131          */
132         public gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType addNewPDPI()
133         {
134             synchronized (monitor())
135             {
136                 check_orphaned();
137                 gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType target = null;
138                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType)get_store().add_element_user(PDPI$0);
139                 return target;
140             }
141         }
142         
143         /**
144          * Gets array of all "KeyPerson" elements
145          */
146         public gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType[] getKeyPersonArray()
147         {
148             synchronized (monitor())
149             {
150                 check_orphaned();
151                 java.util.List targetList = new java.util.ArrayList();
152                 get_store().find_all_element_users(KEYPERSON$2, targetList);
153                 gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType[] result = new gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType[targetList.size()];
154                 targetList.toArray(result);
155                 return result;
156             }
157         }
158         
159         /**
160          * Gets ith "KeyPerson" element
161          */
162         public gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType getKeyPersonArray(int i)
163         {
164             synchronized (monitor())
165             {
166                 check_orphaned();
167                 gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType target = null;
168                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType)get_store().find_element_user(KEYPERSON$2, i);
169                 if (target == null)
170                 {
171                     throw new IndexOutOfBoundsException();
172                 }
173                 return target;
174             }
175         }
176         
177         /**
178          * Returns number of "KeyPerson" element
179          */
180         public int sizeOfKeyPersonArray()
181         {
182             synchronized (monitor())
183             {
184                 check_orphaned();
185                 return get_store().count_elements(KEYPERSON$2);
186             }
187         }
188         
189         /**
190          * Sets array of all "KeyPerson" element  WARNING: This method is not atomicaly synchronized.
191          */
192         public void setKeyPersonArray(gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType[] keyPersonArray)
193         {
194             check_orphaned();
195             arraySetterHelper(keyPersonArray, KEYPERSON$2);
196         }
197         
198         /**
199          * Sets ith "KeyPerson" element
200          */
201         public void setKeyPersonArray(int i, gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType keyPerson)
202         {
203             generatedSetterHelperImpl(keyPerson, KEYPERSON$2, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
204         }
205         
206         /**
207          * Inserts and returns a new empty value (as xml) as the ith "KeyPerson" element
208          */
209         public gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType insertNewKeyPerson(int i)
210         {
211             synchronized (monitor())
212             {
213                 check_orphaned();
214                 gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType target = null;
215                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType)get_store().insert_element_user(KEYPERSON$2, i);
216                 return target;
217             }
218         }
219         
220         /**
221          * Appends and returns a new empty value (as xml) as the last "KeyPerson" element
222          */
223         public gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType addNewKeyPerson()
224         {
225             synchronized (monitor())
226             {
227                 check_orphaned();
228                 gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType target = null;
229                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.PersonProfileDataType)get_store().add_element_user(KEYPERSON$2);
230                 return target;
231             }
232         }
233         
234         /**
235          * Removes the ith "KeyPerson" element
236          */
237         public void removeKeyPerson(int i)
238         {
239             synchronized (monitor())
240             {
241                 check_orphaned();
242                 get_store().remove_element(KEYPERSON$2, i);
243             }
244         }
245         
246         /**
247          * Gets the "KeyPersonAttachmentFileName1" element
248          */
249         public java.lang.String getKeyPersonAttachmentFileName1()
250         {
251             synchronized (monitor())
252             {
253                 check_orphaned();
254                 org.apache.xmlbeans.SimpleValue target = null;
255                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME1$4, 0);
256                 if (target == null)
257                 {
258                     return null;
259                 }
260                 return target.getStringValue();
261             }
262         }
263         
264         /**
265          * Gets (as xml) the "KeyPersonAttachmentFileName1" element
266          */
267         public gov.grants.apply.system.globalV10.StringMin1Max60Type xgetKeyPersonAttachmentFileName1()
268         {
269             synchronized (monitor())
270             {
271                 check_orphaned();
272                 gov.grants.apply.system.globalV10.StringMin1Max60Type target = null;
273                 target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME1$4, 0);
274                 return target;
275             }
276         }
277         
278         /**
279          * True if has "KeyPersonAttachmentFileName1" element
280          */
281         public boolean isSetKeyPersonAttachmentFileName1()
282         {
283             synchronized (monitor())
284             {
285                 check_orphaned();
286                 return get_store().count_elements(KEYPERSONATTACHMENTFILENAME1$4) != 0;
287             }
288         }
289         
290         /**
291          * Sets the "KeyPersonAttachmentFileName1" element
292          */
293         public void setKeyPersonAttachmentFileName1(java.lang.String keyPersonAttachmentFileName1)
294         {
295             synchronized (monitor())
296             {
297                 check_orphaned();
298                 org.apache.xmlbeans.SimpleValue target = null;
299                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME1$4, 0);
300                 if (target == null)
301                 {
302                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(KEYPERSONATTACHMENTFILENAME1$4);
303                 }
304                 target.setStringValue(keyPersonAttachmentFileName1);
305             }
306         }
307         
308         /**
309          * Sets (as xml) the "KeyPersonAttachmentFileName1" element
310          */
311         public void xsetKeyPersonAttachmentFileName1(gov.grants.apply.system.globalV10.StringMin1Max60Type keyPersonAttachmentFileName1)
312         {
313             synchronized (monitor())
314             {
315                 check_orphaned();
316                 gov.grants.apply.system.globalV10.StringMin1Max60Type target = null;
317                 target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME1$4, 0);
318                 if (target == null)
319                 {
320                     target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().add_element_user(KEYPERSONATTACHMENTFILENAME1$4);
321                 }
322                 target.set(keyPersonAttachmentFileName1);
323             }
324         }
325         
326         /**
327          * Unsets the "KeyPersonAttachmentFileName1" element
328          */
329         public void unsetKeyPersonAttachmentFileName1()
330         {
331             synchronized (monitor())
332             {
333                 check_orphaned();
334                 get_store().remove_element(KEYPERSONATTACHMENTFILENAME1$4, 0);
335             }
336         }
337         
338         /**
339          * Gets the "KeyPersonAttachmentFileName2" element
340          */
341         public java.lang.String getKeyPersonAttachmentFileName2()
342         {
343             synchronized (monitor())
344             {
345                 check_orphaned();
346                 org.apache.xmlbeans.SimpleValue target = null;
347                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME2$6, 0);
348                 if (target == null)
349                 {
350                     return null;
351                 }
352                 return target.getStringValue();
353             }
354         }
355         
356         /**
357          * Gets (as xml) the "KeyPersonAttachmentFileName2" element
358          */
359         public gov.grants.apply.system.globalV10.StringMin1Max60Type xgetKeyPersonAttachmentFileName2()
360         {
361             synchronized (monitor())
362             {
363                 check_orphaned();
364                 gov.grants.apply.system.globalV10.StringMin1Max60Type target = null;
365                 target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME2$6, 0);
366                 return target;
367             }
368         }
369         
370         /**
371          * True if has "KeyPersonAttachmentFileName2" element
372          */
373         public boolean isSetKeyPersonAttachmentFileName2()
374         {
375             synchronized (monitor())
376             {
377                 check_orphaned();
378                 return get_store().count_elements(KEYPERSONATTACHMENTFILENAME2$6) != 0;
379             }
380         }
381         
382         /**
383          * Sets the "KeyPersonAttachmentFileName2" element
384          */
385         public void setKeyPersonAttachmentFileName2(java.lang.String keyPersonAttachmentFileName2)
386         {
387             synchronized (monitor())
388             {
389                 check_orphaned();
390                 org.apache.xmlbeans.SimpleValue target = null;
391                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME2$6, 0);
392                 if (target == null)
393                 {
394                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(KEYPERSONATTACHMENTFILENAME2$6);
395                 }
396                 target.setStringValue(keyPersonAttachmentFileName2);
397             }
398         }
399         
400         /**
401          * Sets (as xml) the "KeyPersonAttachmentFileName2" element
402          */
403         public void xsetKeyPersonAttachmentFileName2(gov.grants.apply.system.globalV10.StringMin1Max60Type keyPersonAttachmentFileName2)
404         {
405             synchronized (monitor())
406             {
407                 check_orphaned();
408                 gov.grants.apply.system.globalV10.StringMin1Max60Type target = null;
409                 target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME2$6, 0);
410                 if (target == null)
411                 {
412                     target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().add_element_user(KEYPERSONATTACHMENTFILENAME2$6);
413                 }
414                 target.set(keyPersonAttachmentFileName2);
415             }
416         }
417         
418         /**
419          * Unsets the "KeyPersonAttachmentFileName2" element
420          */
421         public void unsetKeyPersonAttachmentFileName2()
422         {
423             synchronized (monitor())
424             {
425                 check_orphaned();
426                 get_store().remove_element(KEYPERSONATTACHMENTFILENAME2$6, 0);
427             }
428         }
429         
430         /**
431          * Gets the "KeyPersonAttachmentFileName3" element
432          */
433         public java.lang.String getKeyPersonAttachmentFileName3()
434         {
435             synchronized (monitor())
436             {
437                 check_orphaned();
438                 org.apache.xmlbeans.SimpleValue target = null;
439                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME3$8, 0);
440                 if (target == null)
441                 {
442                     return null;
443                 }
444                 return target.getStringValue();
445             }
446         }
447         
448         /**
449          * Gets (as xml) the "KeyPersonAttachmentFileName3" element
450          */
451         public gov.grants.apply.system.globalV10.StringMin1Max60Type xgetKeyPersonAttachmentFileName3()
452         {
453             synchronized (monitor())
454             {
455                 check_orphaned();
456                 gov.grants.apply.system.globalV10.StringMin1Max60Type target = null;
457                 target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME3$8, 0);
458                 return target;
459             }
460         }
461         
462         /**
463          * True if has "KeyPersonAttachmentFileName3" element
464          */
465         public boolean isSetKeyPersonAttachmentFileName3()
466         {
467             synchronized (monitor())
468             {
469                 check_orphaned();
470                 return get_store().count_elements(KEYPERSONATTACHMENTFILENAME3$8) != 0;
471             }
472         }
473         
474         /**
475          * Sets the "KeyPersonAttachmentFileName3" element
476          */
477         public void setKeyPersonAttachmentFileName3(java.lang.String keyPersonAttachmentFileName3)
478         {
479             synchronized (monitor())
480             {
481                 check_orphaned();
482                 org.apache.xmlbeans.SimpleValue target = null;
483                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME3$8, 0);
484                 if (target == null)
485                 {
486                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(KEYPERSONATTACHMENTFILENAME3$8);
487                 }
488                 target.setStringValue(keyPersonAttachmentFileName3);
489             }
490         }
491         
492         /**
493          * Sets (as xml) the "KeyPersonAttachmentFileName3" element
494          */
495         public void xsetKeyPersonAttachmentFileName3(gov.grants.apply.system.globalV10.StringMin1Max60Type keyPersonAttachmentFileName3)
496         {
497             synchronized (monitor())
498             {
499                 check_orphaned();
500                 gov.grants.apply.system.globalV10.StringMin1Max60Type target = null;
501                 target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME3$8, 0);
502                 if (target == null)
503                 {
504                     target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().add_element_user(KEYPERSONATTACHMENTFILENAME3$8);
505                 }
506                 target.set(keyPersonAttachmentFileName3);
507             }
508         }
509         
510         /**
511          * Unsets the "KeyPersonAttachmentFileName3" element
512          */
513         public void unsetKeyPersonAttachmentFileName3()
514         {
515             synchronized (monitor())
516             {
517                 check_orphaned();
518                 get_store().remove_element(KEYPERSONATTACHMENTFILENAME3$8, 0);
519             }
520         }
521         
522         /**
523          * Gets the "KeyPersonAttachmentFileName4" element
524          */
525         public java.lang.String getKeyPersonAttachmentFileName4()
526         {
527             synchronized (monitor())
528             {
529                 check_orphaned();
530                 org.apache.xmlbeans.SimpleValue target = null;
531                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME4$10, 0);
532                 if (target == null)
533                 {
534                     return null;
535                 }
536                 return target.getStringValue();
537             }
538         }
539         
540         /**
541          * Gets (as xml) the "KeyPersonAttachmentFileName4" element
542          */
543         public gov.grants.apply.system.globalV10.StringMin1Max60Type xgetKeyPersonAttachmentFileName4()
544         {
545             synchronized (monitor())
546             {
547                 check_orphaned();
548                 gov.grants.apply.system.globalV10.StringMin1Max60Type target = null;
549                 target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME4$10, 0);
550                 return target;
551             }
552         }
553         
554         /**
555          * True if has "KeyPersonAttachmentFileName4" element
556          */
557         public boolean isSetKeyPersonAttachmentFileName4()
558         {
559             synchronized (monitor())
560             {
561                 check_orphaned();
562                 return get_store().count_elements(KEYPERSONATTACHMENTFILENAME4$10) != 0;
563             }
564         }
565         
566         /**
567          * Sets the "KeyPersonAttachmentFileName4" element
568          */
569         public void setKeyPersonAttachmentFileName4(java.lang.String keyPersonAttachmentFileName4)
570         {
571             synchronized (monitor())
572             {
573                 check_orphaned();
574                 org.apache.xmlbeans.SimpleValue target = null;
575                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME4$10, 0);
576                 if (target == null)
577                 {
578                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(KEYPERSONATTACHMENTFILENAME4$10);
579                 }
580                 target.setStringValue(keyPersonAttachmentFileName4);
581             }
582         }
583         
584         /**
585          * Sets (as xml) the "KeyPersonAttachmentFileName4" element
586          */
587         public void xsetKeyPersonAttachmentFileName4(gov.grants.apply.system.globalV10.StringMin1Max60Type keyPersonAttachmentFileName4)
588         {
589             synchronized (monitor())
590             {
591                 check_orphaned();
592                 gov.grants.apply.system.globalV10.StringMin1Max60Type target = null;
593                 target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().find_element_user(KEYPERSONATTACHMENTFILENAME4$10, 0);
594                 if (target == null)
595                 {
596                     target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().add_element_user(KEYPERSONATTACHMENTFILENAME4$10);
597                 }
598                 target.set(keyPersonAttachmentFileName4);
599             }
600         }
601         
602         /**
603          * Unsets the "KeyPersonAttachmentFileName4" element
604          */
605         public void unsetKeyPersonAttachmentFileName4()
606         {
607             synchronized (monitor())
608             {
609                 check_orphaned();
610                 get_store().remove_element(KEYPERSONATTACHMENTFILENAME4$10, 0);
611             }
612         }
613         
614         /**
615          * Gets the "AdditionalProfilesAttached" element
616          */
617         public gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.AdditionalProfilesAttached getAdditionalProfilesAttached()
618         {
619             synchronized (monitor())
620             {
621                 check_orphaned();
622                 gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.AdditionalProfilesAttached target = null;
623                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.AdditionalProfilesAttached)get_store().find_element_user(ADDITIONALPROFILESATTACHED$12, 0);
624                 if (target == null)
625                 {
626                     return null;
627                 }
628                 return target;
629             }
630         }
631         
632         /**
633          * True if has "AdditionalProfilesAttached" element
634          */
635         public boolean isSetAdditionalProfilesAttached()
636         {
637             synchronized (monitor())
638             {
639                 check_orphaned();
640                 return get_store().count_elements(ADDITIONALPROFILESATTACHED$12) != 0;
641             }
642         }
643         
644         /**
645          * Sets the "AdditionalProfilesAttached" element
646          */
647         public void setAdditionalProfilesAttached(gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.AdditionalProfilesAttached additionalProfilesAttached)
648         {
649             generatedSetterHelperImpl(additionalProfilesAttached, ADDITIONALPROFILESATTACHED$12, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
650         }
651         
652         /**
653          * Appends and returns a new empty "AdditionalProfilesAttached" element
654          */
655         public gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.AdditionalProfilesAttached addNewAdditionalProfilesAttached()
656         {
657             synchronized (monitor())
658             {
659                 check_orphaned();
660                 gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.AdditionalProfilesAttached target = null;
661                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.AdditionalProfilesAttached)get_store().add_element_user(ADDITIONALPROFILESATTACHED$12);
662                 return target;
663             }
664         }
665         
666         /**
667          * Unsets the "AdditionalProfilesAttached" element
668          */
669         public void unsetAdditionalProfilesAttached()
670         {
671             synchronized (monitor())
672             {
673                 check_orphaned();
674                 get_store().remove_element(ADDITIONALPROFILESATTACHED$12, 0);
675             }
676         }
677         
678         /**
679          * Gets the "BioSketchsAttached" element
680          */
681         public gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.BioSketchsAttached getBioSketchsAttached()
682         {
683             synchronized (monitor())
684             {
685                 check_orphaned();
686                 gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.BioSketchsAttached target = null;
687                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.BioSketchsAttached)get_store().find_element_user(BIOSKETCHSATTACHED$14, 0);
688                 if (target == null)
689                 {
690                     return null;
691                 }
692                 return target;
693             }
694         }
695         
696         /**
697          * True if has "BioSketchsAttached" element
698          */
699         public boolean isSetBioSketchsAttached()
700         {
701             synchronized (monitor())
702             {
703                 check_orphaned();
704                 return get_store().count_elements(BIOSKETCHSATTACHED$14) != 0;
705             }
706         }
707         
708         /**
709          * Sets the "BioSketchsAttached" element
710          */
711         public void setBioSketchsAttached(gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.BioSketchsAttached bioSketchsAttached)
712         {
713             generatedSetterHelperImpl(bioSketchsAttached, BIOSKETCHSATTACHED$14, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
714         }
715         
716         /**
717          * Appends and returns a new empty "BioSketchsAttached" element
718          */
719         public gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.BioSketchsAttached addNewBioSketchsAttached()
720         {
721             synchronized (monitor())
722             {
723                 check_orphaned();
724                 gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.BioSketchsAttached target = null;
725                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.BioSketchsAttached)get_store().add_element_user(BIOSKETCHSATTACHED$14);
726                 return target;
727             }
728         }
729         
730         /**
731          * Unsets the "BioSketchsAttached" element
732          */
733         public void unsetBioSketchsAttached()
734         {
735             synchronized (monitor())
736             {
737                 check_orphaned();
738                 get_store().remove_element(BIOSKETCHSATTACHED$14, 0);
739             }
740         }
741         
742         /**
743          * Gets the "SupportsAttached" element
744          */
745         public gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.SupportsAttached getSupportsAttached()
746         {
747             synchronized (monitor())
748             {
749                 check_orphaned();
750                 gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.SupportsAttached target = null;
751                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.SupportsAttached)get_store().find_element_user(SUPPORTSATTACHED$16, 0);
752                 if (target == null)
753                 {
754                     return null;
755                 }
756                 return target;
757             }
758         }
759         
760         /**
761          * True if has "SupportsAttached" element
762          */
763         public boolean isSetSupportsAttached()
764         {
765             synchronized (monitor())
766             {
767                 check_orphaned();
768                 return get_store().count_elements(SUPPORTSATTACHED$16) != 0;
769             }
770         }
771         
772         /**
773          * Sets the "SupportsAttached" element
774          */
775         public void setSupportsAttached(gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.SupportsAttached supportsAttached)
776         {
777             generatedSetterHelperImpl(supportsAttached, SUPPORTSATTACHED$16, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
778         }
779         
780         /**
781          * Appends and returns a new empty "SupportsAttached" element
782          */
783         public gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.SupportsAttached addNewSupportsAttached()
784         {
785             synchronized (monitor())
786             {
787                 check_orphaned();
788                 gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.SupportsAttached target = null;
789                 target = (gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.SupportsAttached)get_store().add_element_user(SUPPORTSATTACHED$16);
790                 return target;
791             }
792         }
793         
794         /**
795          * Unsets the "SupportsAttached" element
796          */
797         public void unsetSupportsAttached()
798         {
799             synchronized (monitor())
800             {
801                 check_orphaned();
802                 get_store().remove_element(SUPPORTSATTACHED$16, 0);
803             }
804         }
805         
806         /**
807          * Gets the "FormVersion" attribute
808          */
809         public java.lang.String getFormVersion()
810         {
811             synchronized (monitor())
812             {
813                 check_orphaned();
814                 org.apache.xmlbeans.SimpleValue target = null;
815                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$18);
816                 if (target == null)
817                 {
818                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$18);
819                 }
820                 if (target == null)
821                 {
822                     return null;
823                 }
824                 return target.getStringValue();
825             }
826         }
827         
828         /**
829          * Gets (as xml) the "FormVersion" attribute
830          */
831         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
832         {
833             synchronized (monitor())
834             {
835                 check_orphaned();
836                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
837                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$18);
838                 if (target == null)
839                 {
840                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$18);
841                 }
842                 return target;
843             }
844         }
845         
846         /**
847          * Sets the "FormVersion" attribute
848          */
849         public void setFormVersion(java.lang.String formVersion)
850         {
851             synchronized (monitor())
852             {
853                 check_orphaned();
854                 org.apache.xmlbeans.SimpleValue target = null;
855                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$18);
856                 if (target == null)
857                 {
858                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$18);
859                 }
860                 target.setStringValue(formVersion);
861             }
862         }
863         
864         /**
865          * Sets (as xml) the "FormVersion" attribute
866          */
867         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
868         {
869             synchronized (monitor())
870             {
871                 check_orphaned();
872                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
873                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$18);
874                 if (target == null)
875                 {
876                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$18);
877                 }
878                 target.set(formVersion);
879             }
880         }
881         /**
882          * An XML AdditionalProfilesAttached(@http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1).
883          *
884          * This is a complex type.
885          */
886         public static class AdditionalProfilesAttachedImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.AdditionalProfilesAttached
887         {
888             private static final long serialVersionUID = 1L;
889             
890             public AdditionalProfilesAttachedImpl(org.apache.xmlbeans.SchemaType sType)
891             {
892                 super(sType);
893             }
894             
895             private static final javax.xml.namespace.QName ADDITIONALPROFILEATTACHED$0 = 
896                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "AdditionalProfileAttached");
897             
898             
899             /**
900              * Gets the "AdditionalProfileAttached" element
901              */
902             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getAdditionalProfileAttached()
903             {
904                 synchronized (monitor())
905                 {
906                     check_orphaned();
907                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
908                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(ADDITIONALPROFILEATTACHED$0, 0);
909                     if (target == null)
910                     {
911                       return null;
912                     }
913                     return target;
914                 }
915             }
916             
917             /**
918              * True if has "AdditionalProfileAttached" element
919              */
920             public boolean isSetAdditionalProfileAttached()
921             {
922                 synchronized (monitor())
923                 {
924                     check_orphaned();
925                     return get_store().count_elements(ADDITIONALPROFILEATTACHED$0) != 0;
926                 }
927             }
928             
929             /**
930              * Sets the "AdditionalProfileAttached" element
931              */
932             public void setAdditionalProfileAttached(gov.grants.apply.system.attachmentsV10.AttachedFileDataType additionalProfileAttached)
933             {
934                 generatedSetterHelperImpl(additionalProfileAttached, ADDITIONALPROFILEATTACHED$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
935             }
936             
937             /**
938              * Appends and returns a new empty "AdditionalProfileAttached" element
939              */
940             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewAdditionalProfileAttached()
941             {
942                 synchronized (monitor())
943                 {
944                     check_orphaned();
945                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
946                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(ADDITIONALPROFILEATTACHED$0);
947                     return target;
948                 }
949             }
950             
951             /**
952              * Unsets the "AdditionalProfileAttached" element
953              */
954             public void unsetAdditionalProfileAttached()
955             {
956                 synchronized (monitor())
957                 {
958                     check_orphaned();
959                     get_store().remove_element(ADDITIONALPROFILEATTACHED$0, 0);
960                 }
961             }
962         }
963         /**
964          * An XML BioSketchsAttached(@http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1).
965          *
966          * This is a complex type.
967          */
968         public static class BioSketchsAttachedImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.BioSketchsAttached
969         {
970             private static final long serialVersionUID = 1L;
971             
972             public BioSketchsAttachedImpl(org.apache.xmlbeans.SchemaType sType)
973             {
974                 super(sType);
975             }
976             
977             private static final javax.xml.namespace.QName BIOSKETCHATTACHED$0 = 
978                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "BioSketchAttached");
979             
980             
981             /**
982              * Gets the "BioSketchAttached" element
983              */
984             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getBioSketchAttached()
985             {
986                 synchronized (monitor())
987                 {
988                     check_orphaned();
989                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
990                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(BIOSKETCHATTACHED$0, 0);
991                     if (target == null)
992                     {
993                       return null;
994                     }
995                     return target;
996                 }
997             }
998             
999             /**
1000              * Sets the "BioSketchAttached" element
1001              */
1002             public void setBioSketchAttached(gov.grants.apply.system.attachmentsV10.AttachedFileDataType bioSketchAttached)
1003             {
1004                 generatedSetterHelperImpl(bioSketchAttached, BIOSKETCHATTACHED$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1005             }
1006             
1007             /**
1008              * Appends and returns a new empty "BioSketchAttached" element
1009              */
1010             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewBioSketchAttached()
1011             {
1012                 synchronized (monitor())
1013                 {
1014                     check_orphaned();
1015                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
1016                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(BIOSKETCHATTACHED$0);
1017                     return target;
1018                 }
1019             }
1020         }
1021         /**
1022          * An XML SupportsAttached(@http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1).
1023          *
1024          * This is a complex type.
1025          */
1026         public static class SupportsAttachedImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonExpandedV11.RRKeyPersonExpandedDocument.RRKeyPersonExpanded.SupportsAttached
1027         {
1028             private static final long serialVersionUID = 1L;
1029             
1030             public SupportsAttachedImpl(org.apache.xmlbeans.SchemaType sType)
1031             {
1032                 super(sType);
1033             }
1034             
1035             private static final javax.xml.namespace.QName SUPPORTATTACHED$0 = 
1036                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded-V1.1", "SupportAttached");
1037             
1038             
1039             /**
1040              * Gets the "SupportAttached" element
1041              */
1042             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getSupportAttached()
1043             {
1044                 synchronized (monitor())
1045                 {
1046                     check_orphaned();
1047                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
1048                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(SUPPORTATTACHED$0, 0);
1049                     if (target == null)
1050                     {
1051                       return null;
1052                     }
1053                     return target;
1054                 }
1055             }
1056             
1057             /**
1058              * True if has "SupportAttached" element
1059              */
1060             public boolean isSetSupportAttached()
1061             {
1062                 synchronized (monitor())
1063                 {
1064                     check_orphaned();
1065                     return get_store().count_elements(SUPPORTATTACHED$0) != 0;
1066                 }
1067             }
1068             
1069             /**
1070              * Sets the "SupportAttached" element
1071              */
1072             public void setSupportAttached(gov.grants.apply.system.attachmentsV10.AttachedFileDataType supportAttached)
1073             {
1074                 generatedSetterHelperImpl(supportAttached, SUPPORTATTACHED$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1075             }
1076             
1077             /**
1078              * Appends and returns a new empty "SupportAttached" element
1079              */
1080             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewSupportAttached()
1081             {
1082                 synchronized (monitor())
1083                 {
1084                     check_orphaned();
1085                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
1086                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(SUPPORTATTACHED$0);
1087                     return target;
1088                 }
1089             }
1090             
1091             /**
1092              * Unsets the "SupportAttached" element
1093              */
1094             public void unsetSupportAttached()
1095             {
1096                 synchronized (monitor())
1097                 {
1098                     check_orphaned();
1099                     get_store().remove_element(SUPPORTATTACHED$0, 0);
1100                 }
1101             }
1102         }
1103     }
1104 }