001    /*
002     * An XML attribute type.
003     * Localname: arrayType
004     * Namespace: http://schemas.xmlsoap.org/wsdl/
005     * Java type: org.apache.geronimo.xbeans.wsdl.ArrayTypeAttribute
006     *
007     * Automatically generated - do not modify.
008     */
009    package org.apache.geronimo.xbeans.wsdl.impl;
010    /**
011     * A document containing one arrayType(@http://schemas.xmlsoap.org/wsdl/) attribute.
012     *
013     * This is a complex type.
014     */
015    public class ArrayTypeAttributeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.geronimo.xbeans.wsdl.ArrayTypeAttribute
016    {
017        
018        public ArrayTypeAttributeImpl(org.apache.xmlbeans.SchemaType sType)
019        {
020            super(sType);
021        }
022        
023        private static final javax.xml.namespace.QName ARRAYTYPE$0 = 
024            new javax.xml.namespace.QName("http://schemas.xmlsoap.org/wsdl/", "arrayType");
025        
026        
027        /**
028         * Gets the "arrayType" attribute
029         */
030        public java.lang.String getArrayType()
031        {
032            synchronized (monitor())
033            {
034                check_orphaned();
035                org.apache.xmlbeans.SimpleValue target = null;
036                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ARRAYTYPE$0);
037                if (target == null)
038                {
039                    return null;
040                }
041                return target.getStringValue();
042            }
043        }
044        
045        /**
046         * Gets (as xml) the "arrayType" attribute
047         */
048        public org.apache.xmlbeans.XmlString xgetArrayType()
049        {
050            synchronized (monitor())
051            {
052                check_orphaned();
053                org.apache.xmlbeans.XmlString target = null;
054                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ARRAYTYPE$0);
055                return target;
056            }
057        }
058        
059        /**
060         * True if has "arrayType" attribute
061         */
062        public boolean isSetArrayType()
063        {
064            synchronized (monitor())
065            {
066                check_orphaned();
067                return get_store().find_attribute_user(ARRAYTYPE$0) != null;
068            }
069        }
070        
071        /**
072         * Sets the "arrayType" attribute
073         */
074        public void setArrayType(java.lang.String arrayType)
075        {
076            synchronized (monitor())
077            {
078                check_orphaned();
079                org.apache.xmlbeans.SimpleValue target = null;
080                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ARRAYTYPE$0);
081                if (target == null)
082                {
083                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ARRAYTYPE$0);
084                }
085                target.setStringValue(arrayType);
086            }
087        }
088        
089        /**
090         * Sets (as xml) the "arrayType" attribute
091         */
092        public void xsetArrayType(org.apache.xmlbeans.XmlString arrayType)
093        {
094            synchronized (monitor())
095            {
096                check_orphaned();
097                org.apache.xmlbeans.XmlString target = null;
098                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ARRAYTYPE$0);
099                if (target == null)
100                {
101                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(ARRAYTYPE$0);
102                }
103                target.set(arrayType);
104            }
105        }
106        
107        /**
108         * Unsets the "arrayType" attribute
109         */
110        public void unsetArrayType()
111        {
112            synchronized (monitor())
113            {
114                check_orphaned();
115                get_store().remove_attribute(ARRAYTYPE$0);
116            }
117        }
118    }