001 /*
002 * XML Type: patternType
003 * Namespace: http://geronimo.apache.org/xml/ns/deployment-1.2
004 * Java type: org.apache.geronimo.deployment.xbeans.PatternType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.deployment.xbeans.impl;
009 /**
010 * An XML patternType(@http://geronimo.apache.org/xml/ns/deployment-1.2).
011 *
012 * This is a complex type.
013 */
014 public class PatternTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.geronimo.deployment.xbeans.PatternType
015 {
016
017 public PatternTypeImpl(org.apache.xmlbeans.SchemaType sType)
018 {
019 super(sType);
020 }
021
022 private static final javax.xml.namespace.QName GROUPID$0 =
023 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "groupId");
024 private static final javax.xml.namespace.QName ARTIFACTID$2 =
025 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "artifactId");
026 private static final javax.xml.namespace.QName VERSION$4 =
027 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "version");
028 private static final javax.xml.namespace.QName MODULE$6 =
029 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "module");
030 private static final javax.xml.namespace.QName TYPE$8 =
031 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "type");
032 private static final javax.xml.namespace.QName NAME$10 =
033 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "name");
034
035
036 /**
037 * Gets the "groupId" element
038 */
039 public java.lang.String getGroupId()
040 {
041 synchronized (monitor())
042 {
043 check_orphaned();
044 org.apache.xmlbeans.SimpleValue target = null;
045 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GROUPID$0, 0);
046 if (target == null)
047 {
048 return null;
049 }
050 return target.getStringValue();
051 }
052 }
053
054 /**
055 * Gets (as xml) the "groupId" element
056 */
057 public org.apache.xmlbeans.XmlString xgetGroupId()
058 {
059 synchronized (monitor())
060 {
061 check_orphaned();
062 org.apache.xmlbeans.XmlString target = null;
063 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(GROUPID$0, 0);
064 return target;
065 }
066 }
067
068 /**
069 * True if has "groupId" element
070 */
071 public boolean isSetGroupId()
072 {
073 synchronized (monitor())
074 {
075 check_orphaned();
076 return get_store().count_elements(GROUPID$0) != 0;
077 }
078 }
079
080 /**
081 * Sets the "groupId" element
082 */
083 public void setGroupId(java.lang.String groupId)
084 {
085 synchronized (monitor())
086 {
087 check_orphaned();
088 org.apache.xmlbeans.SimpleValue target = null;
089 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GROUPID$0, 0);
090 if (target == null)
091 {
092 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GROUPID$0);
093 }
094 target.setStringValue(groupId);
095 }
096 }
097
098 /**
099 * Sets (as xml) the "groupId" element
100 */
101 public void xsetGroupId(org.apache.xmlbeans.XmlString groupId)
102 {
103 synchronized (monitor())
104 {
105 check_orphaned();
106 org.apache.xmlbeans.XmlString target = null;
107 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(GROUPID$0, 0);
108 if (target == null)
109 {
110 target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(GROUPID$0);
111 }
112 target.set(groupId);
113 }
114 }
115
116 /**
117 * Unsets the "groupId" element
118 */
119 public void unsetGroupId()
120 {
121 synchronized (monitor())
122 {
123 check_orphaned();
124 get_store().remove_element(GROUPID$0, 0);
125 }
126 }
127
128 /**
129 * Gets the "artifactId" element
130 */
131 public java.lang.String getArtifactId()
132 {
133 synchronized (monitor())
134 {
135 check_orphaned();
136 org.apache.xmlbeans.SimpleValue target = null;
137 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ARTIFACTID$2, 0);
138 if (target == null)
139 {
140 return null;
141 }
142 return target.getStringValue();
143 }
144 }
145
146 /**
147 * Gets (as xml) the "artifactId" element
148 */
149 public org.apache.xmlbeans.XmlString xgetArtifactId()
150 {
151 synchronized (monitor())
152 {
153 check_orphaned();
154 org.apache.xmlbeans.XmlString target = null;
155 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ARTIFACTID$2, 0);
156 return target;
157 }
158 }
159
160 /**
161 * True if has "artifactId" element
162 */
163 public boolean isSetArtifactId()
164 {
165 synchronized (monitor())
166 {
167 check_orphaned();
168 return get_store().count_elements(ARTIFACTID$2) != 0;
169 }
170 }
171
172 /**
173 * Sets the "artifactId" element
174 */
175 public void setArtifactId(java.lang.String artifactId)
176 {
177 synchronized (monitor())
178 {
179 check_orphaned();
180 org.apache.xmlbeans.SimpleValue target = null;
181 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ARTIFACTID$2, 0);
182 if (target == null)
183 {
184 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ARTIFACTID$2);
185 }
186 target.setStringValue(artifactId);
187 }
188 }
189
190 /**
191 * Sets (as xml) the "artifactId" element
192 */
193 public void xsetArtifactId(org.apache.xmlbeans.XmlString artifactId)
194 {
195 synchronized (monitor())
196 {
197 check_orphaned();
198 org.apache.xmlbeans.XmlString target = null;
199 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ARTIFACTID$2, 0);
200 if (target == null)
201 {
202 target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ARTIFACTID$2);
203 }
204 target.set(artifactId);
205 }
206 }
207
208 /**
209 * Unsets the "artifactId" element
210 */
211 public void unsetArtifactId()
212 {
213 synchronized (monitor())
214 {
215 check_orphaned();
216 get_store().remove_element(ARTIFACTID$2, 0);
217 }
218 }
219
220 /**
221 * Gets the "version" element
222 */
223 public java.lang.String getVersion()
224 {
225 synchronized (monitor())
226 {
227 check_orphaned();
228 org.apache.xmlbeans.SimpleValue target = null;
229 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$4, 0);
230 if (target == null)
231 {
232 return null;
233 }
234 return target.getStringValue();
235 }
236 }
237
238 /**
239 * Gets (as xml) the "version" element
240 */
241 public org.apache.xmlbeans.XmlString xgetVersion()
242 {
243 synchronized (monitor())
244 {
245 check_orphaned();
246 org.apache.xmlbeans.XmlString target = null;
247 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSION$4, 0);
248 return target;
249 }
250 }
251
252 /**
253 * True if has "version" element
254 */
255 public boolean isSetVersion()
256 {
257 synchronized (monitor())
258 {
259 check_orphaned();
260 return get_store().count_elements(VERSION$4) != 0;
261 }
262 }
263
264 /**
265 * Sets the "version" element
266 */
267 public void setVersion(java.lang.String version)
268 {
269 synchronized (monitor())
270 {
271 check_orphaned();
272 org.apache.xmlbeans.SimpleValue target = null;
273 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$4, 0);
274 if (target == null)
275 {
276 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VERSION$4);
277 }
278 target.setStringValue(version);
279 }
280 }
281
282 /**
283 * Sets (as xml) the "version" element
284 */
285 public void xsetVersion(org.apache.xmlbeans.XmlString version)
286 {
287 synchronized (monitor())
288 {
289 check_orphaned();
290 org.apache.xmlbeans.XmlString target = null;
291 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSION$4, 0);
292 if (target == null)
293 {
294 target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(VERSION$4);
295 }
296 target.set(version);
297 }
298 }
299
300 /**
301 * Unsets the "version" element
302 */
303 public void unsetVersion()
304 {
305 synchronized (monitor())
306 {
307 check_orphaned();
308 get_store().remove_element(VERSION$4, 0);
309 }
310 }
311
312 /**
313 * Gets the "module" element
314 */
315 public java.lang.String getModule()
316 {
317 synchronized (monitor())
318 {
319 check_orphaned();
320 org.apache.xmlbeans.SimpleValue target = null;
321 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MODULE$6, 0);
322 if (target == null)
323 {
324 return null;
325 }
326 return target.getStringValue();
327 }
328 }
329
330 /**
331 * Gets (as xml) the "module" element
332 */
333 public org.apache.xmlbeans.XmlString xgetModule()
334 {
335 synchronized (monitor())
336 {
337 check_orphaned();
338 org.apache.xmlbeans.XmlString target = null;
339 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MODULE$6, 0);
340 return target;
341 }
342 }
343
344 /**
345 * True if has "module" element
346 */
347 public boolean isSetModule()
348 {
349 synchronized (monitor())
350 {
351 check_orphaned();
352 return get_store().count_elements(MODULE$6) != 0;
353 }
354 }
355
356 /**
357 * Sets the "module" element
358 */
359 public void setModule(java.lang.String module)
360 {
361 synchronized (monitor())
362 {
363 check_orphaned();
364 org.apache.xmlbeans.SimpleValue target = null;
365 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MODULE$6, 0);
366 if (target == null)
367 {
368 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MODULE$6);
369 }
370 target.setStringValue(module);
371 }
372 }
373
374 /**
375 * Sets (as xml) the "module" element
376 */
377 public void xsetModule(org.apache.xmlbeans.XmlString module)
378 {
379 synchronized (monitor())
380 {
381 check_orphaned();
382 org.apache.xmlbeans.XmlString target = null;
383 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MODULE$6, 0);
384 if (target == null)
385 {
386 target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MODULE$6);
387 }
388 target.set(module);
389 }
390 }
391
392 /**
393 * Unsets the "module" element
394 */
395 public void unsetModule()
396 {
397 synchronized (monitor())
398 {
399 check_orphaned();
400 get_store().remove_element(MODULE$6, 0);
401 }
402 }
403
404 /**
405 * Gets the "type" element
406 */
407 public java.lang.String getType()
408 {
409 synchronized (monitor())
410 {
411 check_orphaned();
412 org.apache.xmlbeans.SimpleValue target = null;
413 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TYPE$8, 0);
414 if (target == null)
415 {
416 return null;
417 }
418 return target.getStringValue();
419 }
420 }
421
422 /**
423 * Gets (as xml) the "type" element
424 */
425 public org.apache.xmlbeans.XmlString xgetType()
426 {
427 synchronized (monitor())
428 {
429 check_orphaned();
430 org.apache.xmlbeans.XmlString target = null;
431 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TYPE$8, 0);
432 return target;
433 }
434 }
435
436 /**
437 * True if has "type" element
438 */
439 public boolean isSetType()
440 {
441 synchronized (monitor())
442 {
443 check_orphaned();
444 return get_store().count_elements(TYPE$8) != 0;
445 }
446 }
447
448 /**
449 * Sets the "type" element
450 */
451 public void setType(java.lang.String type)
452 {
453 synchronized (monitor())
454 {
455 check_orphaned();
456 org.apache.xmlbeans.SimpleValue target = null;
457 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TYPE$8, 0);
458 if (target == null)
459 {
460 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TYPE$8);
461 }
462 target.setStringValue(type);
463 }
464 }
465
466 /**
467 * Sets (as xml) the "type" element
468 */
469 public void xsetType(org.apache.xmlbeans.XmlString type)
470 {
471 synchronized (monitor())
472 {
473 check_orphaned();
474 org.apache.xmlbeans.XmlString target = null;
475 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TYPE$8, 0);
476 if (target == null)
477 {
478 target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TYPE$8);
479 }
480 target.set(type);
481 }
482 }
483
484 /**
485 * Unsets the "type" element
486 */
487 public void unsetType()
488 {
489 synchronized (monitor())
490 {
491 check_orphaned();
492 get_store().remove_element(TYPE$8, 0);
493 }
494 }
495
496 /**
497 * Gets the "name" element
498 */
499 public java.lang.String getName()
500 {
501 synchronized (monitor())
502 {
503 check_orphaned();
504 org.apache.xmlbeans.SimpleValue target = null;
505 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME$10, 0);
506 if (target == null)
507 {
508 return null;
509 }
510 return target.getStringValue();
511 }
512 }
513
514 /**
515 * Gets (as xml) the "name" element
516 */
517 public org.apache.xmlbeans.XmlString xgetName()
518 {
519 synchronized (monitor())
520 {
521 check_orphaned();
522 org.apache.xmlbeans.XmlString target = null;
523 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$10, 0);
524 return target;
525 }
526 }
527
528 /**
529 * True if has "name" element
530 */
531 public boolean isSetName()
532 {
533 synchronized (monitor())
534 {
535 check_orphaned();
536 return get_store().count_elements(NAME$10) != 0;
537 }
538 }
539
540 /**
541 * Sets the "name" element
542 */
543 public void setName(java.lang.String name)
544 {
545 synchronized (monitor())
546 {
547 check_orphaned();
548 org.apache.xmlbeans.SimpleValue target = null;
549 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME$10, 0);
550 if (target == null)
551 {
552 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAME$10);
553 }
554 target.setStringValue(name);
555 }
556 }
557
558 /**
559 * Sets (as xml) the "name" element
560 */
561 public void xsetName(org.apache.xmlbeans.XmlString name)
562 {
563 synchronized (monitor())
564 {
565 check_orphaned();
566 org.apache.xmlbeans.XmlString target = null;
567 target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$10, 0);
568 if (target == null)
569 {
570 target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(NAME$10);
571 }
572 target.set(name);
573 }
574 }
575
576 /**
577 * Unsets the "name" element
578 */
579 public void unsetName()
580 {
581 synchronized (monitor())
582 {
583 check_orphaned();
584 get_store().remove_element(NAME$10, 0);
585 }
586 }
587 }