View Javadoc
1   /*
2    * An XML document type.
3    * Localname: RR_KeyPersonExpanded_2_0
4    * Namespace: http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0
5    * Java type: gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.rrKeyPersonExpanded20V20.impl;
10  /**
11   * A document containing one RR_KeyPersonExpanded_2_0(@http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0) element.
12   *
13   * This is a complex type.
14   */
15  public class RRKeyPersonExpanded20DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public RRKeyPersonExpanded20DocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName RRKEYPERSONEXPANDED20$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0", "RR_KeyPersonExpanded_2_0");
26      
27      
28      /**
29       * Gets the "RR_KeyPersonExpanded_2_0" element
30       */
31      public gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20 getRRKeyPersonExpanded20()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20 target = null;
37              target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20)get_store().find_element_user(RRKEYPERSONEXPANDED20$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "RR_KeyPersonExpanded_2_0" element
48       */
49      public void setRRKeyPersonExpanded20(gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20 rrKeyPersonExpanded20)
50      {
51          generatedSetterHelperImpl(rrKeyPersonExpanded20, RRKEYPERSONEXPANDED20$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "RR_KeyPersonExpanded_2_0" element
56       */
57      public gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20 addNewRRKeyPersonExpanded20()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20 target = null;
63              target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20)get_store().add_element_user(RRKEYPERSONEXPANDED20$0);
64              return target;
65          }
66      }
67      /**
68       * An XML RR_KeyPersonExpanded_2_0(@http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0).
69       *
70       * This is a complex type.
71       */
72      public static class RRKeyPersonExpanded20Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public RRKeyPersonExpanded20Impl(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_2_0-V2.0", "PDPI");
83          private static final javax.xml.namespace.QName KEYPERSON$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0", "KeyPerson");
85          private static final javax.xml.namespace.QName ADDITIONALPROFILESATTACHED$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0", "AdditionalProfilesAttached");
87          private static final javax.xml.namespace.QName BIOSKETCHSATTACHED$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0", "BioSketchsAttached");
89          private static final javax.xml.namespace.QName SUPPORTSATTACHED$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0", "SupportsAttached");
91          private static final javax.xml.namespace.QName FORMVERSION$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0", "FormVersion");
93          
94          
95          /**
96           * Gets the "PDPI" element
97           */
98          public gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType getPDPI()
99          {
100             synchronized (monitor())
101             {
102                 check_orphaned();
103                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType target = null;
104                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType)get_store().find_element_user(PDPI$0, 0);
105                 if (target == null)
106                 {
107                     return null;
108                 }
109                 return target;
110             }
111         }
112         
113         /**
114          * Sets the "PDPI" element
115          */
116         public void setPDPI(gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType pdpi)
117         {
118             generatedSetterHelperImpl(pdpi, PDPI$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
119         }
120         
121         /**
122          * Appends and returns a new empty "PDPI" element
123          */
124         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType addNewPDPI()
125         {
126             synchronized (monitor())
127             {
128                 check_orphaned();
129                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType target = null;
130                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType)get_store().add_element_user(PDPI$0);
131                 return target;
132             }
133         }
134         
135         /**
136          * Gets array of all "KeyPerson" elements
137          */
138         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType[] getKeyPersonArray()
139         {
140             synchronized (monitor())
141             {
142                 check_orphaned();
143                 java.util.List targetList = new java.util.ArrayList();
144                 get_store().find_all_element_users(KEYPERSON$2, targetList);
145                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType[] result = new gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType[targetList.size()];
146                 targetList.toArray(result);
147                 return result;
148             }
149         }
150         
151         /**
152          * Gets ith "KeyPerson" element
153          */
154         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType getKeyPersonArray(int i)
155         {
156             synchronized (monitor())
157             {
158                 check_orphaned();
159                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType target = null;
160                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType)get_store().find_element_user(KEYPERSON$2, i);
161                 if (target == null)
162                 {
163                     throw new IndexOutOfBoundsException();
164                 }
165                 return target;
166             }
167         }
168         
169         /**
170          * Returns number of "KeyPerson" element
171          */
172         public int sizeOfKeyPersonArray()
173         {
174             synchronized (monitor())
175             {
176                 check_orphaned();
177                 return get_store().count_elements(KEYPERSON$2);
178             }
179         }
180         
181         /**
182          * Sets array of all "KeyPerson" element  WARNING: This method is not atomicaly synchronized.
183          */
184         public void setKeyPersonArray(gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType[] keyPersonArray)
185         {
186             check_orphaned();
187             arraySetterHelper(keyPersonArray, KEYPERSON$2);
188         }
189         
190         /**
191          * Sets ith "KeyPerson" element
192          */
193         public void setKeyPersonArray(int i, gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType keyPerson)
194         {
195             generatedSetterHelperImpl(keyPerson, KEYPERSON$2, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
196         }
197         
198         /**
199          * Inserts and returns a new empty value (as xml) as the ith "KeyPerson" element
200          */
201         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType insertNewKeyPerson(int i)
202         {
203             synchronized (monitor())
204             {
205                 check_orphaned();
206                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType target = null;
207                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType)get_store().insert_element_user(KEYPERSON$2, i);
208                 return target;
209             }
210         }
211         
212         /**
213          * Appends and returns a new empty value (as xml) as the last "KeyPerson" element
214          */
215         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType addNewKeyPerson()
216         {
217             synchronized (monitor())
218             {
219                 check_orphaned();
220                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType target = null;
221                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.PersonProfileDataType)get_store().add_element_user(KEYPERSON$2);
222                 return target;
223             }
224         }
225         
226         /**
227          * Removes the ith "KeyPerson" element
228          */
229         public void removeKeyPerson(int i)
230         {
231             synchronized (monitor())
232             {
233                 check_orphaned();
234                 get_store().remove_element(KEYPERSON$2, i);
235             }
236         }
237         
238         /**
239          * Gets the "AdditionalProfilesAttached" element
240          */
241         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.AdditionalProfilesAttached getAdditionalProfilesAttached()
242         {
243             synchronized (monitor())
244             {
245                 check_orphaned();
246                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.AdditionalProfilesAttached target = null;
247                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.AdditionalProfilesAttached)get_store().find_element_user(ADDITIONALPROFILESATTACHED$4, 0);
248                 if (target == null)
249                 {
250                     return null;
251                 }
252                 return target;
253             }
254         }
255         
256         /**
257          * True if has "AdditionalProfilesAttached" element
258          */
259         public boolean isSetAdditionalProfilesAttached()
260         {
261             synchronized (monitor())
262             {
263                 check_orphaned();
264                 return get_store().count_elements(ADDITIONALPROFILESATTACHED$4) != 0;
265             }
266         }
267         
268         /**
269          * Sets the "AdditionalProfilesAttached" element
270          */
271         public void setAdditionalProfilesAttached(gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.AdditionalProfilesAttached additionalProfilesAttached)
272         {
273             generatedSetterHelperImpl(additionalProfilesAttached, ADDITIONALPROFILESATTACHED$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
274         }
275         
276         /**
277          * Appends and returns a new empty "AdditionalProfilesAttached" element
278          */
279         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.AdditionalProfilesAttached addNewAdditionalProfilesAttached()
280         {
281             synchronized (monitor())
282             {
283                 check_orphaned();
284                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.AdditionalProfilesAttached target = null;
285                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.AdditionalProfilesAttached)get_store().add_element_user(ADDITIONALPROFILESATTACHED$4);
286                 return target;
287             }
288         }
289         
290         /**
291          * Unsets the "AdditionalProfilesAttached" element
292          */
293         public void unsetAdditionalProfilesAttached()
294         {
295             synchronized (monitor())
296             {
297                 check_orphaned();
298                 get_store().remove_element(ADDITIONALPROFILESATTACHED$4, 0);
299             }
300         }
301         
302         /**
303          * Gets the "BioSketchsAttached" element
304          */
305         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.BioSketchsAttached getBioSketchsAttached()
306         {
307             synchronized (monitor())
308             {
309                 check_orphaned();
310                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.BioSketchsAttached target = null;
311                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.BioSketchsAttached)get_store().find_element_user(BIOSKETCHSATTACHED$6, 0);
312                 if (target == null)
313                 {
314                     return null;
315                 }
316                 return target;
317             }
318         }
319         
320         /**
321          * True if has "BioSketchsAttached" element
322          */
323         public boolean isSetBioSketchsAttached()
324         {
325             synchronized (monitor())
326             {
327                 check_orphaned();
328                 return get_store().count_elements(BIOSKETCHSATTACHED$6) != 0;
329             }
330         }
331         
332         /**
333          * Sets the "BioSketchsAttached" element
334          */
335         public void setBioSketchsAttached(gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.BioSketchsAttached bioSketchsAttached)
336         {
337             generatedSetterHelperImpl(bioSketchsAttached, BIOSKETCHSATTACHED$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
338         }
339         
340         /**
341          * Appends and returns a new empty "BioSketchsAttached" element
342          */
343         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.BioSketchsAttached addNewBioSketchsAttached()
344         {
345             synchronized (monitor())
346             {
347                 check_orphaned();
348                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.BioSketchsAttached target = null;
349                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.BioSketchsAttached)get_store().add_element_user(BIOSKETCHSATTACHED$6);
350                 return target;
351             }
352         }
353         
354         /**
355          * Unsets the "BioSketchsAttached" element
356          */
357         public void unsetBioSketchsAttached()
358         {
359             synchronized (monitor())
360             {
361                 check_orphaned();
362                 get_store().remove_element(BIOSKETCHSATTACHED$6, 0);
363             }
364         }
365         
366         /**
367          * Gets the "SupportsAttached" element
368          */
369         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.SupportsAttached getSupportsAttached()
370         {
371             synchronized (monitor())
372             {
373                 check_orphaned();
374                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.SupportsAttached target = null;
375                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.SupportsAttached)get_store().find_element_user(SUPPORTSATTACHED$8, 0);
376                 if (target == null)
377                 {
378                     return null;
379                 }
380                 return target;
381             }
382         }
383         
384         /**
385          * True if has "SupportsAttached" element
386          */
387         public boolean isSetSupportsAttached()
388         {
389             synchronized (monitor())
390             {
391                 check_orphaned();
392                 return get_store().count_elements(SUPPORTSATTACHED$8) != 0;
393             }
394         }
395         
396         /**
397          * Sets the "SupportsAttached" element
398          */
399         public void setSupportsAttached(gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.SupportsAttached supportsAttached)
400         {
401             generatedSetterHelperImpl(supportsAttached, SUPPORTSATTACHED$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
402         }
403         
404         /**
405          * Appends and returns a new empty "SupportsAttached" element
406          */
407         public gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.SupportsAttached addNewSupportsAttached()
408         {
409             synchronized (monitor())
410             {
411                 check_orphaned();
412                 gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.SupportsAttached target = null;
413                 target = (gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.SupportsAttached)get_store().add_element_user(SUPPORTSATTACHED$8);
414                 return target;
415             }
416         }
417         
418         /**
419          * Unsets the "SupportsAttached" element
420          */
421         public void unsetSupportsAttached()
422         {
423             synchronized (monitor())
424             {
425                 check_orphaned();
426                 get_store().remove_element(SUPPORTSATTACHED$8, 0);
427             }
428         }
429         
430         /**
431          * Gets the "FormVersion" attribute
432          */
433         public java.lang.String getFormVersion()
434         {
435             synchronized (monitor())
436             {
437                 check_orphaned();
438                 org.apache.xmlbeans.SimpleValue target = null;
439                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$10);
440                 if (target == null)
441                 {
442                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$10);
443                 }
444                 if (target == null)
445                 {
446                     return null;
447                 }
448                 return target.getStringValue();
449             }
450         }
451         
452         /**
453          * Gets (as xml) the "FormVersion" attribute
454          */
455         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
456         {
457             synchronized (monitor())
458             {
459                 check_orphaned();
460                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
461                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$10);
462                 if (target == null)
463                 {
464                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$10);
465                 }
466                 return target;
467             }
468         }
469         
470         /**
471          * Sets the "FormVersion" attribute
472          */
473         public void setFormVersion(java.lang.String formVersion)
474         {
475             synchronized (monitor())
476             {
477                 check_orphaned();
478                 org.apache.xmlbeans.SimpleValue target = null;
479                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$10);
480                 if (target == null)
481                 {
482                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$10);
483                 }
484                 target.setStringValue(formVersion);
485             }
486         }
487         
488         /**
489          * Sets (as xml) the "FormVersion" attribute
490          */
491         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
492         {
493             synchronized (monitor())
494             {
495                 check_orphaned();
496                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
497                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$10);
498                 if (target == null)
499                 {
500                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$10);
501                 }
502                 target.set(formVersion);
503             }
504         }
505         /**
506          * An XML AdditionalProfilesAttached(@http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0).
507          *
508          * This is a complex type.
509          */
510         public static class AdditionalProfilesAttachedImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.AdditionalProfilesAttached
511         {
512             private static final long serialVersionUID = 1L;
513             
514             public AdditionalProfilesAttachedImpl(org.apache.xmlbeans.SchemaType sType)
515             {
516                 super(sType);
517             }
518             
519             private static final javax.xml.namespace.QName ADDITIONALPROFILEATTACHED$0 = 
520                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0", "AdditionalProfileAttached");
521             
522             
523             /**
524              * Gets the "AdditionalProfileAttached" element
525              */
526             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getAdditionalProfileAttached()
527             {
528                 synchronized (monitor())
529                 {
530                     check_orphaned();
531                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
532                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(ADDITIONALPROFILEATTACHED$0, 0);
533                     if (target == null)
534                     {
535                       return null;
536                     }
537                     return target;
538                 }
539             }
540             
541             /**
542              * True if has "AdditionalProfileAttached" element
543              */
544             public boolean isSetAdditionalProfileAttached()
545             {
546                 synchronized (monitor())
547                 {
548                     check_orphaned();
549                     return get_store().count_elements(ADDITIONALPROFILEATTACHED$0) != 0;
550                 }
551             }
552             
553             /**
554              * Sets the "AdditionalProfileAttached" element
555              */
556             public void setAdditionalProfileAttached(gov.grants.apply.system.attachmentsV10.AttachedFileDataType additionalProfileAttached)
557             {
558                 generatedSetterHelperImpl(additionalProfileAttached, ADDITIONALPROFILEATTACHED$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
559             }
560             
561             /**
562              * Appends and returns a new empty "AdditionalProfileAttached" element
563              */
564             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewAdditionalProfileAttached()
565             {
566                 synchronized (monitor())
567                 {
568                     check_orphaned();
569                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
570                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(ADDITIONALPROFILEATTACHED$0);
571                     return target;
572                 }
573             }
574             
575             /**
576              * Unsets the "AdditionalProfileAttached" element
577              */
578             public void unsetAdditionalProfileAttached()
579             {
580                 synchronized (monitor())
581                 {
582                     check_orphaned();
583                     get_store().remove_element(ADDITIONALPROFILEATTACHED$0, 0);
584                 }
585             }
586         }
587         /**
588          * An XML BioSketchsAttached(@http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0).
589          *
590          * This is a complex type.
591          */
592         public static class BioSketchsAttachedImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.BioSketchsAttached
593         {
594             private static final long serialVersionUID = 1L;
595             
596             public BioSketchsAttachedImpl(org.apache.xmlbeans.SchemaType sType)
597             {
598                 super(sType);
599             }
600             
601             private static final javax.xml.namespace.QName BIOSKETCHATTACHED$0 = 
602                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0", "BioSketchAttached");
603             
604             
605             /**
606              * Gets the "BioSketchAttached" element
607              */
608             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getBioSketchAttached()
609             {
610                 synchronized (monitor())
611                 {
612                     check_orphaned();
613                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
614                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(BIOSKETCHATTACHED$0, 0);
615                     if (target == null)
616                     {
617                       return null;
618                     }
619                     return target;
620                 }
621             }
622             
623             /**
624              * True if has "BioSketchAttached" element
625              */
626             public boolean isSetBioSketchAttached()
627             {
628                 synchronized (monitor())
629                 {
630                     check_orphaned();
631                     return get_store().count_elements(BIOSKETCHATTACHED$0) != 0;
632                 }
633             }
634             
635             /**
636              * Sets the "BioSketchAttached" element
637              */
638             public void setBioSketchAttached(gov.grants.apply.system.attachmentsV10.AttachedFileDataType bioSketchAttached)
639             {
640                 generatedSetterHelperImpl(bioSketchAttached, BIOSKETCHATTACHED$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
641             }
642             
643             /**
644              * Appends and returns a new empty "BioSketchAttached" element
645              */
646             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewBioSketchAttached()
647             {
648                 synchronized (monitor())
649                 {
650                     check_orphaned();
651                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
652                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(BIOSKETCHATTACHED$0);
653                     return target;
654                 }
655             }
656             
657             /**
658              * Unsets the "BioSketchAttached" element
659              */
660             public void unsetBioSketchAttached()
661             {
662                 synchronized (monitor())
663                 {
664                     check_orphaned();
665                     get_store().remove_element(BIOSKETCHATTACHED$0, 0);
666                 }
667             }
668         }
669         /**
670          * An XML SupportsAttached(@http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0).
671          *
672          * This is a complex type.
673          */
674         public static class SupportsAttachedImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonExpanded20V20.RRKeyPersonExpanded20Document.RRKeyPersonExpanded20.SupportsAttached
675         {
676             private static final long serialVersionUID = 1L;
677             
678             public SupportsAttachedImpl(org.apache.xmlbeans.SchemaType sType)
679             {
680                 super(sType);
681             }
682             
683             private static final javax.xml.namespace.QName SUPPORTATTACHED$0 = 
684                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPersonExpanded_2_0-V2.0", "SupportAttached");
685             
686             
687             /**
688              * Gets the "SupportAttached" element
689              */
690             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getSupportAttached()
691             {
692                 synchronized (monitor())
693                 {
694                     check_orphaned();
695                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
696                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(SUPPORTATTACHED$0, 0);
697                     if (target == null)
698                     {
699                       return null;
700                     }
701                     return target;
702                 }
703             }
704             
705             /**
706              * True if has "SupportAttached" element
707              */
708             public boolean isSetSupportAttached()
709             {
710                 synchronized (monitor())
711                 {
712                     check_orphaned();
713                     return get_store().count_elements(SUPPORTATTACHED$0) != 0;
714                 }
715             }
716             
717             /**
718              * Sets the "SupportAttached" element
719              */
720             public void setSupportAttached(gov.grants.apply.system.attachmentsV10.AttachedFileDataType supportAttached)
721             {
722                 generatedSetterHelperImpl(supportAttached, SUPPORTATTACHED$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
723             }
724             
725             /**
726              * Appends and returns a new empty "SupportAttached" element
727              */
728             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewSupportAttached()
729             {
730                 synchronized (monitor())
731                 {
732                     check_orphaned();
733                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
734                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(SUPPORTATTACHED$0);
735                     return target;
736                 }
737             }
738             
739             /**
740              * Unsets the "SupportAttached" element
741              */
742             public void unsetSupportAttached()
743             {
744                 synchronized (monitor())
745                 {
746                     check_orphaned();
747                     get_store().remove_element(SUPPORTATTACHED$0, 0);
748                 }
749             }
750         }
751     }
752 }