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