001    /*
002     * XML Type:  tBindingOperationFault
003     * Namespace: http://schemas.xmlsoap.org/wsdl/
004     * Java type: org.apache.geronimo.xbeans.wsdl.TBindingOperationFault
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.wsdl.impl;
009    /**
010     * An XML tBindingOperationFault(@http://schemas.xmlsoap.org/wsdl/).
011     *
012     * This is a complex type.
013     */
014    public class TBindingOperationFaultImpl extends org.apache.geronimo.xbeans.wsdl.impl.TExtensibleDocumentedImpl implements org.apache.geronimo.xbeans.wsdl.TBindingOperationFault
015    {
016        
017        public TBindingOperationFaultImpl(org.apache.xmlbeans.SchemaType sType)
018        {
019            super(sType);
020        }
021        
022        private static final javax.xml.namespace.QName NAME$0 = 
023            new javax.xml.namespace.QName("", "name");
024        
025        
026        /**
027         * Gets the "name" attribute
028         */
029        public java.lang.String getName()
030        {
031            synchronized (monitor())
032            {
033                check_orphaned();
034                org.apache.xmlbeans.SimpleValue target = null;
035                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0);
036                if (target == null)
037                {
038                    return null;
039                }
040                return target.getStringValue();
041            }
042        }
043        
044        /**
045         * Gets (as xml) the "name" attribute
046         */
047        public org.apache.xmlbeans.XmlNCName xgetName()
048        {
049            synchronized (monitor())
050            {
051                check_orphaned();
052                org.apache.xmlbeans.XmlNCName target = null;
053                target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
054                return target;
055            }
056        }
057        
058        /**
059         * Sets the "name" attribute
060         */
061        public void setName(java.lang.String name)
062        {
063            synchronized (monitor())
064            {
065                check_orphaned();
066                org.apache.xmlbeans.SimpleValue target = null;
067                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0);
068                if (target == null)
069                {
070                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$0);
071                }
072                target.setStringValue(name);
073            }
074        }
075        
076        /**
077         * Sets (as xml) the "name" attribute
078         */
079        public void xsetName(org.apache.xmlbeans.XmlNCName name)
080        {
081            synchronized (monitor())
082            {
083                check_orphaned();
084                org.apache.xmlbeans.XmlNCName target = null;
085                target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
086                if (target == null)
087                {
088                    target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$0);
089                }
090                target.set(name);
091            }
092        }
093    }