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