1
2
3
4
5
6
7
8
9 package gov.grants.apply.forms.sf424AV10.impl;
10
11
12
13
14
15 public class BudgetSummaryDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.BudgetSummaryDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public BudgetSummaryDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName BUDGETSUMMARY$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "BudgetSummary");
26
27
28
29
30
31 public gov.grants.apply.forms.sf424AV10.BudgetSummaryDocument.BudgetSummary getBudgetSummary()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.forms.sf424AV10.BudgetSummaryDocument.BudgetSummary target = null;
37 target = (gov.grants.apply.forms.sf424AV10.BudgetSummaryDocument.BudgetSummary)get_store().find_element_user(BUDGETSUMMARY$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setBudgetSummary(gov.grants.apply.forms.sf424AV10.BudgetSummaryDocument.BudgetSummary budgetSummary)
50 {
51 generatedSetterHelperImpl(budgetSummary, BUDGETSUMMARY$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.forms.sf424AV10.BudgetSummaryDocument.BudgetSummary addNewBudgetSummary()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.forms.sf424AV10.BudgetSummaryDocument.BudgetSummary target = null;
63 target = (gov.grants.apply.forms.sf424AV10.BudgetSummaryDocument.BudgetSummary)get_store().add_element_user(BUDGETSUMMARY$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class BudgetSummaryImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.sf424AV10.BudgetSummaryDocument.BudgetSummary
73 {
74 private static final long serialVersionUID = 1L;
75
76 public BudgetSummaryImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName SUMMARYLINEITEM$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "SummaryLineItem");
83 private static final javax.xml.namespace.QName SUMMARYTOTALS$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SF424A-V1.0", "SummaryTotals");
85
86
87
88
89
90 public gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem[] getSummaryLineItemArray()
91 {
92 synchronized (monitor())
93 {
94 check_orphaned();
95 java.util.List targetList = new java.util.ArrayList();
96 get_store().find_all_element_users(SUMMARYLINEITEM$0, targetList);
97 gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem[] result = new gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem[targetList.size()];
98 targetList.toArray(result);
99 return result;
100 }
101 }
102
103
104
105
106 public gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem getSummaryLineItemArray(int i)
107 {
108 synchronized (monitor())
109 {
110 check_orphaned();
111 gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem target = null;
112 target = (gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem)get_store().find_element_user(SUMMARYLINEITEM$0, i);
113 if (target == null)
114 {
115 throw new IndexOutOfBoundsException();
116 }
117 return target;
118 }
119 }
120
121
122
123
124 public int sizeOfSummaryLineItemArray()
125 {
126 synchronized (monitor())
127 {
128 check_orphaned();
129 return get_store().count_elements(SUMMARYLINEITEM$0);
130 }
131 }
132
133
134
135
136 public void setSummaryLineItemArray(gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem[] summaryLineItemArray)
137 {
138 check_orphaned();
139 arraySetterHelper(summaryLineItemArray, SUMMARYLINEITEM$0);
140 }
141
142
143
144
145 public void setSummaryLineItemArray(int i, gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem summaryLineItem)
146 {
147 generatedSetterHelperImpl(summaryLineItem, SUMMARYLINEITEM$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
148 }
149
150
151
152
153 public gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem insertNewSummaryLineItem(int i)
154 {
155 synchronized (monitor())
156 {
157 check_orphaned();
158 gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem target = null;
159 target = (gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem)get_store().insert_element_user(SUMMARYLINEITEM$0, i);
160 return target;
161 }
162 }
163
164
165
166
167 public gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem addNewSummaryLineItem()
168 {
169 synchronized (monitor())
170 {
171 check_orphaned();
172 gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem target = null;
173 target = (gov.grants.apply.forms.sf424AV10.SummaryLineItemDocument.SummaryLineItem)get_store().add_element_user(SUMMARYLINEITEM$0);
174 return target;
175 }
176 }
177
178
179
180
181 public void removeSummaryLineItem(int i)
182 {
183 synchronized (monitor())
184 {
185 check_orphaned();
186 get_store().remove_element(SUMMARYLINEITEM$0, i);
187 }
188 }
189
190
191
192
193 public gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals getSummaryTotals()
194 {
195 synchronized (monitor())
196 {
197 check_orphaned();
198 gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals target = null;
199 target = (gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals)get_store().find_element_user(SUMMARYTOTALS$2, 0);
200 if (target == null)
201 {
202 return null;
203 }
204 return target;
205 }
206 }
207
208
209
210
211 public boolean isSetSummaryTotals()
212 {
213 synchronized (monitor())
214 {
215 check_orphaned();
216 return get_store().count_elements(SUMMARYTOTALS$2) != 0;
217 }
218 }
219
220
221
222
223 public void setSummaryTotals(gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals summaryTotals)
224 {
225 generatedSetterHelperImpl(summaryTotals, SUMMARYTOTALS$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
226 }
227
228
229
230
231 public gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals addNewSummaryTotals()
232 {
233 synchronized (monitor())
234 {
235 check_orphaned();
236 gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals target = null;
237 target = (gov.grants.apply.forms.sf424AV10.SummaryTotalsDocument.SummaryTotals)get_store().add_element_user(SUMMARYTOTALS$2);
238 return target;
239 }
240 }
241
242
243
244
245 public void unsetSummaryTotals()
246 {
247 synchronized (monitor())
248 {
249 check_orphaned();
250 get_store().remove_element(SUMMARYTOTALS$2, 0);
251 }
252 }
253 }
254 }