1
2
3
4
5
6
7
8
9 package gov.grants.apply.system.footerV10.impl;
10
11
12
13
14
15 public class GrantSubmissionFooterDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.footerV10.GrantSubmissionFooterDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public GrantSubmissionFooterDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName GRANTSUBMISSIONFOOTER$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/system/Footer-V1.0", "GrantSubmissionFooter");
26
27
28
29
30
31 public gov.grants.apply.system.footerV10.GrantSubmissionFooterDocument.GrantSubmissionFooter getGrantSubmissionFooter()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.system.footerV10.GrantSubmissionFooterDocument.GrantSubmissionFooter target = null;
37 target = (gov.grants.apply.system.footerV10.GrantSubmissionFooterDocument.GrantSubmissionFooter)get_store().find_element_user(GRANTSUBMISSIONFOOTER$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setGrantSubmissionFooter(gov.grants.apply.system.footerV10.GrantSubmissionFooterDocument.GrantSubmissionFooter grantSubmissionFooter)
50 {
51 generatedSetterHelperImpl(grantSubmissionFooter, GRANTSUBMISSIONFOOTER$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.system.footerV10.GrantSubmissionFooterDocument.GrantSubmissionFooter addNewGrantSubmissionFooter()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.system.footerV10.GrantSubmissionFooterDocument.GrantSubmissionFooter target = null;
63 target = (gov.grants.apply.system.footerV10.GrantSubmissionFooterDocument.GrantSubmissionFooter)get_store().add_element_user(GRANTSUBMISSIONFOOTER$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class GrantSubmissionFooterImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.footerV10.GrantSubmissionFooterDocument.GrantSubmissionFooter
73 {
74 private static final long serialVersionUID = 1L;
75
76 public GrantSubmissionFooterImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName HASHVALUE$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/system/Global-V1.0", "HashValue");
83 private static final javax.xml.namespace.QName RECEIVEDDATETIME$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/system/Footer-V1.0", "ReceivedDateTime");
85 private static final javax.xml.namespace.QName SUBMITTERNAME$4 =
86 new javax.xml.namespace.QName("http://apply.grants.gov/system/Footer-V1.0", "SubmitterName");
87 private static final javax.xml.namespace.QName GRANTSGOVTRACKINGNUMBER$6 =
88 new javax.xml.namespace.QName("http://apply.grants.gov/system/Footer-V1.0", "Grants_govTrackingNumber");
89 private static final javax.xml.namespace.QName SCHEMAVERSION$8 =
90 new javax.xml.namespace.QName("http://apply.grants.gov/system/Global-V1.0", "schemaVersion");
91
92
93
94
95
96 public gov.grants.apply.system.globalV10.HashValueDocument.HashValue getHashValue()
97 {
98 synchronized (monitor())
99 {
100 check_orphaned();
101 gov.grants.apply.system.globalV10.HashValueDocument.HashValue target = null;
102 target = (gov.grants.apply.system.globalV10.HashValueDocument.HashValue)get_store().find_element_user(HASHVALUE$0, 0);
103 if (target == null)
104 {
105 return null;
106 }
107 return target;
108 }
109 }
110
111
112
113
114 public void setHashValue(gov.grants.apply.system.globalV10.HashValueDocument.HashValue hashValue)
115 {
116 generatedSetterHelperImpl(hashValue, HASHVALUE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
117 }
118
119
120
121
122 public gov.grants.apply.system.globalV10.HashValueDocument.HashValue addNewHashValue()
123 {
124 synchronized (monitor())
125 {
126 check_orphaned();
127 gov.grants.apply.system.globalV10.HashValueDocument.HashValue target = null;
128 target = (gov.grants.apply.system.globalV10.HashValueDocument.HashValue)get_store().add_element_user(HASHVALUE$0);
129 return target;
130 }
131 }
132
133
134
135
136 public java.util.Calendar getReceivedDateTime()
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(RECEIVEDDATETIME$2, 0);
143 if (target == null)
144 {
145 return null;
146 }
147 return target.getCalendarValue();
148 }
149 }
150
151
152
153
154 public org.apache.xmlbeans.XmlDateTime xgetReceivedDateTime()
155 {
156 synchronized (monitor())
157 {
158 check_orphaned();
159 org.apache.xmlbeans.XmlDateTime target = null;
160 target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(RECEIVEDDATETIME$2, 0);
161 return target;
162 }
163 }
164
165
166
167
168 public void setReceivedDateTime(java.util.Calendar receivedDateTime)
169 {
170 synchronized (monitor())
171 {
172 check_orphaned();
173 org.apache.xmlbeans.SimpleValue target = null;
174 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RECEIVEDDATETIME$2, 0);
175 if (target == null)
176 {
177 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RECEIVEDDATETIME$2);
178 }
179 target.setCalendarValue(receivedDateTime);
180 }
181 }
182
183
184
185
186 public void xsetReceivedDateTime(org.apache.xmlbeans.XmlDateTime receivedDateTime)
187 {
188 synchronized (monitor())
189 {
190 check_orphaned();
191 org.apache.xmlbeans.XmlDateTime target = null;
192 target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(RECEIVEDDATETIME$2, 0);
193 if (target == null)
194 {
195 target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(RECEIVEDDATETIME$2);
196 }
197 target.set(receivedDateTime);
198 }
199 }
200
201
202
203
204 public java.lang.String getSubmitterName()
205 {
206 synchronized (monitor())
207 {
208 check_orphaned();
209 org.apache.xmlbeans.SimpleValue target = null;
210 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SUBMITTERNAME$4, 0);
211 if (target == null)
212 {
213 return null;
214 }
215 return target.getStringValue();
216 }
217 }
218
219
220
221
222 public gov.grants.apply.system.globalV10.StringMin1Max240Type xgetSubmitterName()
223 {
224 synchronized (monitor())
225 {
226 check_orphaned();
227 gov.grants.apply.system.globalV10.StringMin1Max240Type target = null;
228 target = (gov.grants.apply.system.globalV10.StringMin1Max240Type)get_store().find_element_user(SUBMITTERNAME$4, 0);
229 return target;
230 }
231 }
232
233
234
235
236 public void setSubmitterName(java.lang.String submitterName)
237 {
238 synchronized (monitor())
239 {
240 check_orphaned();
241 org.apache.xmlbeans.SimpleValue target = null;
242 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SUBMITTERNAME$4, 0);
243 if (target == null)
244 {
245 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SUBMITTERNAME$4);
246 }
247 target.setStringValue(submitterName);
248 }
249 }
250
251
252
253
254 public void xsetSubmitterName(gov.grants.apply.system.globalV10.StringMin1Max240Type submitterName)
255 {
256 synchronized (monitor())
257 {
258 check_orphaned();
259 gov.grants.apply.system.globalV10.StringMin1Max240Type target = null;
260 target = (gov.grants.apply.system.globalV10.StringMin1Max240Type)get_store().find_element_user(SUBMITTERNAME$4, 0);
261 if (target == null)
262 {
263 target = (gov.grants.apply.system.globalV10.StringMin1Max240Type)get_store().add_element_user(SUBMITTERNAME$4);
264 }
265 target.set(submitterName);
266 }
267 }
268
269
270
271
272 public java.lang.String getGrantsGovTrackingNumber()
273 {
274 synchronized (monitor())
275 {
276 check_orphaned();
277 org.apache.xmlbeans.SimpleValue target = null;
278 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GRANTSGOVTRACKINGNUMBER$6, 0);
279 if (target == null)
280 {
281 return null;
282 }
283 return target.getStringValue();
284 }
285 }
286
287
288
289
290 public gov.grants.apply.system.globalV10.StringMin1Max240Type xgetGrantsGovTrackingNumber()
291 {
292 synchronized (monitor())
293 {
294 check_orphaned();
295 gov.grants.apply.system.globalV10.StringMin1Max240Type target = null;
296 target = (gov.grants.apply.system.globalV10.StringMin1Max240Type)get_store().find_element_user(GRANTSGOVTRACKINGNUMBER$6, 0);
297 return target;
298 }
299 }
300
301
302
303
304 public void setGrantsGovTrackingNumber(java.lang.String grantsGovTrackingNumber)
305 {
306 synchronized (monitor())
307 {
308 check_orphaned();
309 org.apache.xmlbeans.SimpleValue target = null;
310 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GRANTSGOVTRACKINGNUMBER$6, 0);
311 if (target == null)
312 {
313 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GRANTSGOVTRACKINGNUMBER$6);
314 }
315 target.setStringValue(grantsGovTrackingNumber);
316 }
317 }
318
319
320
321
322 public void xsetGrantsGovTrackingNumber(gov.grants.apply.system.globalV10.StringMin1Max240Type grantsGovTrackingNumber)
323 {
324 synchronized (monitor())
325 {
326 check_orphaned();
327 gov.grants.apply.system.globalV10.StringMin1Max240Type target = null;
328 target = (gov.grants.apply.system.globalV10.StringMin1Max240Type)get_store().find_element_user(GRANTSGOVTRACKINGNUMBER$6, 0);
329 if (target == null)
330 {
331 target = (gov.grants.apply.system.globalV10.StringMin1Max240Type)get_store().add_element_user(GRANTSGOVTRACKINGNUMBER$6);
332 }
333 target.set(grantsGovTrackingNumber);
334 }
335 }
336
337
338
339
340 public java.lang.String getSchemaVersion()
341 {
342 synchronized (monitor())
343 {
344 check_orphaned();
345 org.apache.xmlbeans.SimpleValue target = null;
346 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SCHEMAVERSION$8);
347 if (target == null)
348 {
349 target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(SCHEMAVERSION$8);
350 }
351 if (target == null)
352 {
353 return null;
354 }
355 return target.getStringValue();
356 }
357 }
358
359
360
361
362 public org.apache.xmlbeans.XmlString xgetSchemaVersion()
363 {
364 synchronized (monitor())
365 {
366 check_orphaned();
367 org.apache.xmlbeans.XmlString target = null;
368 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SCHEMAVERSION$8);
369 if (target == null)
370 {
371 target = (org.apache.xmlbeans.XmlString)get_default_attribute_value(SCHEMAVERSION$8);
372 }
373 return target;
374 }
375 }
376
377
378
379
380 public void setSchemaVersion(java.lang.String schemaVersion)
381 {
382 synchronized (monitor())
383 {
384 check_orphaned();
385 org.apache.xmlbeans.SimpleValue target = null;
386 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SCHEMAVERSION$8);
387 if (target == null)
388 {
389 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SCHEMAVERSION$8);
390 }
391 target.setStringValue(schemaVersion);
392 }
393 }
394
395
396
397
398 public void xsetSchemaVersion(org.apache.xmlbeans.XmlString schemaVersion)
399 {
400 synchronized (monitor())
401 {
402 check_orphaned();
403 org.apache.xmlbeans.XmlString target = null;
404 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SCHEMAVERSION$8);
405 if (target == null)
406 {
407 target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(SCHEMAVERSION$8);
408 }
409 target.set(schemaVersion);
410 }
411 }
412 }
413 }