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