1
2
3
4
5
6
7
8
9 package gov.grants.apply.forms.sf424AV10.impl;
10
11
12
13
14
15 public class ResourceLineItemDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.ResourceLineItemDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public ResourceLineItemDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName RESOURCELINEITEM$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "ResourceLineItem");
26
27
28
29
30
31 public gov.grants.apply.forms.sf424AV10.ResourceLineItemDocument.ResourceLineItem getResourceLineItem()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.forms.sf424AV10.ResourceLineItemDocument.ResourceLineItem target = null;
37 target = (gov.grants.apply.forms.sf424AV10.ResourceLineItemDocument.ResourceLineItem)get_store().find_element_user(RESOURCELINEITEM$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setResourceLineItem(gov.grants.apply.forms.sf424AV10.ResourceLineItemDocument.ResourceLineItem resourceLineItem)
50 {
51 generatedSetterHelperImpl(resourceLineItem, RESOURCELINEITEM$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.forms.sf424AV10.ResourceLineItemDocument.ResourceLineItem addNewResourceLineItem()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.forms.sf424AV10.ResourceLineItemDocument.ResourceLineItem target = null;
63 target = (gov.grants.apply.forms.sf424AV10.ResourceLineItemDocument.ResourceLineItem)get_store().add_element_user(RESOURCELINEITEM$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class ResourceLineItemImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.ResourceLineItemDocument.ResourceLineItem
73 {
74 private static final long serialVersionUID = 1L;
75
76 public ResourceLineItemImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName BUDGETAPPLICANTCONTRIBUTIONAMOUNT$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetApplicantContributionAmount");
83 private static final javax.xml.namespace.QName BUDGETSTATECONTRIBUTIONAMOUNT$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetStateContributionAmount");
85 private static final javax.xml.namespace.QName BUDGETOTHERCONTRIBUTIONAMOUNT$4 =
86 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetOtherContributionAmount");
87 private static final javax.xml.namespace.QName BUDGETTOTALCONTRIBUTIONAMOUNT$6 =
88 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetTotalContributionAmount");
89 private static final javax.xml.namespace.QName ACTIVITYTITLE$8 =
90 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "activityTitle");
91
92
93
94
95
96 public java.math.BigDecimal getBudgetApplicantContributionAmount()
97 {
98 synchronized (monitor())
99 {
100 check_orphaned();
101 org.apache.xmlbeans.SimpleValue target = null;
102 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETAPPLICANTCONTRIBUTIONAMOUNT$0, 0);
103 if (target == null)
104 {
105 return null;
106 }
107 return target.getBigDecimalValue();
108 }
109 }
110
111
112
113
114 public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetApplicantContributionAmount()
115 {
116 synchronized (monitor())
117 {
118 check_orphaned();
119 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
120 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETAPPLICANTCONTRIBUTIONAMOUNT$0, 0);
121 return target;
122 }
123 }
124
125
126
127
128 public boolean isSetBudgetApplicantContributionAmount()
129 {
130 synchronized (monitor())
131 {
132 check_orphaned();
133 return get_store().count_elements(BUDGETAPPLICANTCONTRIBUTIONAMOUNT$0) != 0;
134 }
135 }
136
137
138
139
140 public void setBudgetApplicantContributionAmount(java.math.BigDecimal budgetApplicantContributionAmount)
141 {
142 synchronized (monitor())
143 {
144 check_orphaned();
145 org.apache.xmlbeans.SimpleValue target = null;
146 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETAPPLICANTCONTRIBUTIONAMOUNT$0, 0);
147 if (target == null)
148 {
149 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETAPPLICANTCONTRIBUTIONAMOUNT$0);
150 }
151 target.setBigDecimalValue(budgetApplicantContributionAmount);
152 }
153 }
154
155
156
157
158 public void xsetBudgetApplicantContributionAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetApplicantContributionAmount)
159 {
160 synchronized (monitor())
161 {
162 check_orphaned();
163 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
164 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETAPPLICANTCONTRIBUTIONAMOUNT$0, 0);
165 if (target == null)
166 {
167 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETAPPLICANTCONTRIBUTIONAMOUNT$0);
168 }
169 target.set(budgetApplicantContributionAmount);
170 }
171 }
172
173
174
175
176 public void unsetBudgetApplicantContributionAmount()
177 {
178 synchronized (monitor())
179 {
180 check_orphaned();
181 get_store().remove_element(BUDGETAPPLICANTCONTRIBUTIONAMOUNT$0, 0);
182 }
183 }
184
185
186
187
188 public java.math.BigDecimal getBudgetStateContributionAmount()
189 {
190 synchronized (monitor())
191 {
192 check_orphaned();
193 org.apache.xmlbeans.SimpleValue target = null;
194 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETSTATECONTRIBUTIONAMOUNT$2, 0);
195 if (target == null)
196 {
197 return null;
198 }
199 return target.getBigDecimalValue();
200 }
201 }
202
203
204
205
206 public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetStateContributionAmount()
207 {
208 synchronized (monitor())
209 {
210 check_orphaned();
211 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
212 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETSTATECONTRIBUTIONAMOUNT$2, 0);
213 return target;
214 }
215 }
216
217
218
219
220 public boolean isSetBudgetStateContributionAmount()
221 {
222 synchronized (monitor())
223 {
224 check_orphaned();
225 return get_store().count_elements(BUDGETSTATECONTRIBUTIONAMOUNT$2) != 0;
226 }
227 }
228
229
230
231
232 public void setBudgetStateContributionAmount(java.math.BigDecimal budgetStateContributionAmount)
233 {
234 synchronized (monitor())
235 {
236 check_orphaned();
237 org.apache.xmlbeans.SimpleValue target = null;
238 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETSTATECONTRIBUTIONAMOUNT$2, 0);
239 if (target == null)
240 {
241 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETSTATECONTRIBUTIONAMOUNT$2);
242 }
243 target.setBigDecimalValue(budgetStateContributionAmount);
244 }
245 }
246
247
248
249
250 public void xsetBudgetStateContributionAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetStateContributionAmount)
251 {
252 synchronized (monitor())
253 {
254 check_orphaned();
255 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
256 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETSTATECONTRIBUTIONAMOUNT$2, 0);
257 if (target == null)
258 {
259 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETSTATECONTRIBUTIONAMOUNT$2);
260 }
261 target.set(budgetStateContributionAmount);
262 }
263 }
264
265
266
267
268 public void unsetBudgetStateContributionAmount()
269 {
270 synchronized (monitor())
271 {
272 check_orphaned();
273 get_store().remove_element(BUDGETSTATECONTRIBUTIONAMOUNT$2, 0);
274 }
275 }
276
277
278
279
280 public java.math.BigDecimal getBudgetOtherContributionAmount()
281 {
282 synchronized (monitor())
283 {
284 check_orphaned();
285 org.apache.xmlbeans.SimpleValue target = null;
286 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETOTHERCONTRIBUTIONAMOUNT$4, 0);
287 if (target == null)
288 {
289 return null;
290 }
291 return target.getBigDecimalValue();
292 }
293 }
294
295
296
297
298 public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetOtherContributionAmount()
299 {
300 synchronized (monitor())
301 {
302 check_orphaned();
303 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
304 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETOTHERCONTRIBUTIONAMOUNT$4, 0);
305 return target;
306 }
307 }
308
309
310
311
312 public boolean isSetBudgetOtherContributionAmount()
313 {
314 synchronized (monitor())
315 {
316 check_orphaned();
317 return get_store().count_elements(BUDGETOTHERCONTRIBUTIONAMOUNT$4) != 0;
318 }
319 }
320
321
322
323
324 public void setBudgetOtherContributionAmount(java.math.BigDecimal budgetOtherContributionAmount)
325 {
326 synchronized (monitor())
327 {
328 check_orphaned();
329 org.apache.xmlbeans.SimpleValue target = null;
330 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETOTHERCONTRIBUTIONAMOUNT$4, 0);
331 if (target == null)
332 {
333 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETOTHERCONTRIBUTIONAMOUNT$4);
334 }
335 target.setBigDecimalValue(budgetOtherContributionAmount);
336 }
337 }
338
339
340
341
342 public void xsetBudgetOtherContributionAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetOtherContributionAmount)
343 {
344 synchronized (monitor())
345 {
346 check_orphaned();
347 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
348 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETOTHERCONTRIBUTIONAMOUNT$4, 0);
349 if (target == null)
350 {
351 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETOTHERCONTRIBUTIONAMOUNT$4);
352 }
353 target.set(budgetOtherContributionAmount);
354 }
355 }
356
357
358
359
360 public void unsetBudgetOtherContributionAmount()
361 {
362 synchronized (monitor())
363 {
364 check_orphaned();
365 get_store().remove_element(BUDGETOTHERCONTRIBUTIONAMOUNT$4, 0);
366 }
367 }
368
369
370
371
372 public java.math.BigDecimal getBudgetTotalContributionAmount()
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(BUDGETTOTALCONTRIBUTIONAMOUNT$6, 0);
379 if (target == null)
380 {
381 return null;
382 }
383 return target.getBigDecimalValue();
384 }
385 }
386
387
388
389
390 public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetBudgetTotalContributionAmount()
391 {
392 synchronized (monitor())
393 {
394 check_orphaned();
395 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
396 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTOTALCONTRIBUTIONAMOUNT$6, 0);
397 return target;
398 }
399 }
400
401
402
403
404 public boolean isSetBudgetTotalContributionAmount()
405 {
406 synchronized (monitor())
407 {
408 check_orphaned();
409 return get_store().count_elements(BUDGETTOTALCONTRIBUTIONAMOUNT$6) != 0;
410 }
411 }
412
413
414
415
416 public void setBudgetTotalContributionAmount(java.math.BigDecimal budgetTotalContributionAmount)
417 {
418 synchronized (monitor())
419 {
420 check_orphaned();
421 org.apache.xmlbeans.SimpleValue target = null;
422 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUDGETTOTALCONTRIBUTIONAMOUNT$6, 0);
423 if (target == null)
424 {
425 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUDGETTOTALCONTRIBUTIONAMOUNT$6);
426 }
427 target.setBigDecimalValue(budgetTotalContributionAmount);
428 }
429 }
430
431
432
433
434 public void xsetBudgetTotalContributionAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type budgetTotalContributionAmount)
435 {
436 synchronized (monitor())
437 {
438 check_orphaned();
439 gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
440 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(BUDGETTOTALCONTRIBUTIONAMOUNT$6, 0);
441 if (target == null)
442 {
443 target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(BUDGETTOTALCONTRIBUTIONAMOUNT$6);
444 }
445 target.set(budgetTotalContributionAmount);
446 }
447 }
448
449
450
451
452 public void unsetBudgetTotalContributionAmount()
453 {
454 synchronized (monitor())
455 {
456 check_orphaned();
457 get_store().remove_element(BUDGETTOTALCONTRIBUTIONAMOUNT$6, 0);
458 }
459 }
460
461
462
463
464 public java.lang.String getActivityTitle()
465 {
466 synchronized (monitor())
467 {
468 check_orphaned();
469 org.apache.xmlbeans.SimpleValue target = null;
470 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTIVITYTITLE$8);
471 if (target == null)
472 {
473 return null;
474 }
475 return target.getStringValue();
476 }
477 }
478
479
480
481
482 public gov.grants.apply.system.globalV10.StringMin1Max120Type xgetActivityTitle()
483 {
484 synchronized (monitor())
485 {
486 check_orphaned();
487 gov.grants.apply.system.globalV10.StringMin1Max120Type target = null;
488 target = (gov.grants.apply.system.globalV10.StringMin1Max120Type)get_store().find_attribute_user(ACTIVITYTITLE$8);
489 return target;
490 }
491 }
492
493
494
495
496 public void setActivityTitle(java.lang.String activityTitle)
497 {
498 synchronized (monitor())
499 {
500 check_orphaned();
501 org.apache.xmlbeans.SimpleValue target = null;
502 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTIVITYTITLE$8);
503 if (target == null)
504 {
505 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ACTIVITYTITLE$8);
506 }
507 target.setStringValue(activityTitle);
508 }
509 }
510
511
512
513
514 public void xsetActivityTitle(gov.grants.apply.system.globalV10.StringMin1Max120Type activityTitle)
515 {
516 synchronized (monitor())
517 {
518 check_orphaned();
519 gov.grants.apply.system.globalV10.StringMin1Max120Type target = null;
520 target = (gov.grants.apply.system.globalV10.StringMin1Max120Type)get_store().find_attribute_user(ACTIVITYTITLE$8);
521 if (target == null)
522 {
523 target = (gov.grants.apply.system.globalV10.StringMin1Max120Type)get_store().add_attribute_user(ACTIVITYTITLE$8);
524 }
525 target.set(activityTitle);
526 }
527 }
528 }
529 }