View Javadoc
1   /*
2    * An XML document type.
3    * Localname: NEHInstitutionalProfile
4    * Namespace: http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0
5    * Java type: gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.nehInstitutionalProfileV10.impl;
10  /**
11   * A document containing one NEHInstitutionalProfile(@http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class NEHInstitutionalProfileDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public NEHInstitutionalProfileDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName NEHINSTITUTIONALPROFILE$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0", "NEHInstitutionalProfile");
26      
27      
28      /**
29       * Gets the "NEHInstitutionalProfile" element
30       */
31      public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile getNEHInstitutionalProfile()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile target = null;
37              target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile)get_store().find_element_user(NEHINSTITUTIONALPROFILE$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "NEHInstitutionalProfile" element
48       */
49      public void setNEHInstitutionalProfile(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile nehInstitutionalProfile)
50      {
51          generatedSetterHelperImpl(nehInstitutionalProfile, NEHINSTITUTIONALPROFILE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "NEHInstitutionalProfile" element
56       */
57      public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile addNewNEHInstitutionalProfile()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile target = null;
63              target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile)get_store().add_element_user(NEHINSTITUTIONALPROFILE$0);
64              return target;
65          }
66      }
67      /**
68       * An XML NEHInstitutionalProfile(@http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0).
69       *
70       * This is a complex type.
71       */
72      public static class NEHInstitutionalProfileImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public NEHInstitutionalProfileImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName OPERATINGBUDGET$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0", "OperatingBudget");
83          private static final javax.xml.namespace.QName FULLTIMESTAFF$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0", "FullTimeStaff");
85          private static final javax.xml.namespace.QName PARTTIMESTAFF$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0", "PartTimeStaff");
87          private static final javax.xml.namespace.QName VOLUNTEERS$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0", "Volunteers");
89          private static final javax.xml.namespace.QName DAYSOPEN$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0", "DaysOpen");
91          private static final javax.xml.namespace.QName NEWTOAGENCY$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0", "NewToAgency");
93          private static final javax.xml.namespace.QName NEWTOPROGRAM$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0", "NewToProgram");
95          private static final javax.xml.namespace.QName FORMVERSION$14 = 
96              new javax.xml.namespace.QName("http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0", "FormVersion");
97          
98          
99          /**
100          * Gets the "OperatingBudget" element
101          */
102         public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget.Enum getOperatingBudget()
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(OPERATINGBUDGET$0, 0);
109                 if (target == null)
110                 {
111                     return null;
112                 }
113                 return (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget.Enum)target.getEnumValue();
114             }
115         }
116         
117         /**
118          * Gets (as xml) the "OperatingBudget" element
119          */
120         public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget xgetOperatingBudget()
121         {
122             synchronized (monitor())
123             {
124                 check_orphaned();
125                 gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget target = null;
126                 target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget)get_store().find_element_user(OPERATINGBUDGET$0, 0);
127                 return target;
128             }
129         }
130         
131         /**
132          * Sets the "OperatingBudget" element
133          */
134         public void setOperatingBudget(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget.Enum operatingBudget)
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(OPERATINGBUDGET$0, 0);
141                 if (target == null)
142                 {
143                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OPERATINGBUDGET$0);
144                 }
145                 target.setEnumValue(operatingBudget);
146             }
147         }
148         
149         /**
150          * Sets (as xml) the "OperatingBudget" element
151          */
152         public void xsetOperatingBudget(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget operatingBudget)
153         {
154             synchronized (monitor())
155             {
156                 check_orphaned();
157                 gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget target = null;
158                 target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget)get_store().find_element_user(OPERATINGBUDGET$0, 0);
159                 if (target == null)
160                 {
161                     target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget)get_store().add_element_user(OPERATINGBUDGET$0);
162                 }
163                 target.set(operatingBudget);
164             }
165         }
166         
167         /**
168          * Gets the "FullTimeStaff" element
169          */
170         public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType.Enum getFullTimeStaff()
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(FULLTIMESTAFF$2, 0);
177                 if (target == null)
178                 {
179                     return null;
180                 }
181                 return (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType.Enum)target.getEnumValue();
182             }
183         }
184         
185         /**
186          * Gets (as xml) the "FullTimeStaff" element
187          */
188         public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType xgetFullTimeStaff()
189         {
190             synchronized (monitor())
191             {
192                 check_orphaned();
193                 gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType target = null;
194                 target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType)get_store().find_element_user(FULLTIMESTAFF$2, 0);
195                 return target;
196             }
197         }
198         
199         /**
200          * Sets the "FullTimeStaff" element
201          */
202         public void setFullTimeStaff(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType.Enum fullTimeStaff)
203         {
204             synchronized (monitor())
205             {
206                 check_orphaned();
207                 org.apache.xmlbeans.SimpleValue target = null;
208                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FULLTIMESTAFF$2, 0);
209                 if (target == null)
210                 {
211                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FULLTIMESTAFF$2);
212                 }
213                 target.setEnumValue(fullTimeStaff);
214             }
215         }
216         
217         /**
218          * Sets (as xml) the "FullTimeStaff" element
219          */
220         public void xsetFullTimeStaff(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType fullTimeStaff)
221         {
222             synchronized (monitor())
223             {
224                 check_orphaned();
225                 gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType target = null;
226                 target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType)get_store().find_element_user(FULLTIMESTAFF$2, 0);
227                 if (target == null)
228                 {
229                     target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType)get_store().add_element_user(FULLTIMESTAFF$2);
230                 }
231                 target.set(fullTimeStaff);
232             }
233         }
234         
235         /**
236          * Gets the "PartTimeStaff" element
237          */
238         public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType.Enum getPartTimeStaff()
239         {
240             synchronized (monitor())
241             {
242                 check_orphaned();
243                 org.apache.xmlbeans.SimpleValue target = null;
244                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PARTTIMESTAFF$4, 0);
245                 if (target == null)
246                 {
247                     return null;
248                 }
249                 return (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType.Enum)target.getEnumValue();
250             }
251         }
252         
253         /**
254          * Gets (as xml) the "PartTimeStaff" element
255          */
256         public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType xgetPartTimeStaff()
257         {
258             synchronized (monitor())
259             {
260                 check_orphaned();
261                 gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType target = null;
262                 target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType)get_store().find_element_user(PARTTIMESTAFF$4, 0);
263                 return target;
264             }
265         }
266         
267         /**
268          * Sets the "PartTimeStaff" element
269          */
270         public void setPartTimeStaff(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType.Enum partTimeStaff)
271         {
272             synchronized (monitor())
273             {
274                 check_orphaned();
275                 org.apache.xmlbeans.SimpleValue target = null;
276                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PARTTIMESTAFF$4, 0);
277                 if (target == null)
278                 {
279                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PARTTIMESTAFF$4);
280                 }
281                 target.setEnumValue(partTimeStaff);
282             }
283         }
284         
285         /**
286          * Sets (as xml) the "PartTimeStaff" element
287          */
288         public void xsetPartTimeStaff(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType partTimeStaff)
289         {
290             synchronized (monitor())
291             {
292                 check_orphaned();
293                 gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType target = null;
294                 target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType)get_store().find_element_user(PARTTIMESTAFF$4, 0);
295                 if (target == null)
296                 {
297                     target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType)get_store().add_element_user(PARTTIMESTAFF$4);
298                 }
299                 target.set(partTimeStaff);
300             }
301         }
302         
303         /**
304          * Gets the "Volunteers" element
305          */
306         public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType.Enum getVolunteers()
307         {
308             synchronized (monitor())
309             {
310                 check_orphaned();
311                 org.apache.xmlbeans.SimpleValue target = null;
312                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VOLUNTEERS$6, 0);
313                 if (target == null)
314                 {
315                     return null;
316                 }
317                 return (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType.Enum)target.getEnumValue();
318             }
319         }
320         
321         /**
322          * Gets (as xml) the "Volunteers" element
323          */
324         public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType xgetVolunteers()
325         {
326             synchronized (monitor())
327             {
328                 check_orphaned();
329                 gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType target = null;
330                 target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType)get_store().find_element_user(VOLUNTEERS$6, 0);
331                 return target;
332             }
333         }
334         
335         /**
336          * Sets the "Volunteers" element
337          */
338         public void setVolunteers(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType.Enum volunteers)
339         {
340             synchronized (monitor())
341             {
342                 check_orphaned();
343                 org.apache.xmlbeans.SimpleValue target = null;
344                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VOLUNTEERS$6, 0);
345                 if (target == null)
346                 {
347                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VOLUNTEERS$6);
348                 }
349                 target.setEnumValue(volunteers);
350             }
351         }
352         
353         /**
354          * Sets (as xml) the "Volunteers" element
355          */
356         public void xsetVolunteers(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType volunteers)
357         {
358             synchronized (monitor())
359             {
360                 check_orphaned();
361                 gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType target = null;
362                 target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType)get_store().find_element_user(VOLUNTEERS$6, 0);
363                 if (target == null)
364                 {
365                     target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileStaffDataType)get_store().add_element_user(VOLUNTEERS$6);
366                 }
367                 target.set(volunteers);
368             }
369         }
370         
371         /**
372          * Gets the "DaysOpen" element
373          */
374         public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen.Enum getDaysOpen()
375         {
376             synchronized (monitor())
377             {
378                 check_orphaned();
379                 org.apache.xmlbeans.SimpleValue target = null;
380                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DAYSOPEN$8, 0);
381                 if (target == null)
382                 {
383                     return null;
384                 }
385                 return (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen.Enum)target.getEnumValue();
386             }
387         }
388         
389         /**
390          * Gets (as xml) the "DaysOpen" element
391          */
392         public gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen xgetDaysOpen()
393         {
394             synchronized (monitor())
395             {
396                 check_orphaned();
397                 gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen target = null;
398                 target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen)get_store().find_element_user(DAYSOPEN$8, 0);
399                 return target;
400             }
401         }
402         
403         /**
404          * Sets the "DaysOpen" element
405          */
406         public void setDaysOpen(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen.Enum daysOpen)
407         {
408             synchronized (monitor())
409             {
410                 check_orphaned();
411                 org.apache.xmlbeans.SimpleValue target = null;
412                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DAYSOPEN$8, 0);
413                 if (target == null)
414                 {
415                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DAYSOPEN$8);
416                 }
417                 target.setEnumValue(daysOpen);
418             }
419         }
420         
421         /**
422          * Sets (as xml) the "DaysOpen" element
423          */
424         public void xsetDaysOpen(gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen daysOpen)
425         {
426             synchronized (monitor())
427             {
428                 check_orphaned();
429                 gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen target = null;
430                 target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen)get_store().find_element_user(DAYSOPEN$8, 0);
431                 if (target == null)
432                 {
433                     target = (gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen)get_store().add_element_user(DAYSOPEN$8);
434                 }
435                 target.set(daysOpen);
436             }
437         }
438         
439         /**
440          * Gets the "NewToAgency" element
441          */
442         public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getNewToAgency()
443         {
444             synchronized (monitor())
445             {
446                 check_orphaned();
447                 org.apache.xmlbeans.SimpleValue target = null;
448                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NEWTOAGENCY$10, 0);
449                 if (target == null)
450                 {
451                     return null;
452                 }
453                 return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
454             }
455         }
456         
457         /**
458          * Gets (as xml) the "NewToAgency" element
459          */
460         public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetNewToAgency()
461         {
462             synchronized (monitor())
463             {
464                 check_orphaned();
465                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
466                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(NEWTOAGENCY$10, 0);
467                 return target;
468             }
469         }
470         
471         /**
472          * True if has "NewToAgency" element
473          */
474         public boolean isSetNewToAgency()
475         {
476             synchronized (monitor())
477             {
478                 check_orphaned();
479                 return get_store().count_elements(NEWTOAGENCY$10) != 0;
480             }
481         }
482         
483         /**
484          * Sets the "NewToAgency" element
485          */
486         public void setNewToAgency(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum newToAgency)
487         {
488             synchronized (monitor())
489             {
490                 check_orphaned();
491                 org.apache.xmlbeans.SimpleValue target = null;
492                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NEWTOAGENCY$10, 0);
493                 if (target == null)
494                 {
495                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NEWTOAGENCY$10);
496                 }
497                 target.setEnumValue(newToAgency);
498             }
499         }
500         
501         /**
502          * Sets (as xml) the "NewToAgency" element
503          */
504         public void xsetNewToAgency(gov.grants.apply.system.globalLibraryV20.YesNoDataType newToAgency)
505         {
506             synchronized (monitor())
507             {
508                 check_orphaned();
509                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
510                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(NEWTOAGENCY$10, 0);
511                 if (target == null)
512                 {
513                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(NEWTOAGENCY$10);
514                 }
515                 target.set(newToAgency);
516             }
517         }
518         
519         /**
520          * Unsets the "NewToAgency" element
521          */
522         public void unsetNewToAgency()
523         {
524             synchronized (monitor())
525             {
526                 check_orphaned();
527                 get_store().remove_element(NEWTOAGENCY$10, 0);
528             }
529         }
530         
531         /**
532          * Gets the "NewToProgram" element
533          */
534         public gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum getNewToProgram()
535         {
536             synchronized (monitor())
537             {
538                 check_orphaned();
539                 org.apache.xmlbeans.SimpleValue target = null;
540                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NEWTOPROGRAM$12, 0);
541                 if (target == null)
542                 {
543                     return null;
544                 }
545                 return (gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum)target.getEnumValue();
546             }
547         }
548         
549         /**
550          * Gets (as xml) the "NewToProgram" element
551          */
552         public gov.grants.apply.system.globalLibraryV20.YesNoDataType xgetNewToProgram()
553         {
554             synchronized (monitor())
555             {
556                 check_orphaned();
557                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
558                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(NEWTOPROGRAM$12, 0);
559                 return target;
560             }
561         }
562         
563         /**
564          * True if has "NewToProgram" element
565          */
566         public boolean isSetNewToProgram()
567         {
568             synchronized (monitor())
569             {
570                 check_orphaned();
571                 return get_store().count_elements(NEWTOPROGRAM$12) != 0;
572             }
573         }
574         
575         /**
576          * Sets the "NewToProgram" element
577          */
578         public void setNewToProgram(gov.grants.apply.system.globalLibraryV20.YesNoDataType.Enum newToProgram)
579         {
580             synchronized (monitor())
581             {
582                 check_orphaned();
583                 org.apache.xmlbeans.SimpleValue target = null;
584                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NEWTOPROGRAM$12, 0);
585                 if (target == null)
586                 {
587                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NEWTOPROGRAM$12);
588                 }
589                 target.setEnumValue(newToProgram);
590             }
591         }
592         
593         /**
594          * Sets (as xml) the "NewToProgram" element
595          */
596         public void xsetNewToProgram(gov.grants.apply.system.globalLibraryV20.YesNoDataType newToProgram)
597         {
598             synchronized (monitor())
599             {
600                 check_orphaned();
601                 gov.grants.apply.system.globalLibraryV20.YesNoDataType target = null;
602                 target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().find_element_user(NEWTOPROGRAM$12, 0);
603                 if (target == null)
604                 {
605                     target = (gov.grants.apply.system.globalLibraryV20.YesNoDataType)get_store().add_element_user(NEWTOPROGRAM$12);
606                 }
607                 target.set(newToProgram);
608             }
609         }
610         
611         /**
612          * Unsets the "NewToProgram" element
613          */
614         public void unsetNewToProgram()
615         {
616             synchronized (monitor())
617             {
618                 check_orphaned();
619                 get_store().remove_element(NEWTOPROGRAM$12, 0);
620             }
621         }
622         
623         /**
624          * Gets the "FormVersion" attribute
625          */
626         public java.lang.String getFormVersion()
627         {
628             synchronized (monitor())
629             {
630                 check_orphaned();
631                 org.apache.xmlbeans.SimpleValue target = null;
632                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$14);
633                 if (target == null)
634                 {
635                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$14);
636                 }
637                 if (target == null)
638                 {
639                     return null;
640                 }
641                 return target.getStringValue();
642             }
643         }
644         
645         /**
646          * Gets (as xml) the "FormVersion" attribute
647          */
648         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
649         {
650             synchronized (monitor())
651             {
652                 check_orphaned();
653                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
654                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$14);
655                 if (target == null)
656                 {
657                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$14);
658                 }
659                 return target;
660             }
661         }
662         
663         /**
664          * Sets the "FormVersion" attribute
665          */
666         public void setFormVersion(java.lang.String formVersion)
667         {
668             synchronized (monitor())
669             {
670                 check_orphaned();
671                 org.apache.xmlbeans.SimpleValue target = null;
672                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$14);
673                 if (target == null)
674                 {
675                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$14);
676                 }
677                 target.setStringValue(formVersion);
678             }
679         }
680         
681         /**
682          * Sets (as xml) the "FormVersion" attribute
683          */
684         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
685         {
686             synchronized (monitor())
687             {
688                 check_orphaned();
689                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
690                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$14);
691                 if (target == null)
692                 {
693                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$14);
694                 }
695                 target.set(formVersion);
696             }
697         }
698         /**
699          * An XML OperatingBudget(@http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0).
700          *
701          * This is an atomic type that is a restriction of gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument$NEHInstitutionalProfile$OperatingBudget.
702          */
703         public static class OperatingBudgetImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.OperatingBudget
704         {
705             private static final long serialVersionUID = 1L;
706             
707             public OperatingBudgetImpl(org.apache.xmlbeans.SchemaType sType)
708             {
709                 super(sType, false);
710             }
711             
712             protected OperatingBudgetImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
713             {
714                 super(sType, b);
715             }
716         }
717         /**
718          * An XML DaysOpen(@http://apply.grants.gov/forms/NEHInstitutionalProfile-V1.0).
719          *
720          * This is an atomic type that is a restriction of gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument$NEHInstitutionalProfile$DaysOpen.
721          */
722         public static class DaysOpenImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements gov.grants.apply.forms.nehInstitutionalProfileV10.NEHInstitutionalProfileDocument.NEHInstitutionalProfile.DaysOpen
723         {
724             private static final long serialVersionUID = 1L;
725             
726             public DaysOpenImpl(org.apache.xmlbeans.SchemaType sType)
727             {
728                 super(sType, false);
729             }
730             
731             protected DaysOpenImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
732             {
733                 super(sType, b);
734             }
735         }
736     }
737 }