All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.opengis.sensorML.x10.impl.ClassificationDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: classification
 * Namespace: http://www.opengis.net/sensorML/1.0
 * Java type: net.opengis.sensorML.x10.ClassificationDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sensorML.x10.impl;
/**
 * A document containing one classification(@http://www.opengis.net/sensorML/1.0) element.
 *
 * This is a complex type.
 */
public class ClassificationDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sensorML.x10.ClassificationDocument
{
    private static final long serialVersionUID = 1L;
    
    public ClassificationDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CLASSIFICATION$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sensorML/1.0", "classification");
    
    
    /**
     * Gets the "classification" element
     */
    public net.opengis.sensorML.x10.ClassificationDocument.Classification getClassification()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorML.x10.ClassificationDocument.Classification target = null;
            target = (net.opengis.sensorML.x10.ClassificationDocument.Classification)get_store().find_element_user(CLASSIFICATION$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "classification" element
     */
    public void setClassification(net.opengis.sensorML.x10.ClassificationDocument.Classification classification)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorML.x10.ClassificationDocument.Classification target = null;
            target = (net.opengis.sensorML.x10.ClassificationDocument.Classification)get_store().find_element_user(CLASSIFICATION$0, 0);
            if (target == null)
            {
                target = (net.opengis.sensorML.x10.ClassificationDocument.Classification)get_store().add_element_user(CLASSIFICATION$0);
            }
            target.set(classification);
        }
    }
    
    /**
     * Appends and returns a new empty "classification" element
     */
    public net.opengis.sensorML.x10.ClassificationDocument.Classification addNewClassification()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorML.x10.ClassificationDocument.Classification target = null;
            target = (net.opengis.sensorML.x10.ClassificationDocument.Classification)get_store().add_element_user(CLASSIFICATION$0);
            return target;
        }
    }
    /**
     * An XML classification(@http://www.opengis.net/sensorML/1.0).
     *
     * This is a complex type.
     */
    public static class ClassificationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sensorML.x10.ClassificationDocument.Classification
    {
        private static final long serialVersionUID = 1L;
        
        public ClassificationImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName CLASSIFIERLIST$0 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sensorML/1.0", "ClassifierList");
        private static final javax.xml.namespace.QName TYPE$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "type");
        private static final javax.xml.namespace.QName HREF$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "href");
        private static final javax.xml.namespace.QName ROLE$6 = 
            new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "role");
        private static final javax.xml.namespace.QName ARCROLE$8 = 
            new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "arcrole");
        private static final javax.xml.namespace.QName TITLE$10 = 
            new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "title");
        private static final javax.xml.namespace.QName SHOW$12 = 
            new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "show");
        private static final javax.xml.namespace.QName ACTUATE$14 = 
            new javax.xml.namespace.QName("http://www.w3.org/1999/xlink", "actuate");
        private static final javax.xml.namespace.QName REMOTESCHEMA$16 = 
            new javax.xml.namespace.QName("http://www.opengis.net/gml", "remoteSchema");
        
        
        /**
         * Gets the "ClassifierList" element
         */
        public net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList getClassifierList()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList target = null;
                target = (net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList)get_store().find_element_user(CLASSIFIERLIST$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "ClassifierList" element
         */
        public boolean isSetClassifierList()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CLASSIFIERLIST$0) != 0;
            }
        }
        
        /**
         * Sets the "ClassifierList" element
         */
        public void setClassifierList(net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList classifierList)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList target = null;
                target = (net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList)get_store().find_element_user(CLASSIFIERLIST$0, 0);
                if (target == null)
                {
                    target = (net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList)get_store().add_element_user(CLASSIFIERLIST$0);
                }
                target.set(classifierList);
            }
        }
        
        /**
         * Appends and returns a new empty "ClassifierList" element
         */
        public net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList addNewClassifierList()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList target = null;
                target = (net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList)get_store().add_element_user(CLASSIFIERLIST$0);
                return target;
            }
        }
        
        /**
         * Unsets the "ClassifierList" element
         */
        public void unsetClassifierList()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CLASSIFIERLIST$0, 0);
            }
        }
        
        /**
         * Gets the "type" attribute
         */
        public org.w3.x1999.xlink.TypeType.Enum getType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(TYPE$2);
                }
                if (target == null)
                {
                    return null;
                }
                return (org.w3.x1999.xlink.TypeType.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "type" attribute
         */
        public org.w3.x1999.xlink.TypeType xgetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.TypeType target = null;
                target = (org.w3.x1999.xlink.TypeType)get_store().find_attribute_user(TYPE$2);
                if (target == null)
                {
                    target = (org.w3.x1999.xlink.TypeType)get_default_attribute_value(TYPE$2);
                }
                return target;
            }
        }
        
        /**
         * True if has "type" attribute
         */
        public boolean isSetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(TYPE$2) != null;
            }
        }
        
        /**
         * Sets the "type" attribute
         */
        public void setType(org.w3.x1999.xlink.TypeType.Enum type)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$2);
                }
                target.setEnumValue(type);
            }
        }
        
        /**
         * Sets (as xml) the "type" attribute
         */
        public void xsetType(org.w3.x1999.xlink.TypeType type)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.TypeType target = null;
                target = (org.w3.x1999.xlink.TypeType)get_store().find_attribute_user(TYPE$2);
                if (target == null)
                {
                    target = (org.w3.x1999.xlink.TypeType)get_store().add_attribute_user(TYPE$2);
                }
                target.set(type);
            }
        }
        
        /**
         * Unsets the "type" attribute
         */
        public void unsetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(TYPE$2);
            }
        }
        
        /**
         * Gets the "href" attribute
         */
        public java.lang.String getHref()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HREF$4);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "href" attribute
         */
        public org.w3.x1999.xlink.HrefType xgetHref()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.HrefType target = null;
                target = (org.w3.x1999.xlink.HrefType)get_store().find_attribute_user(HREF$4);
                return target;
            }
        }
        
        /**
         * True if has "href" attribute
         */
        public boolean isSetHref()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(HREF$4) != null;
            }
        }
        
        /**
         * Sets the "href" attribute
         */
        public void setHref(java.lang.String href)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HREF$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(HREF$4);
                }
                target.setStringValue(href);
            }
        }
        
        /**
         * Sets (as xml) the "href" attribute
         */
        public void xsetHref(org.w3.x1999.xlink.HrefType href)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.HrefType target = null;
                target = (org.w3.x1999.xlink.HrefType)get_store().find_attribute_user(HREF$4);
                if (target == null)
                {
                    target = (org.w3.x1999.xlink.HrefType)get_store().add_attribute_user(HREF$4);
                }
                target.set(href);
            }
        }
        
        /**
         * Unsets the "href" attribute
         */
        public void unsetHref()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(HREF$4);
            }
        }
        
        /**
         * Gets the "role" attribute
         */
        public java.lang.String getRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ROLE$6);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "role" attribute
         */
        public org.w3.x1999.xlink.RoleType xgetRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.RoleType target = null;
                target = (org.w3.x1999.xlink.RoleType)get_store().find_attribute_user(ROLE$6);
                return target;
            }
        }
        
        /**
         * True if has "role" attribute
         */
        public boolean isSetRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ROLE$6) != null;
            }
        }
        
        /**
         * Sets the "role" attribute
         */
        public void setRole(java.lang.String role)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ROLE$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ROLE$6);
                }
                target.setStringValue(role);
            }
        }
        
        /**
         * Sets (as xml) the "role" attribute
         */
        public void xsetRole(org.w3.x1999.xlink.RoleType role)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.RoleType target = null;
                target = (org.w3.x1999.xlink.RoleType)get_store().find_attribute_user(ROLE$6);
                if (target == null)
                {
                    target = (org.w3.x1999.xlink.RoleType)get_store().add_attribute_user(ROLE$6);
                }
                target.set(role);
            }
        }
        
        /**
         * Unsets the "role" attribute
         */
        public void unsetRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ROLE$6);
            }
        }
        
        /**
         * Gets the "arcrole" attribute
         */
        public java.lang.String getArcrole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ARCROLE$8);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "arcrole" attribute
         */
        public org.w3.x1999.xlink.ArcroleType xgetArcrole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.ArcroleType target = null;
                target = (org.w3.x1999.xlink.ArcroleType)get_store().find_attribute_user(ARCROLE$8);
                return target;
            }
        }
        
        /**
         * True if has "arcrole" attribute
         */
        public boolean isSetArcrole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ARCROLE$8) != null;
            }
        }
        
        /**
         * Sets the "arcrole" attribute
         */
        public void setArcrole(java.lang.String arcrole)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ARCROLE$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ARCROLE$8);
                }
                target.setStringValue(arcrole);
            }
        }
        
        /**
         * Sets (as xml) the "arcrole" attribute
         */
        public void xsetArcrole(org.w3.x1999.xlink.ArcroleType arcrole)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.ArcroleType target = null;
                target = (org.w3.x1999.xlink.ArcroleType)get_store().find_attribute_user(ARCROLE$8);
                if (target == null)
                {
                    target = (org.w3.x1999.xlink.ArcroleType)get_store().add_attribute_user(ARCROLE$8);
                }
                target.set(arcrole);
            }
        }
        
        /**
         * Unsets the "arcrole" attribute
         */
        public void unsetArcrole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ARCROLE$8);
            }
        }
        
        /**
         * Gets the "title" attribute
         */
        public java.lang.String getTitle()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TITLE$10);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "title" attribute
         */
        public org.w3.x1999.xlink.TitleAttrType xgetTitle()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.TitleAttrType target = null;
                target = (org.w3.x1999.xlink.TitleAttrType)get_store().find_attribute_user(TITLE$10);
                return target;
            }
        }
        
        /**
         * True if has "title" attribute
         */
        public boolean isSetTitle()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(TITLE$10) != null;
            }
        }
        
        /**
         * Sets the "title" attribute
         */
        public void setTitle(java.lang.String title)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TITLE$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TITLE$10);
                }
                target.setStringValue(title);
            }
        }
        
        /**
         * Sets (as xml) the "title" attribute
         */
        public void xsetTitle(org.w3.x1999.xlink.TitleAttrType title)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.TitleAttrType target = null;
                target = (org.w3.x1999.xlink.TitleAttrType)get_store().find_attribute_user(TITLE$10);
                if (target == null)
                {
                    target = (org.w3.x1999.xlink.TitleAttrType)get_store().add_attribute_user(TITLE$10);
                }
                target.set(title);
            }
        }
        
        /**
         * Unsets the "title" attribute
         */
        public void unsetTitle()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(TITLE$10);
            }
        }
        
        /**
         * Gets the "show" attribute
         */
        public org.w3.x1999.xlink.ShowType.Enum getShow()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOW$12);
                if (target == null)
                {
                    return null;
                }
                return (org.w3.x1999.xlink.ShowType.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "show" attribute
         */
        public org.w3.x1999.xlink.ShowType xgetShow()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.ShowType target = null;
                target = (org.w3.x1999.xlink.ShowType)get_store().find_attribute_user(SHOW$12);
                return target;
            }
        }
        
        /**
         * True if has "show" attribute
         */
        public boolean isSetShow()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(SHOW$12) != null;
            }
        }
        
        /**
         * Sets the "show" attribute
         */
        public void setShow(org.w3.x1999.xlink.ShowType.Enum show)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOW$12);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHOW$12);
                }
                target.setEnumValue(show);
            }
        }
        
        /**
         * Sets (as xml) the "show" attribute
         */
        public void xsetShow(org.w3.x1999.xlink.ShowType show)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.ShowType target = null;
                target = (org.w3.x1999.xlink.ShowType)get_store().find_attribute_user(SHOW$12);
                if (target == null)
                {
                    target = (org.w3.x1999.xlink.ShowType)get_store().add_attribute_user(SHOW$12);
                }
                target.set(show);
            }
        }
        
        /**
         * Unsets the "show" attribute
         */
        public void unsetShow()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(SHOW$12);
            }
        }
        
        /**
         * Gets the "actuate" attribute
         */
        public org.w3.x1999.xlink.ActuateType.Enum getActuate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTUATE$14);
                if (target == null)
                {
                    return null;
                }
                return (org.w3.x1999.xlink.ActuateType.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "actuate" attribute
         */
        public org.w3.x1999.xlink.ActuateType xgetActuate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.ActuateType target = null;
                target = (org.w3.x1999.xlink.ActuateType)get_store().find_attribute_user(ACTUATE$14);
                return target;
            }
        }
        
        /**
         * True if has "actuate" attribute
         */
        public boolean isSetActuate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ACTUATE$14) != null;
            }
        }
        
        /**
         * Sets the "actuate" attribute
         */
        public void setActuate(org.w3.x1999.xlink.ActuateType.Enum actuate)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTUATE$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ACTUATE$14);
                }
                target.setEnumValue(actuate);
            }
        }
        
        /**
         * Sets (as xml) the "actuate" attribute
         */
        public void xsetActuate(org.w3.x1999.xlink.ActuateType actuate)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x1999.xlink.ActuateType target = null;
                target = (org.w3.x1999.xlink.ActuateType)get_store().find_attribute_user(ACTUATE$14);
                if (target == null)
                {
                    target = (org.w3.x1999.xlink.ActuateType)get_store().add_attribute_user(ACTUATE$14);
                }
                target.set(actuate);
            }
        }
        
        /**
         * Unsets the "actuate" attribute
         */
        public void unsetActuate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ACTUATE$14);
            }
        }
        
        /**
         * Gets the "remoteSchema" attribute
         */
        public java.lang.String getRemoteSchema()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REMOTESCHEMA$16);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "remoteSchema" attribute
         */
        public org.apache.xmlbeans.XmlAnyURI xgetRemoteSchema()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(REMOTESCHEMA$16);
                return target;
            }
        }
        
        /**
         * True if has "remoteSchema" attribute
         */
        public boolean isSetRemoteSchema()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(REMOTESCHEMA$16) != null;
            }
        }
        
        /**
         * Sets the "remoteSchema" attribute
         */
        public void setRemoteSchema(java.lang.String remoteSchema)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REMOTESCHEMA$16);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REMOTESCHEMA$16);
                }
                target.setStringValue(remoteSchema);
            }
        }
        
        /**
         * Sets (as xml) the "remoteSchema" attribute
         */
        public void xsetRemoteSchema(org.apache.xmlbeans.XmlAnyURI remoteSchema)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(REMOTESCHEMA$16);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(REMOTESCHEMA$16);
                }
                target.set(remoteSchema);
            }
        }
        
        /**
         * Unsets the "remoteSchema" attribute
         */
        public void unsetRemoteSchema()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(REMOTESCHEMA$16);
            }
        }
        /**
         * An XML ClassifierList(@http://www.opengis.net/sensorML/1.0).
         *
         * This is a complex type.
         */
        public static class ClassifierListImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList
        {
            private static final long serialVersionUID = 1L;
            
            public ClassifierListImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName CLASSIFIER$0 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sensorML/1.0", "classifier");
            private static final javax.xml.namespace.QName ID$2 = 
                new javax.xml.namespace.QName("", "id");
            
            
            /**
             * Gets array of all "classifier" elements
             */
            public net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier[] getClassifierArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(CLASSIFIER$0, targetList);
                    net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier[] result = new net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets ith "classifier" element
             */
            public net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier getClassifierArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier target = null;
                    target = (net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier)get_store().find_element_user(CLASSIFIER$0, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "classifier" element
             */
            public int sizeOfClassifierArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(CLASSIFIER$0);
                }
            }
            
            /**
             * Sets array of all "classifier" element
             */
            public void setClassifierArray(net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier[] classifierArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(classifierArray, CLASSIFIER$0);
                }
            }
            
            /**
             * Sets ith "classifier" element
             */
            public void setClassifierArray(int i, net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier classifier)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier target = null;
                    target = (net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier)get_store().find_element_user(CLASSIFIER$0, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(classifier);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "classifier" element
             */
            public net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier insertNewClassifier(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier target = null;
                    target = (net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier)get_store().insert_element_user(CLASSIFIER$0, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "classifier" element
             */
            public net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier addNewClassifier()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier target = null;
                    target = (net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier)get_store().add_element_user(CLASSIFIER$0);
                    return target;
                }
            }
            
            /**
             * Removes the ith "classifier" element
             */
            public void removeClassifier(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(CLASSIFIER$0, i);
                }
            }
            
            /**
             * Gets the "id" attribute
             */
            public java.lang.String getId()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "id" attribute
             */
            public org.apache.xmlbeans.XmlID xgetId()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlID target = null;
                    target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$2);
                    return target;
                }
            }
            
            /**
             * True if has "id" attribute
             */
            public boolean isSetId()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(ID$2) != null;
                }
            }
            
            /**
             * Sets the "id" attribute
             */
            public void setId(java.lang.String id)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$2);
                    }
                    target.setStringValue(id);
                }
            }
            
            /**
             * Sets (as xml) the "id" attribute
             */
            public void xsetId(org.apache.xmlbeans.XmlID id)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlID target = null;
                    target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$2);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlID)get_store().add_attribute_user(ID$2);
                    }
                    target.set(id);
                }
            }
            
            /**
             * Unsets the "id" attribute
             */
            public void unsetId()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(ID$2);
                }
            }
            /**
             * An XML classifier(@http://www.opengis.net/sensorML/1.0).
             *
             * This is a complex type.
             */
            public static class ClassifierImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sensorML.x10.ClassificationDocument.Classification.ClassifierList.Classifier
            {
                private static final long serialVersionUID = 1L;
                
                public ClassifierImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName TERM$0 = 
                    new javax.xml.namespace.QName("http://www.opengis.net/sensorML/1.0", "Term");
                private static final javax.xml.namespace.QName NAME$2 = 
                    new javax.xml.namespace.QName("", "name");
                
                
                /**
                 * Gets the "Term" element
                 */
                public net.opengis.sensorML.x10.TermDocument.Term getTerm()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sensorML.x10.TermDocument.Term target = null;
                      target = (net.opengis.sensorML.x10.TermDocument.Term)get_store().find_element_user(TERM$0, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target;
                    }
                }
                
                /**
                 * Sets the "Term" element
                 */
                public void setTerm(net.opengis.sensorML.x10.TermDocument.Term term)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sensorML.x10.TermDocument.Term target = null;
                      target = (net.opengis.sensorML.x10.TermDocument.Term)get_store().find_element_user(TERM$0, 0);
                      if (target == null)
                      {
                        target = (net.opengis.sensorML.x10.TermDocument.Term)get_store().add_element_user(TERM$0);
                      }
                      target.set(term);
                    }
                }
                
                /**
                 * Appends and returns a new empty "Term" element
                 */
                public net.opengis.sensorML.x10.TermDocument.Term addNewTerm()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sensorML.x10.TermDocument.Term target = null;
                      target = (net.opengis.sensorML.x10.TermDocument.Term)get_store().add_element_user(TERM$0);
                      return target;
                    }
                }
                
                /**
                 * Gets the "name" attribute
                 */
                public java.lang.String getName()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "name" attribute
                 */
                public org.apache.xmlbeans.XmlToken xgetName()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlToken target = null;
                      target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(NAME$2);
                      return target;
                    }
                }
                
                /**
                 * True if has "name" attribute
                 */
                public boolean isSetName()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().find_attribute_user(NAME$2) != null;
                    }
                }
                
                /**
                 * Sets the "name" attribute
                 */
                public void setName(java.lang.String name)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$2);
                      }
                      target.setStringValue(name);
                    }
                }
                
                /**
                 * Sets (as xml) the "name" attribute
                 */
                public void xsetName(org.apache.xmlbeans.XmlToken name)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlToken target = null;
                      target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(NAME$2);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlToken)get_store().add_attribute_user(NAME$2);
                      }
                      target.set(name);
                    }
                }
                
                /**
                 * Unsets the "name" attribute
                 */
                public void unsetName()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_attribute(NAME$2);
                    }
                }
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy