1
2
3
4
5
6
7
8
9 package gov.grants.apply.forms.sf424V10.impl;
10
11
12
13
14
15 public class AddressDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.AddressDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public AddressDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName ADDRESS$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "Address");
26
27
28
29
30
31 public gov.grants.apply.forms.sf424V10.AddressDocument.Address getAddress()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.forms.sf424V10.AddressDocument.Address target = null;
37 target = (gov.grants.apply.forms.sf424V10.AddressDocument.Address)get_store().find_element_user(ADDRESS$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setAddress(gov.grants.apply.forms.sf424V10.AddressDocument.Address address)
50 {
51 generatedSetterHelperImpl(address, ADDRESS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.forms.sf424V10.AddressDocument.Address addNewAddress()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.forms.sf424V10.AddressDocument.Address target = null;
63 target = (gov.grants.apply.forms.sf424V10.AddressDocument.Address)get_store().add_element_user(ADDRESS$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class AddressImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424V10.AddressDocument.Address
73 {
74 private static final long serialVersionUID = 1L;
75
76 public AddressImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName STREET1$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "Street1");
83 private static final javax.xml.namespace.QName STREET2$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "Street2");
85 private static final javax.xml.namespace.QName CITY$4 =
86 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "City");
87 private static final javax.xml.namespace.QName COUNTY$6 =
88 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "County");
89 private static final javax.xml.namespace.QName STATECODE$8 =
90 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "StateCode");
91 private static final javax.xml.namespace.QName ZIPCODE$10 =
92 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "ZipCode");
93 private static final javax.xml.namespace.QName COUNTRY$12 =
94 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424-V1.0", "Country");
95
96
97
98
99
100 public java.lang.String getStreet1()
101 {
102 synchronized (monitor())
103 {
104 check_orphaned();
105 org.apache.xmlbeans.SimpleValue target = null;
106 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STREET1$0, 0);
107 if (target == null)
108 {
109 return null;
110 }
111 return target.getStringValue();
112 }
113 }
114
115
116
117
118 public gov.grants.apply.system.globalV10.StringMin1Max55Type xgetStreet1()
119 {
120 synchronized (monitor())
121 {
122 check_orphaned();
123 gov.grants.apply.system.globalV10.StringMin1Max55Type target = null;
124 target = (gov.grants.apply.system.globalV10.StringMin1Max55Type)get_store().find_element_user(STREET1$0, 0);
125 return target;
126 }
127 }
128
129
130
131
132 public void setStreet1(java.lang.String street1)
133 {
134 synchronized (monitor())
135 {
136 check_orphaned();
137 org.apache.xmlbeans.SimpleValue target = null;
138 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STREET1$0, 0);
139 if (target == null)
140 {
141 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STREET1$0);
142 }
143 target.setStringValue(street1);
144 }
145 }
146
147
148
149
150 public void xsetStreet1(gov.grants.apply.system.globalV10.StringMin1Max55Type street1)
151 {
152 synchronized (monitor())
153 {
154 check_orphaned();
155 gov.grants.apply.system.globalV10.StringMin1Max55Type target = null;
156 target = (gov.grants.apply.system.globalV10.StringMin1Max55Type)get_store().find_element_user(STREET1$0, 0);
157 if (target == null)
158 {
159 target = (gov.grants.apply.system.globalV10.StringMin1Max55Type)get_store().add_element_user(STREET1$0);
160 }
161 target.set(street1);
162 }
163 }
164
165
166
167
168 public java.lang.String getStreet2()
169 {
170 synchronized (monitor())
171 {
172 check_orphaned();
173 org.apache.xmlbeans.SimpleValue target = null;
174 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STREET2$2, 0);
175 if (target == null)
176 {
177 return null;
178 }
179 return target.getStringValue();
180 }
181 }
182
183
184
185
186 public gov.grants.apply.system.globalV10.StringMin1Max55Type xgetStreet2()
187 {
188 synchronized (monitor())
189 {
190 check_orphaned();
191 gov.grants.apply.system.globalV10.StringMin1Max55Type target = null;
192 target = (gov.grants.apply.system.globalV10.StringMin1Max55Type)get_store().find_element_user(STREET2$2, 0);
193 return target;
194 }
195 }
196
197
198
199
200 public boolean isSetStreet2()
201 {
202 synchronized (monitor())
203 {
204 check_orphaned();
205 return get_store().count_elements(STREET2$2) != 0;
206 }
207 }
208
209
210
211
212 public void setStreet2(java.lang.String street2)
213 {
214 synchronized (monitor())
215 {
216 check_orphaned();
217 org.apache.xmlbeans.SimpleValue target = null;
218 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STREET2$2, 0);
219 if (target == null)
220 {
221 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STREET2$2);
222 }
223 target.setStringValue(street2);
224 }
225 }
226
227
228
229
230 public void xsetStreet2(gov.grants.apply.system.globalV10.StringMin1Max55Type street2)
231 {
232 synchronized (monitor())
233 {
234 check_orphaned();
235 gov.grants.apply.system.globalV10.StringMin1Max55Type target = null;
236 target = (gov.grants.apply.system.globalV10.StringMin1Max55Type)get_store().find_element_user(STREET2$2, 0);
237 if (target == null)
238 {
239 target = (gov.grants.apply.system.globalV10.StringMin1Max55Type)get_store().add_element_user(STREET2$2);
240 }
241 target.set(street2);
242 }
243 }
244
245
246
247
248 public void unsetStreet2()
249 {
250 synchronized (monitor())
251 {
252 check_orphaned();
253 get_store().remove_element(STREET2$2, 0);
254 }
255 }
256
257
258
259
260 public java.lang.String getCity()
261 {
262 synchronized (monitor())
263 {
264 check_orphaned();
265 org.apache.xmlbeans.SimpleValue target = null;
266 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CITY$4, 0);
267 if (target == null)
268 {
269 return null;
270 }
271 return target.getStringValue();
272 }
273 }
274
275
276
277
278 public gov.grants.apply.system.globalV10.StringMin1Max35Type xgetCity()
279 {
280 synchronized (monitor())
281 {
282 check_orphaned();
283 gov.grants.apply.system.globalV10.StringMin1Max35Type target = null;
284 target = (gov.grants.apply.system.globalV10.StringMin1Max35Type)get_store().find_element_user(CITY$4, 0);
285 return target;
286 }
287 }
288
289
290
291
292 public void setCity(java.lang.String city)
293 {
294 synchronized (monitor())
295 {
296 check_orphaned();
297 org.apache.xmlbeans.SimpleValue target = null;
298 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CITY$4, 0);
299 if (target == null)
300 {
301 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CITY$4);
302 }
303 target.setStringValue(city);
304 }
305 }
306
307
308
309
310 public void xsetCity(gov.grants.apply.system.globalV10.StringMin1Max35Type city)
311 {
312 synchronized (monitor())
313 {
314 check_orphaned();
315 gov.grants.apply.system.globalV10.StringMin1Max35Type target = null;
316 target = (gov.grants.apply.system.globalV10.StringMin1Max35Type)get_store().find_element_user(CITY$4, 0);
317 if (target == null)
318 {
319 target = (gov.grants.apply.system.globalV10.StringMin1Max35Type)get_store().add_element_user(CITY$4);
320 }
321 target.set(city);
322 }
323 }
324
325
326
327
328 public java.lang.String getCounty()
329 {
330 synchronized (monitor())
331 {
332 check_orphaned();
333 org.apache.xmlbeans.SimpleValue target = null;
334 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COUNTY$6, 0);
335 if (target == null)
336 {
337 return null;
338 }
339 return target.getStringValue();
340 }
341 }
342
343
344
345
346 public gov.grants.apply.system.globalV10.StringMin1Max30Type xgetCounty()
347 {
348 synchronized (monitor())
349 {
350 check_orphaned();
351 gov.grants.apply.system.globalV10.StringMin1Max30Type target = null;
352 target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().find_element_user(COUNTY$6, 0);
353 return target;
354 }
355 }
356
357
358
359
360 public boolean isSetCounty()
361 {
362 synchronized (monitor())
363 {
364 check_orphaned();
365 return get_store().count_elements(COUNTY$6) != 0;
366 }
367 }
368
369
370
371
372 public void setCounty(java.lang.String county)
373 {
374 synchronized (monitor())
375 {
376 check_orphaned();
377 org.apache.xmlbeans.SimpleValue target = null;
378 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COUNTY$6, 0);
379 if (target == null)
380 {
381 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COUNTY$6);
382 }
383 target.setStringValue(county);
384 }
385 }
386
387
388
389
390 public void xsetCounty(gov.grants.apply.system.globalV10.StringMin1Max30Type county)
391 {
392 synchronized (monitor())
393 {
394 check_orphaned();
395 gov.grants.apply.system.globalV10.StringMin1Max30Type target = null;
396 target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().find_element_user(COUNTY$6, 0);
397 if (target == null)
398 {
399 target = (gov.grants.apply.system.globalV10.StringMin1Max30Type)get_store().add_element_user(COUNTY$6);
400 }
401 target.set(county);
402 }
403 }
404
405
406
407
408 public void unsetCounty()
409 {
410 synchronized (monitor())
411 {
412 check_orphaned();
413 get_store().remove_element(COUNTY$6, 0);
414 }
415 }
416
417
418
419
420 public java.lang.String getStateCode()
421 {
422 synchronized (monitor())
423 {
424 check_orphaned();
425 org.apache.xmlbeans.SimpleValue target = null;
426 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATECODE$8, 0);
427 if (target == null)
428 {
429 return null;
430 }
431 return target.getStringValue();
432 }
433 }
434
435
436
437
438 public gov.grants.apply.system.globalV10.StringMin1Max2Type xgetStateCode()
439 {
440 synchronized (monitor())
441 {
442 check_orphaned();
443 gov.grants.apply.system.globalV10.StringMin1Max2Type target = null;
444 target = (gov.grants.apply.system.globalV10.StringMin1Max2Type)get_store().find_element_user(STATECODE$8, 0);
445 return target;
446 }
447 }
448
449
450
451
452 public boolean isSetStateCode()
453 {
454 synchronized (monitor())
455 {
456 check_orphaned();
457 return get_store().count_elements(STATECODE$8) != 0;
458 }
459 }
460
461
462
463
464 public void setStateCode(java.lang.String stateCode)
465 {
466 synchronized (monitor())
467 {
468 check_orphaned();
469 org.apache.xmlbeans.SimpleValue target = null;
470 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATECODE$8, 0);
471 if (target == null)
472 {
473 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATECODE$8);
474 }
475 target.setStringValue(stateCode);
476 }
477 }
478
479
480
481
482 public void xsetStateCode(gov.grants.apply.system.globalV10.StringMin1Max2Type stateCode)
483 {
484 synchronized (monitor())
485 {
486 check_orphaned();
487 gov.grants.apply.system.globalV10.StringMin1Max2Type target = null;
488 target = (gov.grants.apply.system.globalV10.StringMin1Max2Type)get_store().find_element_user(STATECODE$8, 0);
489 if (target == null)
490 {
491 target = (gov.grants.apply.system.globalV10.StringMin1Max2Type)get_store().add_element_user(STATECODE$8);
492 }
493 target.set(stateCode);
494 }
495 }
496
497
498
499
500 public void unsetStateCode()
501 {
502 synchronized (monitor())
503 {
504 check_orphaned();
505 get_store().remove_element(STATECODE$8, 0);
506 }
507 }
508
509
510
511
512 public java.lang.String getZipCode()
513 {
514 synchronized (monitor())
515 {
516 check_orphaned();
517 org.apache.xmlbeans.SimpleValue target = null;
518 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ZIPCODE$10, 0);
519 if (target == null)
520 {
521 return null;
522 }
523 return target.getStringValue();
524 }
525 }
526
527
528
529
530 public gov.grants.apply.system.globalV10.StringMin1Max15Type xgetZipCode()
531 {
532 synchronized (monitor())
533 {
534 check_orphaned();
535 gov.grants.apply.system.globalV10.StringMin1Max15Type target = null;
536 target = (gov.grants.apply.system.globalV10.StringMin1Max15Type)get_store().find_element_user(ZIPCODE$10, 0);
537 return target;
538 }
539 }
540
541
542
543
544 public boolean isSetZipCode()
545 {
546 synchronized (monitor())
547 {
548 check_orphaned();
549 return get_store().count_elements(ZIPCODE$10) != 0;
550 }
551 }
552
553
554
555
556 public void setZipCode(java.lang.String zipCode)
557 {
558 synchronized (monitor())
559 {
560 check_orphaned();
561 org.apache.xmlbeans.SimpleValue target = null;
562 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ZIPCODE$10, 0);
563 if (target == null)
564 {
565 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ZIPCODE$10);
566 }
567 target.setStringValue(zipCode);
568 }
569 }
570
571
572
573
574 public void xsetZipCode(gov.grants.apply.system.globalV10.StringMin1Max15Type zipCode)
575 {
576 synchronized (monitor())
577 {
578 check_orphaned();
579 gov.grants.apply.system.globalV10.StringMin1Max15Type target = null;
580 target = (gov.grants.apply.system.globalV10.StringMin1Max15Type)get_store().find_element_user(ZIPCODE$10, 0);
581 if (target == null)
582 {
583 target = (gov.grants.apply.system.globalV10.StringMin1Max15Type)get_store().add_element_user(ZIPCODE$10);
584 }
585 target.set(zipCode);
586 }
587 }
588
589
590
591
592 public void unsetZipCode()
593 {
594 synchronized (monitor())
595 {
596 check_orphaned();
597 get_store().remove_element(ZIPCODE$10, 0);
598 }
599 }
600
601
602
603
604 public gov.grants.apply.system.universalCodesV10.CountryCodeType.Enum getCountry()
605 {
606 synchronized (monitor())
607 {
608 check_orphaned();
609 org.apache.xmlbeans.SimpleValue target = null;
610 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COUNTRY$12, 0);
611 if (target == null)
612 {
613 return null;
614 }
615 return (gov.grants.apply.system.universalCodesV10.CountryCodeType.Enum)target.getEnumValue();
616 }
617 }
618
619
620
621
622 public gov.grants.apply.system.universalCodesV10.CountryCodeType xgetCountry()
623 {
624 synchronized (monitor())
625 {
626 check_orphaned();
627 gov.grants.apply.system.universalCodesV10.CountryCodeType target = null;
628 target = (gov.grants.apply.system.universalCodesV10.CountryCodeType)get_store().find_element_user(COUNTRY$12, 0);
629 return target;
630 }
631 }
632
633
634
635
636 public boolean isSetCountry()
637 {
638 synchronized (monitor())
639 {
640 check_orphaned();
641 return get_store().count_elements(COUNTRY$12) != 0;
642 }
643 }
644
645
646
647
648 public void setCountry(gov.grants.apply.system.universalCodesV10.CountryCodeType.Enum country)
649 {
650 synchronized (monitor())
651 {
652 check_orphaned();
653 org.apache.xmlbeans.SimpleValue target = null;
654 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COUNTRY$12, 0);
655 if (target == null)
656 {
657 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COUNTRY$12);
658 }
659 target.setEnumValue(country);
660 }
661 }
662
663
664
665
666 public void xsetCountry(gov.grants.apply.system.universalCodesV10.CountryCodeType country)
667 {
668 synchronized (monitor())
669 {
670 check_orphaned();
671 gov.grants.apply.system.universalCodesV10.CountryCodeType target = null;
672 target = (gov.grants.apply.system.universalCodesV10.CountryCodeType)get_store().find_element_user(COUNTRY$12, 0);
673 if (target == null)
674 {
675 target = (gov.grants.apply.system.universalCodesV10.CountryCodeType)get_store().add_element_user(COUNTRY$12);
676 }
677 target.set(country);
678 }
679 }
680
681
682
683
684 public void unsetCountry()
685 {
686 synchronized (monitor())
687 {
688 check_orphaned();
689 get_store().remove_element(COUNTRY$12, 0);
690 }
691 }
692 }
693 }