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 LockDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument
16 {
17
18 public LockDocumentImpl(org.apache.xmlbeans.SchemaType sType)
19 {
20 super(sType);
21 }
22
23 private static final javax.xml.namespace.QName LOCK$0 =
24 new javax.xml.namespace.QName("", "lock");
25
26
27
28
29
30 public org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock getLock()
31 {
32 synchronized (monitor())
33 {
34 check_orphaned();
35 org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock target = null;
36 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock)get_store().find_element_user(LOCK$0, 0);
37 if (target == null)
38 {
39 return null;
40 }
41 return target;
42 }
43 }
44
45
46
47
48 public void setLock(org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock lock)
49 {
50 synchronized (monitor())
51 {
52 check_orphaned();
53 org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock target = null;
54 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock)get_store().find_element_user(LOCK$0, 0);
55 if (target == null)
56 {
57 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock)get_store().add_element_user(LOCK$0);
58 }
59 target.set(lock);
60 }
61 }
62
63
64
65
66 public org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock addNewLock()
67 {
68 synchronized (monitor())
69 {
70 check_orphaned();
71 org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock target = null;
72 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock)get_store().add_element_user(LOCK$0);
73 return target;
74 }
75 }
76
77
78
79
80
81 public static class LockImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.codehaus.mojo.scmchangelog.scm.svn.xml.LockDocument.Lock
82 {
83
84 public LockImpl(org.apache.xmlbeans.SchemaType sType)
85 {
86 super(sType);
87 }
88
89 private static final javax.xml.namespace.QName TOKEN$0 =
90 new javax.xml.namespace.QName("", "token");
91 private static final javax.xml.namespace.QName OWNER$2 =
92 new javax.xml.namespace.QName("", "owner");
93 private static final javax.xml.namespace.QName COMMENT$4 =
94 new javax.xml.namespace.QName("", "comment");
95 private static final javax.xml.namespace.QName CREATED$6 =
96 new javax.xml.namespace.QName("", "created");
97 private static final javax.xml.namespace.QName EXPIRES$8 =
98 new javax.xml.namespace.QName("", "expires");
99
100
101
102
103
104 public java.lang.String getToken()
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(TOKEN$0, 0);
111 if (target == null)
112 {
113 return null;
114 }
115 return target.getStringValue();
116 }
117 }
118
119
120
121
122 public org.apache.xmlbeans.XmlAnyURI xgetToken()
123 {
124 synchronized (monitor())
125 {
126 check_orphaned();
127 org.apache.xmlbeans.XmlAnyURI target = null;
128 target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(TOKEN$0, 0);
129 return target;
130 }
131 }
132
133
134
135
136 public void setToken(java.lang.String token)
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(TOKEN$0, 0);
143 if (target == null)
144 {
145 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOKEN$0);
146 }
147 target.setStringValue(token);
148 }
149 }
150
151
152
153
154 public void xsetToken(org.apache.xmlbeans.XmlAnyURI token)
155 {
156 synchronized (monitor())
157 {
158 check_orphaned();
159 org.apache.xmlbeans.XmlAnyURI target = null;
160 target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(TOKEN$0, 0);
161 if (target == null)
162 {
163 target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(TOKEN$0);
164 }
165 target.set(token);
166 }
167 }
168
169
170
171
172 public java.lang.String getOwner()
173 {
174 synchronized (monitor())
175 {
176 check_orphaned();
177 org.apache.xmlbeans.SimpleValue target = null;
178 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OWNER$2, 0);
179 if (target == null)
180 {
181 return null;
182 }
183 return target.getStringValue();
184 }
185 }
186
187
188
189
190 public org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType xgetOwner()
191 {
192 synchronized (monitor())
193 {
194 check_orphaned();
195 org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType target = null;
196 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType)get_store().find_element_user(OWNER$2, 0);
197 return target;
198 }
199 }
200
201
202
203
204 public void setOwner(java.lang.String owner)
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(OWNER$2, 0);
211 if (target == null)
212 {
213 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OWNER$2);
214 }
215 target.setStringValue(owner);
216 }
217 }
218
219
220
221
222 public void xsetOwner(org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType owner)
223 {
224 synchronized (monitor())
225 {
226 check_orphaned();
227 org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType target = null;
228 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType)get_store().find_element_user(OWNER$2, 0);
229 if (target == null)
230 {
231 target = (org.codehaus.mojo.scmchangelog.scm.svn.xml.UsernameType)get_store().add_element_user(OWNER$2);
232 }
233 target.set(owner);
234 }
235 }
236
237
238
239
240 public java.lang.String getComment()
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(COMMENT$4, 0);
247 if (target == null)
248 {
249 return null;
250 }
251 return target.getStringValue();
252 }
253 }
254
255
256
257
258 public org.apache.xmlbeans.XmlString xgetComment()
259 {
260 synchronized (monitor())
261 {
262 check_orphaned();
263 org.apache.xmlbeans.XmlString target = null;
264 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMENT$4, 0);
265 return target;
266 }
267 }
268
269
270
271
272 public boolean isSetComment()
273 {
274 synchronized (monitor())
275 {
276 check_orphaned();
277 return get_store().count_elements(COMMENT$4) != 0;
278 }
279 }
280
281
282
283
284 public void setComment(java.lang.String comment)
285 {
286 synchronized (monitor())
287 {
288 check_orphaned();
289 org.apache.xmlbeans.SimpleValue target = null;
290 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMENT$4, 0);
291 if (target == null)
292 {
293 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COMMENT$4);
294 }
295 target.setStringValue(comment);
296 }
297 }
298
299
300
301
302 public void xsetComment(org.apache.xmlbeans.XmlString comment)
303 {
304 synchronized (monitor())
305 {
306 check_orphaned();
307 org.apache.xmlbeans.XmlString target = null;
308 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMENT$4, 0);
309 if (target == null)
310 {
311 target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(COMMENT$4);
312 }
313 target.set(comment);
314 }
315 }
316
317
318
319
320 public void unsetComment()
321 {
322 synchronized (monitor())
323 {
324 check_orphaned();
325 get_store().remove_element(COMMENT$4, 0);
326 }
327 }
328
329
330
331
332 public java.util.Calendar getCreated()
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(CREATED$6, 0);
339 if (target == null)
340 {
341 return null;
342 }
343 return target.getCalendarValue();
344 }
345 }
346
347
348
349
350 public org.apache.xmlbeans.XmlDateTime xgetCreated()
351 {
352 synchronized (monitor())
353 {
354 check_orphaned();
355 org.apache.xmlbeans.XmlDateTime target = null;
356 target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(CREATED$6, 0);
357 return target;
358 }
359 }
360
361
362
363
364 public void setCreated(java.util.Calendar created)
365 {
366 synchronized (monitor())
367 {
368 check_orphaned();
369 org.apache.xmlbeans.SimpleValue target = null;
370 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CREATED$6, 0);
371 if (target == null)
372 {
373 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CREATED$6);
374 }
375 target.setCalendarValue(created);
376 }
377 }
378
379
380
381
382 public void xsetCreated(org.apache.xmlbeans.XmlDateTime created)
383 {
384 synchronized (monitor())
385 {
386 check_orphaned();
387 org.apache.xmlbeans.XmlDateTime target = null;
388 target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(CREATED$6, 0);
389 if (target == null)
390 {
391 target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(CREATED$6);
392 }
393 target.set(created);
394 }
395 }
396
397
398
399
400 public java.util.Calendar getExpires()
401 {
402 synchronized (monitor())
403 {
404 check_orphaned();
405 org.apache.xmlbeans.SimpleValue target = null;
406 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXPIRES$8, 0);
407 if (target == null)
408 {
409 return null;
410 }
411 return target.getCalendarValue();
412 }
413 }
414
415
416
417
418 public org.apache.xmlbeans.XmlDateTime xgetExpires()
419 {
420 synchronized (monitor())
421 {
422 check_orphaned();
423 org.apache.xmlbeans.XmlDateTime target = null;
424 target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(EXPIRES$8, 0);
425 return target;
426 }
427 }
428
429
430
431
432 public boolean isSetExpires()
433 {
434 synchronized (monitor())
435 {
436 check_orphaned();
437 return get_store().count_elements(EXPIRES$8) != 0;
438 }
439 }
440
441
442
443
444 public void setExpires(java.util.Calendar expires)
445 {
446 synchronized (monitor())
447 {
448 check_orphaned();
449 org.apache.xmlbeans.SimpleValue target = null;
450 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXPIRES$8, 0);
451 if (target == null)
452 {
453 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(EXPIRES$8);
454 }
455 target.setCalendarValue(expires);
456 }
457 }
458
459
460
461
462 public void xsetExpires(org.apache.xmlbeans.XmlDateTime expires)
463 {
464 synchronized (monitor())
465 {
466 check_orphaned();
467 org.apache.xmlbeans.XmlDateTime target = null;
468 target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(EXPIRES$8, 0);
469 if (target == null)
470 {
471 target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(EXPIRES$8);
472 }
473 target.set(expires);
474 }
475 }
476
477
478
479
480 public void unsetExpires()
481 {
482 synchronized (monitor())
483 {
484 check_orphaned();
485 get_store().remove_element(EXPIRES$8, 0);
486 }
487 }
488 }
489 }