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