View Javadoc
1   /*
2    * An XML document type.
3    * Localname: RR_KeyPerson
4    * Namespace: http://apply.grants.gov/forms/RR_KeyPerson-V1.0
5    * Java type: gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.rrKeyPersonV10.impl;
10  /**
11   * A document containing one RR_KeyPerson(@http://apply.grants.gov/forms/RR_KeyPerson-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class RRKeyPersonDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public RRKeyPersonDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName RRKEYPERSON$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPerson-V1.0", "RR_KeyPerson");
26      
27      
28      /**
29       * Gets the "RR_KeyPerson" element
30       */
31      public gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson getRRKeyPerson()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson target = null;
37              target = (gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson)get_store().find_element_user(RRKEYPERSON$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "RR_KeyPerson" element
48       */
49      public void setRRKeyPerson(gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson rrKeyPerson)
50      {
51          generatedSetterHelperImpl(rrKeyPerson, RRKEYPERSON$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "RR_KeyPerson" element
56       */
57      public gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson addNewRRKeyPerson()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson target = null;
63              target = (gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson)get_store().add_element_user(RRKEYPERSON$0);
64              return target;
65          }
66      }
67      /**
68       * An XML RR_KeyPerson(@http://apply.grants.gov/forms/RR_KeyPerson-V1.0).
69       *
70       * This is a complex type.
71       */
72      public static class RRKeyPersonImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public RRKeyPersonImpl(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_KeyPerson-V1.0", "PDPI");
83          private static final javax.xml.namespace.QName KEYPERSON$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPerson-V1.0", "KeyPerson");
85          private static final javax.xml.namespace.QName ADDITIONALPROFILESATTACHED$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPerson-V1.0", "AdditionalProfilesAttached");
87          private static final javax.xml.namespace.QName BIOSKETCHSATTACHED$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPerson-V1.0", "BioSketchsAttached");
89          private static final javax.xml.namespace.QName SUPPORTSATTACHED$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPerson-V1.0", "SupportsAttached");
91          private static final javax.xml.namespace.QName FORMVERSION$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPerson-V1.0", "FormVersion");
93          
94          
95          /**
96           * Gets the "PDPI" element
97           */
98          public gov.grants.apply.forms.rrKeyPersonV10.PersonProfileDataType getPDPI()
99          {
100             synchronized (monitor())
101             {
102                 check_orphaned();
103                 gov.grants.apply.forms.rrKeyPersonV10.PersonProfileDataType target = null;
104                 target = (gov.grants.apply.forms.rrKeyPersonV10.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.rrKeyPersonV10.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.rrKeyPersonV10.PersonProfileDataType addNewPDPI()
125         {
126             synchronized (monitor())
127             {
128                 check_orphaned();
129                 gov.grants.apply.forms.rrKeyPersonV10.PersonProfileDataType target = null;
130                 target = (gov.grants.apply.forms.rrKeyPersonV10.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.rrKeyPersonV10.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.rrKeyPersonV10.PersonProfileDataType[] result = new gov.grants.apply.forms.rrKeyPersonV10.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.rrKeyPersonV10.PersonProfileDataType getKeyPersonArray(int i)
155         {
156             synchronized (monitor())
157             {
158                 check_orphaned();
159                 gov.grants.apply.forms.rrKeyPersonV10.PersonProfileDataType target = null;
160                 target = (gov.grants.apply.forms.rrKeyPersonV10.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.rrKeyPersonV10.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.rrKeyPersonV10.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.rrKeyPersonV10.PersonProfileDataType insertNewKeyPerson(int i)
202         {
203             synchronized (monitor())
204             {
205                 check_orphaned();
206                 gov.grants.apply.forms.rrKeyPersonV10.PersonProfileDataType target = null;
207                 target = (gov.grants.apply.forms.rrKeyPersonV10.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.rrKeyPersonV10.PersonProfileDataType addNewKeyPerson()
216         {
217             synchronized (monitor())
218             {
219                 check_orphaned();
220                 gov.grants.apply.forms.rrKeyPersonV10.PersonProfileDataType target = null;
221                 target = (gov.grants.apply.forms.rrKeyPersonV10.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.AdditionalProfilesAttached getAdditionalProfilesAttached()
242         {
243             synchronized (monitor())
244             {
245                 check_orphaned();
246                 gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.AdditionalProfilesAttached target = null;
247                 target = (gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.AdditionalProfilesAttached addNewAdditionalProfilesAttached()
280         {
281             synchronized (monitor())
282             {
283                 check_orphaned();
284                 gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.AdditionalProfilesAttached target = null;
285                 target = (gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.BioSketchsAttached getBioSketchsAttached()
306         {
307             synchronized (monitor())
308             {
309                 check_orphaned();
310                 gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.BioSketchsAttached target = null;
311                 target = (gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.BioSketchsAttached addNewBioSketchsAttached()
344         {
345             synchronized (monitor())
346             {
347                 check_orphaned();
348                 gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.BioSketchsAttached target = null;
349                 target = (gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.SupportsAttached getSupportsAttached()
370         {
371             synchronized (monitor())
372             {
373                 check_orphaned();
374                 gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.SupportsAttached target = null;
375                 target = (gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.SupportsAttached addNewSupportsAttached()
408         {
409             synchronized (monitor())
410             {
411                 check_orphaned();
412                 gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.SupportsAttached target = null;
413                 target = (gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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.globalLibraryV10.FormVersionDataType xgetFormVersion()
456         {
457             synchronized (monitor())
458             {
459                 check_orphaned();
460                 gov.grants.apply.system.globalLibraryV10.FormVersionDataType target = null;
461                 target = (gov.grants.apply.system.globalLibraryV10.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$10);
462                 if (target == null)
463                 {
464                     target = (gov.grants.apply.system.globalLibraryV10.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.globalLibraryV10.FormVersionDataType formVersion)
492         {
493             synchronized (monitor())
494             {
495                 check_orphaned();
496                 gov.grants.apply.system.globalLibraryV10.FormVersionDataType target = null;
497                 target = (gov.grants.apply.system.globalLibraryV10.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$10);
498                 if (target == null)
499                 {
500                     target = (gov.grants.apply.system.globalLibraryV10.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_KeyPerson-V1.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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_KeyPerson-V1.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_KeyPerson-V1.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.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.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_KeyPerson-V1.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              * Sets the "BioSketchAttached" element
625              */
626             public void setBioSketchAttached(gov.grants.apply.system.attachmentsV10.AttachedFileDataType bioSketchAttached)
627             {
628                 generatedSetterHelperImpl(bioSketchAttached, BIOSKETCHATTACHED$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
629             }
630             
631             /**
632              * Appends and returns a new empty "BioSketchAttached" element
633              */
634             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewBioSketchAttached()
635             {
636                 synchronized (monitor())
637                 {
638                     check_orphaned();
639                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
640                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(BIOSKETCHATTACHED$0);
641                     return target;
642                 }
643             }
644         }
645         /**
646          * An XML SupportsAttached(@http://apply.grants.gov/forms/RR_KeyPerson-V1.0).
647          *
648          * This is a complex type.
649          */
650         public static class SupportsAttachedImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.rrKeyPersonV10.RRKeyPersonDocument.RRKeyPerson.SupportsAttached
651         {
652             private static final long serialVersionUID = 1L;
653             
654             public SupportsAttachedImpl(org.apache.xmlbeans.SchemaType sType)
655             {
656                 super(sType);
657             }
658             
659             private static final javax.xml.namespace.QName SUPPORTATTACHED$0 = 
660                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/RR_KeyPerson-V1.0", "SupportAttached");
661             
662             
663             /**
664              * Gets the "SupportAttached" element
665              */
666             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getSupportAttached()
667             {
668                 synchronized (monitor())
669                 {
670                     check_orphaned();
671                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
672                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(SUPPORTATTACHED$0, 0);
673                     if (target == null)
674                     {
675                       return null;
676                     }
677                     return target;
678                 }
679             }
680             
681             /**
682              * True if has "SupportAttached" element
683              */
684             public boolean isSetSupportAttached()
685             {
686                 synchronized (monitor())
687                 {
688                     check_orphaned();
689                     return get_store().count_elements(SUPPORTATTACHED$0) != 0;
690                 }
691             }
692             
693             /**
694              * Sets the "SupportAttached" element
695              */
696             public void setSupportAttached(gov.grants.apply.system.attachmentsV10.AttachedFileDataType supportAttached)
697             {
698                 generatedSetterHelperImpl(supportAttached, SUPPORTATTACHED$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
699             }
700             
701             /**
702              * Appends and returns a new empty "SupportAttached" element
703              */
704             public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewSupportAttached()
705             {
706                 synchronized (monitor())
707                 {
708                     check_orphaned();
709                     gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
710                     target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(SUPPORTATTACHED$0);
711                     return target;
712                 }
713             }
714             
715             /**
716              * Unsets the "SupportAttached" element
717              */
718             public void unsetSupportAttached()
719             {
720                 synchronized (monitor())
721                 {
722                     check_orphaned();
723                     get_store().remove_element(SUPPORTATTACHED$0, 0);
724                 }
725             }
726         }
727     }
728 }