View Javadoc
1   /*
2    * An XML document type.
3    * Localname: PHS398_CoverPageSupplement_2_0
4    * Namespace: http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0
5    * Java type: gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.phs398CoverPageSupplement20V20.impl;
10  /**
11   * A document containing one PHS398_CoverPageSupplement_2_0(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0) element.
12   *
13   * This is a complex type.
14   */
15  public class PHS398CoverPageSupplement20DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public PHS398CoverPageSupplement20DocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName PHS398COVERPAGESUPPLEMENT20$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "PHS398_CoverPageSupplement_2_0");
26      
27      
28      /**
29       * Gets the "PHS398_CoverPageSupplement_2_0" element
30       */
31      public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20 getPHS398CoverPageSupplement20()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20 target = null;
37              target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20)get_store().find_element_user(PHS398COVERPAGESUPPLEMENT20$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "PHS398_CoverPageSupplement_2_0" element
48       */
49      public void setPHS398CoverPageSupplement20(gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20 phs398CoverPageSupplement20)
50      {
51          generatedSetterHelperImpl(phs398CoverPageSupplement20, PHS398COVERPAGESUPPLEMENT20$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "PHS398_CoverPageSupplement_2_0" element
56       */
57      public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20 addNewPHS398CoverPageSupplement20()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20 target = null;
63              target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20)get_store().add_element_user(PHS398COVERPAGESUPPLEMENT20$0);
64              return target;
65          }
66      }
67      /**
68       * An XML PHS398_CoverPageSupplement_2_0(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0).
69       *
70       * This is a complex type.
71       */
72      public static class PHS398CoverPageSupplement20Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public PHS398CoverPageSupplement20Impl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName PDPI$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "PDPI");
83          private static final javax.xml.namespace.QName CLINICALTRIAL$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "ClinicalTrial");
85          private static final javax.xml.namespace.QName DISCLOSUREPERMISSION$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "DisclosurePermission");
87          private static final javax.xml.namespace.QName PROGRAMINCOME$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "ProgramIncome");
89          private static final javax.xml.namespace.QName INCOMEBUDGETPERIOD$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "IncomeBudgetPeriod");
91          private static final javax.xml.namespace.QName STEMCELLS$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "StemCells");
93          private static final javax.xml.namespace.QName ISINVENTIONSANDPATENTS$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "IsInventionsAndPatents");
95          private static final javax.xml.namespace.QName ISPREVIOUSLYREPORTED$14 = 
96              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "IsPreviouslyReported");
97          private static final javax.xml.namespace.QName ISCHANGEOFPDPI$16 = 
98              new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "IsChangeOfPDPI");
99          private static final javax.xml.namespace.QName FORMERPDNAME$18 = 
100             new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "FormerPD_Name");
101         private static final javax.xml.namespace.QName ISCHANGEOFINSTITUTION$20 = 
102             new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "IsChangeOfInstitution");
103         private static final javax.xml.namespace.QName FORMERINSTITUTIONNAME$22 = 
104             new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "FormerInstitutionName");
105         private static final javax.xml.namespace.QName FORMVERSION$24 = 
106             new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "FormVersion");
107         
108         
109         /**
110          * Gets the "PDPI" element
111          */
112         public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.PDPI getPDPI()
113         {
114             synchronized (monitor())
115             {
116                 check_orphaned();
117                 gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.PDPI target = null;
118                 target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.PDPI)get_store().find_element_user(PDPI$0, 0);
119                 if (target == null)
120                 {
121                     return null;
122                 }
123                 return target;
124             }
125         }
126         
127         /**
128          * Sets the "PDPI" element
129          */
130         public void setPDPI(gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.PDPI pdpi)
131         {
132             generatedSetterHelperImpl(pdpi, PDPI$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
133         }
134         
135         /**
136          * Appends and returns a new empty "PDPI" element
137          */
138         public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.PDPI addNewPDPI()
139         {
140             synchronized (monitor())
141             {
142                 check_orphaned();
143                 gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.PDPI target = null;
144                 target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.PDPI)get_store().add_element_user(PDPI$0);
145                 return target;
146             }
147         }
148         
149         /**
150          * Gets the "ClinicalTrial" element
151          */
152         public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.ClinicalTrial getClinicalTrial()
153         {
154             synchronized (monitor())
155             {
156                 check_orphaned();
157                 gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.ClinicalTrial target = null;
158                 target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.ClinicalTrial)get_store().find_element_user(CLINICALTRIAL$2, 0);
159                 if (target == null)
160                 {
161                     return null;
162                 }
163                 return target;
164             }
165         }
166         
167         /**
168          * True if has "ClinicalTrial" element
169          */
170         public boolean isSetClinicalTrial()
171         {
172             synchronized (monitor())
173             {
174                 check_orphaned();
175                 return get_store().count_elements(CLINICALTRIAL$2) != 0;
176             }
177         }
178         
179         /**
180          * Sets the "ClinicalTrial" element
181          */
182         public void setClinicalTrial(gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.ClinicalTrial clinicalTrial)
183         {
184             generatedSetterHelperImpl(clinicalTrial, CLINICALTRIAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
185         }
186         
187         /**
188          * Appends and returns a new empty "ClinicalTrial" element
189          */
190         public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.ClinicalTrial addNewClinicalTrial()
191         {
192             synchronized (monitor())
193             {
194                 check_orphaned();
195                 gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.ClinicalTrial target = null;
196                 target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.ClinicalTrial)get_store().add_element_user(CLINICALTRIAL$2);
197                 return target;
198             }
199         }
200         
201         /**
202          * Unsets the "ClinicalTrial" element
203          */
204         public void unsetClinicalTrial()
205         {
206             synchronized (monitor())
207             {
208                 check_orphaned();
209                 get_store().remove_element(CLINICALTRIAL$2, 0);
210             }
211         }
212         
213         /**
214          * Gets the "DisclosurePermission" element
215          */
216         public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getDisclosurePermission()
217         {
218             synchronized (monitor())
219             {
220                 check_orphaned();
221                 org.apache.xmlbeans.SimpleValue target = null;
222                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DISCLOSUREPERMISSION$4, 0);
223                 if (target == null)
224                 {
225                     return null;
226                 }
227                 return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
228             }
229         }
230         
231         /**
232          * Gets (as xml) the "DisclosurePermission" element
233          */
234         public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetDisclosurePermission()
235         {
236             synchronized (monitor())
237             {
238                 check_orphaned();
239                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
240                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(DISCLOSUREPERMISSION$4, 0);
241                 return target;
242             }
243         }
244         
245         /**
246          * Sets the "DisclosurePermission" element
247          */
248         public void setDisclosurePermission(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum disclosurePermission)
249         {
250             synchronized (monitor())
251             {
252                 check_orphaned();
253                 org.apache.xmlbeans.SimpleValue target = null;
254                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DISCLOSUREPERMISSION$4, 0);
255                 if (target == null)
256                 {
257                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DISCLOSUREPERMISSION$4);
258                 }
259                 target.setEnumValue(disclosurePermission);
260             }
261         }
262         
263         /**
264          * Sets (as xml) the "DisclosurePermission" element
265          */
266         public void xsetDisclosurePermission(gov.grants.apply.system.globalLibraryV20.YesNoDataType disclosurePermission)
267         {
268             synchronized (monitor())
269             {
270                 check_orphaned();
271                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
272                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(DISCLOSUREPERMISSION$4, 0);
273                 if (target == null)
274                 {
275                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(DISCLOSUREPERMISSION$4);
276                 }
277                 target.set(disclosurePermission);
278             }
279         }
280         
281         /**
282          * Gets the "ProgramIncome" element
283          */
284         public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getProgramIncome()
285         {
286             synchronized (monitor())
287             {
288                 check_orphaned();
289                 org.apache.xmlbeans.SimpleValue target = null;
290                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROGRAMINCOME$6, 0);
291                 if (target == null)
292                 {
293                     return null;
294                 }
295                 return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
296             }
297         }
298         
299         /**
300          * Gets (as xml) the "ProgramIncome" element
301          */
302         public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetProgramIncome()
303         {
304             synchronized (monitor())
305             {
306                 check_orphaned();
307                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
308                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(PROGRAMINCOME$6, 0);
309                 return target;
310             }
311         }
312         
313         /**
314          * Sets the "ProgramIncome" element
315          */
316         public void setProgramIncome(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum programIncome)
317         {
318             synchronized (monitor())
319             {
320                 check_orphaned();
321                 org.apache.xmlbeans.SimpleValue target = null;
322                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROGRAMINCOME$6, 0);
323                 if (target == null)
324                 {
325                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROGRAMINCOME$6);
326                 }
327                 target.setEnumValue(programIncome);
328             }
329         }
330         
331         /**
332          * Sets (as xml) the "ProgramIncome" element
333          */
334         public void xsetProgramIncome(gov.grants.apply.system.globalLibraryV20.YesNoDataType programIncome)
335         {
336             synchronized (monitor())
337             {
338                 check_orphaned();
339                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
340                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(PROGRAMINCOME$6, 0);
341                 if (target == null)
342                 {
343                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(PROGRAMINCOME$6);
344                 }
345                 target.set(programIncome);
346             }
347         }
348         
349         /**
350          * Gets array of all "IncomeBudgetPeriod" elements
351          */
352         public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod[] getIncomeBudgetPeriodArray()
353         {
354             synchronized (monitor())
355             {
356                 check_orphaned();
357                 java.util.List targetList = new java.util.ArrayList();
358                 get_store().find_all_element_users(INCOMEBUDGETPERIOD$8, targetList);
359                 gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod[] result = new gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod[targetList.size()];
360                 targetList.toArray(result);
361                 return result;
362             }
363         }
364         
365         /**
366          * Gets ith "IncomeBudgetPeriod" element
367          */
368         public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod getIncomeBudgetPeriodArray(int i)
369         {
370             synchronized (monitor())
371             {
372                 check_orphaned();
373                 gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod target = null;
374                 target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod)get_store().find_element_user(INCOMEBUDGETPERIOD$8, i);
375                 if (target == null)
376                 {
377                     throw new IndexOutOfBoundsException();
378                 }
379                 return target;
380             }
381         }
382         
383         /**
384          * Returns number of "IncomeBudgetPeriod" element
385          */
386         public int sizeOfIncomeBudgetPeriodArray()
387         {
388             synchronized (monitor())
389             {
390                 check_orphaned();
391                 return get_store().count_elements(INCOMEBUDGETPERIOD$8);
392             }
393         }
394         
395         /**
396          * Sets array of all "IncomeBudgetPeriod" element  WARNING: This method is not atomicaly synchronized.
397          */
398         public void setIncomeBudgetPeriodArray(gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod[] incomeBudgetPeriodArray)
399         {
400             check_orphaned();
401             arraySetterHelper(incomeBudgetPeriodArray, INCOMEBUDGETPERIOD$8);
402         }
403         
404         /**
405          * Sets ith "IncomeBudgetPeriod" element
406          */
407         public void setIncomeBudgetPeriodArray(int i, gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod incomeBudgetPeriod)
408         {
409             generatedSetterHelperImpl(incomeBudgetPeriod, INCOMEBUDGETPERIOD$8, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
410         }
411         
412         /**
413          * Inserts and returns a new empty value (as xml) as the ith "IncomeBudgetPeriod" element
414          */
415         public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod insertNewIncomeBudgetPeriod(int i)
416         {
417             synchronized (monitor())
418             {
419                 check_orphaned();
420                 gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod target = null;
421                 target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod)get_store().insert_element_user(INCOMEBUDGETPERIOD$8, i);
422                 return target;
423             }
424         }
425         
426         /**
427          * Appends and returns a new empty value (as xml) as the last "IncomeBudgetPeriod" element
428          */
429         public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod addNewIncomeBudgetPeriod()
430         {
431             synchronized (monitor())
432             {
433                 check_orphaned();
434                 gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod target = null;
435                 target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod)get_store().add_element_user(INCOMEBUDGETPERIOD$8);
436                 return target;
437             }
438         }
439         
440         /**
441          * Removes the ith "IncomeBudgetPeriod" element
442          */
443         public void removeIncomeBudgetPeriod(int i)
444         {
445             synchronized (monitor())
446             {
447                 check_orphaned();
448                 get_store().remove_element(INCOMEBUDGETPERIOD$8, i);
449             }
450         }
451         
452         /**
453          * Gets the "StemCells" element
454          */
455         public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells getStemCells()
456         {
457             synchronized (monitor())
458             {
459                 check_orphaned();
460                 gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells target = null;
461                 target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells)get_store().find_element_user(STEMCELLS$10, 0);
462                 if (target == null)
463                 {
464                     return null;
465                 }
466                 return target;
467             }
468         }
469         
470         /**
471          * True if has "StemCells" element
472          */
473         public boolean isSetStemCells()
474         {
475             synchronized (monitor())
476             {
477                 check_orphaned();
478                 return get_store().count_elements(STEMCELLS$10) != 0;
479             }
480         }
481         
482         /**
483          * Sets the "StemCells" element
484          */
485         public void setStemCells(gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells stemCells)
486         {
487             generatedSetterHelperImpl(stemCells, STEMCELLS$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
488         }
489         
490         /**
491          * Appends and returns a new empty "StemCells" element
492          */
493         public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells addNewStemCells()
494         {
495             synchronized (monitor())
496             {
497                 check_orphaned();
498                 gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells target = null;
499                 target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells)get_store().add_element_user(STEMCELLS$10);
500                 return target;
501             }
502         }
503         
504         /**
505          * Unsets the "StemCells" element
506          */
507         public void unsetStemCells()
508         {
509             synchronized (monitor())
510             {
511                 check_orphaned();
512                 get_store().remove_element(STEMCELLS$10, 0);
513             }
514         }
515         
516         /**
517          * Gets the "IsInventionsAndPatents" element
518          */
519         public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getIsInventionsAndPatents()
520         {
521             synchronized (monitor())
522             {
523                 check_orphaned();
524                 org.apache.xmlbeans.SimpleValue target = null;
525                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISINVENTIONSANDPATENTS$12, 0);
526                 if (target == null)
527                 {
528                     return null;
529                 }
530                 return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
531             }
532         }
533         
534         /**
535          * Gets (as xml) the "IsInventionsAndPatents" element
536          */
537         public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetIsInventionsAndPatents()
538         {
539             synchronized (monitor())
540             {
541                 check_orphaned();
542                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
543                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISINVENTIONSANDPATENTS$12, 0);
544                 return target;
545             }
546         }
547         
548         /**
549          * True if has "IsInventionsAndPatents" element
550          */
551         public boolean isSetIsInventionsAndPatents()
552         {
553             synchronized (monitor())
554             {
555                 check_orphaned();
556                 return get_store().count_elements(ISINVENTIONSANDPATENTS$12) != 0;
557             }
558         }
559         
560         /**
561          * Sets the "IsInventionsAndPatents" element
562          */
563         public void setIsInventionsAndPatents(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum isInventionsAndPatents)
564         {
565             synchronized (monitor())
566             {
567                 check_orphaned();
568                 org.apache.xmlbeans.SimpleValue target = null;
569                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISINVENTIONSANDPATENTS$12, 0);
570                 if (target == null)
571                 {
572                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISINVENTIONSANDPATENTS$12);
573                 }
574                 target.setEnumValue(isInventionsAndPatents);
575             }
576         }
577         
578         /**
579          * Sets (as xml) the "IsInventionsAndPatents" element
580          */
581         public void xsetIsInventionsAndPatents(gov.grants.apply.system.globalLibraryV20.YesNoDataType isInventionsAndPatents)
582         {
583             synchronized (monitor())
584             {
585                 check_orphaned();
586                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
587                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISINVENTIONSANDPATENTS$12, 0);
588                 if (target == null)
589                 {
590                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(ISINVENTIONSANDPATENTS$12);
591                 }
592                 target.set(isInventionsAndPatents);
593             }
594         }
595         
596         /**
597          * Unsets the "IsInventionsAndPatents" element
598          */
599         public void unsetIsInventionsAndPatents()
600         {
601             synchronized (monitor())
602             {
603                 check_orphaned();
604                 get_store().remove_element(ISINVENTIONSANDPATENTS$12, 0);
605             }
606         }
607         
608         /**
609          * Gets the "IsPreviouslyReported" element
610          */
611         public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getIsPreviouslyReported()
612         {
613             synchronized (monitor())
614             {
615                 check_orphaned();
616                 org.apache.xmlbeans.SimpleValue target = null;
617                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISPREVIOUSLYREPORTED$14, 0);
618                 if (target == null)
619                 {
620                     return null;
621                 }
622                 return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
623             }
624         }
625         
626         /**
627          * Gets (as xml) the "IsPreviouslyReported" element
628          */
629         public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetIsPreviouslyReported()
630         {
631             synchronized (monitor())
632             {
633                 check_orphaned();
634                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
635                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISPREVIOUSLYREPORTED$14, 0);
636                 return target;
637             }
638         }
639         
640         /**
641          * True if has "IsPreviouslyReported" element
642          */
643         public boolean isSetIsPreviouslyReported()
644         {
645             synchronized (monitor())
646             {
647                 check_orphaned();
648                 return get_store().count_elements(ISPREVIOUSLYREPORTED$14) != 0;
649             }
650         }
651         
652         /**
653          * Sets the "IsPreviouslyReported" element
654          */
655         public void setIsPreviouslyReported(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum isPreviouslyReported)
656         {
657             synchronized (monitor())
658             {
659                 check_orphaned();
660                 org.apache.xmlbeans.SimpleValue target = null;
661                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISPREVIOUSLYREPORTED$14, 0);
662                 if (target == null)
663                 {
664                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISPREVIOUSLYREPORTED$14);
665                 }
666                 target.setEnumValue(isPreviouslyReported);
667             }
668         }
669         
670         /**
671          * Sets (as xml) the "IsPreviouslyReported" element
672          */
673         public void xsetIsPreviouslyReported(gov.grants.apply.system.globalLibraryV20.YesNoDataType isPreviouslyReported)
674         {
675             synchronized (monitor())
676             {
677                 check_orphaned();
678                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
679                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISPREVIOUSLYREPORTED$14, 0);
680                 if (target == null)
681                 {
682                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(ISPREVIOUSLYREPORTED$14);
683                 }
684                 target.set(isPreviouslyReported);
685             }
686         }
687         
688         /**
689          * Unsets the "IsPreviouslyReported" element
690          */
691         public void unsetIsPreviouslyReported()
692         {
693             synchronized (monitor())
694             {
695                 check_orphaned();
696                 get_store().remove_element(ISPREVIOUSLYREPORTED$14, 0);
697             }
698         }
699         
700         /**
701          * Gets the "IsChangeOfPDPI" element
702          */
703         public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getIsChangeOfPDPI()
704         {
705             synchronized (monitor())
706             {
707                 check_orphaned();
708                 org.apache.xmlbeans.SimpleValue target = null;
709                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCHANGEOFPDPI$16, 0);
710                 if (target == null)
711                 {
712                     return null;
713                 }
714                 return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
715             }
716         }
717         
718         /**
719          * Gets (as xml) the "IsChangeOfPDPI" element
720          */
721         public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetIsChangeOfPDPI()
722         {
723             synchronized (monitor())
724             {
725                 check_orphaned();
726                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
727                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISCHANGEOFPDPI$16, 0);
728                 return target;
729             }
730         }
731         
732         /**
733          * True if has "IsChangeOfPDPI" element
734          */
735         public boolean isSetIsChangeOfPDPI()
736         {
737             synchronized (monitor())
738             {
739                 check_orphaned();
740                 return get_store().count_elements(ISCHANGEOFPDPI$16) != 0;
741             }
742         }
743         
744         /**
745          * Sets the "IsChangeOfPDPI" element
746          */
747         public void setIsChangeOfPDPI(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum isChangeOfPDPI)
748         {
749             synchronized (monitor())
750             {
751                 check_orphaned();
752                 org.apache.xmlbeans.SimpleValue target = null;
753                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCHANGEOFPDPI$16, 0);
754                 if (target == null)
755                 {
756                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISCHANGEOFPDPI$16);
757                 }
758                 target.setEnumValue(isChangeOfPDPI);
759             }
760         }
761         
762         /**
763          * Sets (as xml) the "IsChangeOfPDPI" element
764          */
765         public void xsetIsChangeOfPDPI(gov.grants.apply.system.globalLibraryV20.YesNoDataType isChangeOfPDPI)
766         {
767             synchronized (monitor())
768             {
769                 check_orphaned();
770                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
771                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISCHANGEOFPDPI$16, 0);
772                 if (target == null)
773                 {
774                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(ISCHANGEOFPDPI$16);
775                 }
776                 target.set(isChangeOfPDPI);
777             }
778         }
779         
780         /**
781          * Unsets the "IsChangeOfPDPI" element
782          */
783         public void unsetIsChangeOfPDPI()
784         {
785             synchronized (monitor())
786             {
787                 check_orphaned();
788                 get_store().remove_element(ISCHANGEOFPDPI$16, 0);
789             }
790         }
791         
792         /**
793          * Gets the "FormerPD_Name" element
794          */
795         public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getFormerPDName()
796         {
797             synchronized (monitor())
798             {
799                 check_orphaned();
800                 gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
801                 target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().find_element_user(FORMERPDNAME$18, 0);
802                 if (target == null)
803                 {
804                     return null;
805                 }
806                 return target;
807             }
808         }
809         
810         /**
811          * True if has "FormerPD_Name" element
812          */
813         public boolean isSetFormerPDName()
814         {
815             synchronized (monitor())
816             {
817                 check_orphaned();
818                 return get_store().count_elements(FORMERPDNAME$18) != 0;
819             }
820         }
821         
822         /**
823          * Sets the "FormerPD_Name" element
824          */
825         public void setFormerPDName(gov.grants.apply.system.globalLibraryV20.HumanNameDataType formerPDName)
826         {
827             generatedSetterHelperImpl(formerPDName, FORMERPDNAME$18, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
828         }
829         
830         /**
831          * Appends and returns a new empty "FormerPD_Name" element
832          */
833         public gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewFormerPDName()
834         {
835             synchronized (monitor())
836             {
837                 check_orphaned();
838                 gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
839                 target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().add_element_user(FORMERPDNAME$18);
840                 return target;
841             }
842         }
843         
844         /**
845          * Unsets the "FormerPD_Name" element
846          */
847         public void unsetFormerPDName()
848         {
849             synchronized (monitor())
850             {
851                 check_orphaned();
852                 get_store().remove_element(FORMERPDNAME$18, 0);
853             }
854         }
855         
856         /**
857          * Gets the "IsChangeOfInstitution" element
858          */
859         public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getIsChangeOfInstitution()
860         {
861             synchronized (monitor())
862             {
863                 check_orphaned();
864                 org.apache.xmlbeans.SimpleValue target = null;
865                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCHANGEOFINSTITUTION$20, 0);
866                 if (target == null)
867                 {
868                     return null;
869                 }
870                 return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
871             }
872         }
873         
874         /**
875          * Gets (as xml) the "IsChangeOfInstitution" element
876          */
877         public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetIsChangeOfInstitution()
878         {
879             synchronized (monitor())
880             {
881                 check_orphaned();
882                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
883                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISCHANGEOFINSTITUTION$20, 0);
884                 return target;
885             }
886         }
887         
888         /**
889          * True if has "IsChangeOfInstitution" element
890          */
891         public boolean isSetIsChangeOfInstitution()
892         {
893             synchronized (monitor())
894             {
895                 check_orphaned();
896                 return get_store().count_elements(ISCHANGEOFINSTITUTION$20) != 0;
897             }
898         }
899         
900         /**
901          * Sets the "IsChangeOfInstitution" element
902          */
903         public void setIsChangeOfInstitution(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum isChangeOfInstitution)
904         {
905             synchronized (monitor())
906             {
907                 check_orphaned();
908                 org.apache.xmlbeans.SimpleValue target = null;
909                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCHANGEOFINSTITUTION$20, 0);
910                 if (target == null)
911                 {
912                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISCHANGEOFINSTITUTION$20);
913                 }
914                 target.setEnumValue(isChangeOfInstitution);
915             }
916         }
917         
918         /**
919          * Sets (as xml) the "IsChangeOfInstitution" element
920          */
921         public void xsetIsChangeOfInstitution(gov.grants.apply.system.globalLibraryV20.YesNoDataType isChangeOfInstitution)
922         {
923             synchronized (monitor())
924             {
925                 check_orphaned();
926                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
927                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISCHANGEOFINSTITUTION$20, 0);
928                 if (target == null)
929                 {
930                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(ISCHANGEOFINSTITUTION$20);
931                 }
932                 target.set(isChangeOfInstitution);
933             }
934         }
935         
936         /**
937          * Unsets the "IsChangeOfInstitution" element
938          */
939         public void unsetIsChangeOfInstitution()
940         {
941             synchronized (monitor())
942             {
943                 check_orphaned();
944                 get_store().remove_element(ISCHANGEOFINSTITUTION$20, 0);
945             }
946         }
947         
948         /**
949          * Gets the "FormerInstitutionName" element
950          */
951         public java.lang.String getFormerInstitutionName()
952         {
953             synchronized (monitor())
954             {
955                 check_orphaned();
956                 org.apache.xmlbeans.SimpleValue target = null;
957                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FORMERINSTITUTIONNAME$22, 0);
958                 if (target == null)
959                 {
960                     return null;
961                 }
962                 return target.getStringValue();
963             }
964         }
965         
966         /**
967          * Gets (as xml) the "FormerInstitutionName" element
968          */
969         public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetFormerInstitutionName()
970         {
971             synchronized (monitor())
972             {
973                 check_orphaned();
974                 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
975                 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(FORMERINSTITUTIONNAME$22, 0);
976                 return target;
977             }
978         }
979         
980         /**
981          * True if has "FormerInstitutionName" element
982          */
983         public boolean isSetFormerInstitutionName()
984         {
985             synchronized (monitor())
986             {
987                 check_orphaned();
988                 return get_store().count_elements(FORMERINSTITUTIONNAME$22) != 0;
989             }
990         }
991         
992         /**
993          * Sets the "FormerInstitutionName" element
994          */
995         public void setFormerInstitutionName(java.lang.String formerInstitutionName)
996         {
997             synchronized (monitor())
998             {
999                 check_orphaned();
1000                 org.apache.xmlbeans.SimpleValue target = null;
1001                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FORMERINSTITUTIONNAME$22, 0);
1002                 if (target == null)
1003                 {
1004                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FORMERINSTITUTIONNAME$22);
1005                 }
1006                 target.setStringValue(formerInstitutionName);
1007             }
1008         }
1009         
1010         /**
1011          * Sets (as xml) the "FormerInstitutionName" element
1012          */
1013         public void xsetFormerInstitutionName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType formerInstitutionName)
1014         {
1015             synchronized (monitor())
1016             {
1017                 check_orphaned();
1018                 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
1019                 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(FORMERINSTITUTIONNAME$22, 0);
1020                 if (target == null)
1021                 {
1022                     target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(FORMERINSTITUTIONNAME$22);
1023                 }
1024                 target.set(formerInstitutionName);
1025             }
1026         }
1027         
1028         /**
1029          * Unsets the "FormerInstitutionName" element
1030          */
1031         public void unsetFormerInstitutionName()
1032         {
1033             synchronized (monitor())
1034             {
1035                 check_orphaned();
1036                 get_store().remove_element(FORMERINSTITUTIONNAME$22, 0);
1037             }
1038         }
1039         
1040         /**
1041          * Gets the "FormVersion" attribute
1042          */
1043         public java.lang.String getFormVersion()
1044         {
1045             synchronized (monitor())
1046             {
1047                 check_orphaned();
1048                 org.apache.xmlbeans.SimpleValue target = null;
1049                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$24);
1050                 if (target == null)
1051                 {
1052                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$24);
1053                 }
1054                 if (target == null)
1055                 {
1056                     return null;
1057                 }
1058                 return target.getStringValue();
1059             }
1060         }
1061         
1062         /**
1063          * Gets (as xml) the "FormVersion" attribute
1064          */
1065         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
1066         {
1067             synchronized (monitor())
1068             {
1069                 check_orphaned();
1070                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
1071                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$24);
1072                 if (target == null)
1073                 {
1074                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$24);
1075                 }
1076                 return target;
1077             }
1078         }
1079         
1080         /**
1081          * Sets the "FormVersion" attribute
1082          */
1083         public void setFormVersion(java.lang.String formVersion)
1084         {
1085             synchronized (monitor())
1086             {
1087                 check_orphaned();
1088                 org.apache.xmlbeans.SimpleValue target = null;
1089                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$24);
1090                 if (target == null)
1091                 {
1092                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$24);
1093                 }
1094                 target.setStringValue(formVersion);
1095             }
1096         }
1097         
1098         /**
1099          * Sets (as xml) the "FormVersion" attribute
1100          */
1101         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
1102         {
1103             synchronized (monitor())
1104             {
1105                 check_orphaned();
1106                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
1107                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$24);
1108                 if (target == null)
1109                 {
1110                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$24);
1111                 }
1112                 target.set(formVersion);
1113             }
1114         }
1115         /**
1116          * An XML PDPI(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0).
1117          *
1118          * This is a complex type.
1119          */
1120         public static class PDPIImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.PDPI
1121         {
1122             private static final long serialVersionUID = 1L;
1123             
1124             public PDPIImpl(org.apache.xmlbeans.SchemaType sType)
1125             {
1126                 super(sType);
1127             }
1128             
1129             private static final javax.xml.namespace.QName PDPINAME$0 = 
1130                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "PDPIName");
1131             
1132             
1133             /**
1134              * Gets the "PDPIName" element
1135              */
1136             public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getPDPIName()
1137             {
1138                 synchronized (monitor())
1139                 {
1140                     check_orphaned();
1141                     gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
1142                     target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().find_element_user(PDPINAME$0, 0);
1143                     if (target == null)
1144                     {
1145                       return null;
1146                     }
1147                     return target;
1148                 }
1149             }
1150             
1151             /**
1152              * Sets the "PDPIName" element
1153              */
1154             public void setPDPIName(gov.grants.apply.system.globalLibraryV20.HumanNameDataType pdpiName)
1155             {
1156                 generatedSetterHelperImpl(pdpiName, PDPINAME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1157             }
1158             
1159             /**
1160              * Appends and returns a new empty "PDPIName" element
1161              */
1162             public gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewPDPIName()
1163             {
1164                 synchronized (monitor())
1165                 {
1166                     check_orphaned();
1167                     gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
1168                     target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().add_element_user(PDPINAME$0);
1169                     return target;
1170                 }
1171             }
1172         }
1173         /**
1174          * An XML ClinicalTrial(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0).
1175          *
1176          * This is a complex type.
1177          */
1178         public static class ClinicalTrialImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.ClinicalTrial
1179         {
1180             private static final long serialVersionUID = 1L;
1181             
1182             public ClinicalTrialImpl(org.apache.xmlbeans.SchemaType sType)
1183             {
1184                 super(sType);
1185             }
1186             
1187             private static final javax.xml.namespace.QName ISCLINICALTRIAL$0 = 
1188                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "isClinicalTrial");
1189             private static final javax.xml.namespace.QName ISPHASEIIICLINICALTRIAL$2 = 
1190                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "isPhaseIIIClinicalTrial");
1191             
1192             
1193             /**
1194              * Gets the "isClinicalTrial" element
1195              */
1196             public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getIsClinicalTrial()
1197             {
1198                 synchronized (monitor())
1199                 {
1200                     check_orphaned();
1201                     org.apache.xmlbeans.SimpleValue target = null;
1202                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCLINICALTRIAL$0, 0);
1203                     if (target == null)
1204                     {
1205                       return null;
1206                     }
1207                     return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
1208                 }
1209             }
1210             
1211             /**
1212              * Gets (as xml) the "isClinicalTrial" element
1213              */
1214             public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetIsClinicalTrial()
1215             {
1216                 synchronized (monitor())
1217                 {
1218                     check_orphaned();
1219                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
1220                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISCLINICALTRIAL$0, 0);
1221                     return target;
1222                 }
1223             }
1224             
1225             /**
1226              * True if has "isClinicalTrial" element
1227              */
1228             public boolean isSetIsClinicalTrial()
1229             {
1230                 synchronized (monitor())
1231                 {
1232                     check_orphaned();
1233                     return get_store().count_elements(ISCLINICALTRIAL$0) != 0;
1234                 }
1235             }
1236             
1237             /**
1238              * Sets the "isClinicalTrial" element
1239              */
1240             public void setIsClinicalTrial(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum isClinicalTrial)
1241             {
1242                 synchronized (monitor())
1243                 {
1244                     check_orphaned();
1245                     org.apache.xmlbeans.SimpleValue target = null;
1246                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCLINICALTRIAL$0, 0);
1247                     if (target == null)
1248                     {
1249                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISCLINICALTRIAL$0);
1250                     }
1251                     target.setEnumValue(isClinicalTrial);
1252                 }
1253             }
1254             
1255             /**
1256              * Sets (as xml) the "isClinicalTrial" element
1257              */
1258             public void xsetIsClinicalTrial(gov.grants.apply.system.globalLibraryV20.YesNoDataType isClinicalTrial)
1259             {
1260                 synchronized (monitor())
1261                 {
1262                     check_orphaned();
1263                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
1264                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISCLINICALTRIAL$0, 0);
1265                     if (target == null)
1266                     {
1267                       target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(ISCLINICALTRIAL$0);
1268                     }
1269                     target.set(isClinicalTrial);
1270                 }
1271             }
1272             
1273             /**
1274              * Unsets the "isClinicalTrial" element
1275              */
1276             public void unsetIsClinicalTrial()
1277             {
1278                 synchronized (monitor())
1279                 {
1280                     check_orphaned();
1281                     get_store().remove_element(ISCLINICALTRIAL$0, 0);
1282                 }
1283             }
1284             
1285             /**
1286              * Gets the "isPhaseIIIClinicalTrial" element
1287              */
1288             public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getIsPhaseIIIClinicalTrial()
1289             {
1290                 synchronized (monitor())
1291                 {
1292                     check_orphaned();
1293                     org.apache.xmlbeans.SimpleValue target = null;
1294                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISPHASEIIICLINICALTRIAL$2, 0);
1295                     if (target == null)
1296                     {
1297                       return null;
1298                     }
1299                     return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
1300                 }
1301             }
1302             
1303             /**
1304              * Gets (as xml) the "isPhaseIIIClinicalTrial" element
1305              */
1306             public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetIsPhaseIIIClinicalTrial()
1307             {
1308                 synchronized (monitor())
1309                 {
1310                     check_orphaned();
1311                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
1312                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISPHASEIIICLINICALTRIAL$2, 0);
1313                     return target;
1314                 }
1315             }
1316             
1317             /**
1318              * True if has "isPhaseIIIClinicalTrial" element
1319              */
1320             public boolean isSetIsPhaseIIIClinicalTrial()
1321             {
1322                 synchronized (monitor())
1323                 {
1324                     check_orphaned();
1325                     return get_store().count_elements(ISPHASEIIICLINICALTRIAL$2) != 0;
1326                 }
1327             }
1328             
1329             /**
1330              * Sets the "isPhaseIIIClinicalTrial" element
1331              */
1332             public void setIsPhaseIIIClinicalTrial(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum isPhaseIIIClinicalTrial)
1333             {
1334                 synchronized (monitor())
1335                 {
1336                     check_orphaned();
1337                     org.apache.xmlbeans.SimpleValue target = null;
1338                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISPHASEIIICLINICALTRIAL$2, 0);
1339                     if (target == null)
1340                     {
1341                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISPHASEIIICLINICALTRIAL$2);
1342                     }
1343                     target.setEnumValue(isPhaseIIIClinicalTrial);
1344                 }
1345             }
1346             
1347             /**
1348              * Sets (as xml) the "isPhaseIIIClinicalTrial" element
1349              */
1350             public void xsetIsPhaseIIIClinicalTrial(gov.grants.apply.system.globalLibraryV20.YesNoDataType isPhaseIIIClinicalTrial)
1351             {
1352                 synchronized (monitor())
1353                 {
1354                     check_orphaned();
1355                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
1356                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISPHASEIIICLINICALTRIAL$2, 0);
1357                     if (target == null)
1358                     {
1359                       target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(ISPHASEIIICLINICALTRIAL$2);
1360                     }
1361                     target.set(isPhaseIIIClinicalTrial);
1362                 }
1363             }
1364             
1365             /**
1366              * Unsets the "isPhaseIIIClinicalTrial" element
1367              */
1368             public void unsetIsPhaseIIIClinicalTrial()
1369             {
1370                 synchronized (monitor())
1371                 {
1372                     check_orphaned();
1373                     get_store().remove_element(ISPHASEIIICLINICALTRIAL$2, 0);
1374                 }
1375             }
1376         }
1377         /**
1378          * An XML IncomeBudgetPeriod(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0).
1379          *
1380          * This is a complex type.
1381          */
1382         public static class IncomeBudgetPeriodImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod
1383         {
1384             private static final long serialVersionUID = 1L;
1385             
1386             public IncomeBudgetPeriodImpl(org.apache.xmlbeans.SchemaType sType)
1387             {
1388                 super(sType);
1389             }
1390             
1391             private static final javax.xml.namespace.QName BUDGETPERIOD$0 = 
1392                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "BudgetPeriod");
1393             private static final javax.xml.namespace.QName ANTICIPATEDAMOUNT$2 = 
1394                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "AnticipatedAmount");
1395             private static final javax.xml.namespace.QName SOURCE$4 = 
1396                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "Source");
1397             
1398             
1399             /**
1400              * Gets the "BudgetPeriod" element
1401              */
1402             public int getBudgetPeriod()
1403             {
1404                 synchronized (monitor())
1405                 {
1406                     check_orphaned();
1407                     org.apache.xmlbeans.SimpleValue target = null;
1408                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETPERIOD$0, 0);
1409                     if (target == null)
1410                     {
1411                       return 0;
1412                     }
1413                     return target.getIntValue();
1414                 }
1415             }
1416             
1417             /**
1418              * Gets (as xml) the "BudgetPeriod" element
1419              */
1420             public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.BudgetPeriod xgetBudgetPeriod()
1421             {
1422                 synchronized (monitor())
1423                 {
1424                     check_orphaned();
1425                     gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.BudgetPeriod target = null;
1426                     target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.BudgetPeriod)get_store().find_element_user(BUDGETPERIOD$0, 0);
1427                     return target;
1428                 }
1429             }
1430             
1431             /**
1432              * Sets the "BudgetPeriod" element
1433              */
1434             public void setBudgetPeriod(int budgetPeriod)
1435             {
1436                 synchronized (monitor())
1437                 {
1438                     check_orphaned();
1439                     org.apache.xmlbeans.SimpleValue target = null;
1440                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETPERIOD$0, 0);
1441                     if (target == null)
1442                     {
1443                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETPERIOD$0);
1444                     }
1445                     target.setIntValue(budgetPeriod);
1446                 }
1447             }
1448             
1449             /**
1450              * Sets (as xml) the "BudgetPeriod" element
1451              */
1452             public void xsetBudgetPeriod(gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.BudgetPeriod budgetPeriod)
1453             {
1454                 synchronized (monitor())
1455                 {
1456                     check_orphaned();
1457                     gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.BudgetPeriod target = null;
1458                     target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.BudgetPeriod)get_store().find_element_user(BUDGETPERIOD$0, 0);
1459                     if (target == null)
1460                     {
1461                       target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.BudgetPeriod)get_store().add_element_user(BUDGETPERIOD$0);
1462                     }
1463                     target.set(budgetPeriod);
1464                 }
1465             }
1466             
1467             /**
1468              * Gets the "AnticipatedAmount" element
1469              */
1470             public java.math.BigDecimal getAnticipatedAmount()
1471             {
1472                 synchronized (monitor())
1473                 {
1474                     check_orphaned();
1475                     org.apache.xmlbeans.SimpleValue target = null;
1476                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ANTICIPATEDAMOUNT$2, 0);
1477                     if (target == null)
1478                     {
1479                       return null;
1480                     }
1481                     return target.getBigDecimalValue();
1482                 }
1483             }
1484             
1485             /**
1486              * Gets (as xml) the "AnticipatedAmount" element
1487              */
1488             public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetAnticipatedAmount()
1489             {
1490                 synchronized (monitor())
1491                 {
1492                     check_orphaned();
1493                     gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
1494                     target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(ANTICIPATEDAMOUNT$2, 0);
1495                     return target;
1496                 }
1497             }
1498             
1499             /**
1500              * Sets the "AnticipatedAmount" element
1501              */
1502             public void setAnticipatedAmount(java.math.BigDecimal anticipatedAmount)
1503             {
1504                 synchronized (monitor())
1505                 {
1506                     check_orphaned();
1507                     org.apache.xmlbeans.SimpleValue target = null;
1508                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ANTICIPATEDAMOUNT$2, 0);
1509                     if (target == null)
1510                     {
1511                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ANTICIPATEDAMOUNT$2);
1512                     }
1513                     target.setBigDecimalValue(anticipatedAmount);
1514                 }
1515             }
1516             
1517             /**
1518              * Sets (as xml) the "AnticipatedAmount" element
1519              */
1520             public void xsetAnticipatedAmount(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType anticipatedAmount)
1521             {
1522                 synchronized (monitor())
1523                 {
1524                     check_orphaned();
1525                     gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
1526                     target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(ANTICIPATEDAMOUNT$2, 0);
1527                     if (target == null)
1528                     {
1529                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(ANTICIPATEDAMOUNT$2);
1530                     }
1531                     target.set(anticipatedAmount);
1532                 }
1533             }
1534             
1535             /**
1536              * Gets the "Source" element
1537              */
1538             public java.lang.String getSource()
1539             {
1540                 synchronized (monitor())
1541                 {
1542                     check_orphaned();
1543                     org.apache.xmlbeans.SimpleValue target = null;
1544                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SOURCE$4, 0);
1545                     if (target == null)
1546                     {
1547                       return null;
1548                     }
1549                     return target.getStringValue();
1550                 }
1551             }
1552             
1553             /**
1554              * Gets (as xml) the "Source" element
1555              */
1556             public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.Source xgetSource()
1557             {
1558                 synchronized (monitor())
1559                 {
1560                     check_orphaned();
1561                     gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.Source target = null;
1562                     target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.Source)get_store().find_element_user(SOURCE$4, 0);
1563                     return target;
1564                 }
1565             }
1566             
1567             /**
1568              * Sets the "Source" element
1569              */
1570             public void setSource(java.lang.String source)
1571             {
1572                 synchronized (monitor())
1573                 {
1574                     check_orphaned();
1575                     org.apache.xmlbeans.SimpleValue target = null;
1576                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SOURCE$4, 0);
1577                     if (target == null)
1578                     {
1579                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SOURCE$4);
1580                     }
1581                     target.setStringValue(source);
1582                 }
1583             }
1584             
1585             /**
1586              * Sets (as xml) the "Source" element
1587              */
1588             public void xsetSource(gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.Source source)
1589             {
1590                 synchronized (monitor())
1591                 {
1592                     check_orphaned();
1593                     gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.Source target = null;
1594                     target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.Source)get_store().find_element_user(SOURCE$4, 0);
1595                     if (target == null)
1596                     {
1597                       target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.Source)get_store().add_element_user(SOURCE$4);
1598                     }
1599                     target.set(source);
1600                 }
1601             }
1602             /**
1603              * An XML BudgetPeriod(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0).
1604              *
1605              * This is an atomic type that is a restriction of gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document$PHS398CoverPageSupplement20$IncomeBudgetPeriod$BudgetPeriod.
1606              */
1607             public static class BudgetPeriodImpl extends org.apache.xmlbeans.impl.values.JavaIntHolderEx implements gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.BudgetPeriod
1608             {
1609                 private static final long serialVersionUID = 1L;
1610                 
1611                 public BudgetPeriodImpl(org.apache.xmlbeans.SchemaType sType)
1612                 {
1613                     super(sType, false);
1614                 }
1615                 
1616                 protected BudgetPeriodImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1617                 {
1618                     super(sType, b);
1619                 }
1620             }
1621             /**
1622              * An XML Source(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0).
1623              *
1624              * This is an atomic type that is a restriction of gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document$PHS398CoverPageSupplement20$IncomeBudgetPeriod$Source.
1625              */
1626             public static class SourceImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.IncomeBudgetPeriod.Source
1627             {
1628                 private static final long serialVersionUID = 1L;
1629                 
1630                 public SourceImpl(org.apache.xmlbeans.SchemaType sType)
1631                 {
1632                     super(sType, false);
1633                 }
1634                 
1635                 protected SourceImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1636                 {
1637                     super(sType, b);
1638                 }
1639             }
1640         }
1641         /**
1642          * An XML StemCells(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0).
1643          *
1644          * This is a complex type.
1645          */
1646         public static class StemCellsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells
1647         {
1648             private static final long serialVersionUID = 1L;
1649             
1650             public StemCellsImpl(org.apache.xmlbeans.SchemaType sType)
1651             {
1652                 super(sType);
1653             }
1654             
1655             private static final javax.xml.namespace.QName ISHUMANSTEMCELLSINVOLVED$0 = 
1656                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "isHumanStemCellsInvolved");
1657             private static final javax.xml.namespace.QName STEMCELLSINDICATOR$2 = 
1658                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "StemCellsIndicator");
1659             private static final javax.xml.namespace.QName CELLLINES$4 = 
1660                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0", "CellLines");
1661             
1662             
1663             /**
1664              * Gets the "isHumanStemCellsInvolved" element
1665              */
1666             public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getIsHumanStemCellsInvolved()
1667             {
1668                 synchronized (monitor())
1669                 {
1670                     check_orphaned();
1671                     org.apache.xmlbeans.SimpleValue target = null;
1672                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISHUMANSTEMCELLSINVOLVED$0, 0);
1673                     if (target == null)
1674                     {
1675                       return null;
1676                     }
1677                     return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
1678                 }
1679             }
1680             
1681             /**
1682              * Gets (as xml) the "isHumanStemCellsInvolved" element
1683              */
1684             public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetIsHumanStemCellsInvolved()
1685             {
1686                 synchronized (monitor())
1687                 {
1688                     check_orphaned();
1689                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
1690                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISHUMANSTEMCELLSINVOLVED$0, 0);
1691                     return target;
1692                 }
1693             }
1694             
1695             /**
1696              * Sets the "isHumanStemCellsInvolved" element
1697              */
1698             public void setIsHumanStemCellsInvolved(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum isHumanStemCellsInvolved)
1699             {
1700                 synchronized (monitor())
1701                 {
1702                     check_orphaned();
1703                     org.apache.xmlbeans.SimpleValue target = null;
1704                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISHUMANSTEMCELLSINVOLVED$0, 0);
1705                     if (target == null)
1706                     {
1707                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISHUMANSTEMCELLSINVOLVED$0);
1708                     }
1709                     target.setEnumValue(isHumanStemCellsInvolved);
1710                 }
1711             }
1712             
1713             /**
1714              * Sets (as xml) the "isHumanStemCellsInvolved" element
1715              */
1716             public void xsetIsHumanStemCellsInvolved(gov.grants.apply.system.globalLibraryV20.YesNoDataType isHumanStemCellsInvolved)
1717             {
1718                 synchronized (monitor())
1719                 {
1720                     check_orphaned();
1721                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
1722                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(ISHUMANSTEMCELLSINVOLVED$0, 0);
1723                     if (target == null)
1724                     {
1725                       target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(ISHUMANSTEMCELLSINVOLVED$0);
1726                     }
1727                     target.set(isHumanStemCellsInvolved);
1728                 }
1729             }
1730             
1731             /**
1732              * Gets the "StemCellsIndicator" element
1733              */
1734             public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getStemCellsIndicator()
1735             {
1736                 synchronized (monitor())
1737                 {
1738                     check_orphaned();
1739                     org.apache.xmlbeans.SimpleValue target = null;
1740                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STEMCELLSINDICATOR$2, 0);
1741                     if (target == null)
1742                     {
1743                       return null;
1744                     }
1745                     return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
1746                 }
1747             }
1748             
1749             /**
1750              * Gets (as xml) the "StemCellsIndicator" element
1751              */
1752             public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetStemCellsIndicator()
1753             {
1754                 synchronized (monitor())
1755                 {
1756                     check_orphaned();
1757                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
1758                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(STEMCELLSINDICATOR$2, 0);
1759                     return target;
1760                 }
1761             }
1762             
1763             /**
1764              * True if has "StemCellsIndicator" element
1765              */
1766             public boolean isSetStemCellsIndicator()
1767             {
1768                 synchronized (monitor())
1769                 {
1770                     check_orphaned();
1771                     return get_store().count_elements(STEMCELLSINDICATOR$2) != 0;
1772                 }
1773             }
1774             
1775             /**
1776              * Sets the "StemCellsIndicator" element
1777              */
1778             public void setStemCellsIndicator(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum stemCellsIndicator)
1779             {
1780                 synchronized (monitor())
1781                 {
1782                     check_orphaned();
1783                     org.apache.xmlbeans.SimpleValue target = null;
1784                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STEMCELLSINDICATOR$2, 0);
1785                     if (target == null)
1786                     {
1787                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STEMCELLSINDICATOR$2);
1788                     }
1789                     target.setEnumValue(stemCellsIndicator);
1790                 }
1791             }
1792             
1793             /**
1794              * Sets (as xml) the "StemCellsIndicator" element
1795              */
1796             public void xsetStemCellsIndicator(gov.grants.apply.system.globalLibraryV20.YesNoDataType stemCellsIndicator)
1797             {
1798                 synchronized (monitor())
1799                 {
1800                     check_orphaned();
1801                     gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
1802                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(STEMCELLSINDICATOR$2, 0);
1803                     if (target == null)
1804                     {
1805                       target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(STEMCELLSINDICATOR$2);
1806                     }
1807                     target.set(stemCellsIndicator);
1808                 }
1809             }
1810             
1811             /**
1812              * Unsets the "StemCellsIndicator" element
1813              */
1814             public void unsetStemCellsIndicator()
1815             {
1816                 synchronized (monitor())
1817                 {
1818                     check_orphaned();
1819                     get_store().remove_element(STEMCELLSINDICATOR$2, 0);
1820                 }
1821             }
1822             
1823             /**
1824              * Gets array of all "CellLines" elements
1825              */
1826             public java.lang.String[] getCellLinesArray()
1827             {
1828                 synchronized (monitor())
1829                 {
1830                     check_orphaned();
1831                     java.util.List targetList = new java.util.ArrayList();
1832                     get_store().find_all_element_users(CELLLINES$4, targetList);
1833                     java.lang.String[] result = new java.lang.String[targetList.size()];
1834                     for (int i = 0, len = targetList.size() ; i < len ; i++)
1835                         result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
1836                     return result;
1837                 }
1838             }
1839             
1840             /**
1841              * Gets ith "CellLines" element
1842              */
1843             public java.lang.String getCellLinesArray(int i)
1844             {
1845                 synchronized (monitor())
1846                 {
1847                     check_orphaned();
1848                     org.apache.xmlbeans.SimpleValue target = null;
1849                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CELLLINES$4, i);
1850                     if (target == null)
1851                     {
1852                       throw new IndexOutOfBoundsException();
1853                     }
1854                     return target.getStringValue();
1855                 }
1856             }
1857             
1858             /**
1859              * Gets (as xml) array of all "CellLines" elements
1860              */
1861             public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines[] xgetCellLinesArray()
1862             {
1863                 synchronized (monitor())
1864                 {
1865                     check_orphaned();
1866                     java.util.List targetList = new java.util.ArrayList();
1867                     get_store().find_all_element_users(CELLLINES$4, targetList);
1868                     gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines[] result = new gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines[targetList.size()];
1869                     targetList.toArray(result);
1870                     return result;
1871                 }
1872             }
1873             
1874             /**
1875              * Gets (as xml) ith "CellLines" element
1876              */
1877             public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines xgetCellLinesArray(int i)
1878             {
1879                 synchronized (monitor())
1880                 {
1881                     check_orphaned();
1882                     gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines target = null;
1883                     target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines)get_store().find_element_user(CELLLINES$4, i);
1884                     if (target == null)
1885                     {
1886                       throw new IndexOutOfBoundsException();
1887                     }
1888                     return target;
1889                 }
1890             }
1891             
1892             /**
1893              * Returns number of "CellLines" element
1894              */
1895             public int sizeOfCellLinesArray()
1896             {
1897                 synchronized (monitor())
1898                 {
1899                     check_orphaned();
1900                     return get_store().count_elements(CELLLINES$4);
1901                 }
1902             }
1903             
1904             /**
1905              * Sets array of all "CellLines" element
1906              */
1907             public void setCellLinesArray(java.lang.String[] cellLinesArray)
1908             {
1909                 synchronized (monitor())
1910                 {
1911                     check_orphaned();
1912                     arraySetterHelper(cellLinesArray, CELLLINES$4);
1913                 }
1914             }
1915             
1916             /**
1917              * Sets ith "CellLines" element
1918              */
1919             public void setCellLinesArray(int i, java.lang.String cellLines)
1920             {
1921                 synchronized (monitor())
1922                 {
1923                     check_orphaned();
1924                     org.apache.xmlbeans.SimpleValue target = null;
1925                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CELLLINES$4, i);
1926                     if (target == null)
1927                     {
1928                       throw new IndexOutOfBoundsException();
1929                     }
1930                     target.setStringValue(cellLines);
1931                 }
1932             }
1933             
1934             /**
1935              * Sets (as xml) array of all "CellLines" element
1936              */
1937             public void xsetCellLinesArray(gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines[]cellLinesArray)
1938             {
1939                 synchronized (monitor())
1940                 {
1941                     check_orphaned();
1942                     arraySetterHelper(cellLinesArray, CELLLINES$4);
1943                 }
1944             }
1945             
1946             /**
1947              * Sets (as xml) ith "CellLines" element
1948              */
1949             public void xsetCellLinesArray(int i, gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines cellLines)
1950             {
1951                 synchronized (monitor())
1952                 {
1953                     check_orphaned();
1954                     gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines target = null;
1955                     target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines)get_store().find_element_user(CELLLINES$4, i);
1956                     if (target == null)
1957                     {
1958                       throw new IndexOutOfBoundsException();
1959                     }
1960                     target.set(cellLines);
1961                 }
1962             }
1963             
1964             /**
1965              * Inserts the value as the ith "CellLines" element
1966              */
1967             public void insertCellLines(int i, java.lang.String cellLines)
1968             {
1969                 synchronized (monitor())
1970                 {
1971                     check_orphaned();
1972                     org.apache.xmlbeans.SimpleValue target = 
1973                       (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(CELLLINES$4, i);
1974                     target.setStringValue(cellLines);
1975                 }
1976             }
1977             
1978             /**
1979              * Appends the value as the last "CellLines" element
1980              */
1981             public void addCellLines(java.lang.String cellLines)
1982             {
1983                 synchronized (monitor())
1984                 {
1985                     check_orphaned();
1986                     org.apache.xmlbeans.SimpleValue target = null;
1987                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CELLLINES$4);
1988                     target.setStringValue(cellLines);
1989                 }
1990             }
1991             
1992             /**
1993              * Inserts and returns a new empty value (as xml) as the ith "CellLines" element
1994              */
1995             public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines insertNewCellLines(int i)
1996             {
1997                 synchronized (monitor())
1998                 {
1999                     check_orphaned();
2000                     gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines target = null;
2001                     target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines)get_store().insert_element_user(CELLLINES$4, i);
2002                     return target;
2003                 }
2004             }
2005             
2006             /**
2007              * Appends and returns a new empty value (as xml) as the last "CellLines" element
2008              */
2009             public gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines addNewCellLines()
2010             {
2011                 synchronized (monitor())
2012                 {
2013                     check_orphaned();
2014                     gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines target = null;
2015                     target = (gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines)get_store().add_element_user(CELLLINES$4);
2016                     return target;
2017                 }
2018             }
2019             
2020             /**
2021              * Removes the ith "CellLines" element
2022              */
2023             public void removeCellLines(int i)
2024             {
2025                 synchronized (monitor())
2026                 {
2027                     check_orphaned();
2028                     get_store().remove_element(CELLLINES$4, i);
2029                 }
2030             }
2031             /**
2032              * An XML CellLines(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement_2_0-V2.0).
2033              *
2034              * This is an atomic type that is a restriction of gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document$PHS398CoverPageSupplement20$StemCells$CellLines.
2035              */
2036             public static class CellLinesImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.phs398CoverPageSupplement20V20.PHS398CoverPageSupplement20Document.PHS398CoverPageSupplement20.StemCells.CellLines
2037             {
2038                 private static final long serialVersionUID = 1L;
2039                 
2040                 public CellLinesImpl(org.apache.xmlbeans.SchemaType sType)
2041                 {
2042                     super(sType, false);
2043                 }
2044                 
2045                 protected CellLinesImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2046                 {
2047                     super(sType, b);
2048                 }
2049             }
2050         }
2051     }
2052 }