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

net.opengis.sps.x10.impl.GetStatusRequestResponseDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: GetStatusRequestResponse
 * Namespace: http://www.opengis.net/sps/1.0
 * Java type: net.opengis.sps.x10.GetStatusRequestResponseDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sps.x10.impl;
/**
 * A document containing one GetStatusRequestResponse(@http://www.opengis.net/sps/1.0) element.
 *
 * This is a complex type.
 */
public class GetStatusRequestResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.GetStatusRequestResponseDocument
{
    private static final long serialVersionUID = 1L;
    
    public GetStatusRequestResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETSTATUSREQUESTRESPONSE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "GetStatusRequestResponse");
    
    
    /**
     * Gets the "GetStatusRequestResponse" element
     */
    public net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse getGetStatusRequestResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse target = null;
            target = (net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse)get_store().find_element_user(GETSTATUSREQUESTRESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "GetStatusRequestResponse" element
     */
    public void setGetStatusRequestResponse(net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse getStatusRequestResponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse target = null;
            target = (net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse)get_store().find_element_user(GETSTATUSREQUESTRESPONSE$0, 0);
            if (target == null)
            {
                target = (net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse)get_store().add_element_user(GETSTATUSREQUESTRESPONSE$0);
            }
            target.set(getStatusRequestResponse);
        }
    }
    
    /**
     * Appends and returns a new empty "GetStatusRequestResponse" element
     */
    public net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse addNewGetStatusRequestResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse target = null;
            target = (net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse)get_store().add_element_user(GETSTATUSREQUESTRESPONSE$0);
            return target;
        }
    }
    /**
     * An XML GetStatusRequestResponse(@http://www.opengis.net/sps/1.0).
     *
     * This is a complex type.
     */
    public static class GetStatusRequestResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse
    {
        private static final long serialVersionUID = 1L;
        
        public GetStatusRequestResponseImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName TASKID$0 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "taskID");
        private static final javax.xml.namespace.QName STATUS$2 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "status");
        private static final javax.xml.namespace.QName DESCRIPTION$4 = 
            new javax.xml.namespace.QName("http://www.opengis.net/gml", "description");
        private static final javax.xml.namespace.QName ESTIMATEDTOC$6 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "estimatedToC");
        
        
        /**
         * Gets the "taskID" element
         */
        public java.lang.String getTaskID()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TASKID$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "taskID" element
         */
        public org.apache.xmlbeans.XmlToken xgetTaskID()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlToken target = null;
                target = (org.apache.xmlbeans.XmlToken)get_store().find_element_user(TASKID$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "taskID" element
         */
        public void setTaskID(java.lang.String taskID)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TASKID$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TASKID$0);
                }
                target.setStringValue(taskID);
            }
        }
        
        /**
         * Sets (as xml) the "taskID" element
         */
        public void xsetTaskID(org.apache.xmlbeans.XmlToken taskID)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlToken target = null;
                target = (org.apache.xmlbeans.XmlToken)get_store().find_element_user(TASKID$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlToken)get_store().add_element_user(TASKID$0);
                }
                target.set(taskID);
            }
        }
        
        /**
         * Gets the "status" element
         */
        public net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status.Enum getStatus()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$2, 0);
                if (target == null)
                {
                    return null;
                }
                return (net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "status" element
         */
        public net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status xgetStatus()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status target = null;
                target = (net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status)get_store().find_element_user(STATUS$2, 0);
                return target;
            }
        }
        
        /**
         * Sets the "status" element
         */
        public void setStatus(net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status.Enum status)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATUS$2);
                }
                target.setEnumValue(status);
            }
        }
        
        /**
         * Sets (as xml) the "status" element
         */
        public void xsetStatus(net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status status)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status target = null;
                target = (net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status)get_store().find_element_user(STATUS$2, 0);
                if (target == null)
                {
                    target = (net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status)get_store().add_element_user(STATUS$2);
                }
                target.set(status);
            }
        }
        
        /**
         * Gets the "description" element
         */
        public net.opengis.gml.StringOrRefType getDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.gml.StringOrRefType target = null;
                target = (net.opengis.gml.StringOrRefType)get_store().find_element_user(DESCRIPTION$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "description" element
         */
        public boolean isSetDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(DESCRIPTION$4) != 0;
            }
        }
        
        /**
         * Sets the "description" element
         */
        public void setDescription(net.opengis.gml.StringOrRefType description)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.gml.StringOrRefType target = null;
                target = (net.opengis.gml.StringOrRefType)get_store().find_element_user(DESCRIPTION$4, 0);
                if (target == null)
                {
                    target = (net.opengis.gml.StringOrRefType)get_store().add_element_user(DESCRIPTION$4);
                }
                target.set(description);
            }
        }
        
        /**
         * Appends and returns a new empty "description" element
         */
        public net.opengis.gml.StringOrRefType addNewDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.gml.StringOrRefType target = null;
                target = (net.opengis.gml.StringOrRefType)get_store().add_element_user(DESCRIPTION$4);
                return target;
            }
        }
        
        /**
         * Unsets the "description" element
         */
        public void unsetDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(DESCRIPTION$4, 0);
            }
        }
        
        /**
         * Gets the "estimatedToC" element
         */
        public net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC getEstimatedToC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC target = null;
                target = (net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC)get_store().find_element_user(ESTIMATEDTOC$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "estimatedToC" element
         */
        public boolean isSetEstimatedToC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ESTIMATEDTOC$6) != 0;
            }
        }
        
        /**
         * Sets the "estimatedToC" element
         */
        public void setEstimatedToC(net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC estimatedToC)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC target = null;
                target = (net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC)get_store().find_element_user(ESTIMATEDTOC$6, 0);
                if (target == null)
                {
                    target = (net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC)get_store().add_element_user(ESTIMATEDTOC$6);
                }
                target.set(estimatedToC);
            }
        }
        
        /**
         * Appends and returns a new empty "estimatedToC" element
         */
        public net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC addNewEstimatedToC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC target = null;
                target = (net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC)get_store().add_element_user(ESTIMATEDTOC$6);
                return target;
            }
        }
        
        /**
         * Unsets the "estimatedToC" element
         */
        public void unsetEstimatedToC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ESTIMATEDTOC$6, 0);
            }
        }
        /**
         * An XML status(@http://www.opengis.net/sps/1.0).
         *
         * This is an atomic type that is a restriction of net.opengis.sps.x10.GetStatusRequestResponseDocument$GetStatusRequestResponse$Status.
         */
        public static class StatusImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements net.opengis.sps.x10.GetStatusRequestResponseDocument.GetStatusRequestResponse.Status
        {
            private static final long serialVersionUID = 1L;
            
            public StatusImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType, false);
            }
            
            protected StatusImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
            {
                super(sType, b);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy