View Javadoc
1   /*
2    * An XML document type.
3    * Localname: Contact
4    * Namespace: http://apply.grants.gov/forms/SF424-V1.0
5    * Java type: gov.grants.apply.forms.sf424V10.ContactDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.sf424V10.impl;
10  /**
11   * A document containing one Contact(@http://apply.grants.gov/forms/SF424-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class ContactDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.ContactDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public ContactDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName CONTACT$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "Contact");
26      
27      
28      /**
29       * Gets the "Contact" element
30       */
31      public gov.grants.apply.forms.sf424V10.ContactDocument.Contact getContact()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.sf424V10.ContactDocument.Contact target = null;
37              target = (gov.grants.apply.forms.sf424V10.ContactDocument.Contact)get_store().find_element_user(CONTACT$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "Contact" element
48       */
49      public void setContact(gov.grants.apply.forms.sf424V10.ContactDocument.Contact contact)
50      {
51          generatedSetterHelperImpl(contact, CONTACT$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "Contact" element
56       */
57      public gov.grants.apply.forms.sf424V10.ContactDocument.Contact addNewContact()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.sf424V10.ContactDocument.Contact target = null;
63              target = (gov.grants.apply.forms.sf424V10.ContactDocument.Contact)get_store().add_element_user(CONTACT$0);
64              return target;
65          }
66      }
67      /**
68       * An XML Contact(@http://apply.grants.gov/forms/SF424-V1.0).
69       *
70       * This is a complex type.
71       */
72      public static class ContactImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.ContactDocument.Contact
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public ContactImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName NAMEPREFIX$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "NamePrefix");
83          private static final javax.xml.namespace.QName GIVENNAME1$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "GivenName1");
85          private static final javax.xml.namespace.QName GIVENNAME2$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "GivenName2");
87          private static final javax.xml.namespace.QName FAMILYNAME$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "FamilyName");
89          private static final javax.xml.namespace.QName NAMESUFFIX$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "NameSuffix");
91          private static final javax.xml.namespace.QName TELEPHONENUMBER$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "TelephoneNumber");
93          private static final javax.xml.namespace.QName FAXNUMBER$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "FaxNumber");
95          private static final javax.xml.namespace.QName ELECTRONICMAILADDRESS$14 = 
96              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "ElectronicMailAddress");
97          
98          
99          /**
100          * Gets the "NamePrefix" element
101          */
102         public java.lang.String getNamePrefix()
103         {
104             synchronized (monitor())
105             {
106                 check_orphaned();
107                 org.apache.xmlbeans.SimpleValue target = null;
108                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAMEPREFIX$0, 0);
109                 if (target == null)
110                 {
111                     return null;
112                 }
113                 return target.getStringValue();
114             }
115         }
116         
117         /**
118          * Gets (as xml) the "NamePrefix" element
119          */
120         public gov.grants.apply.system.globalV10.StringMin1Max10Type xgetNamePrefix()
121         {
122             synchronized (monitor())
123             {
124                 check_orphaned();
125                 gov.grants.apply.system.globalV10.StringMin1Max10Type target = null;
126                 target = (gov.grants.apply.system.globalV10.StringMin1Max10Type)get_store().find_element_user(NAMEPREFIX$0, 0);
127                 return target;
128             }
129         }
130         
131         /**
132          * True if has "NamePrefix" element
133          */
134         public boolean isSetNamePrefix()
135         {
136             synchronized (monitor())
137             {
138                 check_orphaned();
139                 return get_store().count_elements(NAMEPREFIX$0) != 0;
140             }
141         }
142         
143         /**
144          * Sets the "NamePrefix" element
145          */
146         public void setNamePrefix(java.lang.String namePrefix)
147         {
148             synchronized (monitor())
149             {
150                 check_orphaned();
151                 org.apache.xmlbeans.SimpleValue target = null;
152                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAMEPREFIX$0, 0);
153                 if (target == null)
154                 {
155                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAMEPREFIX$0);
156                 }
157                 target.setStringValue(namePrefix);
158             }
159         }
160         
161         /**
162          * Sets (as xml) the "NamePrefix" element
163          */
164         public void xsetNamePrefix(gov.grants.apply.system.globalV10.StringMin1Max10Type namePrefix)
165         {
166             synchronized (monitor())
167             {
168                 check_orphaned();
169                 gov.grants.apply.system.globalV10.StringMin1Max10Type target = null;
170                 target = (gov.grants.apply.system.globalV10.StringMin1Max10Type)get_store().find_element_user(NAMEPREFIX$0, 0);
171                 if (target == null)
172                 {
173                     target = (gov.grants.apply.system.globalV10.StringMin1Max10Type)get_store().add_element_user(NAMEPREFIX$0);
174                 }
175                 target.set(namePrefix);
176             }
177         }
178         
179         /**
180          * Unsets the "NamePrefix" element
181          */
182         public void unsetNamePrefix()
183         {
184             synchronized (monitor())
185             {
186                 check_orphaned();
187                 get_store().remove_element(NAMEPREFIX$0, 0);
188             }
189         }
190         
191         /**
192          * Gets the "GivenName1" element
193          */
194         public java.lang.String getGivenName1()
195         {
196             synchronized (monitor())
197             {
198                 check_orphaned();
199                 org.apache.xmlbeans.SimpleValue target = null;
200                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GIVENNAME1$2, 0);
201                 if (target == null)
202                 {
203                     return null;
204                 }
205                 return target.getStringValue();
206             }
207         }
208         
209         /**
210          * Gets (as xml) the "GivenName1" element
211          */
212         public gov.grants.apply.system.globalV10.StringMin1Max35Type xgetGivenName1()
213         {
214             synchronized (monitor())
215             {
216                 check_orphaned();
217                 gov.grants.apply.system.globalV10.StringMin1Max35Type target = null;
218                 target = (gov.grants.apply.system.globalV10.StringMin1Max35Type)get_store().find_element_user(GIVENNAME1$2, 0);
219                 return target;
220             }
221         }
222         
223         /**
224          * True if has "GivenName1" element
225          */
226         public boolean isSetGivenName1()
227         {
228             synchronized (monitor())
229             {
230                 check_orphaned();
231                 return get_store().count_elements(GIVENNAME1$2) != 0;
232             }
233         }
234         
235         /**
236          * Sets the "GivenName1" element
237          */
238         public void setGivenName1(java.lang.String givenName1)
239         {
240             synchronized (monitor())
241             {
242                 check_orphaned();
243                 org.apache.xmlbeans.SimpleValue target = null;
244                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GIVENNAME1$2, 0);
245                 if (target == null)
246                 {
247                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GIVENNAME1$2);
248                 }
249                 target.setStringValue(givenName1);
250             }
251         }
252         
253         /**
254          * Sets (as xml) the "GivenName1" element
255          */
256         public void xsetGivenName1(gov.grants.apply.system.globalV10.StringMin1Max35Type givenName1)
257         {
258             synchronized (monitor())
259             {
260                 check_orphaned();
261                 gov.grants.apply.system.globalV10.StringMin1Max35Type target = null;
262                 target = (gov.grants.apply.system.globalV10.StringMin1Max35Type)get_store().find_element_user(GIVENNAME1$2, 0);
263                 if (target == null)
264                 {
265                     target = (gov.grants.apply.system.globalV10.StringMin1Max35Type)get_store().add_element_user(GIVENNAME1$2);
266                 }
267                 target.set(givenName1);
268             }
269         }
270         
271         /**
272          * Unsets the "GivenName1" element
273          */
274         public void unsetGivenName1()
275         {
276             synchronized (monitor())
277             {
278                 check_orphaned();
279                 get_store().remove_element(GIVENNAME1$2, 0);
280             }
281         }
282         
283         /**
284          * Gets the "GivenName2" element
285          */
286         public java.lang.String getGivenName2()
287         {
288             synchronized (monitor())
289             {
290                 check_orphaned();
291                 org.apache.xmlbeans.SimpleValue target = null;
292                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GIVENNAME2$4, 0);
293                 if (target == null)
294                 {
295                     return null;
296                 }
297                 return target.getStringValue();
298             }
299         }
300         
301         /**
302          * Gets (as xml) the "GivenName2" element
303          */
304         public gov.grants.apply.system.globalV10.StringMin1Max25Type xgetGivenName2()
305         {
306             synchronized (monitor())
307             {
308                 check_orphaned();
309                 gov.grants.apply.system.globalV10.StringMin1Max25Type target = null;
310                 target = (gov.grants.apply.system.globalV10.StringMin1Max25Type)get_store().find_element_user(GIVENNAME2$4, 0);
311                 return target;
312             }
313         }
314         
315         /**
316          * True if has "GivenName2" element
317          */
318         public boolean isSetGivenName2()
319         {
320             synchronized (monitor())
321             {
322                 check_orphaned();
323                 return get_store().count_elements(GIVENNAME2$4) != 0;
324             }
325         }
326         
327         /**
328          * Sets the "GivenName2" element
329          */
330         public void setGivenName2(java.lang.String givenName2)
331         {
332             synchronized (monitor())
333             {
334                 check_orphaned();
335                 org.apache.xmlbeans.SimpleValue target = null;
336                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GIVENNAME2$4, 0);
337                 if (target == null)
338                 {
339                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GIVENNAME2$4);
340                 }
341                 target.setStringValue(givenName2);
342             }
343         }
344         
345         /**
346          * Sets (as xml) the "GivenName2" element
347          */
348         public void xsetGivenName2(gov.grants.apply.system.globalV10.StringMin1Max25Type givenName2)
349         {
350             synchronized (monitor())
351             {
352                 check_orphaned();
353                 gov.grants.apply.system.globalV10.StringMin1Max25Type target = null;
354                 target = (gov.grants.apply.system.globalV10.StringMin1Max25Type)get_store().find_element_user(GIVENNAME2$4, 0);
355                 if (target == null)
356                 {
357                     target = (gov.grants.apply.system.globalV10.StringMin1Max25Type)get_store().add_element_user(GIVENNAME2$4);
358                 }
359                 target.set(givenName2);
360             }
361         }
362         
363         /**
364          * Unsets the "GivenName2" element
365          */
366         public void unsetGivenName2()
367         {
368             synchronized (monitor())
369             {
370                 check_orphaned();
371                 get_store().remove_element(GIVENNAME2$4, 0);
372             }
373         }
374         
375         /**
376          * Gets the "FamilyName" element
377          */
378         public java.lang.String getFamilyName()
379         {
380             synchronized (monitor())
381             {
382                 check_orphaned();
383                 org.apache.xmlbeans.SimpleValue target = null;
384                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FAMILYNAME$6, 0);
385                 if (target == null)
386                 {
387                     return null;
388                 }
389                 return target.getStringValue();
390             }
391         }
392         
393         /**
394          * Gets (as xml) the "FamilyName" element
395          */
396         public gov.grants.apply.system.globalV10.StringMin1Max60Type xgetFamilyName()
397         {
398             synchronized (monitor())
399             {
400                 check_orphaned();
401                 gov.grants.apply.system.globalV10.StringMin1Max60Type target = null;
402                 target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().find_element_user(FAMILYNAME$6, 0);
403                 return target;
404             }
405         }
406         
407         /**
408          * True if has "FamilyName" element
409          */
410         public boolean isSetFamilyName()
411         {
412             synchronized (monitor())
413             {
414                 check_orphaned();
415                 return get_store().count_elements(FAMILYNAME$6) != 0;
416             }
417         }
418         
419         /**
420          * Sets the "FamilyName" element
421          */
422         public void setFamilyName(java.lang.String familyName)
423         {
424             synchronized (monitor())
425             {
426                 check_orphaned();
427                 org.apache.xmlbeans.SimpleValue target = null;
428                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FAMILYNAME$6, 0);
429                 if (target == null)
430                 {
431                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FAMILYNAME$6);
432                 }
433                 target.setStringValue(familyName);
434             }
435         }
436         
437         /**
438          * Sets (as xml) the "FamilyName" element
439          */
440         public void xsetFamilyName(gov.grants.apply.system.globalV10.StringMin1Max60Type familyName)
441         {
442             synchronized (monitor())
443             {
444                 check_orphaned();
445                 gov.grants.apply.system.globalV10.StringMin1Max60Type target = null;
446                 target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().find_element_user(FAMILYNAME$6, 0);
447                 if (target == null)
448                 {
449                     target = (gov.grants.apply.system.globalV10.StringMin1Max60Type)get_store().add_element_user(FAMILYNAME$6);
450                 }
451                 target.set(familyName);
452             }
453         }
454         
455         /**
456          * Unsets the "FamilyName" element
457          */
458         public void unsetFamilyName()
459         {
460             synchronized (monitor())
461             {
462                 check_orphaned();
463                 get_store().remove_element(FAMILYNAME$6, 0);
464             }
465         }
466         
467         /**
468          * Gets the "NameSuffix" element
469          */
470         public java.lang.String getNameSuffix()
471         {
472             synchronized (monitor())
473             {
474                 check_orphaned();
475                 org.apache.xmlbeans.SimpleValue target = null;
476                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAMESUFFIX$8, 0);
477                 if (target == null)
478                 {
479                     return null;
480                 }
481                 return target.getStringValue();
482             }
483         }
484         
485         /**
486          * Gets (as xml) the "NameSuffix" element
487          */
488         public gov.grants.apply.system.globalV10.StringMin1Max10Type xgetNameSuffix()
489         {
490             synchronized (monitor())
491             {
492                 check_orphaned();
493                 gov.grants.apply.system.globalV10.StringMin1Max10Type target = null;
494                 target = (gov.grants.apply.system.globalV10.StringMin1Max10Type)get_store().find_element_user(NAMESUFFIX$8, 0);
495                 return target;
496             }
497         }
498         
499         /**
500          * True if has "NameSuffix" element
501          */
502         public boolean isSetNameSuffix()
503         {
504             synchronized (monitor())
505             {
506                 check_orphaned();
507                 return get_store().count_elements(NAMESUFFIX$8) != 0;
508             }
509         }
510         
511         /**
512          * Sets the "NameSuffix" element
513          */
514         public void setNameSuffix(java.lang.String nameSuffix)
515         {
516             synchronized (monitor())
517             {
518                 check_orphaned();
519                 org.apache.xmlbeans.SimpleValue target = null;
520                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAMESUFFIX$8, 0);
521                 if (target == null)
522                 {
523                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAMESUFFIX$8);
524                 }
525                 target.setStringValue(nameSuffix);
526             }
527         }
528         
529         /**
530          * Sets (as xml) the "NameSuffix" element
531          */
532         public void xsetNameSuffix(gov.grants.apply.system.globalV10.StringMin1Max10Type nameSuffix)
533         {
534             synchronized (monitor())
535             {
536                 check_orphaned();
537                 gov.grants.apply.system.globalV10.StringMin1Max10Type target = null;
538                 target = (gov.grants.apply.system.globalV10.StringMin1Max10Type)get_store().find_element_user(NAMESUFFIX$8, 0);
539                 if (target == null)
540                 {
541                     target = (gov.grants.apply.system.globalV10.StringMin1Max10Type)get_store().add_element_user(NAMESUFFIX$8);
542                 }
543                 target.set(nameSuffix);
544             }
545         }
546         
547         /**
548          * Unsets the "NameSuffix" element
549          */
550         public void unsetNameSuffix()
551         {
552             synchronized (monitor())
553             {
554                 check_orphaned();
555                 get_store().remove_element(NAMESUFFIX$8, 0);
556             }
557         }
558         
559         /**
560          * Gets the "TelephoneNumber" element
561          */
562         public java.lang.String getTelephoneNumber()
563         {
564             synchronized (monitor())
565             {
566                 check_orphaned();
567                 org.apache.xmlbeans.SimpleValue target = null;
568                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TELEPHONENUMBER$10, 0);
569                 if (target == null)
570                 {
571                     return null;
572                 }
573                 return target.getStringValue();
574             }
575         }
576         
577         /**
578          * Gets (as xml) the "TelephoneNumber" element
579          */
580         public gov.grants.apply.system.globalV10.StringMin1Max25Type xgetTelephoneNumber()
581         {
582             synchronized (monitor())
583             {
584                 check_orphaned();
585                 gov.grants.apply.system.globalV10.StringMin1Max25Type target = null;
586                 target = (gov.grants.apply.system.globalV10.StringMin1Max25Type)get_store().find_element_user(TELEPHONENUMBER$10, 0);
587                 return target;
588             }
589         }
590         
591         /**
592          * True if has "TelephoneNumber" element
593          */
594         public boolean isSetTelephoneNumber()
595         {
596             synchronized (monitor())
597             {
598                 check_orphaned();
599                 return get_store().count_elements(TELEPHONENUMBER$10) != 0;
600             }
601         }
602         
603         /**
604          * Sets the "TelephoneNumber" element
605          */
606         public void setTelephoneNumber(java.lang.String telephoneNumber)
607         {
608             synchronized (monitor())
609             {
610                 check_orphaned();
611                 org.apache.xmlbeans.SimpleValue target = null;
612                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TELEPHONENUMBER$10, 0);
613                 if (target == null)
614                 {
615                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TELEPHONENUMBER$10);
616                 }
617                 target.setStringValue(telephoneNumber);
618             }
619         }
620         
621         /**
622          * Sets (as xml) the "TelephoneNumber" element
623          */
624         public void xsetTelephoneNumber(gov.grants.apply.system.globalV10.StringMin1Max25Type telephoneNumber)
625         {
626             synchronized (monitor())
627             {
628                 check_orphaned();
629                 gov.grants.apply.system.globalV10.StringMin1Max25Type target = null;
630                 target = (gov.grants.apply.system.globalV10.StringMin1Max25Type)get_store().find_element_user(TELEPHONENUMBER$10, 0);
631                 if (target == null)
632                 {
633                     target = (gov.grants.apply.system.globalV10.StringMin1Max25Type)get_store().add_element_user(TELEPHONENUMBER$10);
634                 }
635                 target.set(telephoneNumber);
636             }
637         }
638         
639         /**
640          * Unsets the "TelephoneNumber" element
641          */
642         public void unsetTelephoneNumber()
643         {
644             synchronized (monitor())
645             {
646                 check_orphaned();
647                 get_store().remove_element(TELEPHONENUMBER$10, 0);
648             }
649         }
650         
651         /**
652          * Gets the "FaxNumber" element
653          */
654         public java.lang.String getFaxNumber()
655         {
656             synchronized (monitor())
657             {
658                 check_orphaned();
659                 org.apache.xmlbeans.SimpleValue target = null;
660                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FAXNUMBER$12, 0);
661                 if (target == null)
662                 {
663                     return null;
664                 }
665                 return target.getStringValue();
666             }
667         }
668         
669         /**
670          * Gets (as xml) the "FaxNumber" element
671          */
672         public gov.grants.apply.system.globalV10.StringMin1Max25Type xgetFaxNumber()
673         {
674             synchronized (monitor())
675             {
676                 check_orphaned();
677                 gov.grants.apply.system.globalV10.StringMin1Max25Type target = null;
678                 target = (gov.grants.apply.system.globalV10.StringMin1Max25Type)get_store().find_element_user(FAXNUMBER$12, 0);
679                 return target;
680             }
681         }
682         
683         /**
684          * True if has "FaxNumber" element
685          */
686         public boolean isSetFaxNumber()
687         {
688             synchronized (monitor())
689             {
690                 check_orphaned();
691                 return get_store().count_elements(FAXNUMBER$12) != 0;
692             }
693         }
694         
695         /**
696          * Sets the "FaxNumber" element
697          */
698         public void setFaxNumber(java.lang.String faxNumber)
699         {
700             synchronized (monitor())
701             {
702                 check_orphaned();
703                 org.apache.xmlbeans.SimpleValue target = null;
704                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FAXNUMBER$12, 0);
705                 if (target == null)
706                 {
707                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FAXNUMBER$12);
708                 }
709                 target.setStringValue(faxNumber);
710             }
711         }
712         
713         /**
714          * Sets (as xml) the "FaxNumber" element
715          */
716         public void xsetFaxNumber(gov.grants.apply.system.globalV10.StringMin1Max25Type faxNumber)
717         {
718             synchronized (monitor())
719             {
720                 check_orphaned();
721                 gov.grants.apply.system.globalV10.StringMin1Max25Type target = null;
722                 target = (gov.grants.apply.system.globalV10.StringMin1Max25Type)get_store().find_element_user(FAXNUMBER$12, 0);
723                 if (target == null)
724                 {
725                     target = (gov.grants.apply.system.globalV10.StringMin1Max25Type)get_store().add_element_user(FAXNUMBER$12);
726                 }
727                 target.set(faxNumber);
728             }
729         }
730         
731         /**
732          * Unsets the "FaxNumber" element
733          */
734         public void unsetFaxNumber()
735         {
736             synchronized (monitor())
737             {
738                 check_orphaned();
739                 get_store().remove_element(FAXNUMBER$12, 0);
740             }
741         }
742         
743         /**
744          * Gets the "ElectronicMailAddress" element
745          */
746         public java.lang.String getElectronicMailAddress()
747         {
748             synchronized (monitor())
749             {
750                 check_orphaned();
751                 org.apache.xmlbeans.SimpleValue target = null;
752                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ELECTRONICMAILADDRESS$14, 0);
753                 if (target == null)
754                 {
755                     return null;
756                 }
757                 return target.getStringValue();
758             }
759         }
760         
761         /**
762          * Gets (as xml) the "ElectronicMailAddress" element
763          */
764         public gov.grants.apply.system.globalV10.StringMin1Max80Type xgetElectronicMailAddress()
765         {
766             synchronized (monitor())
767             {
768                 check_orphaned();
769                 gov.grants.apply.system.globalV10.StringMin1Max80Type target = null;
770                 target = (gov.grants.apply.system.globalV10.StringMin1Max80Type)get_store().find_element_user(ELECTRONICMAILADDRESS$14, 0);
771                 return target;
772             }
773         }
774         
775         /**
776          * True if has "ElectronicMailAddress" element
777          */
778         public boolean isSetElectronicMailAddress()
779         {
780             synchronized (monitor())
781             {
782                 check_orphaned();
783                 return get_store().count_elements(ELECTRONICMAILADDRESS$14) != 0;
784             }
785         }
786         
787         /**
788          * Sets the "ElectronicMailAddress" element
789          */
790         public void setElectronicMailAddress(java.lang.String electronicMailAddress)
791         {
792             synchronized (monitor())
793             {
794                 check_orphaned();
795                 org.apache.xmlbeans.SimpleValue target = null;
796                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ELECTRONICMAILADDRESS$14, 0);
797                 if (target == null)
798                 {
799                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ELECTRONICMAILADDRESS$14);
800                 }
801                 target.setStringValue(electronicMailAddress);
802             }
803         }
804         
805         /**
806          * Sets (as xml) the "ElectronicMailAddress" element
807          */
808         public void xsetElectronicMailAddress(gov.grants.apply.system.globalV10.StringMin1Max80Type electronicMailAddress)
809         {
810             synchronized (monitor())
811             {
812                 check_orphaned();
813                 gov.grants.apply.system.globalV10.StringMin1Max80Type target = null;
814                 target = (gov.grants.apply.system.globalV10.StringMin1Max80Type)get_store().find_element_user(ELECTRONICMAILADDRESS$14, 0);
815                 if (target == null)
816                 {
817                     target = (gov.grants.apply.system.globalV10.StringMin1Max80Type)get_store().add_element_user(ELECTRONICMAILADDRESS$14);
818                 }
819                 target.set(electronicMailAddress);
820             }
821         }
822         
823         /**
824          * Unsets the "ElectronicMailAddress" element
825          */
826         public void unsetElectronicMailAddress()
827         {
828             synchronized (monitor())
829             {
830                 check_orphaned();
831                 get_store().remove_element(ELECTRONICMAILADDRESS$14, 0);
832             }
833         }
834     }
835 }