001 /*
002 * XML Type: gbeanType
003 * Namespace: http://geronimo.apache.org/xml/ns/deployment-1.2
004 * Java type: org.apache.geronimo.deployment.xbeans.GbeanType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.deployment.xbeans.impl;
009 /**
010 * An XML gbeanType(@http://geronimo.apache.org/xml/ns/deployment-1.2).
011 *
012 * This is a complex type.
013 */
014 public class GbeanTypeImpl extends org.apache.geronimo.deployment.xbeans.impl.AbstractServiceTypeImpl implements org.apache.geronimo.deployment.xbeans.GbeanType
015 {
016
017 public GbeanTypeImpl(org.apache.xmlbeans.SchemaType sType)
018 {
019 super(sType);
020 }
021
022 private static final javax.xml.namespace.QName ATTRIBUTE$0 =
023 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "attribute");
024 private static final javax.xml.namespace.QName XMLATTRIBUTE$2 =
025 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "xml-attribute");
026 private static final javax.xml.namespace.QName REFERENCE$4 =
027 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "reference");
028 private static final javax.xml.namespace.QName REFERENCES$6 =
029 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "references");
030 private static final javax.xml.namespace.QName XMLREFERENCE$8 =
031 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "xml-reference");
032 private static final javax.xml.namespace.QName DEPENDENCY$10 =
033 new javax.xml.namespace.QName("http://geronimo.apache.org/xml/ns/deployment-1.2", "dependency");
034 private static final javax.xml.namespace.QName NAME$12 =
035 new javax.xml.namespace.QName("", "name");
036 private static final javax.xml.namespace.QName CLASS1$14 =
037 new javax.xml.namespace.QName("", "class");
038
039
040 /**
041 * Gets array of all "attribute" elements
042 */
043 public org.apache.geronimo.deployment.xbeans.AttributeType[] getAttributeArray()
044 {
045 synchronized (monitor())
046 {
047 check_orphaned();
048 java.util.List targetList = new java.util.ArrayList();
049 get_store().find_all_element_users(ATTRIBUTE$0, targetList);
050 org.apache.geronimo.deployment.xbeans.AttributeType[] result = new org.apache.geronimo.deployment.xbeans.AttributeType[targetList.size()];
051 targetList.toArray(result);
052 return result;
053 }
054 }
055
056 /**
057 * Gets ith "attribute" element
058 */
059 public org.apache.geronimo.deployment.xbeans.AttributeType getAttributeArray(int i)
060 {
061 synchronized (monitor())
062 {
063 check_orphaned();
064 org.apache.geronimo.deployment.xbeans.AttributeType target = null;
065 target = (org.apache.geronimo.deployment.xbeans.AttributeType)get_store().find_element_user(ATTRIBUTE$0, i);
066 if (target == null)
067 {
068 throw new IndexOutOfBoundsException();
069 }
070 return target;
071 }
072 }
073
074 /**
075 * Returns number of "attribute" element
076 */
077 public int sizeOfAttributeArray()
078 {
079 synchronized (monitor())
080 {
081 check_orphaned();
082 return get_store().count_elements(ATTRIBUTE$0);
083 }
084 }
085
086 /**
087 * Sets array of all "attribute" element
088 */
089 public void setAttributeArray(org.apache.geronimo.deployment.xbeans.AttributeType[] attributeArray)
090 {
091 synchronized (monitor())
092 {
093 check_orphaned();
094 arraySetterHelper(attributeArray, ATTRIBUTE$0);
095 }
096 }
097
098 /**
099 * Sets ith "attribute" element
100 */
101 public void setAttributeArray(int i, org.apache.geronimo.deployment.xbeans.AttributeType attribute)
102 {
103 synchronized (monitor())
104 {
105 check_orphaned();
106 org.apache.geronimo.deployment.xbeans.AttributeType target = null;
107 target = (org.apache.geronimo.deployment.xbeans.AttributeType)get_store().find_element_user(ATTRIBUTE$0, i);
108 if (target == null)
109 {
110 throw new IndexOutOfBoundsException();
111 }
112 target.set(attribute);
113 }
114 }
115
116 /**
117 * Inserts and returns a new empty value (as xml) as the ith "attribute" element
118 */
119 public org.apache.geronimo.deployment.xbeans.AttributeType insertNewAttribute(int i)
120 {
121 synchronized (monitor())
122 {
123 check_orphaned();
124 org.apache.geronimo.deployment.xbeans.AttributeType target = null;
125 target = (org.apache.geronimo.deployment.xbeans.AttributeType)get_store().insert_element_user(ATTRIBUTE$0, i);
126 return target;
127 }
128 }
129
130 /**
131 * Appends and returns a new empty value (as xml) as the last "attribute" element
132 */
133 public org.apache.geronimo.deployment.xbeans.AttributeType addNewAttribute()
134 {
135 synchronized (monitor())
136 {
137 check_orphaned();
138 org.apache.geronimo.deployment.xbeans.AttributeType target = null;
139 target = (org.apache.geronimo.deployment.xbeans.AttributeType)get_store().add_element_user(ATTRIBUTE$0);
140 return target;
141 }
142 }
143
144 /**
145 * Removes the ith "attribute" element
146 */
147 public void removeAttribute(int i)
148 {
149 synchronized (monitor())
150 {
151 check_orphaned();
152 get_store().remove_element(ATTRIBUTE$0, i);
153 }
154 }
155
156 /**
157 * Gets array of all "xml-attribute" elements
158 */
159 public org.apache.geronimo.deployment.xbeans.XmlAttributeType[] getXmlAttributeArray()
160 {
161 synchronized (monitor())
162 {
163 check_orphaned();
164 java.util.List targetList = new java.util.ArrayList();
165 get_store().find_all_element_users(XMLATTRIBUTE$2, targetList);
166 org.apache.geronimo.deployment.xbeans.XmlAttributeType[] result = new org.apache.geronimo.deployment.xbeans.XmlAttributeType[targetList.size()];
167 targetList.toArray(result);
168 return result;
169 }
170 }
171
172 /**
173 * Gets ith "xml-attribute" element
174 */
175 public org.apache.geronimo.deployment.xbeans.XmlAttributeType getXmlAttributeArray(int i)
176 {
177 synchronized (monitor())
178 {
179 check_orphaned();
180 org.apache.geronimo.deployment.xbeans.XmlAttributeType target = null;
181 target = (org.apache.geronimo.deployment.xbeans.XmlAttributeType)get_store().find_element_user(XMLATTRIBUTE$2, i);
182 if (target == null)
183 {
184 throw new IndexOutOfBoundsException();
185 }
186 return target;
187 }
188 }
189
190 /**
191 * Returns number of "xml-attribute" element
192 */
193 public int sizeOfXmlAttributeArray()
194 {
195 synchronized (monitor())
196 {
197 check_orphaned();
198 return get_store().count_elements(XMLATTRIBUTE$2);
199 }
200 }
201
202 /**
203 * Sets array of all "xml-attribute" element
204 */
205 public void setXmlAttributeArray(org.apache.geronimo.deployment.xbeans.XmlAttributeType[] xmlAttributeArray)
206 {
207 synchronized (monitor())
208 {
209 check_orphaned();
210 arraySetterHelper(xmlAttributeArray, XMLATTRIBUTE$2);
211 }
212 }
213
214 /**
215 * Sets ith "xml-attribute" element
216 */
217 public void setXmlAttributeArray(int i, org.apache.geronimo.deployment.xbeans.XmlAttributeType xmlAttribute)
218 {
219 synchronized (monitor())
220 {
221 check_orphaned();
222 org.apache.geronimo.deployment.xbeans.XmlAttributeType target = null;
223 target = (org.apache.geronimo.deployment.xbeans.XmlAttributeType)get_store().find_element_user(XMLATTRIBUTE$2, i);
224 if (target == null)
225 {
226 throw new IndexOutOfBoundsException();
227 }
228 target.set(xmlAttribute);
229 }
230 }
231
232 /**
233 * Inserts and returns a new empty value (as xml) as the ith "xml-attribute" element
234 */
235 public org.apache.geronimo.deployment.xbeans.XmlAttributeType insertNewXmlAttribute(int i)
236 {
237 synchronized (monitor())
238 {
239 check_orphaned();
240 org.apache.geronimo.deployment.xbeans.XmlAttributeType target = null;
241 target = (org.apache.geronimo.deployment.xbeans.XmlAttributeType)get_store().insert_element_user(XMLATTRIBUTE$2, i);
242 return target;
243 }
244 }
245
246 /**
247 * Appends and returns a new empty value (as xml) as the last "xml-attribute" element
248 */
249 public org.apache.geronimo.deployment.xbeans.XmlAttributeType addNewXmlAttribute()
250 {
251 synchronized (monitor())
252 {
253 check_orphaned();
254 org.apache.geronimo.deployment.xbeans.XmlAttributeType target = null;
255 target = (org.apache.geronimo.deployment.xbeans.XmlAttributeType)get_store().add_element_user(XMLATTRIBUTE$2);
256 return target;
257 }
258 }
259
260 /**
261 * Removes the ith "xml-attribute" element
262 */
263 public void removeXmlAttribute(int i)
264 {
265 synchronized (monitor())
266 {
267 check_orphaned();
268 get_store().remove_element(XMLATTRIBUTE$2, i);
269 }
270 }
271
272 /**
273 * Gets array of all "reference" elements
274 */
275 public org.apache.geronimo.deployment.xbeans.ReferenceType[] getReferenceArray()
276 {
277 synchronized (monitor())
278 {
279 check_orphaned();
280 java.util.List targetList = new java.util.ArrayList();
281 get_store().find_all_element_users(REFERENCE$4, targetList);
282 org.apache.geronimo.deployment.xbeans.ReferenceType[] result = new org.apache.geronimo.deployment.xbeans.ReferenceType[targetList.size()];
283 targetList.toArray(result);
284 return result;
285 }
286 }
287
288 /**
289 * Gets ith "reference" element
290 */
291 public org.apache.geronimo.deployment.xbeans.ReferenceType getReferenceArray(int i)
292 {
293 synchronized (monitor())
294 {
295 check_orphaned();
296 org.apache.geronimo.deployment.xbeans.ReferenceType target = null;
297 target = (org.apache.geronimo.deployment.xbeans.ReferenceType)get_store().find_element_user(REFERENCE$4, i);
298 if (target == null)
299 {
300 throw new IndexOutOfBoundsException();
301 }
302 return target;
303 }
304 }
305
306 /**
307 * Returns number of "reference" element
308 */
309 public int sizeOfReferenceArray()
310 {
311 synchronized (monitor())
312 {
313 check_orphaned();
314 return get_store().count_elements(REFERENCE$4);
315 }
316 }
317
318 /**
319 * Sets array of all "reference" element
320 */
321 public void setReferenceArray(org.apache.geronimo.deployment.xbeans.ReferenceType[] referenceArray)
322 {
323 synchronized (monitor())
324 {
325 check_orphaned();
326 arraySetterHelper(referenceArray, REFERENCE$4);
327 }
328 }
329
330 /**
331 * Sets ith "reference" element
332 */
333 public void setReferenceArray(int i, org.apache.geronimo.deployment.xbeans.ReferenceType reference)
334 {
335 synchronized (monitor())
336 {
337 check_orphaned();
338 org.apache.geronimo.deployment.xbeans.ReferenceType target = null;
339 target = (org.apache.geronimo.deployment.xbeans.ReferenceType)get_store().find_element_user(REFERENCE$4, i);
340 if (target == null)
341 {
342 throw new IndexOutOfBoundsException();
343 }
344 target.set(reference);
345 }
346 }
347
348 /**
349 * Inserts and returns a new empty value (as xml) as the ith "reference" element
350 */
351 public org.apache.geronimo.deployment.xbeans.ReferenceType insertNewReference(int i)
352 {
353 synchronized (monitor())
354 {
355 check_orphaned();
356 org.apache.geronimo.deployment.xbeans.ReferenceType target = null;
357 target = (org.apache.geronimo.deployment.xbeans.ReferenceType)get_store().insert_element_user(REFERENCE$4, i);
358 return target;
359 }
360 }
361
362 /**
363 * Appends and returns a new empty value (as xml) as the last "reference" element
364 */
365 public org.apache.geronimo.deployment.xbeans.ReferenceType addNewReference()
366 {
367 synchronized (monitor())
368 {
369 check_orphaned();
370 org.apache.geronimo.deployment.xbeans.ReferenceType target = null;
371 target = (org.apache.geronimo.deployment.xbeans.ReferenceType)get_store().add_element_user(REFERENCE$4);
372 return target;
373 }
374 }
375
376 /**
377 * Removes the ith "reference" element
378 */
379 public void removeReference(int i)
380 {
381 synchronized (monitor())
382 {
383 check_orphaned();
384 get_store().remove_element(REFERENCE$4, i);
385 }
386 }
387
388 /**
389 * Gets array of all "references" elements
390 */
391 public org.apache.geronimo.deployment.xbeans.ReferencesType[] getReferencesArray()
392 {
393 synchronized (monitor())
394 {
395 check_orphaned();
396 java.util.List targetList = new java.util.ArrayList();
397 get_store().find_all_element_users(REFERENCES$6, targetList);
398 org.apache.geronimo.deployment.xbeans.ReferencesType[] result = new org.apache.geronimo.deployment.xbeans.ReferencesType[targetList.size()];
399 targetList.toArray(result);
400 return result;
401 }
402 }
403
404 /**
405 * Gets ith "references" element
406 */
407 public org.apache.geronimo.deployment.xbeans.ReferencesType getReferencesArray(int i)
408 {
409 synchronized (monitor())
410 {
411 check_orphaned();
412 org.apache.geronimo.deployment.xbeans.ReferencesType target = null;
413 target = (org.apache.geronimo.deployment.xbeans.ReferencesType)get_store().find_element_user(REFERENCES$6, i);
414 if (target == null)
415 {
416 throw new IndexOutOfBoundsException();
417 }
418 return target;
419 }
420 }
421
422 /**
423 * Returns number of "references" element
424 */
425 public int sizeOfReferencesArray()
426 {
427 synchronized (monitor())
428 {
429 check_orphaned();
430 return get_store().count_elements(REFERENCES$6);
431 }
432 }
433
434 /**
435 * Sets array of all "references" element
436 */
437 public void setReferencesArray(org.apache.geronimo.deployment.xbeans.ReferencesType[] referencesArray)
438 {
439 synchronized (monitor())
440 {
441 check_orphaned();
442 arraySetterHelper(referencesArray, REFERENCES$6);
443 }
444 }
445
446 /**
447 * Sets ith "references" element
448 */
449 public void setReferencesArray(int i, org.apache.geronimo.deployment.xbeans.ReferencesType references)
450 {
451 synchronized (monitor())
452 {
453 check_orphaned();
454 org.apache.geronimo.deployment.xbeans.ReferencesType target = null;
455 target = (org.apache.geronimo.deployment.xbeans.ReferencesType)get_store().find_element_user(REFERENCES$6, i);
456 if (target == null)
457 {
458 throw new IndexOutOfBoundsException();
459 }
460 target.set(references);
461 }
462 }
463
464 /**
465 * Inserts and returns a new empty value (as xml) as the ith "references" element
466 */
467 public org.apache.geronimo.deployment.xbeans.ReferencesType insertNewReferences(int i)
468 {
469 synchronized (monitor())
470 {
471 check_orphaned();
472 org.apache.geronimo.deployment.xbeans.ReferencesType target = null;
473 target = (org.apache.geronimo.deployment.xbeans.ReferencesType)get_store().insert_element_user(REFERENCES$6, i);
474 return target;
475 }
476 }
477
478 /**
479 * Appends and returns a new empty value (as xml) as the last "references" element
480 */
481 public org.apache.geronimo.deployment.xbeans.ReferencesType addNewReferences()
482 {
483 synchronized (monitor())
484 {
485 check_orphaned();
486 org.apache.geronimo.deployment.xbeans.ReferencesType target = null;
487 target = (org.apache.geronimo.deployment.xbeans.ReferencesType)get_store().add_element_user(REFERENCES$6);
488 return target;
489 }
490 }
491
492 /**
493 * Removes the ith "references" element
494 */
495 public void removeReferences(int i)
496 {
497 synchronized (monitor())
498 {
499 check_orphaned();
500 get_store().remove_element(REFERENCES$6, i);
501 }
502 }
503
504 /**
505 * Gets array of all "xml-reference" elements
506 */
507 public org.apache.geronimo.deployment.xbeans.XmlAttributeType[] getXmlReferenceArray()
508 {
509 synchronized (monitor())
510 {
511 check_orphaned();
512 java.util.List targetList = new java.util.ArrayList();
513 get_store().find_all_element_users(XMLREFERENCE$8, targetList);
514 org.apache.geronimo.deployment.xbeans.XmlAttributeType[] result = new org.apache.geronimo.deployment.xbeans.XmlAttributeType[targetList.size()];
515 targetList.toArray(result);
516 return result;
517 }
518 }
519
520 /**
521 * Gets ith "xml-reference" element
522 */
523 public org.apache.geronimo.deployment.xbeans.XmlAttributeType getXmlReferenceArray(int i)
524 {
525 synchronized (monitor())
526 {
527 check_orphaned();
528 org.apache.geronimo.deployment.xbeans.XmlAttributeType target = null;
529 target = (org.apache.geronimo.deployment.xbeans.XmlAttributeType)get_store().find_element_user(XMLREFERENCE$8, i);
530 if (target == null)
531 {
532 throw new IndexOutOfBoundsException();
533 }
534 return target;
535 }
536 }
537
538 /**
539 * Returns number of "xml-reference" element
540 */
541 public int sizeOfXmlReferenceArray()
542 {
543 synchronized (monitor())
544 {
545 check_orphaned();
546 return get_store().count_elements(XMLREFERENCE$8);
547 }
548 }
549
550 /**
551 * Sets array of all "xml-reference" element
552 */
553 public void setXmlReferenceArray(org.apache.geronimo.deployment.xbeans.XmlAttributeType[] xmlReferenceArray)
554 {
555 synchronized (monitor())
556 {
557 check_orphaned();
558 arraySetterHelper(xmlReferenceArray, XMLREFERENCE$8);
559 }
560 }
561
562 /**
563 * Sets ith "xml-reference" element
564 */
565 public void setXmlReferenceArray(int i, org.apache.geronimo.deployment.xbeans.XmlAttributeType xmlReference)
566 {
567 synchronized (monitor())
568 {
569 check_orphaned();
570 org.apache.geronimo.deployment.xbeans.XmlAttributeType target = null;
571 target = (org.apache.geronimo.deployment.xbeans.XmlAttributeType)get_store().find_element_user(XMLREFERENCE$8, i);
572 if (target == null)
573 {
574 throw new IndexOutOfBoundsException();
575 }
576 target.set(xmlReference);
577 }
578 }
579
580 /**
581 * Inserts and returns a new empty value (as xml) as the ith "xml-reference" element
582 */
583 public org.apache.geronimo.deployment.xbeans.XmlAttributeType insertNewXmlReference(int i)
584 {
585 synchronized (monitor())
586 {
587 check_orphaned();
588 org.apache.geronimo.deployment.xbeans.XmlAttributeType target = null;
589 target = (org.apache.geronimo.deployment.xbeans.XmlAttributeType)get_store().insert_element_user(XMLREFERENCE$8, i);
590 return target;
591 }
592 }
593
594 /**
595 * Appends and returns a new empty value (as xml) as the last "xml-reference" element
596 */
597 public org.apache.geronimo.deployment.xbeans.XmlAttributeType addNewXmlReference()
598 {
599 synchronized (monitor())
600 {
601 check_orphaned();
602 org.apache.geronimo.deployment.xbeans.XmlAttributeType target = null;
603 target = (org.apache.geronimo.deployment.xbeans.XmlAttributeType)get_store().add_element_user(XMLREFERENCE$8);
604 return target;
605 }
606 }
607
608 /**
609 * Removes the ith "xml-reference" element
610 */
611 public void removeXmlReference(int i)
612 {
613 synchronized (monitor())
614 {
615 check_orphaned();
616 get_store().remove_element(XMLREFERENCE$8, i);
617 }
618 }
619
620 /**
621 * Gets array of all "dependency" elements
622 */
623 public org.apache.geronimo.deployment.xbeans.PatternType[] getDependencyArray()
624 {
625 synchronized (monitor())
626 {
627 check_orphaned();
628 java.util.List targetList = new java.util.ArrayList();
629 get_store().find_all_element_users(DEPENDENCY$10, targetList);
630 org.apache.geronimo.deployment.xbeans.PatternType[] result = new org.apache.geronimo.deployment.xbeans.PatternType[targetList.size()];
631 targetList.toArray(result);
632 return result;
633 }
634 }
635
636 /**
637 * Gets ith "dependency" element
638 */
639 public org.apache.geronimo.deployment.xbeans.PatternType getDependencyArray(int i)
640 {
641 synchronized (monitor())
642 {
643 check_orphaned();
644 org.apache.geronimo.deployment.xbeans.PatternType target = null;
645 target = (org.apache.geronimo.deployment.xbeans.PatternType)get_store().find_element_user(DEPENDENCY$10, i);
646 if (target == null)
647 {
648 throw new IndexOutOfBoundsException();
649 }
650 return target;
651 }
652 }
653
654 /**
655 * Returns number of "dependency" element
656 */
657 public int sizeOfDependencyArray()
658 {
659 synchronized (monitor())
660 {
661 check_orphaned();
662 return get_store().count_elements(DEPENDENCY$10);
663 }
664 }
665
666 /**
667 * Sets array of all "dependency" element
668 */
669 public void setDependencyArray(org.apache.geronimo.deployment.xbeans.PatternType[] dependencyArray)
670 {
671 synchronized (monitor())
672 {
673 check_orphaned();
674 arraySetterHelper(dependencyArray, DEPENDENCY$10);
675 }
676 }
677
678 /**
679 * Sets ith "dependency" element
680 */
681 public void setDependencyArray(int i, org.apache.geronimo.deployment.xbeans.PatternType dependency)
682 {
683 synchronized (monitor())
684 {
685 check_orphaned();
686 org.apache.geronimo.deployment.xbeans.PatternType target = null;
687 target = (org.apache.geronimo.deployment.xbeans.PatternType)get_store().find_element_user(DEPENDENCY$10, i);
688 if (target == null)
689 {
690 throw new IndexOutOfBoundsException();
691 }
692 target.set(dependency);
693 }
694 }
695
696 /**
697 * Inserts and returns a new empty value (as xml) as the ith "dependency" element
698 */
699 public org.apache.geronimo.deployment.xbeans.PatternType insertNewDependency(int i)
700 {
701 synchronized (monitor())
702 {
703 check_orphaned();
704 org.apache.geronimo.deployment.xbeans.PatternType target = null;
705 target = (org.apache.geronimo.deployment.xbeans.PatternType)get_store().insert_element_user(DEPENDENCY$10, i);
706 return target;
707 }
708 }
709
710 /**
711 * Appends and returns a new empty value (as xml) as the last "dependency" element
712 */
713 public org.apache.geronimo.deployment.xbeans.PatternType addNewDependency()
714 {
715 synchronized (monitor())
716 {
717 check_orphaned();
718 org.apache.geronimo.deployment.xbeans.PatternType target = null;
719 target = (org.apache.geronimo.deployment.xbeans.PatternType)get_store().add_element_user(DEPENDENCY$10);
720 return target;
721 }
722 }
723
724 /**
725 * Removes the ith "dependency" element
726 */
727 public void removeDependency(int i)
728 {
729 synchronized (monitor())
730 {
731 check_orphaned();
732 get_store().remove_element(DEPENDENCY$10, i);
733 }
734 }
735
736 /**
737 * Gets the "name" attribute
738 */
739 public java.lang.String getName()
740 {
741 synchronized (monitor())
742 {
743 check_orphaned();
744 org.apache.xmlbeans.SimpleValue target = null;
745 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$12);
746 if (target == null)
747 {
748 return null;
749 }
750 return target.getStringValue();
751 }
752 }
753
754 /**
755 * Gets (as xml) the "name" attribute
756 */
757 public org.apache.xmlbeans.XmlString xgetName()
758 {
759 synchronized (monitor())
760 {
761 check_orphaned();
762 org.apache.xmlbeans.XmlString target = null;
763 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$12);
764 return target;
765 }
766 }
767
768 /**
769 * Sets the "name" attribute
770 */
771 public void setName(java.lang.String name)
772 {
773 synchronized (monitor())
774 {
775 check_orphaned();
776 org.apache.xmlbeans.SimpleValue target = null;
777 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$12);
778 if (target == null)
779 {
780 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$12);
781 }
782 target.setStringValue(name);
783 }
784 }
785
786 /**
787 * Sets (as xml) the "name" attribute
788 */
789 public void xsetName(org.apache.xmlbeans.XmlString name)
790 {
791 synchronized (monitor())
792 {
793 check_orphaned();
794 org.apache.xmlbeans.XmlString target = null;
795 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$12);
796 if (target == null)
797 {
798 target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(NAME$12);
799 }
800 target.set(name);
801 }
802 }
803
804 /**
805 * Gets the "class" attribute
806 */
807 public java.lang.String getClass1()
808 {
809 synchronized (monitor())
810 {
811 check_orphaned();
812 org.apache.xmlbeans.SimpleValue target = null;
813 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CLASS1$14);
814 if (target == null)
815 {
816 return null;
817 }
818 return target.getStringValue();
819 }
820 }
821
822 /**
823 * Gets (as xml) the "class" attribute
824 */
825 public org.apache.xmlbeans.XmlString xgetClass1()
826 {
827 synchronized (monitor())
828 {
829 check_orphaned();
830 org.apache.xmlbeans.XmlString target = null;
831 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CLASS1$14);
832 return target;
833 }
834 }
835
836 /**
837 * Sets the "class" attribute
838 */
839 public void setClass1(java.lang.String class1)
840 {
841 synchronized (monitor())
842 {
843 check_orphaned();
844 org.apache.xmlbeans.SimpleValue target = null;
845 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CLASS1$14);
846 if (target == null)
847 {
848 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CLASS1$14);
849 }
850 target.setStringValue(class1);
851 }
852 }
853
854 /**
855 * Sets (as xml) the "class" attribute
856 */
857 public void xsetClass1(org.apache.xmlbeans.XmlString class1)
858 {
859 synchronized (monitor())
860 {
861 check_orphaned();
862 org.apache.xmlbeans.XmlString target = null;
863 target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CLASS1$14);
864 if (target == null)
865 {
866 target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(CLASS1$14);
867 }
868 target.set(class1);
869 }
870 }
871 }