1
2
3
4
5
6
7
8
9 package gov.grants.apply.forms.nsfSuggestedReviewersV11.impl;
10
11
12
13
14
15 public class NSFSuggestedReviewersDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public NSFSuggestedReviewersDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName NSFSUGGESTEDREVIEWERS$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_SuggestedReviewers-V1.1", "NSF_SuggestedReviewers");
26
27
28
29
30
31 public gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers getNSFSuggestedReviewers()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers target = null;
37 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers)get_store().find_element_user(NSFSUGGESTEDREVIEWERS$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public boolean isNilNSFSuggestedReviewers()
50 {
51 synchronized (monitor())
52 {
53 check_orphaned();
54 gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers target = null;
55 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers)get_store().find_element_user(NSFSUGGESTEDREVIEWERS$0, 0);
56 if (target == null) return false;
57 return target.isNil();
58 }
59 }
60
61
62
63
64 public void setNSFSuggestedReviewers(gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers nsfSuggestedReviewers)
65 {
66 generatedSetterHelperImpl(nsfSuggestedReviewers, NSFSUGGESTEDREVIEWERS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
67 }
68
69
70
71
72 public gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers addNewNSFSuggestedReviewers()
73 {
74 synchronized (monitor())
75 {
76 check_orphaned();
77 gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers target = null;
78 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers)get_store().add_element_user(NSFSUGGESTEDREVIEWERS$0);
79 return target;
80 }
81 }
82
83
84
85
86 public void setNilNSFSuggestedReviewers()
87 {
88 synchronized (monitor())
89 {
90 check_orphaned();
91 gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers target = null;
92 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers)get_store().find_element_user(NSFSUGGESTEDREVIEWERS$0, 0);
93 if (target == null)
94 {
95 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers)get_store().add_element_user(NSFSUGGESTEDREVIEWERS$0);
96 }
97 target.setNil();
98 }
99 }
100
101
102
103
104
105 public static class NSFSuggestedReviewersImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers
106 {
107 private static final long serialVersionUID = 1L;
108
109 public NSFSuggestedReviewersImpl(org.apache.xmlbeans.SchemaType sType)
110 {
111 super(sType);
112 }
113
114 private static final javax.xml.namespace.QName SUGGESTEDREVIEWERS$0 =
115 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_SuggestedReviewers-V1.1", "SuggestedReviewers");
116 private static final javax.xml.namespace.QName REVIEWERSNOTTOINCLUDE$2 =
117 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_SuggestedReviewers-V1.1", "ReviewersNotToInclude");
118 private static final javax.xml.namespace.QName FORMVERSION$4 =
119 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NSF_SuggestedReviewers-V1.1", "FormVersion");
120
121
122
123
124
125 public java.lang.String getSuggestedReviewers()
126 {
127 synchronized (monitor())
128 {
129 check_orphaned();
130 org.apache.xmlbeans.SimpleValue target = null;
131 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SUGGESTEDREVIEWERS$0, 0);
132 if (target == null)
133 {
134 return null;
135 }
136 return target.getStringValue();
137 }
138 }
139
140
141
142
143 public gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.SuggestedReviewers xgetSuggestedReviewers()
144 {
145 synchronized (monitor())
146 {
147 check_orphaned();
148 gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.SuggestedReviewers target = null;
149 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.SuggestedReviewers)get_store().find_element_user(SUGGESTEDREVIEWERS$0, 0);
150 return target;
151 }
152 }
153
154
155
156
157 public boolean isSetSuggestedReviewers()
158 {
159 synchronized (monitor())
160 {
161 check_orphaned();
162 return get_store().count_elements(SUGGESTEDREVIEWERS$0) != 0;
163 }
164 }
165
166
167
168
169 public void setSuggestedReviewers(java.lang.String suggestedReviewers)
170 {
171 synchronized (monitor())
172 {
173 check_orphaned();
174 org.apache.xmlbeans.SimpleValue target = null;
175 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SUGGESTEDREVIEWERS$0, 0);
176 if (target == null)
177 {
178 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SUGGESTEDREVIEWERS$0);
179 }
180 target.setStringValue(suggestedReviewers);
181 }
182 }
183
184
185
186
187 public void xsetSuggestedReviewers(gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.SuggestedReviewers suggestedReviewers)
188 {
189 synchronized (monitor())
190 {
191 check_orphaned();
192 gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.SuggestedReviewers target = null;
193 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.SuggestedReviewers)get_store().find_element_user(SUGGESTEDREVIEWERS$0, 0);
194 if (target == null)
195 {
196 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.SuggestedReviewers)get_store().add_element_user(SUGGESTEDREVIEWERS$0);
197 }
198 target.set(suggestedReviewers);
199 }
200 }
201
202
203
204
205 public void unsetSuggestedReviewers()
206 {
207 synchronized (monitor())
208 {
209 check_orphaned();
210 get_store().remove_element(SUGGESTEDREVIEWERS$0, 0);
211 }
212 }
213
214
215
216
217 public java.lang.String getReviewersNotToInclude()
218 {
219 synchronized (monitor())
220 {
221 check_orphaned();
222 org.apache.xmlbeans.SimpleValue target = null;
223 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REVIEWERSNOTTOINCLUDE$2, 0);
224 if (target == null)
225 {
226 return null;
227 }
228 return target.getStringValue();
229 }
230 }
231
232
233
234
235 public gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.ReviewersNotToInclude xgetReviewersNotToInclude()
236 {
237 synchronized (monitor())
238 {
239 check_orphaned();
240 gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.ReviewersNotToInclude target = null;
241 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.ReviewersNotToInclude)get_store().find_element_user(REVIEWERSNOTTOINCLUDE$2, 0);
242 return target;
243 }
244 }
245
246
247
248
249 public boolean isSetReviewersNotToInclude()
250 {
251 synchronized (monitor())
252 {
253 check_orphaned();
254 return get_store().count_elements(REVIEWERSNOTTOINCLUDE$2) != 0;
255 }
256 }
257
258
259
260
261 public void setReviewersNotToInclude(java.lang.String reviewersNotToInclude)
262 {
263 synchronized (monitor())
264 {
265 check_orphaned();
266 org.apache.xmlbeans.SimpleValue target = null;
267 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REVIEWERSNOTTOINCLUDE$2, 0);
268 if (target == null)
269 {
270 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REVIEWERSNOTTOINCLUDE$2);
271 }
272 target.setStringValue(reviewersNotToInclude);
273 }
274 }
275
276
277
278
279 public void xsetReviewersNotToInclude(gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.ReviewersNotToInclude reviewersNotToInclude)
280 {
281 synchronized (monitor())
282 {
283 check_orphaned();
284 gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.ReviewersNotToInclude target = null;
285 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.ReviewersNotToInclude)get_store().find_element_user(REVIEWERSNOTTOINCLUDE$2, 0);
286 if (target == null)
287 {
288 target = (gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.ReviewersNotToInclude)get_store().add_element_user(REVIEWERSNOTTOINCLUDE$2);
289 }
290 target.set(reviewersNotToInclude);
291 }
292 }
293
294
295
296
297 public void unsetReviewersNotToInclude()
298 {
299 synchronized (monitor())
300 {
301 check_orphaned();
302 get_store().remove_element(REVIEWERSNOTTOINCLUDE$2, 0);
303 }
304 }
305
306
307
308
309 public java.lang.String getFormVersion()
310 {
311 synchronized (monitor())
312 {
313 check_orphaned();
314 org.apache.xmlbeans.SimpleValue target = null;
315 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$4);
316 if (target == null)
317 {
318 target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$4);
319 }
320 if (target == null)
321 {
322 return null;
323 }
324 return target.getStringValue();
325 }
326 }
327
328
329
330
331 public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
332 {
333 synchronized (monitor())
334 {
335 check_orphaned();
336 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
337 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$4);
338 if (target == null)
339 {
340 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$4);
341 }
342 return target;
343 }
344 }
345
346
347
348
349 public void setFormVersion(java.lang.String formVersion)
350 {
351 synchronized (monitor())
352 {
353 check_orphaned();
354 org.apache.xmlbeans.SimpleValue target = null;
355 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$4);
356 if (target == null)
357 {
358 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$4);
359 }
360 target.setStringValue(formVersion);
361 }
362 }
363
364
365
366
367 public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
368 {
369 synchronized (monitor())
370 {
371 check_orphaned();
372 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
373 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$4);
374 if (target == null)
375 {
376 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$4);
377 }
378 target.set(formVersion);
379 }
380 }
381
382
383
384
385
386 public static class SuggestedReviewersImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.SuggestedReviewers
387 {
388 private static final long serialVersionUID = 1L;
389
390 public SuggestedReviewersImpl(org.apache.xmlbeans.SchemaType sType)
391 {
392 super(sType, false);
393 }
394
395 protected SuggestedReviewersImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
396 {
397 super(sType, b);
398 }
399 }
400
401
402
403
404
405 public static class ReviewersNotToIncludeImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.nsfSuggestedReviewersV11.NSFSuggestedReviewersDocument.NSFSuggestedReviewers.ReviewersNotToInclude
406 {
407 private static final long serialVersionUID = 1L;
408
409 public ReviewersNotToIncludeImpl(org.apache.xmlbeans.SchemaType sType)
410 {
411 super(sType, false);
412 }
413
414 protected ReviewersNotToIncludeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
415 {
416 super(sType, b);
417 }
418 }
419 }
420 }