1
2
3
4
5
6
7
8
9 package org.codehaus.mojo.scmchangelog.scm.svn.xml.impl;
10
11
12
13
14
15 public class LogentryDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument
16 {
17
18 public LogentryDocumentImpl(org.apache.xmlbeans.SchemaType sType)
19 {
20 super(sType);
21 }
22
23 private static final javax.xml.namespace.QName LOGENTRY$0 =
24 new javax.xml.namespace.QName("", "logentry");
25
26
27
28
29
30 public org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry getLogentry()
31 {
32 synchronized (monitor())
33 {
34 check_orphaned();
35 org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry target = null;
36 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry)get_store().find_element_user(LOGENTRY$0, 0);
37 if (target == null)
38 {
39 return null;
40 }
41 return target;
42 }
43 }
44
45
46
47
48 public void setLogentry(org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry logentry)
49 {
50 synchronized (monitor())
51 {
52 check_orphaned();
53 org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry target = null;
54 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry)get_store().find_element_user(LOGENTRY$0, 0);
55 if (target == null)
56 {
57 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry)get_store().add_element_user(LOGENTRY$0);
58 }
59 target.set(logentry);
60 }
61 }
62
63
64
65
66 public org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry addNewLogentry()
67 {
68 synchronized (monitor())
69 {
70 check_orphaned();
71 org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry target = null;
72 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry)get_store().add_element_user(LOGENTRY$0);
73 return target;
74 }
75 }
76
77
78
79
80
81 public static class LogentryImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.codehaus.mojo.scmchangelog.scm.svn.xml.LogentryDocument.Logentry
82 {
83
84 public LogentryImpl(org.apache.xmlbeans.SchemaType sType)
85 {
86 super(sType);
87 }
88
89 private static final javax.xml.namespace.QName AUTHOR$0 =
90 new javax.xml.namespace.QName("", "author");
91 private static final javax.xml.namespace.QName DATE$2 =
92 new javax.xml.namespace.QName("", "date");
93 private static final javax.xml.namespace.QName PATHS$4 =
94 new javax.xml.namespace.QName("", "paths");
95 private static final javax.xml.namespace.QName MSG$6 =
96 new javax.xml.namespace.QName("", "msg");
97 private static final javax.xml.namespace.QName REVISION$8 =
98 new javax.xml.namespace.QName("", "revision");
99
100
101
102
103
104 public java.lang.String getAuthor()
105 {
106 synchronized (monitor())
107 {
108 check_orphaned();
109 org.apache.xmlbeans.SimpleValue target = null;
110 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AUTHOR$0, 0);
111 if (target == null)
112 {
113 return null;
114 }
115 return target.getStringValue();
116 }
117 }
118
119
120
121
122 public org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType xgetAuthor()
123 {
124 synchronized (monitor())
125 {
126 check_orphaned();
127 org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType target = null;
128 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType)get_store().find_element_user(AUTHOR$0, 0);
129 return target;
130 }
131 }
132
133
134
135
136 public boolean isSetAuthor()
137 {
138 synchronized (monitor())
139 {
140 check_orphaned();
141 return get_store().count_elements(AUTHOR$0) != 0;
142 }
143 }
144
145
146
147
148 public void setAuthor(java.lang.String author)
149 {
150 synchronized (monitor())
151 {
152 check_orphaned();
153 org.apache.xmlbeans.SimpleValue target = null;
154 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AUTHOR$0, 0);
155 if (target == null)
156 {
157 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AUTHOR$0);
158 }
159 target.setStringValue(author);
160 }
161 }
162
163
164
165
166 public void xsetAuthor(org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType author)
167 {
168 synchronized (monitor())
169 {
170 check_orphaned();
171 org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType target = null;
172 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType)get_store().find_element_user(AUTHOR$0, 0);
173 if (target == null)
174 {
175 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType)get_store().add_element_user(AUTHOR$0);
176 }
177 target.set(author);
178 }
179 }
180
181
182
183
184 public void unsetAuthor()
185 {
186 synchronized (monitor())
187 {
188 check_orphaned();
189 get_store().remove_element(AUTHOR$0, 0);
190 }
191 }
192
193
194
195
196 public java.util.Calendar getDate()
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(DATE$2, 0);
203 if (target == null)
204 {
205 return null;
206 }
207 return target.getCalendarValue();
208 }
209 }
210
211
212
213
214 public org.apache.xmlbeans.XmlDateTime xgetDate()
215 {
216 synchronized (monitor())
217 {
218 check_orphaned();
219 org.apache.xmlbeans.XmlDateTime target = null;
220 target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(DATE$2, 0);
221 return target;
222 }
223 }
224
225
226
227
228 public boolean isSetDate()
229 {
230 synchronized (monitor())
231 {
232 check_orphaned();
233 return get_store().count_elements(DATE$2) != 0;
234 }
235 }
236
237
238
239
240 public void setDate(java.util.Calendar date)
241 {
242 synchronized (monitor())
243 {
244 check_orphaned();
245 org.apache.xmlbeans.SimpleValue target = null;
246 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATE$2, 0);
247 if (target == null)
248 {
249 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATE$2);
250 }
251 target.setCalendarValue(date);
252 }
253 }
254
255
256
257
258 public void xsetDate(org.apache.xmlbeans.XmlDateTime date)
259 {
260 synchronized (monitor())
261 {
262 check_orphaned();
263 org.apache.xmlbeans.XmlDateTime target = null;
264 target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(DATE$2, 0);
265 if (target == null)
266 {
267 target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(DATE$2);
268 }
269 target.set(date);
270 }
271 }
272
273
274
275
276 public void unsetDate()
277 {
278 synchronized (monitor())
279 {
280 check_orphaned();
281 get_store().remove_element(DATE$2, 0);
282 }
283 }
284
285
286
287
288 public org.codehaus.mojo.scmchangelog.scm.svn.xml.PathsDocument.Paths getPaths()
289 {
290 synchronized (monitor())
291 {
292 check_orphaned();
293 org.codehaus.mojo.scmchangelog.scm.svn.xml.PathsDocument.Paths target = null;
294 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.PathsDocument.Paths)get_store().find_element_user(PATHS$4, 0);
295 if (target == null)
296 {
297 return null;
298 }
299 return target;
300 }
301 }
302
303
304
305
306 public boolean isSetPaths()
307 {
308 synchronized (monitor())
309 {
310 check_orphaned();
311 return get_store().count_elements(PATHS$4) != 0;
312 }
313 }
314
315
316
317
318 public void setPaths(org.codehaus.mojo.scmchangelog.scm.svn.xml.PathsDocument.Paths paths)
319 {
320 synchronized (monitor())
321 {
322 check_orphaned();
323 org.codehaus.mojo.scmchangelog.scm.svn.xml.PathsDocument.Paths target = null;
324 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.PathsDocument.Paths)get_store().find_element_user(PATHS$4, 0);
325 if (target == null)
326 {
327 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.PathsDocument.Paths)get_store().add_element_user(PATHS$4);
328 }
329 target.set(paths);
330 }
331 }
332
333
334
335
336 public org.codehaus.mojo.scmchangelog.scm.svn.xml.PathsDocument.Paths addNewPaths()
337 {
338 synchronized (monitor())
339 {
340 check_orphaned();
341 org.codehaus.mojo.scmchangelog.scm.svn.xml.PathsDocument.Paths target = null;
342 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.PathsDocument.Paths)get_store().add_element_user(PATHS$4);
343 return target;
344 }
345 }
346
347
348
349
350 public void unsetPaths()
351 {
352 synchronized (monitor())
353 {
354 check_orphaned();
355 get_store().remove_element(PATHS$4, 0);
356 }
357 }
358
359
360
361
362 public java.lang.String getMsg()
363 {
364 synchronized (monitor())
365 {
366 check_orphaned();
367 org.apache.xmlbeans.SimpleValue target = null;
368 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MSG$6, 0);
369 if (target == null)
370 {
371 return null;
372 }
373 return target.getStringValue();
374 }
375 }
376
377
378
379
380 public org.apache.xmlbeans.XmlString xgetMsg()
381 {
382 synchronized (monitor())
383 {
384 check_orphaned();
385 org.apache.xmlbeans.XmlString target = null;
386 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MSG$6, 0);
387 return target;
388 }
389 }
390
391
392
393
394 public boolean isSetMsg()
395 {
396 synchronized (monitor())
397 {
398 check_orphaned();
399 return get_store().count_elements(MSG$6) != 0;
400 }
401 }
402
403
404
405
406 public void setMsg(java.lang.String msg)
407 {
408 synchronized (monitor())
409 {
410 check_orphaned();
411 org.apache.xmlbeans.SimpleValue target = null;
412 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MSG$6, 0);
413 if (target == null)
414 {
415 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MSG$6);
416 }
417 target.setStringValue(msg);
418 }
419 }
420
421
422
423
424 public void xsetMsg(org.apache.xmlbeans.XmlString msg)
425 {
426 synchronized (monitor())
427 {
428 check_orphaned();
429 org.apache.xmlbeans.XmlString target = null;
430 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MSG$6, 0);
431 if (target == null)
432 {
433 target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MSG$6);
434 }
435 target.set(msg);
436 }
437 }
438
439
440
441
442 public void unsetMsg()
443 {
444 synchronized (monitor())
445 {
446 check_orphaned();
447 get_store().remove_element(MSG$6, 0);
448 }
449 }
450
451
452
453
454 public java.math.BigInteger getRevision()
455 {
456 synchronized (monitor())
457 {
458 check_orphaned();
459 org.apache.xmlbeans.SimpleValue target = null;
460 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REVISION$8);
461 if (target == null)
462 {
463 return null;
464 }
465 return target.getBigIntegerValue();
466 }
467 }
468
469
470
471
472 public org.codehaus.mojo.scmchangelog.scm.svn.xml.RevnumType xgetRevision()
473 {
474 synchronized (monitor())
475 {
476 check_orphaned();
477 org.codehaus.mojo.scmchangelog.scm.svn.xml.RevnumType target = null;
478 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.RevnumType)get_store().find_attribute_user(REVISION$8);
479 return target;
480 }
481 }
482
483
484
485
486 public void setRevision(java.math.BigInteger revision)
487 {
488 synchronized (monitor())
489 {
490 check_orphaned();
491 org.apache.xmlbeans.SimpleValue target = null;
492 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REVISION$8);
493 if (target == null)
494 {
495 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REVISION$8);
496 }
497 target.setBigIntegerValue(revision);
498 }
499 }
500
501
502
503
504 public void xsetRevision(org.codehaus.mojo.scmchangelog.scm.svn.xml.RevnumType revision)
505 {
506 synchronized (monitor())
507 {
508 check_orphaned();
509 org.codehaus.mojo.scmchangelog.scm.svn.xml.RevnumType target = null;
510 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.RevnumType)get_store().find_attribute_user(REVISION$8);
511 if (target == null)
512 {
513 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.RevnumType)get_store().add_attribute_user(REVISION$8);
514 }
515 target.set(revision);
516 }
517 }
518 }
519 }