View Javadoc
1   /*
2    * An XML document type.
3    * Localname: FellowshipsSupplemental_1_1
4    * Namespace: http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1
5    * Java type: gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.fellowshipsSupplemental11V11.impl;
10  /**
11   * A document containing one FellowshipsSupplemental_1_1(@http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1) element.
12   *
13   * This is a complex type.
14   */
15  public class FellowshipsSupplemental11DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public FellowshipsSupplemental11DocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName FELLOWSHIPSSUPPLEMENTAL11$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "FellowshipsSupplemental_1_1");
26      
27      
28      /**
29       * Gets the "FellowshipsSupplemental_1_1" element
30       */
31      public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11 getFellowshipsSupplemental11()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11 target = null;
37              target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11)get_store().find_element_user(FELLOWSHIPSSUPPLEMENTAL11$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "FellowshipsSupplemental_1_1" element
48       */
49      public void setFellowshipsSupplemental11(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11 fellowshipsSupplemental11)
50      {
51          generatedSetterHelperImpl(fellowshipsSupplemental11, FELLOWSHIPSSUPPLEMENTAL11$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "FellowshipsSupplemental_1_1" element
56       */
57      public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11 addNewFellowshipsSupplemental11()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11 target = null;
63              target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11)get_store().add_element_user(FELLOWSHIPSSUPPLEMENTAL11$0);
64              return target;
65          }
66      }
67      /**
68       * An XML FellowshipsSupplemental_1_1(@http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1).
69       *
70       * This is a complex type.
71       */
72      public static class FellowshipsSupplemental11Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public FellowshipsSupplemental11Impl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName FIELDOFPROJECT$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "FieldOfProject");
83          private static final javax.xml.namespace.QName PROJECTDIRECTORFOS$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "ProjectDirectorFOS");
85          private static final javax.xml.namespace.QName DEFAULTMAILINGADDRESS$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "DefaultMailingAddress");
87          private static final javax.xml.namespace.QName INSTITUTIONALAFFILIATION$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "InstitutionalAffiliation");
89          private static final javax.xml.namespace.QName SCHOLARLYSTATUS$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "ScholarlyStatus");
91          private static final javax.xml.namespace.QName REFERENCE1$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "Reference1");
93          private static final javax.xml.namespace.QName REFERENCE2$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "Reference2");
95          private static final javax.xml.namespace.QName NOMINATINGOFFICIAL$14 = 
96              new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "NominatingOfficial");
97          private static final javax.xml.namespace.QName FORMVERSION$16 = 
98              new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "FormVersion");
99          
100         
101         /**
102          * Gets the "FieldOfProject" element
103          */
104         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType.Enum getFieldOfProject()
105         {
106             synchronized (monitor())
107             {
108                 check_orphaned();
109                 org.apache.xmlbeans.SimpleValue target = null;
110                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FIELDOFPROJECT$0, 0);
111                 if (target == null)
112                 {
113                     return null;
114                 }
115                 return (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType.Enum)target.getEnumValue();
116             }
117         }
118         
119         /**
120          * Gets (as xml) the "FieldOfProject" element
121          */
122         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType xgetFieldOfProject()
123         {
124             synchronized (monitor())
125             {
126                 check_orphaned();
127                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType target = null;
128                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType)get_store().find_element_user(FIELDOFPROJECT$0, 0);
129                 return target;
130             }
131         }
132         
133         /**
134          * Sets the "FieldOfProject" element
135          */
136         public void setFieldOfProject(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType.Enum fieldOfProject)
137         {
138             synchronized (monitor())
139             {
140                 check_orphaned();
141                 org.apache.xmlbeans.SimpleValue target = null;
142                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FIELDOFPROJECT$0, 0);
143                 if (target == null)
144                 {
145                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FIELDOFPROJECT$0);
146                 }
147                 target.setEnumValue(fieldOfProject);
148             }
149         }
150         
151         /**
152          * Sets (as xml) the "FieldOfProject" element
153          */
154         public void xsetFieldOfProject(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType fieldOfProject)
155         {
156             synchronized (monitor())
157             {
158                 check_orphaned();
159                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType target = null;
160                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType)get_store().find_element_user(FIELDOFPROJECT$0, 0);
161                 if (target == null)
162                 {
163                     target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType)get_store().add_element_user(FIELDOFPROJECT$0);
164                 }
165                 target.set(fieldOfProject);
166             }
167         }
168         
169         /**
170          * Gets the "ProjectDirectorFOS" element
171          */
172         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType.Enum getProjectDirectorFOS()
173         {
174             synchronized (monitor())
175             {
176                 check_orphaned();
177                 org.apache.xmlbeans.SimpleValue target = null;
178                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROJECTDIRECTORFOS$2, 0);
179                 if (target == null)
180                 {
181                     return null;
182                 }
183                 return (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType.Enum)target.getEnumValue();
184             }
185         }
186         
187         /**
188          * Gets (as xml) the "ProjectDirectorFOS" element
189          */
190         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType xgetProjectDirectorFOS()
191         {
192             synchronized (monitor())
193             {
194                 check_orphaned();
195                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType target = null;
196                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType)get_store().find_element_user(PROJECTDIRECTORFOS$2, 0);
197                 return target;
198             }
199         }
200         
201         /**
202          * Sets the "ProjectDirectorFOS" element
203          */
204         public void setProjectDirectorFOS(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType.Enum projectDirectorFOS)
205         {
206             synchronized (monitor())
207             {
208                 check_orphaned();
209                 org.apache.xmlbeans.SimpleValue target = null;
210                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROJECTDIRECTORFOS$2, 0);
211                 if (target == null)
212                 {
213                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROJECTDIRECTORFOS$2);
214                 }
215                 target.setEnumValue(projectDirectorFOS);
216             }
217         }
218         
219         /**
220          * Sets (as xml) the "ProjectDirectorFOS" element
221          */
222         public void xsetProjectDirectorFOS(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType projectDirectorFOS)
223         {
224             synchronized (monitor())
225             {
226                 check_orphaned();
227                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType target = null;
228                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType)get_store().find_element_user(PROJECTDIRECTORFOS$2, 0);
229                 if (target == null)
230                 {
231                     target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11FieldDataType)get_store().add_element_user(PROJECTDIRECTORFOS$2);
232                 }
233                 target.set(projectDirectorFOS);
234             }
235         }
236         
237         /**
238          * Gets the "DefaultMailingAddress" element
239          */
240         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress.Enum getDefaultMailingAddress()
241         {
242             synchronized (monitor())
243             {
244                 check_orphaned();
245                 org.apache.xmlbeans.SimpleValue target = null;
246                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEFAULTMAILINGADDRESS$4, 0);
247                 if (target == null)
248                 {
249                     return null;
250                 }
251                 return (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress.Enum)target.getEnumValue();
252             }
253         }
254         
255         /**
256          * Gets (as xml) the "DefaultMailingAddress" element
257          */
258         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress xgetDefaultMailingAddress()
259         {
260             synchronized (monitor())
261             {
262                 check_orphaned();
263                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress target = null;
264                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress)get_store().find_element_user(DEFAULTMAILINGADDRESS$4, 0);
265                 return target;
266             }
267         }
268         
269         /**
270          * Sets the "DefaultMailingAddress" element
271          */
272         public void setDefaultMailingAddress(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress.Enum defaultMailingAddress)
273         {
274             synchronized (monitor())
275             {
276                 check_orphaned();
277                 org.apache.xmlbeans.SimpleValue target = null;
278                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEFAULTMAILINGADDRESS$4, 0);
279                 if (target == null)
280                 {
281                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DEFAULTMAILINGADDRESS$4);
282                 }
283                 target.setEnumValue(defaultMailingAddress);
284             }
285         }
286         
287         /**
288          * Sets (as xml) the "DefaultMailingAddress" element
289          */
290         public void xsetDefaultMailingAddress(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress defaultMailingAddress)
291         {
292             synchronized (monitor())
293             {
294                 check_orphaned();
295                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress target = null;
296                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress)get_store().find_element_user(DEFAULTMAILINGADDRESS$4, 0);
297                 if (target == null)
298                 {
299                     target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress)get_store().add_element_user(DEFAULTMAILINGADDRESS$4);
300                 }
301                 target.set(defaultMailingAddress);
302             }
303         }
304         
305         /**
306          * Gets the "InstitutionalAffiliation" element
307          */
308         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.InstitutionalAffiliation getInstitutionalAffiliation()
309         {
310             synchronized (monitor())
311             {
312                 check_orphaned();
313                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.InstitutionalAffiliation target = null;
314                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.InstitutionalAffiliation)get_store().find_element_user(INSTITUTIONALAFFILIATION$6, 0);
315                 if (target == null)
316                 {
317                     return null;
318                 }
319                 return target;
320             }
321         }
322         
323         /**
324          * Sets the "InstitutionalAffiliation" element
325          */
326         public void setInstitutionalAffiliation(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.InstitutionalAffiliation institutionalAffiliation)
327         {
328             generatedSetterHelperImpl(institutionalAffiliation, INSTITUTIONALAFFILIATION$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
329         }
330         
331         /**
332          * Appends and returns a new empty "InstitutionalAffiliation" element
333          */
334         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.InstitutionalAffiliation addNewInstitutionalAffiliation()
335         {
336             synchronized (monitor())
337             {
338                 check_orphaned();
339                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.InstitutionalAffiliation target = null;
340                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.InstitutionalAffiliation)get_store().add_element_user(INSTITUTIONALAFFILIATION$6);
341                 return target;
342             }
343         }
344         
345         /**
346          * Gets the "ScholarlyStatus" element
347          */
348         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus.Enum getScholarlyStatus()
349         {
350             synchronized (monitor())
351             {
352                 check_orphaned();
353                 org.apache.xmlbeans.SimpleValue target = null;
354                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCHOLARLYSTATUS$8, 0);
355                 if (target == null)
356                 {
357                     return null;
358                 }
359                 return (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus.Enum)target.getEnumValue();
360             }
361         }
362         
363         /**
364          * Gets (as xml) the "ScholarlyStatus" element
365          */
366         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus xgetScholarlyStatus()
367         {
368             synchronized (monitor())
369             {
370                 check_orphaned();
371                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus target = null;
372                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus)get_store().find_element_user(SCHOLARLYSTATUS$8, 0);
373                 return target;
374             }
375         }
376         
377         /**
378          * Sets the "ScholarlyStatus" element
379          */
380         public void setScholarlyStatus(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus.Enum scholarlyStatus)
381         {
382             synchronized (monitor())
383             {
384                 check_orphaned();
385                 org.apache.xmlbeans.SimpleValue target = null;
386                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCHOLARLYSTATUS$8, 0);
387                 if (target == null)
388                 {
389                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SCHOLARLYSTATUS$8);
390                 }
391                 target.setEnumValue(scholarlyStatus);
392             }
393         }
394         
395         /**
396          * Sets (as xml) the "ScholarlyStatus" element
397          */
398         public void xsetScholarlyStatus(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus scholarlyStatus)
399         {
400             synchronized (monitor())
401             {
402                 check_orphaned();
403                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus target = null;
404                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus)get_store().find_element_user(SCHOLARLYSTATUS$8, 0);
405                 if (target == null)
406                 {
407                     target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus)get_store().add_element_user(SCHOLARLYSTATUS$8);
408                 }
409                 target.set(scholarlyStatus);
410             }
411         }
412         
413         /**
414          * Gets the "Reference1" element
415          */
416         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType getReference1()
417         {
418             synchronized (monitor())
419             {
420                 check_orphaned();
421                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType target = null;
422                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType)get_store().find_element_user(REFERENCE1$10, 0);
423                 if (target == null)
424                 {
425                     return null;
426                 }
427                 return target;
428             }
429         }
430         
431         /**
432          * True if has "Reference1" element
433          */
434         public boolean isSetReference1()
435         {
436             synchronized (monitor())
437             {
438                 check_orphaned();
439                 return get_store().count_elements(REFERENCE1$10) != 0;
440             }
441         }
442         
443         /**
444          * Sets the "Reference1" element
445          */
446         public void setReference1(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType reference1)
447         {
448             generatedSetterHelperImpl(reference1, REFERENCE1$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
449         }
450         
451         /**
452          * Appends and returns a new empty "Reference1" element
453          */
454         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType addNewReference1()
455         {
456             synchronized (monitor())
457             {
458                 check_orphaned();
459                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType target = null;
460                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType)get_store().add_element_user(REFERENCE1$10);
461                 return target;
462             }
463         }
464         
465         /**
466          * Unsets the "Reference1" element
467          */
468         public void unsetReference1()
469         {
470             synchronized (monitor())
471             {
472                 check_orphaned();
473                 get_store().remove_element(REFERENCE1$10, 0);
474             }
475         }
476         
477         /**
478          * Gets the "Reference2" element
479          */
480         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType getReference2()
481         {
482             synchronized (monitor())
483             {
484                 check_orphaned();
485                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType target = null;
486                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType)get_store().find_element_user(REFERENCE2$12, 0);
487                 if (target == null)
488                 {
489                     return null;
490                 }
491                 return target;
492             }
493         }
494         
495         /**
496          * True if has "Reference2" element
497          */
498         public boolean isSetReference2()
499         {
500             synchronized (monitor())
501             {
502                 check_orphaned();
503                 return get_store().count_elements(REFERENCE2$12) != 0;
504             }
505         }
506         
507         /**
508          * Sets the "Reference2" element
509          */
510         public void setReference2(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType reference2)
511         {
512             generatedSetterHelperImpl(reference2, REFERENCE2$12, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
513         }
514         
515         /**
516          * Appends and returns a new empty "Reference2" element
517          */
518         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType addNewReference2()
519         {
520             synchronized (monitor())
521             {
522                 check_orphaned();
523                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType target = null;
524                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11ReferenceDataType)get_store().add_element_user(REFERENCE2$12);
525                 return target;
526             }
527         }
528         
529         /**
530          * Unsets the "Reference2" element
531          */
532         public void unsetReference2()
533         {
534             synchronized (monitor())
535             {
536                 check_orphaned();
537                 get_store().remove_element(REFERENCE2$12, 0);
538             }
539         }
540         
541         /**
542          * Gets the "NominatingOfficial" element
543          */
544         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.NominatingOfficial getNominatingOfficial()
545         {
546             synchronized (monitor())
547             {
548                 check_orphaned();
549                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.NominatingOfficial target = null;
550                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.NominatingOfficial)get_store().find_element_user(NOMINATINGOFFICIAL$14, 0);
551                 if (target == null)
552                 {
553                     return null;
554                 }
555                 return target;
556             }
557         }
558         
559         /**
560          * True if has "NominatingOfficial" element
561          */
562         public boolean isSetNominatingOfficial()
563         {
564             synchronized (monitor())
565             {
566                 check_orphaned();
567                 return get_store().count_elements(NOMINATINGOFFICIAL$14) != 0;
568             }
569         }
570         
571         /**
572          * Sets the "NominatingOfficial" element
573          */
574         public void setNominatingOfficial(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.NominatingOfficial nominatingOfficial)
575         {
576             generatedSetterHelperImpl(nominatingOfficial, NOMINATINGOFFICIAL$14, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
577         }
578         
579         /**
580          * Appends and returns a new empty "NominatingOfficial" element
581          */
582         public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.NominatingOfficial addNewNominatingOfficial()
583         {
584             synchronized (monitor())
585             {
586                 check_orphaned();
587                 gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.NominatingOfficial target = null;
588                 target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.NominatingOfficial)get_store().add_element_user(NOMINATINGOFFICIAL$14);
589                 return target;
590             }
591         }
592         
593         /**
594          * Unsets the "NominatingOfficial" element
595          */
596         public void unsetNominatingOfficial()
597         {
598             synchronized (monitor())
599             {
600                 check_orphaned();
601                 get_store().remove_element(NOMINATINGOFFICIAL$14, 0);
602             }
603         }
604         
605         /**
606          * Gets the "FormVersion" attribute
607          */
608         public java.lang.String getFormVersion()
609         {
610             synchronized (monitor())
611             {
612                 check_orphaned();
613                 org.apache.xmlbeans.SimpleValue target = null;
614                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$16);
615                 if (target == null)
616                 {
617                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$16);
618                 }
619                 if (target == null)
620                 {
621                     return null;
622                 }
623                 return target.getStringValue();
624             }
625         }
626         
627         /**
628          * Gets (as xml) the "FormVersion" attribute
629          */
630         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
631         {
632             synchronized (monitor())
633             {
634                 check_orphaned();
635                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
636                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$16);
637                 if (target == null)
638                 {
639                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$16);
640                 }
641                 return target;
642             }
643         }
644         
645         /**
646          * Sets the "FormVersion" attribute
647          */
648         public void setFormVersion(java.lang.String formVersion)
649         {
650             synchronized (monitor())
651             {
652                 check_orphaned();
653                 org.apache.xmlbeans.SimpleValue target = null;
654                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$16);
655                 if (target == null)
656                 {
657                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$16);
658                 }
659                 target.setStringValue(formVersion);
660             }
661         }
662         
663         /**
664          * Sets (as xml) the "FormVersion" attribute
665          */
666         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
667         {
668             synchronized (monitor())
669             {
670                 check_orphaned();
671                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
672                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$16);
673                 if (target == null)
674                 {
675                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$16);
676                 }
677                 target.set(formVersion);
678             }
679         }
680         /**
681          * An XML DefaultMailingAddress(@http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1).
682          *
683          * This is an atomic type that is a restriction of gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document$FellowshipsSupplemental11$DefaultMailingAddress.
684          */
685         public static class DefaultMailingAddressImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.DefaultMailingAddress
686         {
687             private static final long serialVersionUID = 1L;
688             
689             public DefaultMailingAddressImpl(org.apache.xmlbeans.SchemaType sType)
690             {
691                 super(sType, false);
692             }
693             
694             protected DefaultMailingAddressImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
695             {
696                 super(sType, b);
697             }
698         }
699         /**
700          * An XML InstitutionalAffiliation(@http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1).
701          *
702          * This is a complex type.
703          */
704         public static class InstitutionalAffiliationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.InstitutionalAffiliation
705         {
706             private static final long serialVersionUID = 1L;
707             
708             public InstitutionalAffiliationImpl(org.apache.xmlbeans.SchemaType sType)
709             {
710                 super(sType);
711             }
712             
713             private static final javax.xml.namespace.QName ISAFFILIATED$0 = 
714                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "IsAffiliated");
715             private static final javax.xml.namespace.QName AFFILIATEDINSTITUTION$2 = 
716                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "AffiliatedInstitution");
717             
718             
719             /**
720              * Gets the "IsAffiliated" element
721              */
722             public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getIsAffiliated()
723             {
724                 synchronized (monitor())
725                 {
726                     check_orphaned();
727                     org.apache.xmlbeans.SimpleValue target = null;
728                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISAFFILIATED$0, 0);
729                     if (target == null)
730                     {
731                       return null;
732                     }
733                     return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
734                 }
735             }
736             
737             /**
738              * Gets (as xml) the "IsAffiliated" element
739              */
740             public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetIsAffiliated()
741             {
742                 synchronized (monitor())
743                 {
744                     check_orphaned();
745                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
746                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISAFFILIATED$0, 0);
747                     return target;
748                 }
749             }
750             
751             /**
752              * Sets the "IsAffiliated" element
753              */
754             public void setIsAffiliated(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum isAffiliated)
755             {
756                 synchronized (monitor())
757                 {
758                     check_orphaned();
759                     org.apache.xmlbeans.SimpleValue target = null;
760                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISAFFILIATED$0, 0);
761                     if (target == null)
762                     {
763                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISAFFILIATED$0);
764                     }
765                     target.setEnumValue(isAffiliated);
766                 }
767             }
768             
769             /**
770              * Sets (as xml) the "IsAffiliated" element
771              */
772             public void xsetIsAffiliated(gov.grants.apply.system.globalLibraryV20.YesNoDataType isAffiliated)
773             {
774                 synchronized (monitor())
775                 {
776                     check_orphaned();
777                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
778                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISAFFILIATED$0, 0);
779                     if (target == null)
780                     {
781                       target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(ISAFFILIATED$0);
782                     }
783                     target.set(isAffiliated);
784                 }
785             }
786             
787             /**
788              * Gets the "AffiliatedInstitution" element
789              */
790             public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11AffiliatedInstitutionDataType getAffiliatedInstitution()
791             {
792                 synchronized (monitor())
793                 {
794                     check_orphaned();
795                     gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11AffiliatedInstitutionDataType target = null;
796                     target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11AffiliatedInstitutionDataType)get_store().find_element_user(AFFILIATEDINSTITUTION$2, 0);
797                     if (target == null)
798                     {
799                       return null;
800                     }
801                     return target;
802                 }
803             }
804             
805             /**
806              * True if has "AffiliatedInstitution" element
807              */
808             public boolean isSetAffiliatedInstitution()
809             {
810                 synchronized (monitor())
811                 {
812                     check_orphaned();
813                     return get_store().count_elements(AFFILIATEDINSTITUTION$2) != 0;
814                 }
815             }
816             
817             /**
818              * Sets the "AffiliatedInstitution" element
819              */
820             public void setAffiliatedInstitution(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11AffiliatedInstitutionDataType affiliatedInstitution)
821             {
822                 generatedSetterHelperImpl(affiliatedInstitution, AFFILIATEDINSTITUTION$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
823             }
824             
825             /**
826              * Appends and returns a new empty "AffiliatedInstitution" element
827              */
828             public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11AffiliatedInstitutionDataType addNewAffiliatedInstitution()
829             {
830                 synchronized (monitor())
831                 {
832                     check_orphaned();
833                     gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11AffiliatedInstitutionDataType target = null;
834                     target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11AffiliatedInstitutionDataType)get_store().add_element_user(AFFILIATEDINSTITUTION$2);
835                     return target;
836                 }
837             }
838             
839             /**
840              * Unsets the "AffiliatedInstitution" element
841              */
842             public void unsetAffiliatedInstitution()
843             {
844                 synchronized (monitor())
845                 {
846                     check_orphaned();
847                     get_store().remove_element(AFFILIATEDINSTITUTION$2, 0);
848                 }
849             }
850         }
851         /**
852          * An XML ScholarlyStatus(@http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1).
853          *
854          * This is an atomic type that is a restriction of gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document$FellowshipsSupplemental11$ScholarlyStatus.
855          */
856         public static class ScholarlyStatusImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.ScholarlyStatus
857         {
858             private static final long serialVersionUID = 1L;
859             
860             public ScholarlyStatusImpl(org.apache.xmlbeans.SchemaType sType)
861             {
862                 super(sType, false);
863             }
864             
865             protected ScholarlyStatusImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
866             {
867                 super(sType, b);
868             }
869         }
870         /**
871          * An XML NominatingOfficial(@http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1).
872          *
873          * This is a complex type.
874          */
875         public static class NominatingOfficialImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11Document.FellowshipsSupplemental11.NominatingOfficial
876         {
877             private static final long serialVersionUID = 1L;
878             
879             public NominatingOfficialImpl(org.apache.xmlbeans.SchemaType sType)
880             {
881                 super(sType);
882             }
883             
884             private static final javax.xml.namespace.QName ISNOMEXEMPT$0 = 
885                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "IsNomExempt");
886             private static final javax.xml.namespace.QName OFFICIAL$2 = 
887                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/FellowshipsSupplemental_1_1-V1.1", "Official");
888             
889             
890             /**
891              * Gets the "IsNomExempt" element
892              */
893             public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getIsNomExempt()
894             {
895                 synchronized (monitor())
896                 {
897                     check_orphaned();
898                     org.apache.xmlbeans.SimpleValue target = null;
899                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISNOMEXEMPT$0, 0);
900                     if (target == null)
901                     {
902                       return null;
903                     }
904                     return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
905                 }
906             }
907             
908             /**
909              * Gets (as xml) the "IsNomExempt" element
910              */
911             public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetIsNomExempt()
912             {
913                 synchronized (monitor())
914                 {
915                     check_orphaned();
916                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
917                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISNOMEXEMPT$0, 0);
918                     return target;
919                 }
920             }
921             
922             /**
923              * True if has "IsNomExempt" element
924              */
925             public boolean isSetIsNomExempt()
926             {
927                 synchronized (monitor())
928                 {
929                     check_orphaned();
930                     return get_store().count_elements(ISNOMEXEMPT$0) != 0;
931                 }
932             }
933             
934             /**
935              * Sets the "IsNomExempt" element
936              */
937             public void setIsNomExempt(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum isNomExempt)
938             {
939                 synchronized (monitor())
940                 {
941                     check_orphaned();
942                     org.apache.xmlbeans.SimpleValue target = null;
943                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISNOMEXEMPT$0, 0);
944                     if (target == null)
945                     {
946                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISNOMEXEMPT$0);
947                     }
948                     target.setEnumValue(isNomExempt);
949                 }
950             }
951             
952             /**
953              * Sets (as xml) the "IsNomExempt" element
954              */
955             public void xsetIsNomExempt(gov.grants.apply.system.globalLibraryV20.YesNoDataType isNomExempt)
956             {
957                 synchronized (monitor())
958                 {
959                     check_orphaned();
960                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
961                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISNOMEXEMPT$0, 0);
962                     if (target == null)
963                     {
964                       target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(ISNOMEXEMPT$0);
965                     }
966                     target.set(isNomExempt);
967                 }
968             }
969             
970             /**
971              * Unsets the "IsNomExempt" element
972              */
973             public void unsetIsNomExempt()
974             {
975                 synchronized (monitor())
976                 {
977                     check_orphaned();
978                     get_store().remove_element(ISNOMEXEMPT$0, 0);
979                 }
980             }
981             
982             /**
983              * Gets the "Official" element
984              */
985             public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11OfficialDataType getOfficial()
986             {
987                 synchronized (monitor())
988                 {
989                     check_orphaned();
990                     gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11OfficialDataType target = null;
991                     target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11OfficialDataType)get_store().find_element_user(OFFICIAL$2, 0);
992                     if (target == null)
993                     {
994                       return null;
995                     }
996                     return target;
997                 }
998             }
999             
1000             /**
1001              * True if has "Official" element
1002              */
1003             public boolean isSetOfficial()
1004             {
1005                 synchronized (monitor())
1006                 {
1007                     check_orphaned();
1008                     return get_store().count_elements(OFFICIAL$2) != 0;
1009                 }
1010             }
1011             
1012             /**
1013              * Sets the "Official" element
1014              */
1015             public void setOfficial(gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11OfficialDataType official)
1016             {
1017                 generatedSetterHelperImpl(official, OFFICIAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1018             }
1019             
1020             /**
1021              * Appends and returns a new empty "Official" element
1022              */
1023             public gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11OfficialDataType addNewOfficial()
1024             {
1025                 synchronized (monitor())
1026                 {
1027                     check_orphaned();
1028                     gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11OfficialDataType target = null;
1029                     target = (gov.grants.apply.forms.fellowshipsSupplemental11V11.FellowshipsSupplemental11OfficialDataType)get_store().add_element_user(OFFICIAL$2);
1030                     return target;
1031                 }
1032             }
1033             
1034             /**
1035              * Unsets the "Official" element
1036              */
1037             public void unsetOfficial()
1038             {
1039                 synchronized (monitor())
1040                 {
1041                     check_orphaned();
1042                     get_store().remove_element(OFFICIAL$2, 0);
1043                 }
1044             }
1045         }
1046     }
1047 }