1
2
3
4
5
6
7
8
9 package gov.grants.apply.forms.cd511V11.impl;
10
11
12
13
14
15 public class CD511DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.cd511V11.CD511Document
16 {
17 private static final long serialVersionUID = 1L;
18
19 public CD511DocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName CD511$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/forms/CD511-V1.1", "CD511");
26
27
28
29
30
31 public gov.grants.apply.forms.cd511V11.CD511Document.CD511 getCD511()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.forms.cd511V11.CD511Document.CD511 target = null;
37 target = (gov.grants.apply.forms.cd511V11.CD511Document.CD511)get_store().find_element_user(CD511$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setCD511(gov.grants.apply.forms.cd511V11.CD511Document.CD511 cd511)
50 {
51 generatedSetterHelperImpl(cd511, CD511$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.forms.cd511V11.CD511Document.CD511 addNewCD511()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.forms.cd511V11.CD511Document.CD511 target = null;
63 target = (gov.grants.apply.forms.cd511V11.CD511Document.CD511)get_store().add_element_user(CD511$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class CD511Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.cd511V11.CD511Document.CD511
73 {
74 private static final long serialVersionUID = 1L;
75
76 public CD511Impl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName ORGANIZATIONNAME$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/forms/CD511-V1.1", "OrganizationName");
83 private static final javax.xml.namespace.QName AWARDNUMBER$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/forms/CD511-V1.1", "AwardNumber");
85 private static final javax.xml.namespace.QName PROJECTNAME$4 =
86 new javax.xml.namespace.QName("http://apply.grants.gov/forms/CD511-V1.1", "ProjectName");
87 private static final javax.xml.namespace.QName CONTACTNAME$6 =
88 new javax.xml.namespace.QName("http://apply.grants.gov/forms/CD511-V1.1", "ContactName");
89 private static final javax.xml.namespace.QName TITLE$8 =
90 new javax.xml.namespace.QName("http://apply.grants.gov/forms/CD511-V1.1", "Title");
91 private static final javax.xml.namespace.QName SIGNATURE$10 =
92 new javax.xml.namespace.QName("http://apply.grants.gov/forms/CD511-V1.1", "Signature");
93 private static final javax.xml.namespace.QName SUBMITTEDDATE$12 =
94 new javax.xml.namespace.QName("http://apply.grants.gov/forms/CD511-V1.1", "SubmittedDate");
95 private static final javax.xml.namespace.QName FORMVERSION$14 =
96 new javax.xml.namespace.QName("http://apply.grants.gov/forms/CD511-V1.1", "FormVersion");
97
98
99
100
101
102 public java.lang.String getOrganizationName()
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(ORGANIZATIONNAME$0, 0);
109 if (target == null)
110 {
111 return null;
112 }
113 return target.getStringValue();
114 }
115 }
116
117
118
119
120 public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetOrganizationName()
121 {
122 synchronized (monitor())
123 {
124 check_orphaned();
125 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
126 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
127 return target;
128 }
129 }
130
131
132
133
134 public void setOrganizationName(java.lang.String organizationName)
135 {
136 synchronized (monitor())
137 {
138 check_orphaned();
139 org.apache.xmlbeans.SimpleValue target = null;
140 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
141 if (target == null)
142 {
143 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORGANIZATIONNAME$0);
144 }
145 target.setStringValue(organizationName);
146 }
147 }
148
149
150
151
152 public void xsetOrganizationName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType organizationName)
153 {
154 synchronized (monitor())
155 {
156 check_orphaned();
157 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
158 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
159 if (target == null)
160 {
161 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(ORGANIZATIONNAME$0);
162 }
163 target.set(organizationName);
164 }
165 }
166
167
168
169
170 public java.lang.String getAwardNumber()
171 {
172 synchronized (monitor())
173 {
174 check_orphaned();
175 org.apache.xmlbeans.SimpleValue target = null;
176 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AWARDNUMBER$2, 0);
177 if (target == null)
178 {
179 return null;
180 }
181 return target.getStringValue();
182 }
183 }
184
185
186
187
188 public gov.grants.apply.system.globalLibraryV20.ProjectAwardNumberDataType xgetAwardNumber()
189 {
190 synchronized (monitor())
191 {
192 check_orphaned();
193 gov.grants.apply.system.globalLibraryV20.ProjectAwardNumberDataType target = null;
194 target = (gov.grants.apply.system.globalLibraryV20.ProjectAwardNumberDataType)get_store().find_element_user(AWARDNUMBER$2, 0);
195 return target;
196 }
197 }
198
199
200
201
202 public boolean isSetAwardNumber()
203 {
204 synchronized (monitor())
205 {
206 check_orphaned();
207 return get_store().count_elements(AWARDNUMBER$2) != 0;
208 }
209 }
210
211
212
213
214 public void setAwardNumber(java.lang.String awardNumber)
215 {
216 synchronized (monitor())
217 {
218 check_orphaned();
219 org.apache.xmlbeans.SimpleValue target = null;
220 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AWARDNUMBER$2, 0);
221 if (target == null)
222 {
223 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AWARDNUMBER$2);
224 }
225 target.setStringValue(awardNumber);
226 }
227 }
228
229
230
231
232 public void xsetAwardNumber(gov.grants.apply.system.globalLibraryV20.ProjectAwardNumberDataType awardNumber)
233 {
234 synchronized (monitor())
235 {
236 check_orphaned();
237 gov.grants.apply.system.globalLibraryV20.ProjectAwardNumberDataType target = null;
238 target = (gov.grants.apply.system.globalLibraryV20.ProjectAwardNumberDataType)get_store().find_element_user(AWARDNUMBER$2, 0);
239 if (target == null)
240 {
241 target = (gov.grants.apply.system.globalLibraryV20.ProjectAwardNumberDataType)get_store().add_element_user(AWARDNUMBER$2);
242 }
243 target.set(awardNumber);
244 }
245 }
246
247
248
249
250 public void unsetAwardNumber()
251 {
252 synchronized (monitor())
253 {
254 check_orphaned();
255 get_store().remove_element(AWARDNUMBER$2, 0);
256 }
257 }
258
259
260
261
262 public java.lang.String getProjectName()
263 {
264 synchronized (monitor())
265 {
266 check_orphaned();
267 org.apache.xmlbeans.SimpleValue target = null;
268 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROJECTNAME$4, 0);
269 if (target == null)
270 {
271 return null;
272 }
273 return target.getStringValue();
274 }
275 }
276
277
278
279
280 public gov.grants.apply.forms.cd511V11.CD511Document.CD511.ProjectName xgetProjectName()
281 {
282 synchronized (monitor())
283 {
284 check_orphaned();
285 gov.grants.apply.forms.cd511V11.CD511Document.CD511.ProjectName target = null;
286 target = (gov.grants.apply.forms.cd511V11.CD511Document.CD511.ProjectName)get_store().find_element_user(PROJECTNAME$4, 0);
287 return target;
288 }
289 }
290
291
292
293
294 public boolean isSetProjectName()
295 {
296 synchronized (monitor())
297 {
298 check_orphaned();
299 return get_store().count_elements(PROJECTNAME$4) != 0;
300 }
301 }
302
303
304
305
306 public void setProjectName(java.lang.String projectName)
307 {
308 synchronized (monitor())
309 {
310 check_orphaned();
311 org.apache.xmlbeans.SimpleValue target = null;
312 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROJECTNAME$4, 0);
313 if (target == null)
314 {
315 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROJECTNAME$4);
316 }
317 target.setStringValue(projectName);
318 }
319 }
320
321
322
323
324 public void xsetProjectName(gov.grants.apply.forms.cd511V11.CD511Document.CD511.ProjectName projectName)
325 {
326 synchronized (monitor())
327 {
328 check_orphaned();
329 gov.grants.apply.forms.cd511V11.CD511Document.CD511.ProjectName target = null;
330 target = (gov.grants.apply.forms.cd511V11.CD511Document.CD511.ProjectName)get_store().find_element_user(PROJECTNAME$4, 0);
331 if (target == null)
332 {
333 target = (gov.grants.apply.forms.cd511V11.CD511Document.CD511.ProjectName)get_store().add_element_user(PROJECTNAME$4);
334 }
335 target.set(projectName);
336 }
337 }
338
339
340
341
342 public void unsetProjectName()
343 {
344 synchronized (monitor())
345 {
346 check_orphaned();
347 get_store().remove_element(PROJECTNAME$4, 0);
348 }
349 }
350
351
352
353
354 public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getContactName()
355 {
356 synchronized (monitor())
357 {
358 check_orphaned();
359 gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
360 target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().find_element_user(CONTACTNAME$6, 0);
361 if (target == null)
362 {
363 return null;
364 }
365 return target;
366 }
367 }
368
369
370
371
372 public boolean isSetContactName()
373 {
374 synchronized (monitor())
375 {
376 check_orphaned();
377 return get_store().count_elements(CONTACTNAME$6) != 0;
378 }
379 }
380
381
382
383
384 public void setContactName(gov.grants.apply.system.globalLibraryV20.HumanNameDataType contactName)
385 {
386 generatedSetterHelperImpl(contactName, CONTACTNAME$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
387 }
388
389
390
391
392 public gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewContactName()
393 {
394 synchronized (monitor())
395 {
396 check_orphaned();
397 gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
398 target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().add_element_user(CONTACTNAME$6);
399 return target;
400 }
401 }
402
403
404
405
406 public void unsetContactName()
407 {
408 synchronized (monitor())
409 {
410 check_orphaned();
411 get_store().remove_element(CONTACTNAME$6, 0);
412 }
413 }
414
415
416
417
418 public java.lang.String getTitle()
419 {
420 synchronized (monitor())
421 {
422 check_orphaned();
423 org.apache.xmlbeans.SimpleValue target = null;
424 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TITLE$8, 0);
425 if (target == null)
426 {
427 return null;
428 }
429 return target.getStringValue();
430 }
431 }
432
433
434
435
436 public gov.grants.apply.system.globalLibraryV20.HumanTitleDataType xgetTitle()
437 {
438 synchronized (monitor())
439 {
440 check_orphaned();
441 gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
442 target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(TITLE$8, 0);
443 return target;
444 }
445 }
446
447
448
449
450 public void setTitle(java.lang.String title)
451 {
452 synchronized (monitor())
453 {
454 check_orphaned();
455 org.apache.xmlbeans.SimpleValue target = null;
456 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TITLE$8, 0);
457 if (target == null)
458 {
459 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TITLE$8);
460 }
461 target.setStringValue(title);
462 }
463 }
464
465
466
467
468 public void xsetTitle(gov.grants.apply.system.globalLibraryV20.HumanTitleDataType title)
469 {
470 synchronized (monitor())
471 {
472 check_orphaned();
473 gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
474 target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(TITLE$8, 0);
475 if (target == null)
476 {
477 target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().add_element_user(TITLE$8);
478 }
479 target.set(title);
480 }
481 }
482
483
484
485
486 public java.lang.String getSignature()
487 {
488 synchronized (monitor())
489 {
490 check_orphaned();
491 org.apache.xmlbeans.SimpleValue target = null;
492 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SIGNATURE$10, 0);
493 if (target == null)
494 {
495 return null;
496 }
497 return target.getStringValue();
498 }
499 }
500
501
502
503
504 public gov.grants.apply.system.globalLibraryV20.SignatureDataType xgetSignature()
505 {
506 synchronized (monitor())
507 {
508 check_orphaned();
509 gov.grants.apply.system.globalLibraryV20.SignatureDataType target = null;
510 target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().find_element_user(SIGNATURE$10, 0);
511 return target;
512 }
513 }
514
515
516
517
518 public void setSignature(java.lang.String signature)
519 {
520 synchronized (monitor())
521 {
522 check_orphaned();
523 org.apache.xmlbeans.SimpleValue target = null;
524 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SIGNATURE$10, 0);
525 if (target == null)
526 {
527 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SIGNATURE$10);
528 }
529 target.setStringValue(signature);
530 }
531 }
532
533
534
535
536 public void xsetSignature(gov.grants.apply.system.globalLibraryV20.SignatureDataType signature)
537 {
538 synchronized (monitor())
539 {
540 check_orphaned();
541 gov.grants.apply.system.globalLibraryV20.SignatureDataType target = null;
542 target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().find_element_user(SIGNATURE$10, 0);
543 if (target == null)
544 {
545 target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().add_element_user(SIGNATURE$10);
546 }
547 target.set(signature);
548 }
549 }
550
551
552
553
554 public java.util.Calendar getSubmittedDate()
555 {
556 synchronized (monitor())
557 {
558 check_orphaned();
559 org.apache.xmlbeans.SimpleValue target = null;
560 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SUBMITTEDDATE$12, 0);
561 if (target == null)
562 {
563 return null;
564 }
565 return target.getCalendarValue();
566 }
567 }
568
569
570
571
572 public org.apache.xmlbeans.XmlDate xgetSubmittedDate()
573 {
574 synchronized (monitor())
575 {
576 check_orphaned();
577 org.apache.xmlbeans.XmlDate target = null;
578 target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(SUBMITTEDDATE$12, 0);
579 return target;
580 }
581 }
582
583
584
585
586 public void setSubmittedDate(java.util.Calendar submittedDate)
587 {
588 synchronized (monitor())
589 {
590 check_orphaned();
591 org.apache.xmlbeans.SimpleValue target = null;
592 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SUBMITTEDDATE$12, 0);
593 if (target == null)
594 {
595 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SUBMITTEDDATE$12);
596 }
597 target.setCalendarValue(submittedDate);
598 }
599 }
600
601
602
603
604 public void xsetSubmittedDate(org.apache.xmlbeans.XmlDate submittedDate)
605 {
606 synchronized (monitor())
607 {
608 check_orphaned();
609 org.apache.xmlbeans.XmlDate target = null;
610 target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(SUBMITTEDDATE$12, 0);
611 if (target == null)
612 {
613 target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(SUBMITTEDDATE$12);
614 }
615 target.set(submittedDate);
616 }
617 }
618
619
620
621
622 public java.lang.String getFormVersion()
623 {
624 synchronized (monitor())
625 {
626 check_orphaned();
627 org.apache.xmlbeans.SimpleValue target = null;
628 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$14);
629 if (target == null)
630 {
631 target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$14);
632 }
633 if (target == null)
634 {
635 return null;
636 }
637 return target.getStringValue();
638 }
639 }
640
641
642
643
644 public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
645 {
646 synchronized (monitor())
647 {
648 check_orphaned();
649 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
650 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$14);
651 if (target == null)
652 {
653 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$14);
654 }
655 return target;
656 }
657 }
658
659
660
661
662 public void setFormVersion(java.lang.String formVersion)
663 {
664 synchronized (monitor())
665 {
666 check_orphaned();
667 org.apache.xmlbeans.SimpleValue target = null;
668 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$14);
669 if (target == null)
670 {
671 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$14);
672 }
673 target.setStringValue(formVersion);
674 }
675 }
676
677
678
679
680 public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
681 {
682 synchronized (monitor())
683 {
684 check_orphaned();
685 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
686 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$14);
687 if (target == null)
688 {
689 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$14);
690 }
691 target.set(formVersion);
692 }
693 }
694
695
696
697
698
699 public static class ProjectNameImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.cd511V11.CD511Document.CD511.ProjectName
700 {
701 private static final long serialVersionUID = 1L;
702
703 public ProjectNameImpl(org.apache.xmlbeans.SchemaType sType)
704 {
705 super(sType, false);
706 }
707
708 protected ProjectNameImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
709 {
710 super(sType, b);
711 }
712 }
713 }
714 }