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