1
2
3
4
5
6
7
8
9 package gov.grants.apply.forms.nhtsaCertV10.impl;
10
11
12
13
14
15 public class NHTSACertDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public NHTSACertDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName NHTSACERT$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NHTSACert-V1.0", "NHTSACert");
26
27
28
29
30
31 public gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert getNHTSACert()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert target = null;
37 target = (gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert)get_store().find_element_user(NHTSACERT$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setNHTSACert(gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert nhtsaCert)
50 {
51 generatedSetterHelperImpl(nhtsaCert, NHTSACERT$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert addNewNHTSACert()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert target = null;
63 target = (gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert)get_store().add_element_user(NHTSACERT$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class NHTSACertImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert
73 {
74 private static final long serialVersionUID = 1L;
75
76 public NHTSACertImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName FISCALYR$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NHTSACert-V1.0", "FiscalYr");
83 private static final javax.xml.namespace.QName GOVERNORSREP$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NHTSACert-V1.0", "GovernorsRep");
85 private static final javax.xml.namespace.QName STATEORCOMMONWEALTH$4 =
86 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NHTSACert-V1.0", "StateorCommonwealth");
87 private static final javax.xml.namespace.QName FORMDATE$6 =
88 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NHTSACert-V1.0", "FormDate");
89 private static final javax.xml.namespace.QName FORMVERSION$8 =
90 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NHTSACert-V1.0", "FormVersion");
91
92
93
94
95
96 public java.util.Calendar getFiscalYr()
97 {
98 synchronized (monitor())
99 {
100 check_orphaned();
101 org.apache.xmlbeans.SimpleValue target = null;
102 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FISCALYR$0, 0);
103 if (target == null)
104 {
105 return null;
106 }
107 return target.getCalendarValue();
108 }
109 }
110
111
112
113
114 public org.apache.xmlbeans.XmlGYear xgetFiscalYr()
115 {
116 synchronized (monitor())
117 {
118 check_orphaned();
119 org.apache.xmlbeans.XmlGYear target = null;
120 target = (org.apache.xmlbeans.XmlGYear)get_store().find_element_user(FISCALYR$0, 0);
121 return target;
122 }
123 }
124
125
126
127
128 public void setFiscalYr(java.util.Calendar fiscalYr)
129 {
130 synchronized (monitor())
131 {
132 check_orphaned();
133 org.apache.xmlbeans.SimpleValue target = null;
134 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FISCALYR$0, 0);
135 if (target == null)
136 {
137 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FISCALYR$0);
138 }
139 target.setCalendarValue(fiscalYr);
140 }
141 }
142
143
144
145
146 public void xsetFiscalYr(org.apache.xmlbeans.XmlGYear fiscalYr)
147 {
148 synchronized (monitor())
149 {
150 check_orphaned();
151 org.apache.xmlbeans.XmlGYear target = null;
152 target = (org.apache.xmlbeans.XmlGYear)get_store().find_element_user(FISCALYR$0, 0);
153 if (target == null)
154 {
155 target = (org.apache.xmlbeans.XmlGYear)get_store().add_element_user(FISCALYR$0);
156 }
157 target.set(fiscalYr);
158 }
159 }
160
161
162
163
164 public java.lang.String getGovernorsRep()
165 {
166 synchronized (monitor())
167 {
168 check_orphaned();
169 org.apache.xmlbeans.SimpleValue target = null;
170 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GOVERNORSREP$2, 0);
171 if (target == null)
172 {
173 return null;
174 }
175 return target.getStringValue();
176 }
177 }
178
179
180
181
182 public gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.GovernorsRep xgetGovernorsRep()
183 {
184 synchronized (monitor())
185 {
186 check_orphaned();
187 gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.GovernorsRep target = null;
188 target = (gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.GovernorsRep)get_store().find_element_user(GOVERNORSREP$2, 0);
189 return target;
190 }
191 }
192
193
194
195
196 public void setGovernorsRep(java.lang.String governorsRep)
197 {
198 synchronized (monitor())
199 {
200 check_orphaned();
201 org.apache.xmlbeans.SimpleValue target = null;
202 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GOVERNORSREP$2, 0);
203 if (target == null)
204 {
205 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GOVERNORSREP$2);
206 }
207 target.setStringValue(governorsRep);
208 }
209 }
210
211
212
213
214 public void xsetGovernorsRep(gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.GovernorsRep governorsRep)
215 {
216 synchronized (monitor())
217 {
218 check_orphaned();
219 gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.GovernorsRep target = null;
220 target = (gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.GovernorsRep)get_store().find_element_user(GOVERNORSREP$2, 0);
221 if (target == null)
222 {
223 target = (gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.GovernorsRep)get_store().add_element_user(GOVERNORSREP$2);
224 }
225 target.set(governorsRep);
226 }
227 }
228
229
230
231
232 public java.lang.String getStateorCommonwealth()
233 {
234 synchronized (monitor())
235 {
236 check_orphaned();
237 org.apache.xmlbeans.SimpleValue target = null;
238 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATEORCOMMONWEALTH$4, 0);
239 if (target == null)
240 {
241 return null;
242 }
243 return target.getStringValue();
244 }
245 }
246
247
248
249
250 public gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.StateorCommonwealth xgetStateorCommonwealth()
251 {
252 synchronized (monitor())
253 {
254 check_orphaned();
255 gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.StateorCommonwealth target = null;
256 target = (gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.StateorCommonwealth)get_store().find_element_user(STATEORCOMMONWEALTH$4, 0);
257 return target;
258 }
259 }
260
261
262
263
264 public void setStateorCommonwealth(java.lang.String stateorCommonwealth)
265 {
266 synchronized (monitor())
267 {
268 check_orphaned();
269 org.apache.xmlbeans.SimpleValue target = null;
270 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATEORCOMMONWEALTH$4, 0);
271 if (target == null)
272 {
273 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATEORCOMMONWEALTH$4);
274 }
275 target.setStringValue(stateorCommonwealth);
276 }
277 }
278
279
280
281
282 public void xsetStateorCommonwealth(gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.StateorCommonwealth stateorCommonwealth)
283 {
284 synchronized (monitor())
285 {
286 check_orphaned();
287 gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.StateorCommonwealth target = null;
288 target = (gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.StateorCommonwealth)get_store().find_element_user(STATEORCOMMONWEALTH$4, 0);
289 if (target == null)
290 {
291 target = (gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.StateorCommonwealth)get_store().add_element_user(STATEORCOMMONWEALTH$4);
292 }
293 target.set(stateorCommonwealth);
294 }
295 }
296
297
298
299
300 public java.util.Calendar getFormDate()
301 {
302 synchronized (monitor())
303 {
304 check_orphaned();
305 org.apache.xmlbeans.SimpleValue target = null;
306 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FORMDATE$6, 0);
307 if (target == null)
308 {
309 return null;
310 }
311 return target.getCalendarValue();
312 }
313 }
314
315
316
317
318 public org.apache.xmlbeans.XmlDate xgetFormDate()
319 {
320 synchronized (monitor())
321 {
322 check_orphaned();
323 org.apache.xmlbeans.XmlDate target = null;
324 target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(FORMDATE$6, 0);
325 return target;
326 }
327 }
328
329
330
331
332 public void setFormDate(java.util.Calendar formDate)
333 {
334 synchronized (monitor())
335 {
336 check_orphaned();
337 org.apache.xmlbeans.SimpleValue target = null;
338 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FORMDATE$6, 0);
339 if (target == null)
340 {
341 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FORMDATE$6);
342 }
343 target.setCalendarValue(formDate);
344 }
345 }
346
347
348
349
350 public void xsetFormDate(org.apache.xmlbeans.XmlDate formDate)
351 {
352 synchronized (monitor())
353 {
354 check_orphaned();
355 org.apache.xmlbeans.XmlDate target = null;
356 target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(FORMDATE$6, 0);
357 if (target == null)
358 {
359 target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(FORMDATE$6);
360 }
361 target.set(formDate);
362 }
363 }
364
365
366
367
368 public java.lang.String getFormVersion()
369 {
370 synchronized (monitor())
371 {
372 check_orphaned();
373 org.apache.xmlbeans.SimpleValue target = null;
374 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$8);
375 if (target == null)
376 {
377 target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$8);
378 }
379 if (target == null)
380 {
381 return null;
382 }
383 return target.getStringValue();
384 }
385 }
386
387
388
389
390 public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
391 {
392 synchronized (monitor())
393 {
394 check_orphaned();
395 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
396 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$8);
397 if (target == null)
398 {
399 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$8);
400 }
401 return target;
402 }
403 }
404
405
406
407
408 public void setFormVersion(java.lang.String formVersion)
409 {
410 synchronized (monitor())
411 {
412 check_orphaned();
413 org.apache.xmlbeans.SimpleValue target = null;
414 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$8);
415 if (target == null)
416 {
417 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$8);
418 }
419 target.setStringValue(formVersion);
420 }
421 }
422
423
424
425
426 public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
427 {
428 synchronized (monitor())
429 {
430 check_orphaned();
431 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
432 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$8);
433 if (target == null)
434 {
435 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$8);
436 }
437 target.set(formVersion);
438 }
439 }
440
441
442
443
444
445 public static class GovernorsRepImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.GovernorsRep
446 {
447 private static final long serialVersionUID = 1L;
448
449 public GovernorsRepImpl(org.apache.xmlbeans.SchemaType sType)
450 {
451 super(sType, false);
452 }
453
454 protected GovernorsRepImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
455 {
456 super(sType, b);
457 }
458 }
459
460
461
462
463
464 public static class StateorCommonwealthImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.nhtsaCertV10.NHTSACertDocument.NHTSACert.StateorCommonwealth
465 {
466 private static final long serialVersionUID = 1L;
467
468 public StateorCommonwealthImpl(org.apache.xmlbeans.SchemaType sType)
469 {
470 super(sType, false);
471 }
472
473 protected StateorCommonwealthImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
474 {
475 super(sType, b);
476 }
477 }
478 }
479 }