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

net.opengis.sos.x10.impl.DescribeResultModelDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: DescribeResultModel
 * Namespace: http://www.opengis.net/sos/1.0
 * Java type: net.opengis.sos.x10.DescribeResultModelDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sos.x10.impl;
/**
 * A document containing one DescribeResultModel(@http://www.opengis.net/sos/1.0) element.
 *
 * This is a complex type.
 */
public class DescribeResultModelDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.DescribeResultModelDocument
{
    private static final long serialVersionUID = 1L;
    
    public DescribeResultModelDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName DESCRIBERESULTMODEL$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "DescribeResultModel");
    
    
    /**
     * Gets the "DescribeResultModel" element
     */
    public net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel getDescribeResultModel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel target = null;
            target = (net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel)get_store().find_element_user(DESCRIBERESULTMODEL$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "DescribeResultModel" element
     */
    public void setDescribeResultModel(net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel describeResultModel)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel target = null;
            target = (net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel)get_store().find_element_user(DESCRIBERESULTMODEL$0, 0);
            if (target == null)
            {
                target = (net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel)get_store().add_element_user(DESCRIBERESULTMODEL$0);
            }
            target.set(describeResultModel);
        }
    }
    
    /**
     * Appends and returns a new empty "DescribeResultModel" element
     */
    public net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel addNewDescribeResultModel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel target = null;
            target = (net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel)get_store().add_element_user(DESCRIBERESULTMODEL$0);
            return target;
        }
    }
    /**
     * An XML DescribeResultModel(@http://www.opengis.net/sos/1.0).
     *
     * This is a complex type.
     */
    public static class DescribeResultModelImpl extends net.opengis.sos.x10.impl.RequestBaseTypeImpl implements net.opengis.sos.x10.DescribeResultModelDocument.DescribeResultModel
    {
        private static final long serialVersionUID = 1L;
        
        public DescribeResultModelImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName RESULTNAME$0 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "ResultName");
        
        
        /**
         * Gets the "ResultName" element
         */
        public javax.xml.namespace.QName getResultName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESULTNAME$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getQNameValue();
            }
        }
        
        /**
         * Gets (as xml) the "ResultName" element
         */
        public org.apache.xmlbeans.XmlQName xgetResultName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlQName target = null;
                target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RESULTNAME$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "ResultName" element
         */
        public void setResultName(javax.xml.namespace.QName resultName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESULTNAME$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESULTNAME$0);
                }
                target.setQNameValue(resultName);
            }
        }
        
        /**
         * Sets (as xml) the "ResultName" element
         */
        public void xsetResultName(org.apache.xmlbeans.XmlQName resultName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlQName target = null;
                target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RESULTNAME$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(RESULTNAME$0);
                }
                target.set(resultName);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy