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

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

/*
 * An XML document type.
 * Localname: UpdateRequestResponse
 * Namespace: http://www.opengis.net/sps/1.0
 * Java type: net.opengis.sps.x10.UpdateRequestResponseDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sps.x10.impl;
/**
 * A document containing one UpdateRequestResponse(@http://www.opengis.net/sps/1.0) element.
 *
 * This is a complex type.
 */
public class UpdateRequestResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.UpdateRequestResponseDocument
{
    private static final long serialVersionUID = 1L;
    
    public UpdateRequestResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName UPDATEREQUESTRESPONSE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "UpdateRequestResponse");
    
    
    /**
     * Gets the "UpdateRequestResponse" element
     */
    public net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse getUpdateRequestResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse target = null;
            target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse)get_store().find_element_user(UPDATEREQUESTRESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "UpdateRequestResponse" element
     */
    public void setUpdateRequestResponse(net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse updateRequestResponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse target = null;
            target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse)get_store().find_element_user(UPDATEREQUESTRESPONSE$0, 0);
            if (target == null)
            {
                target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse)get_store().add_element_user(UPDATEREQUESTRESPONSE$0);
            }
            target.set(updateRequestResponse);
        }
    }
    
    /**
     * Appends and returns a new empty "UpdateRequestResponse" element
     */
    public net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse addNewUpdateRequestResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse target = null;
            target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse)get_store().add_element_user(UPDATEREQUESTRESPONSE$0);
            return target;
        }
    }
    /**
     * An XML UpdateRequestResponse(@http://www.opengis.net/sps/1.0).
     *
     * This is a complex type.
     */
    public static class UpdateRequestResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse
    {
        private static final long serialVersionUID = 1L;
        
        public UpdateRequestResponseImpl(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");
        private static final javax.xml.namespace.QName MISSINGPARAMETERS$8 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "missingParameters");
        
        
        /**
         * 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.UpdateRequestResponseDocument.UpdateRequestResponse.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.UpdateRequestResponseDocument.UpdateRequestResponse.Status.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "status" element
         */
        public net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.Status xgetStatus()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.Status target = null;
                target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.Status)get_store().find_element_user(STATUS$2, 0);
                return target;
            }
        }
        
        /**
         * Sets the "status" element
         */
        public void setStatus(net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.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.UpdateRequestResponseDocument.UpdateRequestResponse.Status status)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.Status target = null;
                target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.Status)get_store().find_element_user(STATUS$2, 0);
                if (target == null)
                {
                    target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.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.UpdateRequestResponseDocument.UpdateRequestResponse.EstimatedToC getEstimatedToC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.EstimatedToC target = null;
                target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.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.UpdateRequestResponseDocument.UpdateRequestResponse.EstimatedToC estimatedToC)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.EstimatedToC target = null;
                target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.EstimatedToC)get_store().find_element_user(ESTIMATEDTOC$6, 0);
                if (target == null)
                {
                    target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.EstimatedToC)get_store().add_element_user(ESTIMATEDTOC$6);
                }
                target.set(estimatedToC);
            }
        }
        
        /**
         * Appends and returns a new empty "estimatedToC" element
         */
        public net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.EstimatedToC addNewEstimatedToC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.EstimatedToC target = null;
                target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.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);
            }
        }
        
        /**
         * Gets array of all "missingParameters" elements
         */
        public net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters[] getMissingParametersArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(MISSINGPARAMETERS$8, targetList);
                net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters[] result = new net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "missingParameters" element
         */
        public net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters getMissingParametersArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters target = null;
                target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters)get_store().find_element_user(MISSINGPARAMETERS$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "missingParameters" element
         */
        public int sizeOfMissingParametersArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(MISSINGPARAMETERS$8);
            }
        }
        
        /**
         * Sets array of all "missingParameters" element
         */
        public void setMissingParametersArray(net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters[] missingParametersArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(missingParametersArray, MISSINGPARAMETERS$8);
            }
        }
        
        /**
         * Sets ith "missingParameters" element
         */
        public void setMissingParametersArray(int i, net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters missingParameters)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters target = null;
                target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters)get_store().find_element_user(MISSINGPARAMETERS$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(missingParameters);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "missingParameters" element
         */
        public net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters insertNewMissingParameters(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters target = null;
                target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters)get_store().insert_element_user(MISSINGPARAMETERS$8, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "missingParameters" element
         */
        public net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters addNewMissingParameters()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters target = null;
                target = (net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters)get_store().add_element_user(MISSINGPARAMETERS$8);
                return target;
            }
        }
        
        /**
         * Removes the ith "missingParameters" element
         */
        public void removeMissingParameters(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(MISSINGPARAMETERS$8, i);
            }
        }
        /**
         * An XML status(@http://www.opengis.net/sps/1.0).
         *
         * This is an atomic type that is a restriction of net.opengis.sps.x10.UpdateRequestResponseDocument$UpdateRequestResponse$Status.
         */
        public static class StatusImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.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);
            }
        }
        /**
         * An XML estimatedToC(@http://www.opengis.net/sps/1.0).
         *
         * This is a complex type.
         */
        public static class EstimatedToCImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.EstimatedToC
        {
            private static final long serialVersionUID = 1L;
            
            public EstimatedToCImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName TIMEINSTANT$0 = 
                new javax.xml.namespace.QName("http://www.opengis.net/gml", "TimeInstant");
            
            
            /**
             * Gets the "TimeInstant" element
             */
            public net.opengis.gml.TimeInstantType getTimeInstant()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.gml.TimeInstantType target = null;
                    target = (net.opengis.gml.TimeInstantType)get_store().find_element_user(TIMEINSTANT$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "TimeInstant" element
             */
            public void setTimeInstant(net.opengis.gml.TimeInstantType timeInstant)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.gml.TimeInstantType target = null;
                    target = (net.opengis.gml.TimeInstantType)get_store().find_element_user(TIMEINSTANT$0, 0);
                    if (target == null)
                    {
                      target = (net.opengis.gml.TimeInstantType)get_store().add_element_user(TIMEINSTANT$0);
                    }
                    target.set(timeInstant);
                }
            }
            
            /**
             * Appends and returns a new empty "TimeInstant" element
             */
            public net.opengis.gml.TimeInstantType addNewTimeInstant()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.gml.TimeInstantType target = null;
                    target = (net.opengis.gml.TimeInstantType)get_store().add_element_user(TIMEINSTANT$0);
                    return target;
                }
            }
        }
        /**
         * An XML missingParameters(@http://www.opengis.net/sps/1.0).
         *
         * This is a complex type.
         */
        public static class MissingParametersImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.UpdateRequestResponseDocument.UpdateRequestResponse.MissingParameters
        {
            private static final long serialVersionUID = 1L;
            
            public MissingParametersImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName INPUTDESCRIPTOR$0 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "InputDescriptor");
            
            
            /**
             * Gets the "InputDescriptor" element
             */
            public net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor getInputDescriptor()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor target = null;
                    target = (net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor)get_store().find_element_user(INPUTDESCRIPTOR$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "InputDescriptor" element
             */
            public void setInputDescriptor(net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor inputDescriptor)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor target = null;
                    target = (net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor)get_store().find_element_user(INPUTDESCRIPTOR$0, 0);
                    if (target == null)
                    {
                      target = (net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor)get_store().add_element_user(INPUTDESCRIPTOR$0);
                    }
                    target.set(inputDescriptor);
                }
            }
            
            /**
             * Appends and returns a new empty "InputDescriptor" element
             */
            public net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor addNewInputDescriptor()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor target = null;
                    target = (net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor)get_store().add_element_user(INPUTDESCRIPTOR$0);
                    return target;
                }
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy