1
2
3
4
5
6
7
8
9 package gov.grants.apply.system.agencyManagePackageV10.impl;
10
11
12
13
14
15 public class CreatePackageResultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.agencyManagePackageV10.CreatePackageResultDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public CreatePackageResultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName CREATEPACKAGERESULT$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "CreatePackageResult");
26
27
28
29
30
31 public gov.grants.apply.system.agencyManagePackageV10.CreatePackageResultDocument.CreatePackageResult getCreatePackageResult()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.system.agencyManagePackageV10.CreatePackageResultDocument.CreatePackageResult target = null;
37 target = (gov.grants.apply.system.agencyManagePackageV10.CreatePackageResultDocument.CreatePackageResult)get_store().find_element_user(CREATEPACKAGERESULT$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setCreatePackageResult(gov.grants.apply.system.agencyManagePackageV10.CreatePackageResultDocument.CreatePackageResult createPackageResult)
50 {
51 generatedSetterHelperImpl(createPackageResult, CREATEPACKAGERESULT$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.system.agencyManagePackageV10.CreatePackageResultDocument.CreatePackageResult addNewCreatePackageResult()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.system.agencyManagePackageV10.CreatePackageResultDocument.CreatePackageResult target = null;
63 target = (gov.grants.apply.system.agencyManagePackageV10.CreatePackageResultDocument.CreatePackageResult)get_store().add_element_user(CREATEPACKAGERESULT$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class CreatePackageResultImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.agencyManagePackageV10.CreatePackageResultDocument.CreatePackageResult
73 {
74 private static final long serialVersionUID = 1L;
75
76 public CreatePackageResultImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName COMPETITIONID$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "CompetitionID");
83 private static final javax.xml.namespace.QName CFDANUMBER$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "CFDANumber");
85 private static final javax.xml.namespace.QName ERRORDETAILS$4 =
86 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "ErrorDetails");
87
88
89
90
91
92 public java.lang.String getCompetitionID()
93 {
94 synchronized (monitor())
95 {
96 check_orphaned();
97 org.apache.xmlbeans.SimpleValue target = null;
98 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMPETITIONID$0, 0);
99 if (target == null)
100 {
101 return null;
102 }
103 return target.getStringValue();
104 }
105 }
106
107
108
109
110 public gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType xgetCompetitionID()
111 {
112 synchronized (monitor())
113 {
114 check_orphaned();
115 gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType target = null;
116 target = (gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType)get_store().find_element_user(COMPETITIONID$0, 0);
117 return target;
118 }
119 }
120
121
122
123
124 public boolean isSetCompetitionID()
125 {
126 synchronized (monitor())
127 {
128 check_orphaned();
129 return get_store().count_elements(COMPETITIONID$0) != 0;
130 }
131 }
132
133
134
135
136 public void setCompetitionID(java.lang.String competitionID)
137 {
138 synchronized (monitor())
139 {
140 check_orphaned();
141 org.apache.xmlbeans.SimpleValue target = null;
142 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMPETITIONID$0, 0);
143 if (target == null)
144 {
145 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COMPETITIONID$0);
146 }
147 target.setStringValue(competitionID);
148 }
149 }
150
151
152
153
154 public void xsetCompetitionID(gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType competitionID)
155 {
156 synchronized (monitor())
157 {
158 check_orphaned();
159 gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType target = null;
160 target = (gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType)get_store().find_element_user(COMPETITIONID$0, 0);
161 if (target == null)
162 {
163 target = (gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType)get_store().add_element_user(COMPETITIONID$0);
164 }
165 target.set(competitionID);
166 }
167 }
168
169
170
171
172 public void unsetCompetitionID()
173 {
174 synchronized (monitor())
175 {
176 check_orphaned();
177 get_store().remove_element(COMPETITIONID$0, 0);
178 }
179 }
180
181
182
183
184 public java.lang.String getCFDANumber()
185 {
186 synchronized (monitor())
187 {
188 check_orphaned();
189 org.apache.xmlbeans.SimpleValue target = null;
190 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CFDANUMBER$2, 0);
191 if (target == null)
192 {
193 return null;
194 }
195 return target.getStringValue();
196 }
197 }
198
199
200
201
202 public gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType xgetCFDANumber()
203 {
204 synchronized (monitor())
205 {
206 check_orphaned();
207 gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType target = null;
208 target = (gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType)get_store().find_element_user(CFDANUMBER$2, 0);
209 return target;
210 }
211 }
212
213
214
215
216 public boolean isSetCFDANumber()
217 {
218 synchronized (monitor())
219 {
220 check_orphaned();
221 return get_store().count_elements(CFDANUMBER$2) != 0;
222 }
223 }
224
225
226
227
228 public void setCFDANumber(java.lang.String cfdaNumber)
229 {
230 synchronized (monitor())
231 {
232 check_orphaned();
233 org.apache.xmlbeans.SimpleValue target = null;
234 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CFDANUMBER$2, 0);
235 if (target == null)
236 {
237 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CFDANUMBER$2);
238 }
239 target.setStringValue(cfdaNumber);
240 }
241 }
242
243
244
245
246 public void xsetCFDANumber(gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType cfdaNumber)
247 {
248 synchronized (monitor())
249 {
250 check_orphaned();
251 gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType target = null;
252 target = (gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType)get_store().find_element_user(CFDANUMBER$2, 0);
253 if (target == null)
254 {
255 target = (gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType)get_store().add_element_user(CFDANUMBER$2);
256 }
257 target.set(cfdaNumber);
258 }
259 }
260
261
262
263
264 public void unsetCFDANumber()
265 {
266 synchronized (monitor())
267 {
268 check_orphaned();
269 get_store().remove_element(CFDANUMBER$2, 0);
270 }
271 }
272
273
274
275
276 public gov.grants.apply.system.grantsCommonElementsV10.ErrorDetailsDocument.ErrorDetails getErrorDetails()
277 {
278 synchronized (monitor())
279 {
280 check_orphaned();
281 gov.grants.apply.system.grantsCommonElementsV10.ErrorDetailsDocument.ErrorDetails target = null;
282 target = (gov.grants.apply.system.grantsCommonElementsV10.ErrorDetailsDocument.ErrorDetails)get_store().find_element_user(ERRORDETAILS$4, 0);
283 if (target == null)
284 {
285 return null;
286 }
287 return target;
288 }
289 }
290
291
292
293
294 public boolean isSetErrorDetails()
295 {
296 synchronized (monitor())
297 {
298 check_orphaned();
299 return get_store().count_elements(ERRORDETAILS$4) != 0;
300 }
301 }
302
303
304
305
306 public void setErrorDetails(gov.grants.apply.system.grantsCommonElementsV10.ErrorDetailsDocument.ErrorDetails errorDetails)
307 {
308 generatedSetterHelperImpl(errorDetails, ERRORDETAILS$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
309 }
310
311
312
313
314 public gov.grants.apply.system.grantsCommonElementsV10.ErrorDetailsDocument.ErrorDetails addNewErrorDetails()
315 {
316 synchronized (monitor())
317 {
318 check_orphaned();
319 gov.grants.apply.system.grantsCommonElementsV10.ErrorDetailsDocument.ErrorDetails target = null;
320 target = (gov.grants.apply.system.grantsCommonElementsV10.ErrorDetailsDocument.ErrorDetails)get_store().add_element_user(ERRORDETAILS$4);
321 return target;
322 }
323 }
324
325
326
327
328 public void unsetErrorDetails()
329 {
330 synchronized (monitor())
331 {
332 check_orphaned();
333 get_store().remove_element(ERRORDETAILS$4, 0);
334 }
335 }
336 }
337 }