View Javadoc
1   /*
2    * An XML document type.
3    * Localname: NSF_CoverPage
4    * Namespace: http://apply.grants.gov/forms/NSF_CoverPage-V1.0
5    * Java type: gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.nsfCoverPageV10.impl;
10  /**
11   * A document containing one NSF_CoverPage(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class NSFCoverPageDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public NSFCoverPageDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName NSFCOVERPAGE$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "NSF_CoverPage");
26      
27      
28      /**
29       * Gets the "NSF_CoverPage" element
30       */
31      public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage getNSFCoverPage()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage target = null;
37              target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage)get_store().find_element_user(NSFCOVERPAGE$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "NSF_CoverPage" element
48       */
49      public void setNSFCoverPage(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage nsfCoverPage)
50      {
51          generatedSetterHelperImpl(nsfCoverPage, NSFCOVERPAGE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "NSF_CoverPage" element
56       */
57      public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage addNewNSFCoverPage()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage target = null;
63              target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage)get_store().add_element_user(NSFCOVERPAGE$0);
64              return target;
65          }
66      }
67      /**
68       * An XML NSF_CoverPage(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
69       *
70       * This is a complex type.
71       */
72      public static class NSFCoverPageImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public NSFCoverPageImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName FUNDINGOPPORTUNITYNUMBER$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "FundingOpportunityNumber");
83          private static final javax.xml.namespace.QName DUEDATE$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "DueDate");
85          private static final javax.xml.namespace.QName NSFUNITCONSIDERATION$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "NSFUnitConsideration");
87          private static final javax.xml.namespace.QName PIINFO$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "PIInfo");
89          private static final javax.xml.namespace.QName COPIINFO$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "CoPIInfo");
91          private static final javax.xml.namespace.QName OTHERINFO$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "OtherInfo");
93          private static final javax.xml.namespace.QName SINGLECOPYDOCUMENTS$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "Single-CopyDocuments");
95          private static final javax.xml.namespace.QName FORMVERSION$14 = 
96              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "FormVersion");
97          
98          
99          /**
100          * Gets the "FundingOpportunityNumber" element
101          */
102         public java.lang.String getFundingOpportunityNumber()
103         {
104             synchronized (monitor())
105             {
106                 check_orphaned();
107                 org.apache.xmlbeans.SimpleValue target = null;
108                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FUNDINGOPPORTUNITYNUMBER$0, 0);
109                 if (target == null)
110                 {
111                     return null;
112                 }
113                 return target.getStringValue();
114             }
115         }
116         
117         /**
118          * Gets (as xml) the "FundingOpportunityNumber" element
119          */
120         public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.FundingOpportunityNumber xgetFundingOpportunityNumber()
121         {
122             synchronized (monitor())
123             {
124                 check_orphaned();
125                 gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.FundingOpportunityNumber target = null;
126                 target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.FundingOpportunityNumber)get_store().find_element_user(FUNDINGOPPORTUNITYNUMBER$0, 0);
127                 return target;
128             }
129         }
130         
131         /**
132          * Sets the "FundingOpportunityNumber" element
133          */
134         public void setFundingOpportunityNumber(java.lang.String fundingOpportunityNumber)
135         {
136             synchronized (monitor())
137             {
138                 check_orphaned();
139                 org.apache.xmlbeans.SimpleValue target = null;
140                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FUNDINGOPPORTUNITYNUMBER$0, 0);
141                 if (target == null)
142                 {
143                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FUNDINGOPPORTUNITYNUMBER$0);
144                 }
145                 target.setStringValue(fundingOpportunityNumber);
146             }
147         }
148         
149         /**
150          * Sets (as xml) the "FundingOpportunityNumber" element
151          */
152         public void xsetFundingOpportunityNumber(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.FundingOpportunityNumber fundingOpportunityNumber)
153         {
154             synchronized (monitor())
155             {
156                 check_orphaned();
157                 gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.FundingOpportunityNumber target = null;
158                 target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.FundingOpportunityNumber)get_store().find_element_user(FUNDINGOPPORTUNITYNUMBER$0, 0);
159                 if (target == null)
160                 {
161                     target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.FundingOpportunityNumber)get_store().add_element_user(FUNDINGOPPORTUNITYNUMBER$0);
162                 }
163                 target.set(fundingOpportunityNumber);
164             }
165         }
166         
167         /**
168          * Gets the "DueDate" element
169          */
170         public java.util.Calendar getDueDate()
171         {
172             synchronized (monitor())
173             {
174                 check_orphaned();
175                 org.apache.xmlbeans.SimpleValue target = null;
176                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DUEDATE$2, 0);
177                 if (target == null)
178                 {
179                     return null;
180                 }
181                 return target.getCalendarValue();
182             }
183         }
184         
185         /**
186          * Gets (as xml) the "DueDate" element
187          */
188         public org.apache.xmlbeans.XmlDate xgetDueDate()
189         {
190             synchronized (monitor())
191             {
192                 check_orphaned();
193                 org.apache.xmlbeans.XmlDate target = null;
194                 target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(DUEDATE$2, 0);
195                 return target;
196             }
197         }
198         
199         /**
200          * True if has "DueDate" element
201          */
202         public boolean isSetDueDate()
203         {
204             synchronized (monitor())
205             {
206                 check_orphaned();
207                 return get_store().count_elements(DUEDATE$2) != 0;
208             }
209         }
210         
211         /**
212          * Sets the "DueDate" element
213          */
214         public void setDueDate(java.util.Calendar dueDate)
215         {
216             synchronized (monitor())
217             {
218                 check_orphaned();
219                 org.apache.xmlbeans.SimpleValue target = null;
220                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DUEDATE$2, 0);
221                 if (target == null)
222                 {
223                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DUEDATE$2);
224                 }
225                 target.setCalendarValue(dueDate);
226             }
227         }
228         
229         /**
230          * Sets (as xml) the "DueDate" element
231          */
232         public void xsetDueDate(org.apache.xmlbeans.XmlDate dueDate)
233         {
234             synchronized (monitor())
235             {
236                 check_orphaned();
237                 org.apache.xmlbeans.XmlDate target = null;
238                 target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(DUEDATE$2, 0);
239                 if (target == null)
240                 {
241                     target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(DUEDATE$2);
242                 }
243                 target.set(dueDate);
244             }
245         }
246         
247         /**
248          * Unsets the "DueDate" element
249          */
250         public void unsetDueDate()
251         {
252             synchronized (monitor())
253             {
254                 check_orphaned();
255                 get_store().remove_element(DUEDATE$2, 0);
256             }
257         }
258         
259         /**
260          * Gets the "NSFUnitConsideration" element
261          */
262         public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration getNSFUnitConsideration()
263         {
264             synchronized (monitor())
265             {
266                 check_orphaned();
267                 gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration target = null;
268                 target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration)get_store().find_element_user(NSFUNITCONSIDERATION$4, 0);
269                 if (target == null)
270                 {
271                     return null;
272                 }
273                 return target;
274             }
275         }
276         
277         /**
278          * Sets the "NSFUnitConsideration" element
279          */
280         public void setNSFUnitConsideration(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration nsfUnitConsideration)
281         {
282             generatedSetterHelperImpl(nsfUnitConsideration, NSFUNITCONSIDERATION$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
283         }
284         
285         /**
286          * Appends and returns a new empty "NSFUnitConsideration" element
287          */
288         public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration addNewNSFUnitConsideration()
289         {
290             synchronized (monitor())
291             {
292                 check_orphaned();
293                 gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration target = null;
294                 target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration)get_store().add_element_user(NSFUNITCONSIDERATION$4);
295                 return target;
296             }
297         }
298         
299         /**
300          * Gets the "PIInfo" element
301          */
302         public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo getPIInfo()
303         {
304             synchronized (monitor())
305             {
306                 check_orphaned();
307                 gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo target = null;
308                 target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo)get_store().find_element_user(PIINFO$6, 0);
309                 if (target == null)
310                 {
311                     return null;
312                 }
313                 return target;
314             }
315         }
316         
317         /**
318          * Sets the "PIInfo" element
319          */
320         public void setPIInfo(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo piInfo)
321         {
322             generatedSetterHelperImpl(piInfo, PIINFO$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
323         }
324         
325         /**
326          * Appends and returns a new empty "PIInfo" element
327          */
328         public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo addNewPIInfo()
329         {
330             synchronized (monitor())
331             {
332                 check_orphaned();
333                 gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo target = null;
334                 target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo)get_store().add_element_user(PIINFO$6);
335                 return target;
336             }
337         }
338         
339         /**
340          * Gets the "CoPIInfo" element
341          */
342         public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo getCoPIInfo()
343         {
344             synchronized (monitor())
345             {
346                 check_orphaned();
347                 gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo target = null;
348                 target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo)get_store().find_element_user(COPIINFO$8, 0);
349                 if (target == null)
350                 {
351                     return null;
352                 }
353                 return target;
354             }
355         }
356         
357         /**
358          * True if has "CoPIInfo" element
359          */
360         public boolean isSetCoPIInfo()
361         {
362             synchronized (monitor())
363             {
364                 check_orphaned();
365                 return get_store().count_elements(COPIINFO$8) != 0;
366             }
367         }
368         
369         /**
370          * Sets the "CoPIInfo" element
371          */
372         public void setCoPIInfo(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo coPIInfo)
373         {
374             generatedSetterHelperImpl(coPIInfo, COPIINFO$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
375         }
376         
377         /**
378          * Appends and returns a new empty "CoPIInfo" element
379          */
380         public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo addNewCoPIInfo()
381         {
382             synchronized (monitor())
383             {
384                 check_orphaned();
385                 gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo target = null;
386                 target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo)get_store().add_element_user(COPIINFO$8);
387                 return target;
388             }
389         }
390         
391         /**
392          * Unsets the "CoPIInfo" element
393          */
394         public void unsetCoPIInfo()
395         {
396             synchronized (monitor())
397             {
398                 check_orphaned();
399                 get_store().remove_element(COPIINFO$8, 0);
400             }
401         }
402         
403         /**
404          * Gets the "OtherInfo" element
405          */
406         public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.OtherInfo getOtherInfo()
407         {
408             synchronized (monitor())
409             {
410                 check_orphaned();
411                 gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.OtherInfo target = null;
412                 target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.OtherInfo)get_store().find_element_user(OTHERINFO$10, 0);
413                 if (target == null)
414                 {
415                     return null;
416                 }
417                 return target;
418             }
419         }
420         
421         /**
422          * True if has "OtherInfo" element
423          */
424         public boolean isSetOtherInfo()
425         {
426             synchronized (monitor())
427             {
428                 check_orphaned();
429                 return get_store().count_elements(OTHERINFO$10) != 0;
430             }
431         }
432         
433         /**
434          * Sets the "OtherInfo" element
435          */
436         public void setOtherInfo(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.OtherInfo otherInfo)
437         {
438             generatedSetterHelperImpl(otherInfo, OTHERINFO$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
439         }
440         
441         /**
442          * Appends and returns a new empty "OtherInfo" element
443          */
444         public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.OtherInfo addNewOtherInfo()
445         {
446             synchronized (monitor())
447             {
448                 check_orphaned();
449                 gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.OtherInfo target = null;
450                 target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.OtherInfo)get_store().add_element_user(OTHERINFO$10);
451                 return target;
452             }
453         }
454         
455         /**
456          * Unsets the "OtherInfo" element
457          */
458         public void unsetOtherInfo()
459         {
460             synchronized (monitor())
461             {
462                 check_orphaned();
463                 get_store().remove_element(OTHERINFO$10, 0);
464             }
465         }
466         
467         /**
468          * Gets the "Single-CopyDocuments" element
469          */
470         public gov.grants.apply.system.attachmentsV10.AttachmentGroupMin1Max100DataType getSingleCopyDocuments()
471         {
472             synchronized (monitor())
473             {
474                 check_orphaned();
475                 gov.grants.apply.system.attachmentsV10.AttachmentGroupMin1Max100DataType target = null;
476                 target = (gov.grants.apply.system.attachmentsV10.AttachmentGroupMin1Max100DataType)get_store().find_element_user(SINGLECOPYDOCUMENTS$12, 0);
477                 if (target == null)
478                 {
479                     return null;
480                 }
481                 return target;
482             }
483         }
484         
485         /**
486          * True if has "Single-CopyDocuments" element
487          */
488         public boolean isSetSingleCopyDocuments()
489         {
490             synchronized (monitor())
491             {
492                 check_orphaned();
493                 return get_store().count_elements(SINGLECOPYDOCUMENTS$12) != 0;
494             }
495         }
496         
497         /**
498          * Sets the "Single-CopyDocuments" element
499          */
500         public void setSingleCopyDocuments(gov.grants.apply.system.attachmentsV10.AttachmentGroupMin1Max100DataType singleCopyDocuments)
501         {
502             generatedSetterHelperImpl(singleCopyDocuments, SINGLECOPYDOCUMENTS$12, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
503         }
504         
505         /**
506          * Appends and returns a new empty "Single-CopyDocuments" element
507          */
508         public gov.grants.apply.system.attachmentsV10.AttachmentGroupMin1Max100DataType addNewSingleCopyDocuments()
509         {
510             synchronized (monitor())
511             {
512                 check_orphaned();
513                 gov.grants.apply.system.attachmentsV10.AttachmentGroupMin1Max100DataType target = null;
514                 target = (gov.grants.apply.system.attachmentsV10.AttachmentGroupMin1Max100DataType)get_store().add_element_user(SINGLECOPYDOCUMENTS$12);
515                 return target;
516             }
517         }
518         
519         /**
520          * Unsets the "Single-CopyDocuments" element
521          */
522         public void unsetSingleCopyDocuments()
523         {
524             synchronized (monitor())
525             {
526                 check_orphaned();
527                 get_store().remove_element(SINGLECOPYDOCUMENTS$12, 0);
528             }
529         }
530         
531         /**
532          * Gets the "FormVersion" attribute
533          */
534         public java.lang.String getFormVersion()
535         {
536             synchronized (monitor())
537             {
538                 check_orphaned();
539                 org.apache.xmlbeans.SimpleValue target = null;
540                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$14);
541                 if (target == null)
542                 {
543                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$14);
544                 }
545                 if (target == null)
546                 {
547                     return null;
548                 }
549                 return target.getStringValue();
550             }
551         }
552         
553         /**
554          * Gets (as xml) the "FormVersion" attribute
555          */
556         public gov.grants.apply.system.globalLibraryV10.FormVersionDataType xgetFormVersion()
557         {
558             synchronized (monitor())
559             {
560                 check_orphaned();
561                 gov.grants.apply.system.globalLibraryV10.FormVersionDataType target = null;
562                 target = (gov.grants.apply.system.globalLibraryV10.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$14);
563                 if (target == null)
564                 {
565                     target = (gov.grants.apply.system.globalLibraryV10.FormVersionDataType)get_default_attribute_value(FORMVERSION$14);
566                 }
567                 return target;
568             }
569         }
570         
571         /**
572          * Sets the "FormVersion" attribute
573          */
574         public void setFormVersion(java.lang.String formVersion)
575         {
576             synchronized (monitor())
577             {
578                 check_orphaned();
579                 org.apache.xmlbeans.SimpleValue target = null;
580                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$14);
581                 if (target == null)
582                 {
583                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$14);
584                 }
585                 target.setStringValue(formVersion);
586             }
587         }
588         
589         /**
590          * Sets (as xml) the "FormVersion" attribute
591          */
592         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV10.FormVersionDataType formVersion)
593         {
594             synchronized (monitor())
595             {
596                 check_orphaned();
597                 gov.grants.apply.system.globalLibraryV10.FormVersionDataType target = null;
598                 target = (gov.grants.apply.system.globalLibraryV10.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$14);
599                 if (target == null)
600                 {
601                     target = (gov.grants.apply.system.globalLibraryV10.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$14);
602                 }
603                 target.set(formVersion);
604             }
605         }
606         /**
607          * An XML FundingOpportunityNumber(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
608          *
609          * This is an atomic type that is a restriction of gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument$NSFCoverPage$FundingOpportunityNumber.
610          */
611         public static class FundingOpportunityNumberImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.FundingOpportunityNumber
612         {
613             private static final long serialVersionUID = 1L;
614             
615             public FundingOpportunityNumberImpl(org.apache.xmlbeans.SchemaType sType)
616             {
617                 super(sType, false);
618             }
619             
620             protected FundingOpportunityNumberImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
621             {
622                 super(sType, b);
623             }
624         }
625         /**
626          * An XML NSFUnitConsideration(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
627          *
628          * This is a complex type.
629          */
630         public static class NSFUnitConsiderationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration
631         {
632             private static final long serialVersionUID = 1L;
633             
634             public NSFUnitConsiderationImpl(org.apache.xmlbeans.SchemaType sType)
635             {
636                 super(sType);
637             }
638             
639             private static final javax.xml.namespace.QName DIVISIONCODE$0 = 
640                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "DivisionCode");
641             private static final javax.xml.namespace.QName DIVISIONNAME$2 = 
642                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "DivisionName");
643             private static final javax.xml.namespace.QName PROGRAMCODE$4 = 
644                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "ProgramCode");
645             private static final javax.xml.namespace.QName PROGRAMNAME$6 = 
646                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "ProgramName");
647             
648             
649             /**
650              * Gets the "DivisionCode" element
651              */
652             public java.lang.String getDivisionCode()
653             {
654                 synchronized (monitor())
655                 {
656                     check_orphaned();
657                     org.apache.xmlbeans.SimpleValue target = null;
658                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIVISIONCODE$0, 0);
659                     if (target == null)
660                     {
661                       return null;
662                     }
663                     return target.getStringValue();
664                 }
665             }
666             
667             /**
668              * Gets (as xml) the "DivisionCode" element
669              */
670             public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.DivisionCode xgetDivisionCode()
671             {
672                 synchronized (monitor())
673                 {
674                     check_orphaned();
675                     gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.DivisionCode target = null;
676                     target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.DivisionCode)get_store().find_element_user(DIVISIONCODE$0, 0);
677                     return target;
678                 }
679             }
680             
681             /**
682              * Sets the "DivisionCode" element
683              */
684             public void setDivisionCode(java.lang.String divisionCode)
685             {
686                 synchronized (monitor())
687                 {
688                     check_orphaned();
689                     org.apache.xmlbeans.SimpleValue target = null;
690                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIVISIONCODE$0, 0);
691                     if (target == null)
692                     {
693                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DIVISIONCODE$0);
694                     }
695                     target.setStringValue(divisionCode);
696                 }
697             }
698             
699             /**
700              * Sets (as xml) the "DivisionCode" element
701              */
702             public void xsetDivisionCode(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.DivisionCode divisionCode)
703             {
704                 synchronized (monitor())
705                 {
706                     check_orphaned();
707                     gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.DivisionCode target = null;
708                     target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.DivisionCode)get_store().find_element_user(DIVISIONCODE$0, 0);
709                     if (target == null)
710                     {
711                       target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.DivisionCode)get_store().add_element_user(DIVISIONCODE$0);
712                     }
713                     target.set(divisionCode);
714                 }
715             }
716             
717             /**
718              * Gets the "DivisionName" element
719              */
720             public java.lang.String getDivisionName()
721             {
722                 synchronized (monitor())
723                 {
724                     check_orphaned();
725                     org.apache.xmlbeans.SimpleValue target = null;
726                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIVISIONNAME$2, 0);
727                     if (target == null)
728                     {
729                       return null;
730                     }
731                     return target.getStringValue();
732                 }
733             }
734             
735             /**
736              * Gets (as xml) the "DivisionName" element
737              */
738             public gov.grants.apply.system.globalV10.StringMin1Max30Type xgetDivisionName()
739             {
740                 synchronized (monitor())
741                 {
742                     check_orphaned();
743                     gov.grants.apply.system.globalV10.StringMin1Max30Type target = null;
744                     target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().find_element_user(DIVISIONNAME$2, 0);
745                     return target;
746                 }
747             }
748             
749             /**
750              * True if has "DivisionName" element
751              */
752             public boolean isSetDivisionName()
753             {
754                 synchronized (monitor())
755                 {
756                     check_orphaned();
757                     return get_store().count_elements(DIVISIONNAME$2) != 0;
758                 }
759             }
760             
761             /**
762              * Sets the "DivisionName" element
763              */
764             public void setDivisionName(java.lang.String divisionName)
765             {
766                 synchronized (monitor())
767                 {
768                     check_orphaned();
769                     org.apache.xmlbeans.SimpleValue target = null;
770                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIVISIONNAME$2, 0);
771                     if (target == null)
772                     {
773                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DIVISIONNAME$2);
774                     }
775                     target.setStringValue(divisionName);
776                 }
777             }
778             
779             /**
780              * Sets (as xml) the "DivisionName" element
781              */
782             public void xsetDivisionName(gov.grants.apply.system.globalV10.StringMin1Max30Type divisionName)
783             {
784                 synchronized (monitor())
785                 {
786                     check_orphaned();
787                     gov.grants.apply.system.globalV10.StringMin1Max30Type target = null;
788                     target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().find_element_user(DIVISIONNAME$2, 0);
789                     if (target == null)
790                     {
791                       target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().add_element_user(DIVISIONNAME$2);
792                     }
793                     target.set(divisionName);
794                 }
795             }
796             
797             /**
798              * Unsets the "DivisionName" element
799              */
800             public void unsetDivisionName()
801             {
802                 synchronized (monitor())
803                 {
804                     check_orphaned();
805                     get_store().remove_element(DIVISIONNAME$2, 0);
806                 }
807             }
808             
809             /**
810              * Gets the "ProgramCode" element
811              */
812             public java.lang.String getProgramCode()
813             {
814                 synchronized (monitor())
815                 {
816                     check_orphaned();
817                     org.apache.xmlbeans.SimpleValue target = null;
818                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROGRAMCODE$4, 0);
819                     if (target == null)
820                     {
821                       return null;
822                     }
823                     return target.getStringValue();
824                 }
825             }
826             
827             /**
828              * Gets (as xml) the "ProgramCode" element
829              */
830             public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.ProgramCode xgetProgramCode()
831             {
832                 synchronized (monitor())
833                 {
834                     check_orphaned();
835                     gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.ProgramCode target = null;
836                     target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.ProgramCode)get_store().find_element_user(PROGRAMCODE$4, 0);
837                     return target;
838                 }
839             }
840             
841             /**
842              * Sets the "ProgramCode" element
843              */
844             public void setProgramCode(java.lang.String programCode)
845             {
846                 synchronized (monitor())
847                 {
848                     check_orphaned();
849                     org.apache.xmlbeans.SimpleValue target = null;
850                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROGRAMCODE$4, 0);
851                     if (target == null)
852                     {
853                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROGRAMCODE$4);
854                     }
855                     target.setStringValue(programCode);
856                 }
857             }
858             
859             /**
860              * Sets (as xml) the "ProgramCode" element
861              */
862             public void xsetProgramCode(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.ProgramCode programCode)
863             {
864                 synchronized (monitor())
865                 {
866                     check_orphaned();
867                     gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.ProgramCode target = null;
868                     target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.ProgramCode)get_store().find_element_user(PROGRAMCODE$4, 0);
869                     if (target == null)
870                     {
871                       target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.ProgramCode)get_store().add_element_user(PROGRAMCODE$4);
872                     }
873                     target.set(programCode);
874                 }
875             }
876             
877             /**
878              * Gets the "ProgramName" element
879              */
880             public java.lang.String getProgramName()
881             {
882                 synchronized (monitor())
883                 {
884                     check_orphaned();
885                     org.apache.xmlbeans.SimpleValue target = null;
886                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROGRAMNAME$6, 0);
887                     if (target == null)
888                     {
889                       return null;
890                     }
891                     return target.getStringValue();
892                 }
893             }
894             
895             /**
896              * Gets (as xml) the "ProgramName" element
897              */
898             public gov.grants.apply.system.globalV10.StringMin1Max30Type xgetProgramName()
899             {
900                 synchronized (monitor())
901                 {
902                     check_orphaned();
903                     gov.grants.apply.system.globalV10.StringMin1Max30Type target = null;
904                     target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().find_element_user(PROGRAMNAME$6, 0);
905                     return target;
906                 }
907             }
908             
909             /**
910              * True if has "ProgramName" element
911              */
912             public boolean isSetProgramName()
913             {
914                 synchronized (monitor())
915                 {
916                     check_orphaned();
917                     return get_store().count_elements(PROGRAMNAME$6) != 0;
918                 }
919             }
920             
921             /**
922              * Sets the "ProgramName" element
923              */
924             public void setProgramName(java.lang.String programName)
925             {
926                 synchronized (monitor())
927                 {
928                     check_orphaned();
929                     org.apache.xmlbeans.SimpleValue target = null;
930                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROGRAMNAME$6, 0);
931                     if (target == null)
932                     {
933                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROGRAMNAME$6);
934                     }
935                     target.setStringValue(programName);
936                 }
937             }
938             
939             /**
940              * Sets (as xml) the "ProgramName" element
941              */
942             public void xsetProgramName(gov.grants.apply.system.globalV10.StringMin1Max30Type programName)
943             {
944                 synchronized (monitor())
945                 {
946                     check_orphaned();
947                     gov.grants.apply.system.globalV10.StringMin1Max30Type target = null;
948                     target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().find_element_user(PROGRAMNAME$6, 0);
949                     if (target == null)
950                     {
951                       target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().add_element_user(PROGRAMNAME$6);
952                     }
953                     target.set(programName);
954                 }
955             }
956             
957             /**
958              * Unsets the "ProgramName" element
959              */
960             public void unsetProgramName()
961             {
962                 synchronized (monitor())
963                 {
964                     check_orphaned();
965                     get_store().remove_element(PROGRAMNAME$6, 0);
966                 }
967             }
968             /**
969              * An XML DivisionCode(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
970              *
971              * This is an atomic type that is a restriction of gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument$NSFCoverPage$NSFUnitConsideration$DivisionCode.
972              */
973             public static class DivisionCodeImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.DivisionCode
974             {
975                 private static final long serialVersionUID = 1L;
976                 
977                 public DivisionCodeImpl(org.apache.xmlbeans.SchemaType sType)
978                 {
979                     super(sType, false);
980                 }
981                 
982                 protected DivisionCodeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
983                 {
984                     super(sType, b);
985                 }
986             }
987             /**
988              * An XML ProgramCode(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
989              *
990              * This is an atomic type that is a restriction of gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument$NSFCoverPage$NSFUnitConsideration$ProgramCode.
991              */
992             public static class ProgramCodeImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.NSFUnitConsideration.ProgramCode
993             {
994                 private static final long serialVersionUID = 1L;
995                 
996                 public ProgramCodeImpl(org.apache.xmlbeans.SchemaType sType)
997                 {
998                     super(sType, false);
999                 }
1000                 
1001                 protected ProgramCodeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1002                 {
1003                     super(sType, b);
1004                 }
1005             }
1006         }
1007         /**
1008          * An XML PIInfo(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
1009          *
1010          * This is a complex type.
1011          */
1012         public static class PIInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo
1013         {
1014             private static final long serialVersionUID = 1L;
1015             
1016             public PIInfoImpl(org.apache.xmlbeans.SchemaType sType)
1017             {
1018                 super(sType);
1019             }
1020             
1021             private static final javax.xml.namespace.QName DEGREETYPE$0 = 
1022                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "DegreeType");
1023             private static final javax.xml.namespace.QName DEGREEYEAR$2 = 
1024                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "DegreeYear");
1025             private static final javax.xml.namespace.QName ISCURRENTPI$4 = 
1026                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "isCurrentPI");
1027             
1028             
1029             /**
1030              * Gets the "DegreeType" element
1031              */
1032             public gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType.Enum getDegreeType()
1033             {
1034                 synchronized (monitor())
1035                 {
1036                     check_orphaned();
1037                     org.apache.xmlbeans.SimpleValue target = null;
1038                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREETYPE$0, 0);
1039                     if (target == null)
1040                     {
1041                       return null;
1042                     }
1043                     return (gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType.Enum)target.getEnumValue();
1044                 }
1045             }
1046             
1047             /**
1048              * Gets (as xml) the "DegreeType" element
1049              */
1050             public gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType xgetDegreeType()
1051             {
1052                 synchronized (monitor())
1053                 {
1054                     check_orphaned();
1055                     gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType target = null;
1056                     target = (gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType)get_store().find_element_user(DEGREETYPE$0, 0);
1057                     return target;
1058                 }
1059             }
1060             
1061             /**
1062              * Sets the "DegreeType" element
1063              */
1064             public void setDegreeType(gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType.Enum degreeType)
1065             {
1066                 synchronized (monitor())
1067                 {
1068                     check_orphaned();
1069                     org.apache.xmlbeans.SimpleValue target = null;
1070                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREETYPE$0, 0);
1071                     if (target == null)
1072                     {
1073                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DEGREETYPE$0);
1074                     }
1075                     target.setEnumValue(degreeType);
1076                 }
1077             }
1078             
1079             /**
1080              * Sets (as xml) the "DegreeType" element
1081              */
1082             public void xsetDegreeType(gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType degreeType)
1083             {
1084                 synchronized (monitor())
1085                 {
1086                     check_orphaned();
1087                     gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType target = null;
1088                     target = (gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType)get_store().find_element_user(DEGREETYPE$0, 0);
1089                     if (target == null)
1090                     {
1091                       target = (gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType)get_store().add_element_user(DEGREETYPE$0);
1092                     }
1093                     target.set(degreeType);
1094                 }
1095             }
1096             
1097             /**
1098              * Gets the "DegreeYear" element
1099              */
1100             public java.util.Calendar getDegreeYear()
1101             {
1102                 synchronized (monitor())
1103                 {
1104                     check_orphaned();
1105                     org.apache.xmlbeans.SimpleValue target = null;
1106                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREEYEAR$2, 0);
1107                     if (target == null)
1108                     {
1109                       return null;
1110                     }
1111                     return target.getCalendarValue();
1112                 }
1113             }
1114             
1115             /**
1116              * Gets (as xml) the "DegreeYear" element
1117              */
1118             public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo.DegreeYear xgetDegreeYear()
1119             {
1120                 synchronized (monitor())
1121                 {
1122                     check_orphaned();
1123                     gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo.DegreeYear target = null;
1124                     target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo.DegreeYear)get_store().find_element_user(DEGREEYEAR$2, 0);
1125                     return target;
1126                 }
1127             }
1128             
1129             /**
1130              * Sets the "DegreeYear" element
1131              */
1132             public void setDegreeYear(java.util.Calendar degreeYear)
1133             {
1134                 synchronized (monitor())
1135                 {
1136                     check_orphaned();
1137                     org.apache.xmlbeans.SimpleValue target = null;
1138                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREEYEAR$2, 0);
1139                     if (target == null)
1140                     {
1141                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DEGREEYEAR$2);
1142                     }
1143                     target.setCalendarValue(degreeYear);
1144                 }
1145             }
1146             
1147             /**
1148              * Sets (as xml) the "DegreeYear" element
1149              */
1150             public void xsetDegreeYear(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo.DegreeYear degreeYear)
1151             {
1152                 synchronized (monitor())
1153                 {
1154                     check_orphaned();
1155                     gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo.DegreeYear target = null;
1156                     target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo.DegreeYear)get_store().find_element_user(DEGREEYEAR$2, 0);
1157                     if (target == null)
1158                     {
1159                       target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo.DegreeYear)get_store().add_element_user(DEGREEYEAR$2);
1160                     }
1161                     target.set(degreeYear);
1162                 }
1163             }
1164             
1165             /**
1166              * Gets the "isCurrentPI" element
1167              */
1168             public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsCurrentPI()
1169             {
1170                 synchronized (monitor())
1171                 {
1172                     check_orphaned();
1173                     org.apache.xmlbeans.SimpleValue target = null;
1174                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCURRENTPI$4, 0);
1175                     if (target == null)
1176                     {
1177                       return null;
1178                     }
1179                     return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
1180                 }
1181             }
1182             
1183             /**
1184              * Gets (as xml) the "isCurrentPI" element
1185              */
1186             public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsCurrentPI()
1187             {
1188                 synchronized (monitor())
1189                 {
1190                     check_orphaned();
1191                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
1192                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISCURRENTPI$4, 0);
1193                     return target;
1194                 }
1195             }
1196             
1197             /**
1198              * True if has "isCurrentPI" element
1199              */
1200             public boolean isSetIsCurrentPI()
1201             {
1202                 synchronized (monitor())
1203                 {
1204                     check_orphaned();
1205                     return get_store().count_elements(ISCURRENTPI$4) != 0;
1206                 }
1207             }
1208             
1209             /**
1210              * Sets the "isCurrentPI" element
1211              */
1212             public void setIsCurrentPI(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isCurrentPI)
1213             {
1214                 synchronized (monitor())
1215                 {
1216                     check_orphaned();
1217                     org.apache.xmlbeans.SimpleValue target = null;
1218                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCURRENTPI$4, 0);
1219                     if (target == null)
1220                     {
1221                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISCURRENTPI$4);
1222                     }
1223                     target.setEnumValue(isCurrentPI);
1224                 }
1225             }
1226             
1227             /**
1228              * Sets (as xml) the "isCurrentPI" element
1229              */
1230             public void xsetIsCurrentPI(gov.grants.apply.system.globalLibraryV10.YesNoDataType isCurrentPI)
1231             {
1232                 synchronized (monitor())
1233                 {
1234                     check_orphaned();
1235                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
1236                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISCURRENTPI$4, 0);
1237                     if (target == null)
1238                     {
1239                       target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISCURRENTPI$4);
1240                     }
1241                     target.set(isCurrentPI);
1242                 }
1243             }
1244             
1245             /**
1246              * Unsets the "isCurrentPI" element
1247              */
1248             public void unsetIsCurrentPI()
1249             {
1250                 synchronized (monitor())
1251                 {
1252                     check_orphaned();
1253                     get_store().remove_element(ISCURRENTPI$4, 0);
1254                 }
1255             }
1256             /**
1257              * An XML DegreeYear(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
1258              *
1259              * This is an atomic type that is a restriction of gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument$NSFCoverPage$PIInfo$DegreeYear.
1260              */
1261             public static class DegreeYearImpl extends org.apache.xmlbeans.impl.values.JavaGDateHolderEx implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.PIInfo.DegreeYear
1262             {
1263                 private static final long serialVersionUID = 1L;
1264                 
1265                 public DegreeYearImpl(org.apache.xmlbeans.SchemaType sType)
1266                 {
1267                     super(sType, false);
1268                 }
1269                 
1270                 protected DegreeYearImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1271                 {
1272                     super(sType, b);
1273                 }
1274             }
1275         }
1276         /**
1277          * An XML CoPIInfo(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
1278          *
1279          * This is a complex type.
1280          */
1281         public static class CoPIInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo
1282         {
1283             private static final long serialVersionUID = 1L;
1284             
1285             public CoPIInfoImpl(org.apache.xmlbeans.SchemaType sType)
1286             {
1287                 super(sType);
1288             }
1289             
1290             private static final javax.xml.namespace.QName COPI$0 = 
1291                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "CoPI");
1292             
1293             
1294             /**
1295              * Gets array of all "CoPI" elements
1296              */
1297             public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI[] getCoPIArray()
1298             {
1299                 synchronized (monitor())
1300                 {
1301                     check_orphaned();
1302                     java.util.List targetList = new java.util.ArrayList();
1303                     get_store().find_all_element_users(COPI$0, targetList);
1304                     gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI[] result = new gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI[targetList.size()];
1305                     targetList.toArray(result);
1306                     return result;
1307                 }
1308             }
1309             
1310             /**
1311              * Gets ith "CoPI" element
1312              */
1313             public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI getCoPIArray(int i)
1314             {
1315                 synchronized (monitor())
1316                 {
1317                     check_orphaned();
1318                     gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI target = null;
1319                     target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI)get_store().find_element_user(COPI$0, i);
1320                     if (target == null)
1321                     {
1322                       throw new IndexOutOfBoundsException();
1323                     }
1324                     return target;
1325                 }
1326             }
1327             
1328             /**
1329              * Returns number of "CoPI" element
1330              */
1331             public int sizeOfCoPIArray()
1332             {
1333                 synchronized (monitor())
1334                 {
1335                     check_orphaned();
1336                     return get_store().count_elements(COPI$0);
1337                 }
1338             }
1339             
1340             /**
1341              * Sets array of all "CoPI" element  WARNING: This method is not atomicaly synchronized.
1342              */
1343             public void setCoPIArray(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI[] coPIArray)
1344             {
1345                 check_orphaned();
1346                 arraySetterHelper(coPIArray, COPI$0);
1347             }
1348             
1349             /**
1350              * Sets ith "CoPI" element
1351              */
1352             public void setCoPIArray(int i, gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI coPI)
1353             {
1354                 generatedSetterHelperImpl(coPI, COPI$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
1355             }
1356             
1357             /**
1358              * Inserts and returns a new empty value (as xml) as the ith "CoPI" element
1359              */
1360             public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI insertNewCoPI(int i)
1361             {
1362                 synchronized (monitor())
1363                 {
1364                     check_orphaned();
1365                     gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI target = null;
1366                     target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI)get_store().insert_element_user(COPI$0, i);
1367                     return target;
1368                 }
1369             }
1370             
1371             /**
1372              * Appends and returns a new empty value (as xml) as the last "CoPI" element
1373              */
1374             public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI addNewCoPI()
1375             {
1376                 synchronized (monitor())
1377                 {
1378                     check_orphaned();
1379                     gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI target = null;
1380                     target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI)get_store().add_element_user(COPI$0);
1381                     return target;
1382                 }
1383             }
1384             
1385             /**
1386              * Removes the ith "CoPI" element
1387              */
1388             public void removeCoPI(int i)
1389             {
1390                 synchronized (monitor())
1391                 {
1392                     check_orphaned();
1393                     get_store().remove_element(COPI$0, i);
1394                 }
1395             }
1396             /**
1397              * An XML CoPI(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
1398              *
1399              * This is a complex type.
1400              */
1401             public static class CoPIImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI
1402             {
1403                 private static final long serialVersionUID = 1L;
1404                 
1405                 public CoPIImpl(org.apache.xmlbeans.SchemaType sType)
1406                 {
1407                     super(sType);
1408                 }
1409                 
1410                 private static final javax.xml.namespace.QName NAME$0 = 
1411                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "Name");
1412                 private static final javax.xml.namespace.QName DEGREETYPE$2 = 
1413                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "DegreeType");
1414                 private static final javax.xml.namespace.QName DEGREEYEAR$4 = 
1415                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "DegreeYear");
1416                 
1417                 
1418                 /**
1419                  * Gets the "Name" element
1420                  */
1421                 public gov.grants.apply.system.globalLibraryV10.HumanNameDataType getName()
1422                 {
1423                     synchronized (monitor())
1424                     {
1425                       check_orphaned();
1426                       gov.grants.apply.system.globalLibraryV10.HumanNameDataType target = null;
1427                       target = (gov.grants.apply.system.globalLibraryV10.HumanNameDataType)get_store().find_element_user(NAME$0, 0);
1428                       if (target == null)
1429                       {
1430                         return null;
1431                       }
1432                       return target;
1433                     }
1434                 }
1435                 
1436                 /**
1437                  * Sets the "Name" element
1438                  */
1439                 public void setName(gov.grants.apply.system.globalLibraryV10.HumanNameDataType name)
1440                 {
1441                     generatedSetterHelperImpl(name, NAME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1442                 }
1443                 
1444                 /**
1445                  * Appends and returns a new empty "Name" element
1446                  */
1447                 public gov.grants.apply.system.globalLibraryV10.HumanNameDataType addNewName()
1448                 {
1449                     synchronized (monitor())
1450                     {
1451                       check_orphaned();
1452                       gov.grants.apply.system.globalLibraryV10.HumanNameDataType target = null;
1453                       target = (gov.grants.apply.system.globalLibraryV10.HumanNameDataType)get_store().add_element_user(NAME$0);
1454                       return target;
1455                     }
1456                 }
1457                 
1458                 /**
1459                  * Gets the "DegreeType" element
1460                  */
1461                 public gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType.Enum getDegreeType()
1462                 {
1463                     synchronized (monitor())
1464                     {
1465                       check_orphaned();
1466                       org.apache.xmlbeans.SimpleValue target = null;
1467                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREETYPE$2, 0);
1468                       if (target == null)
1469                       {
1470                         return null;
1471                       }
1472                       return (gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType.Enum)target.getEnumValue();
1473                     }
1474                 }
1475                 
1476                 /**
1477                  * Gets (as xml) the "DegreeType" element
1478                  */
1479                 public gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType xgetDegreeType()
1480                 {
1481                     synchronized (monitor())
1482                     {
1483                       check_orphaned();
1484                       gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType target = null;
1485                       target = (gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType)get_store().find_element_user(DEGREETYPE$2, 0);
1486                       return target;
1487                     }
1488                 }
1489                 
1490                 /**
1491                  * True if has "DegreeType" element
1492                  */
1493                 public boolean isSetDegreeType()
1494                 {
1495                     synchronized (monitor())
1496                     {
1497                       check_orphaned();
1498                       return get_store().count_elements(DEGREETYPE$2) != 0;
1499                     }
1500                 }
1501                 
1502                 /**
1503                  * Sets the "DegreeType" element
1504                  */
1505                 public void setDegreeType(gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType.Enum degreeType)
1506                 {
1507                     synchronized (monitor())
1508                     {
1509                       check_orphaned();
1510                       org.apache.xmlbeans.SimpleValue target = null;
1511                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREETYPE$2, 0);
1512                       if (target == null)
1513                       {
1514                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DEGREETYPE$2);
1515                       }
1516                       target.setEnumValue(degreeType);
1517                     }
1518                 }
1519                 
1520                 /**
1521                  * Sets (as xml) the "DegreeType" element
1522                  */
1523                 public void xsetDegreeType(gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType degreeType)
1524                 {
1525                     synchronized (monitor())
1526                     {
1527                       check_orphaned();
1528                       gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType target = null;
1529                       target = (gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType)get_store().find_element_user(DEGREETYPE$2, 0);
1530                       if (target == null)
1531                       {
1532                         target = (gov.grants.apply.forms.nsfCoverPageV10.DegreeTypeDataType)get_store().add_element_user(DEGREETYPE$2);
1533                       }
1534                       target.set(degreeType);
1535                     }
1536                 }
1537                 
1538                 /**
1539                  * Unsets the "DegreeType" element
1540                  */
1541                 public void unsetDegreeType()
1542                 {
1543                     synchronized (monitor())
1544                     {
1545                       check_orphaned();
1546                       get_store().remove_element(DEGREETYPE$2, 0);
1547                     }
1548                 }
1549                 
1550                 /**
1551                  * Gets the "DegreeYear" element
1552                  */
1553                 public java.util.Calendar getDegreeYear()
1554                 {
1555                     synchronized (monitor())
1556                     {
1557                       check_orphaned();
1558                       org.apache.xmlbeans.SimpleValue target = null;
1559                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREEYEAR$4, 0);
1560                       if (target == null)
1561                       {
1562                         return null;
1563                       }
1564                       return target.getCalendarValue();
1565                     }
1566                 }
1567                 
1568                 /**
1569                  * Gets (as xml) the "DegreeYear" element
1570                  */
1571                 public gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI.DegreeYear xgetDegreeYear()
1572                 {
1573                     synchronized (monitor())
1574                     {
1575                       check_orphaned();
1576                       gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI.DegreeYear target = null;
1577                       target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI.DegreeYear)get_store().find_element_user(DEGREEYEAR$4, 0);
1578                       return target;
1579                     }
1580                 }
1581                 
1582                 /**
1583                  * True if has "DegreeYear" element
1584                  */
1585                 public boolean isSetDegreeYear()
1586                 {
1587                     synchronized (monitor())
1588                     {
1589                       check_orphaned();
1590                       return get_store().count_elements(DEGREEYEAR$4) != 0;
1591                     }
1592                 }
1593                 
1594                 /**
1595                  * Sets the "DegreeYear" element
1596                  */
1597                 public void setDegreeYear(java.util.Calendar degreeYear)
1598                 {
1599                     synchronized (monitor())
1600                     {
1601                       check_orphaned();
1602                       org.apache.xmlbeans.SimpleValue target = null;
1603                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREEYEAR$4, 0);
1604                       if (target == null)
1605                       {
1606                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DEGREEYEAR$4);
1607                       }
1608                       target.setCalendarValue(degreeYear);
1609                     }
1610                 }
1611                 
1612                 /**
1613                  * Sets (as xml) the "DegreeYear" element
1614                  */
1615                 public void xsetDegreeYear(gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI.DegreeYear degreeYear)
1616                 {
1617                     synchronized (monitor())
1618                     {
1619                       check_orphaned();
1620                       gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI.DegreeYear target = null;
1621                       target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI.DegreeYear)get_store().find_element_user(DEGREEYEAR$4, 0);
1622                       if (target == null)
1623                       {
1624                         target = (gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI.DegreeYear)get_store().add_element_user(DEGREEYEAR$4);
1625                       }
1626                       target.set(degreeYear);
1627                     }
1628                 }
1629                 
1630                 /**
1631                  * Unsets the "DegreeYear" element
1632                  */
1633                 public void unsetDegreeYear()
1634                 {
1635                     synchronized (monitor())
1636                     {
1637                       check_orphaned();
1638                       get_store().remove_element(DEGREEYEAR$4, 0);
1639                     }
1640                 }
1641                 /**
1642                  * An XML DegreeYear(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
1643                  *
1644                  * This is an atomic type that is a restriction of gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument$NSFCoverPage$CoPIInfo$CoPI$DegreeYear.
1645                  */
1646                 public static class DegreeYearImpl extends org.apache.xmlbeans.impl.values.JavaGDateHolderEx implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.CoPIInfo.CoPI.DegreeYear
1647                 {
1648                     private static final long serialVersionUID = 1L;
1649                     
1650                     public DegreeYearImpl(org.apache.xmlbeans.SchemaType sType)
1651                     {
1652                       super(sType, false);
1653                     }
1654                     
1655                     protected DegreeYearImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1656                     {
1657                       super(sType, b);
1658                     }
1659                 }
1660             }
1661         }
1662         /**
1663          * An XML OtherInfo(@http://apply.grants.gov/forms/NSF_CoverPage-V1.0).
1664          *
1665          * This is a complex type.
1666          */
1667         public static class OtherInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nsfCoverPageV10.NSFCoverPageDocument.NSFCoverPage.OtherInfo
1668         {
1669             private static final long serialVersionUID = 1L;
1670             
1671             public OtherInfoImpl(org.apache.xmlbeans.SchemaType sType)
1672             {
1673                 super(sType);
1674             }
1675             
1676             private static final javax.xml.namespace.QName ISBEGININVESTIGATOR$0 = 
1677                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "isBeginInvestigator");
1678             private static final javax.xml.namespace.QName ISDISCLOSURELOBBYINGACTIVITIES$2 = 
1679                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "isDisclosureLobbyingActivities");
1680             private static final javax.xml.namespace.QName ISEXPLORATORYRESEARCH$4 = 
1681                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "isExploratoryResearch");
1682             private static final javax.xml.namespace.QName ISHISTORICPLACES$6 = 
1683                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "isHistoricPlaces");
1684             private static final javax.xml.namespace.QName ISACCOMPLISHMENTRENEWAL$8 = 
1685                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "isAccomplishmentRenewal");
1686             private static final javax.xml.namespace.QName ISHIGHRESOLUTIONGRAPHICS$10 = 
1687                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_CoverPage-V1.0", "isHighResolutionGraphics");
1688             
1689             
1690             /**
1691              * Gets the "isBeginInvestigator" element
1692              */
1693             public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsBeginInvestigator()
1694             {
1695                 synchronized (monitor())
1696                 {
1697                     check_orphaned();
1698                     org.apache.xmlbeans.SimpleValue target = null;
1699                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISBEGININVESTIGATOR$0, 0);
1700                     if (target == null)
1701                     {
1702                       return null;
1703                     }
1704                     return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
1705                 }
1706             }
1707             
1708             /**
1709              * Gets (as xml) the "isBeginInvestigator" element
1710              */
1711             public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsBeginInvestigator()
1712             {
1713                 synchronized (monitor())
1714                 {
1715                     check_orphaned();
1716                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
1717                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISBEGININVESTIGATOR$0, 0);
1718                     return target;
1719                 }
1720             }
1721             
1722             /**
1723              * True if has "isBeginInvestigator" element
1724              */
1725             public boolean isSetIsBeginInvestigator()
1726             {
1727                 synchronized (monitor())
1728                 {
1729                     check_orphaned();
1730                     return get_store().count_elements(ISBEGININVESTIGATOR$0) != 0;
1731                 }
1732             }
1733             
1734             /**
1735              * Sets the "isBeginInvestigator" element
1736              */
1737             public void setIsBeginInvestigator(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isBeginInvestigator)
1738             {
1739                 synchronized (monitor())
1740                 {
1741                     check_orphaned();
1742                     org.apache.xmlbeans.SimpleValue target = null;
1743                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISBEGININVESTIGATOR$0, 0);
1744                     if (target == null)
1745                     {
1746                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISBEGININVESTIGATOR$0);
1747                     }
1748                     target.setEnumValue(isBeginInvestigator);
1749                 }
1750             }
1751             
1752             /**
1753              * Sets (as xml) the "isBeginInvestigator" element
1754              */
1755             public void xsetIsBeginInvestigator(gov.grants.apply.system.globalLibraryV10.YesNoDataType isBeginInvestigator)
1756             {
1757                 synchronized (monitor())
1758                 {
1759                     check_orphaned();
1760                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
1761                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISBEGININVESTIGATOR$0, 0);
1762                     if (target == null)
1763                     {
1764                       target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISBEGININVESTIGATOR$0);
1765                     }
1766                     target.set(isBeginInvestigator);
1767                 }
1768             }
1769             
1770             /**
1771              * Unsets the "isBeginInvestigator" element
1772              */
1773             public void unsetIsBeginInvestigator()
1774             {
1775                 synchronized (monitor())
1776                 {
1777                     check_orphaned();
1778                     get_store().remove_element(ISBEGININVESTIGATOR$0, 0);
1779                 }
1780             }
1781             
1782             /**
1783              * Gets the "isDisclosureLobbyingActivities" element
1784              */
1785             public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsDisclosureLobbyingActivities()
1786             {
1787                 synchronized (monitor())
1788                 {
1789                     check_orphaned();
1790                     org.apache.xmlbeans.SimpleValue target = null;
1791                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISDISCLOSURELOBBYINGACTIVITIES$2, 0);
1792                     if (target == null)
1793                     {
1794                       return null;
1795                     }
1796                     return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
1797                 }
1798             }
1799             
1800             /**
1801              * Gets (as xml) the "isDisclosureLobbyingActivities" element
1802              */
1803             public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsDisclosureLobbyingActivities()
1804             {
1805                 synchronized (monitor())
1806                 {
1807                     check_orphaned();
1808                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
1809                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISDISCLOSURELOBBYINGACTIVITIES$2, 0);
1810                     return target;
1811                 }
1812             }
1813             
1814             /**
1815              * True if has "isDisclosureLobbyingActivities" element
1816              */
1817             public boolean isSetIsDisclosureLobbyingActivities()
1818             {
1819                 synchronized (monitor())
1820                 {
1821                     check_orphaned();
1822                     return get_store().count_elements(ISDISCLOSURELOBBYINGACTIVITIES$2) != 0;
1823                 }
1824             }
1825             
1826             /**
1827              * Sets the "isDisclosureLobbyingActivities" element
1828              */
1829             public void setIsDisclosureLobbyingActivities(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isDisclosureLobbyingActivities)
1830             {
1831                 synchronized (monitor())
1832                 {
1833                     check_orphaned();
1834                     org.apache.xmlbeans.SimpleValue target = null;
1835                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISDISCLOSURELOBBYINGACTIVITIES$2, 0);
1836                     if (target == null)
1837                     {
1838                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISDISCLOSURELOBBYINGACTIVITIES$2);
1839                     }
1840                     target.setEnumValue(isDisclosureLobbyingActivities);
1841                 }
1842             }
1843             
1844             /**
1845              * Sets (as xml) the "isDisclosureLobbyingActivities" element
1846              */
1847             public void xsetIsDisclosureLobbyingActivities(gov.grants.apply.system.globalLibraryV10.YesNoDataType isDisclosureLobbyingActivities)
1848             {
1849                 synchronized (monitor())
1850                 {
1851                     check_orphaned();
1852                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
1853                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISDISCLOSURELOBBYINGACTIVITIES$2, 0);
1854                     if (target == null)
1855                     {
1856                       target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISDISCLOSURELOBBYINGACTIVITIES$2);
1857                     }
1858                     target.set(isDisclosureLobbyingActivities);
1859                 }
1860             }
1861             
1862             /**
1863              * Unsets the "isDisclosureLobbyingActivities" element
1864              */
1865             public void unsetIsDisclosureLobbyingActivities()
1866             {
1867                 synchronized (monitor())
1868                 {
1869                     check_orphaned();
1870                     get_store().remove_element(ISDISCLOSURELOBBYINGACTIVITIES$2, 0);
1871                 }
1872             }
1873             
1874             /**
1875              * Gets the "isExploratoryResearch" element
1876              */
1877             public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsExploratoryResearch()
1878             {
1879                 synchronized (monitor())
1880                 {
1881                     check_orphaned();
1882                     org.apache.xmlbeans.SimpleValue target = null;
1883                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISEXPLORATORYRESEARCH$4, 0);
1884                     if (target == null)
1885                     {
1886                       return null;
1887                     }
1888                     return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
1889                 }
1890             }
1891             
1892             /**
1893              * Gets (as xml) the "isExploratoryResearch" element
1894              */
1895             public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsExploratoryResearch()
1896             {
1897                 synchronized (monitor())
1898                 {
1899                     check_orphaned();
1900                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
1901                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISEXPLORATORYRESEARCH$4, 0);
1902                     return target;
1903                 }
1904             }
1905             
1906             /**
1907              * True if has "isExploratoryResearch" element
1908              */
1909             public boolean isSetIsExploratoryResearch()
1910             {
1911                 synchronized (monitor())
1912                 {
1913                     check_orphaned();
1914                     return get_store().count_elements(ISEXPLORATORYRESEARCH$4) != 0;
1915                 }
1916             }
1917             
1918             /**
1919              * Sets the "isExploratoryResearch" element
1920              */
1921             public void setIsExploratoryResearch(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isExploratoryResearch)
1922             {
1923                 synchronized (monitor())
1924                 {
1925                     check_orphaned();
1926                     org.apache.xmlbeans.SimpleValue target = null;
1927                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISEXPLORATORYRESEARCH$4, 0);
1928                     if (target == null)
1929                     {
1930                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISEXPLORATORYRESEARCH$4);
1931                     }
1932                     target.setEnumValue(isExploratoryResearch);
1933                 }
1934             }
1935             
1936             /**
1937              * Sets (as xml) the "isExploratoryResearch" element
1938              */
1939             public void xsetIsExploratoryResearch(gov.grants.apply.system.globalLibraryV10.YesNoDataType isExploratoryResearch)
1940             {
1941                 synchronized (monitor())
1942                 {
1943                     check_orphaned();
1944                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
1945                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISEXPLORATORYRESEARCH$4, 0);
1946                     if (target == null)
1947                     {
1948                       target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISEXPLORATORYRESEARCH$4);
1949                     }
1950                     target.set(isExploratoryResearch);
1951                 }
1952             }
1953             
1954             /**
1955              * Unsets the "isExploratoryResearch" element
1956              */
1957             public void unsetIsExploratoryResearch()
1958             {
1959                 synchronized (monitor())
1960                 {
1961                     check_orphaned();
1962                     get_store().remove_element(ISEXPLORATORYRESEARCH$4, 0);
1963                 }
1964             }
1965             
1966             /**
1967              * Gets the "isHistoricPlaces" element
1968              */
1969             public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsHistoricPlaces()
1970             {
1971                 synchronized (monitor())
1972                 {
1973                     check_orphaned();
1974                     org.apache.xmlbeans.SimpleValue target = null;
1975                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISHISTORICPLACES$6, 0);
1976                     if (target == null)
1977                     {
1978                       return null;
1979                     }
1980                     return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
1981                 }
1982             }
1983             
1984             /**
1985              * Gets (as xml) the "isHistoricPlaces" element
1986              */
1987             public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsHistoricPlaces()
1988             {
1989                 synchronized (monitor())
1990                 {
1991                     check_orphaned();
1992                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
1993                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISHISTORICPLACES$6, 0);
1994                     return target;
1995                 }
1996             }
1997             
1998             /**
1999              * True if has "isHistoricPlaces" element
2000              */
2001             public boolean isSetIsHistoricPlaces()
2002             {
2003                 synchronized (monitor())
2004                 {
2005                     check_orphaned();
2006                     return get_store().count_elements(ISHISTORICPLACES$6) != 0;
2007                 }
2008             }
2009             
2010             /**
2011              * Sets the "isHistoricPlaces" element
2012              */
2013             public void setIsHistoricPlaces(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isHistoricPlaces)
2014             {
2015                 synchronized (monitor())
2016                 {
2017                     check_orphaned();
2018                     org.apache.xmlbeans.SimpleValue target = null;
2019                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISHISTORICPLACES$6, 0);
2020                     if (target == null)
2021                     {
2022                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISHISTORICPLACES$6);
2023                     }
2024                     target.setEnumValue(isHistoricPlaces);
2025                 }
2026             }
2027             
2028             /**
2029              * Sets (as xml) the "isHistoricPlaces" element
2030              */
2031             public void xsetIsHistoricPlaces(gov.grants.apply.system.globalLibraryV10.YesNoDataType isHistoricPlaces)
2032             {
2033                 synchronized (monitor())
2034                 {
2035                     check_orphaned();
2036                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
2037                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISHISTORICPLACES$6, 0);
2038                     if (target == null)
2039                     {
2040                       target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISHISTORICPLACES$6);
2041                     }
2042                     target.set(isHistoricPlaces);
2043                 }
2044             }
2045             
2046             /**
2047              * Unsets the "isHistoricPlaces" element
2048              */
2049             public void unsetIsHistoricPlaces()
2050             {
2051                 synchronized (monitor())
2052                 {
2053                     check_orphaned();
2054                     get_store().remove_element(ISHISTORICPLACES$6, 0);
2055                 }
2056             }
2057             
2058             /**
2059              * Gets the "isAccomplishmentRenewal" element
2060              */
2061             public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsAccomplishmentRenewal()
2062             {
2063                 synchronized (monitor())
2064                 {
2065                     check_orphaned();
2066                     org.apache.xmlbeans.SimpleValue target = null;
2067                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISACCOMPLISHMENTRENEWAL$8, 0);
2068                     if (target == null)
2069                     {
2070                       return null;
2071                     }
2072                     return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
2073                 }
2074             }
2075             
2076             /**
2077              * Gets (as xml) the "isAccomplishmentRenewal" element
2078              */
2079             public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsAccomplishmentRenewal()
2080             {
2081                 synchronized (monitor())
2082                 {
2083                     check_orphaned();
2084                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
2085                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISACCOMPLISHMENTRENEWAL$8, 0);
2086                     return target;
2087                 }
2088             }
2089             
2090             /**
2091              * True if has "isAccomplishmentRenewal" element
2092              */
2093             public boolean isSetIsAccomplishmentRenewal()
2094             {
2095                 synchronized (monitor())
2096                 {
2097                     check_orphaned();
2098                     return get_store().count_elements(ISACCOMPLISHMENTRENEWAL$8) != 0;
2099                 }
2100             }
2101             
2102             /**
2103              * Sets the "isAccomplishmentRenewal" element
2104              */
2105             public void setIsAccomplishmentRenewal(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isAccomplishmentRenewal)
2106             {
2107                 synchronized (monitor())
2108                 {
2109                     check_orphaned();
2110                     org.apache.xmlbeans.SimpleValue target = null;
2111                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISACCOMPLISHMENTRENEWAL$8, 0);
2112                     if (target == null)
2113                     {
2114                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISACCOMPLISHMENTRENEWAL$8);
2115                     }
2116                     target.setEnumValue(isAccomplishmentRenewal);
2117                 }
2118             }
2119             
2120             /**
2121              * Sets (as xml) the "isAccomplishmentRenewal" element
2122              */
2123             public void xsetIsAccomplishmentRenewal(gov.grants.apply.system.globalLibraryV10.YesNoDataType isAccomplishmentRenewal)
2124             {
2125                 synchronized (monitor())
2126                 {
2127                     check_orphaned();
2128                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
2129                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISACCOMPLISHMENTRENEWAL$8, 0);
2130                     if (target == null)
2131                     {
2132                       target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISACCOMPLISHMENTRENEWAL$8);
2133                     }
2134                     target.set(isAccomplishmentRenewal);
2135                 }
2136             }
2137             
2138             /**
2139              * Unsets the "isAccomplishmentRenewal" element
2140              */
2141             public void unsetIsAccomplishmentRenewal()
2142             {
2143                 synchronized (monitor())
2144                 {
2145                     check_orphaned();
2146                     get_store().remove_element(ISACCOMPLISHMENTRENEWAL$8, 0);
2147                 }
2148             }
2149             
2150             /**
2151              * Gets the "isHighResolutionGraphics" element
2152              */
2153             public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsHighResolutionGraphics()
2154             {
2155                 synchronized (monitor())
2156                 {
2157                     check_orphaned();
2158                     org.apache.xmlbeans.SimpleValue target = null;
2159                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISHIGHRESOLUTIONGRAPHICS$10, 0);
2160                     if (target == null)
2161                     {
2162                       return null;
2163                     }
2164                     return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
2165                 }
2166             }
2167             
2168             /**
2169              * Gets (as xml) the "isHighResolutionGraphics" element
2170              */
2171             public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsHighResolutionGraphics()
2172             {
2173                 synchronized (monitor())
2174                 {
2175                     check_orphaned();
2176                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
2177                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISHIGHRESOLUTIONGRAPHICS$10, 0);
2178                     return target;
2179                 }
2180             }
2181             
2182             /**
2183              * True if has "isHighResolutionGraphics" element
2184              */
2185             public boolean isSetIsHighResolutionGraphics()
2186             {
2187                 synchronized (monitor())
2188                 {
2189                     check_orphaned();
2190                     return get_store().count_elements(ISHIGHRESOLUTIONGRAPHICS$10) != 0;
2191                 }
2192             }
2193             
2194             /**
2195              * Sets the "isHighResolutionGraphics" element
2196              */
2197             public void setIsHighResolutionGraphics(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isHighResolutionGraphics)
2198             {
2199                 synchronized (monitor())
2200                 {
2201                     check_orphaned();
2202                     org.apache.xmlbeans.SimpleValue target = null;
2203                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISHIGHRESOLUTIONGRAPHICS$10, 0);
2204                     if (target == null)
2205                     {
2206                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISHIGHRESOLUTIONGRAPHICS$10);
2207                     }
2208                     target.setEnumValue(isHighResolutionGraphics);
2209                 }
2210             }
2211             
2212             /**
2213              * Sets (as xml) the "isHighResolutionGraphics" element
2214              */
2215             public void xsetIsHighResolutionGraphics(gov.grants.apply.system.globalLibraryV10.YesNoDataType isHighResolutionGraphics)
2216             {
2217                 synchronized (monitor())
2218                 {
2219                     check_orphaned();
2220                     gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
2221                     target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISHIGHRESOLUTIONGRAPHICS$10, 0);
2222                     if (target == null)
2223                     {
2224                       target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISHIGHRESOLUTIONGRAPHICS$10);
2225                     }
2226                     target.set(isHighResolutionGraphics);
2227                 }
2228             }
2229             
2230             /**
2231              * Unsets the "isHighResolutionGraphics" element
2232              */
2233             public void unsetIsHighResolutionGraphics()
2234             {
2235                 synchronized (monitor())
2236                 {
2237                     check_orphaned();
2238                     get_store().remove_element(ISHIGHRESOLUTIONGRAPHICS$10, 0);
2239                 }
2240             }
2241         }
2242     }
2243 }