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

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

/*
 * An XML document type.
 * Localname: SPSMessage
 * Namespace: http://www.opengis.net/sps/1.0
 * Java type: net.opengis.sps.x10.SPSMessageDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sps.x10.impl;
/**
 * A document containing one SPSMessage(@http://www.opengis.net/sps/1.0) element.
 *
 * This is a complex type.
 */
public class SPSMessageDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.SPSMessageDocument
{
    private static final long serialVersionUID = 1L;
    
    public SPSMessageDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SPSMESSAGE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "SPSMessage");
    
    
    /**
     * Gets the "SPSMessage" element
     */
    public net.opengis.sps.x10.SPSMessageDocument.SPSMessage getSPSMessage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x10.SPSMessageDocument.SPSMessage target = null;
            target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage)get_store().find_element_user(SPSMESSAGE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "SPSMessage" element
     */
    public void setSPSMessage(net.opengis.sps.x10.SPSMessageDocument.SPSMessage spsMessage)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x10.SPSMessageDocument.SPSMessage target = null;
            target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage)get_store().find_element_user(SPSMESSAGE$0, 0);
            if (target == null)
            {
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage)get_store().add_element_user(SPSMESSAGE$0);
            }
            target.set(spsMessage);
        }
    }
    
    /**
     * Appends and returns a new empty "SPSMessage" element
     */
    public net.opengis.sps.x10.SPSMessageDocument.SPSMessage addNewSPSMessage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x10.SPSMessageDocument.SPSMessage target = null;
            target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage)get_store().add_element_user(SPSMESSAGE$0);
            return target;
        }
    }
    /**
     * An XML SPSMessage(@http://www.opengis.net/sps/1.0).
     *
     * This is a complex type.
     */
    public static class SPSMessageImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage
    {
        private static final long serialVersionUID = 1L;
        
        public SPSMessageImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName FEASIBILITYRESPONSE$0 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "FeasibilityResponse");
        private static final javax.xml.namespace.QName SUBMITRESPONSE$2 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "SubmitResponse");
        private static final javax.xml.namespace.QName STATUSINFORMATION$4 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "StatusInformation");
        private static final javax.xml.namespace.QName UPDATEREQUEST$6 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "UpdateRequest");
        private static final javax.xml.namespace.QName UPDATERESPONSE$8 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "UpdateResponse");
        private static final javax.xml.namespace.QName SPSCORRID$10 = 
            new javax.xml.namespace.QName("", "SPSCorrID");
        
        
        /**
         * Gets the "FeasibilityResponse" element
         */
        public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse getFeasibilityResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse)get_store().find_element_user(FEASIBILITYRESPONSE$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "FeasibilityResponse" element
         */
        public boolean isSetFeasibilityResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(FEASIBILITYRESPONSE$0) != 0;
            }
        }
        
        /**
         * Sets the "FeasibilityResponse" element
         */
        public void setFeasibilityResponse(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse feasibilityResponse)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse)get_store().find_element_user(FEASIBILITYRESPONSE$0, 0);
                if (target == null)
                {
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse)get_store().add_element_user(FEASIBILITYRESPONSE$0);
                }
                target.set(feasibilityResponse);
            }
        }
        
        /**
         * Appends and returns a new empty "FeasibilityResponse" element
         */
        public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse addNewFeasibilityResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse)get_store().add_element_user(FEASIBILITYRESPONSE$0);
                return target;
            }
        }
        
        /**
         * Unsets the "FeasibilityResponse" element
         */
        public void unsetFeasibilityResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(FEASIBILITYRESPONSE$0, 0);
            }
        }
        
        /**
         * Gets the "SubmitResponse" element
         */
        public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse getSubmitResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse)get_store().find_element_user(SUBMITRESPONSE$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "SubmitResponse" element
         */
        public boolean isSetSubmitResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(SUBMITRESPONSE$2) != 0;
            }
        }
        
        /**
         * Sets the "SubmitResponse" element
         */
        public void setSubmitResponse(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse submitResponse)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse)get_store().find_element_user(SUBMITRESPONSE$2, 0);
                if (target == null)
                {
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse)get_store().add_element_user(SUBMITRESPONSE$2);
                }
                target.set(submitResponse);
            }
        }
        
        /**
         * Appends and returns a new empty "SubmitResponse" element
         */
        public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse addNewSubmitResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse)get_store().add_element_user(SUBMITRESPONSE$2);
                return target;
            }
        }
        
        /**
         * Unsets the "SubmitResponse" element
         */
        public void unsetSubmitResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(SUBMITRESPONSE$2, 0);
            }
        }
        
        /**
         * Gets the "StatusInformation" element
         */
        public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation getStatusInformation()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation)get_store().find_element_user(STATUSINFORMATION$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "StatusInformation" element
         */
        public boolean isSetStatusInformation()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(STATUSINFORMATION$4) != 0;
            }
        }
        
        /**
         * Sets the "StatusInformation" element
         */
        public void setStatusInformation(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation statusInformation)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation)get_store().find_element_user(STATUSINFORMATION$4, 0);
                if (target == null)
                {
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation)get_store().add_element_user(STATUSINFORMATION$4);
                }
                target.set(statusInformation);
            }
        }
        
        /**
         * Appends and returns a new empty "StatusInformation" element
         */
        public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation addNewStatusInformation()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation)get_store().add_element_user(STATUSINFORMATION$4);
                return target;
            }
        }
        
        /**
         * Unsets the "StatusInformation" element
         */
        public void unsetStatusInformation()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(STATUSINFORMATION$4, 0);
            }
        }
        
        /**
         * Gets the "UpdateRequest" element
         */
        public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest getUpdateRequest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest)get_store().find_element_user(UPDATEREQUEST$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "UpdateRequest" element
         */
        public boolean isSetUpdateRequest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(UPDATEREQUEST$6) != 0;
            }
        }
        
        /**
         * Sets the "UpdateRequest" element
         */
        public void setUpdateRequest(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest updateRequest)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest)get_store().find_element_user(UPDATEREQUEST$6, 0);
                if (target == null)
                {
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest)get_store().add_element_user(UPDATEREQUEST$6);
                }
                target.set(updateRequest);
            }
        }
        
        /**
         * Appends and returns a new empty "UpdateRequest" element
         */
        public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest addNewUpdateRequest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest)get_store().add_element_user(UPDATEREQUEST$6);
                return target;
            }
        }
        
        /**
         * Unsets the "UpdateRequest" element
         */
        public void unsetUpdateRequest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(UPDATEREQUEST$6, 0);
            }
        }
        
        /**
         * Gets the "UpdateResponse" element
         */
        public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse getUpdateResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse)get_store().find_element_user(UPDATERESPONSE$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "UpdateResponse" element
         */
        public boolean isSetUpdateResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(UPDATERESPONSE$8) != 0;
            }
        }
        
        /**
         * Sets the "UpdateResponse" element
         */
        public void setUpdateResponse(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse updateResponse)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse)get_store().find_element_user(UPDATERESPONSE$8, 0);
                if (target == null)
                {
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse)get_store().add_element_user(UPDATERESPONSE$8);
                }
                target.set(updateResponse);
            }
        }
        
        /**
         * Appends and returns a new empty "UpdateResponse" element
         */
        public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse addNewUpdateResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse target = null;
                target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse)get_store().add_element_user(UPDATERESPONSE$8);
                return target;
            }
        }
        
        /**
         * Unsets the "UpdateResponse" element
         */
        public void unsetUpdateResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(UPDATERESPONSE$8, 0);
            }
        }
        
        /**
         * Gets the "SPSCorrID" attribute
         */
        public java.lang.String getSPSCorrID()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SPSCORRID$10);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "SPSCorrID" attribute
         */
        public org.apache.xmlbeans.XmlToken xgetSPSCorrID()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlToken target = null;
                target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(SPSCORRID$10);
                return target;
            }
        }
        
        /**
         * Sets the "SPSCorrID" attribute
         */
        public void setSPSCorrID(java.lang.String spsCorrID)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SPSCORRID$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SPSCORRID$10);
                }
                target.setStringValue(spsCorrID);
            }
        }
        
        /**
         * Sets (as xml) the "SPSCorrID" attribute
         */
        public void xsetSPSCorrID(org.apache.xmlbeans.XmlToken spsCorrID)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlToken target = null;
                target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(SPSCORRID$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlToken)get_store().add_attribute_user(SPSCORRID$10);
                }
                target.set(spsCorrID);
            }
        }
        /**
         * An XML FeasibilityResponse(@http://www.opengis.net/sps/1.0).
         *
         * This is a complex type.
         */
        public static class FeasibilityResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse
        {
            private static final long serialVersionUID = 1L;
            
            public FeasibilityResponseImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName FEASIBILITY$0 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "feasibility");
            private static final javax.xml.namespace.QName DESCRIPTION$2 = 
                new javax.xml.namespace.QName("http://www.opengis.net/gml", "description");
            private static final javax.xml.namespace.QName ALTERNATIVE$4 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "alternative");
            
            
            /**
             * Gets the "feasibility" element
             */
            public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility.Enum getFeasibility()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEASIBILITY$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "feasibility" element
             */
            public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility xgetFeasibility()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility)get_store().find_element_user(FEASIBILITY$0, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "feasibility" element
             */
            public void setFeasibility(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility.Enum feasibility)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FEASIBILITY$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FEASIBILITY$0);
                    }
                    target.setEnumValue(feasibility);
                }
            }
            
            /**
             * Sets (as xml) the "feasibility" element
             */
            public void xsetFeasibility(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility feasibility)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility)get_store().find_element_user(FEASIBILITY$0, 0);
                    if (target == null)
                    {
                      target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility)get_store().add_element_user(FEASIBILITY$0);
                    }
                    target.set(feasibility);
                }
            }
            
            /**
             * 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$2, 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$2) != 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$2, 0);
                    if (target == null)
                    {
                      target = (net.opengis.gml.StringOrRefType)get_store().add_element_user(DESCRIPTION$2);
                    }
                    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$2);
                    return target;
                }
            }
            
            /**
             * Unsets the "description" element
             */
            public void unsetDescription()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(DESCRIPTION$2, 0);
                }
            }
            
            /**
             * Gets the "alternative" element
             */
            public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative getAlternative()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative)get_store().find_element_user(ALTERNATIVE$4, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "alternative" element
             */
            public boolean isSetAlternative()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(ALTERNATIVE$4) != 0;
                }
            }
            
            /**
             * Sets the "alternative" element
             */
            public void setAlternative(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative alternative)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative)get_store().find_element_user(ALTERNATIVE$4, 0);
                    if (target == null)
                    {
                      target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative)get_store().add_element_user(ALTERNATIVE$4);
                    }
                    target.set(alternative);
                }
            }
            
            /**
             * Appends and returns a new empty "alternative" element
             */
            public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative addNewAlternative()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative)get_store().add_element_user(ALTERNATIVE$4);
                    return target;
                }
            }
            
            /**
             * Unsets the "alternative" element
             */
            public void unsetAlternative()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(ALTERNATIVE$4, 0);
                }
            }
            /**
             * An XML feasibility(@http://www.opengis.net/sps/1.0).
             *
             * This is an atomic type that is a restriction of net.opengis.sps.x10.SPSMessageDocument$SPSMessage$FeasibilityResponse$Feasibility.
             */
            public static class FeasibilityImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Feasibility
            {
                private static final long serialVersionUID = 1L;
                
                public FeasibilityImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType, false);
                }
                
                protected FeasibilityImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                {
                    super(sType, b);
                }
            }
            /**
             * An XML alternative(@http://www.opengis.net/sps/1.0).
             *
             * This is a complex type.
             */
            public static class AlternativeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage.FeasibilityResponse.Alternative
            {
                private static final long serialVersionUID = 1L;
                
                public AlternativeImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName INPUTPARAMETER$0 = 
                    new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "InputParameter");
                
                
                /**
                 * Gets array of all "InputParameter" elements
                 */
                public net.opengis.sps.x10.InputParameterType[] getInputParameterArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      java.util.List targetList = new java.util.ArrayList();
                      get_store().find_all_element_users(INPUTPARAMETER$0, targetList);
                      net.opengis.sps.x10.InputParameterType[] result = new net.opengis.sps.x10.InputParameterType[targetList.size()];
                      targetList.toArray(result);
                      return result;
                    }
                }
                
                /**
                 * Gets ith "InputParameter" element
                 */
                public net.opengis.sps.x10.InputParameterType getInputParameterArray(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sps.x10.InputParameterType target = null;
                      target = (net.opengis.sps.x10.InputParameterType)get_store().find_element_user(INPUTPARAMETER$0, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      return target;
                    }
                }
                
                /**
                 * Returns number of "InputParameter" element
                 */
                public int sizeOfInputParameterArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(INPUTPARAMETER$0);
                    }
                }
                
                /**
                 * Sets array of all "InputParameter" element
                 */
                public void setInputParameterArray(net.opengis.sps.x10.InputParameterType[] inputParameterArray)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      arraySetterHelper(inputParameterArray, INPUTPARAMETER$0);
                    }
                }
                
                /**
                 * Sets ith "InputParameter" element
                 */
                public void setInputParameterArray(int i, net.opengis.sps.x10.InputParameterType inputParameter)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sps.x10.InputParameterType target = null;
                      target = (net.opengis.sps.x10.InputParameterType)get_store().find_element_user(INPUTPARAMETER$0, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      target.set(inputParameter);
                    }
                }
                
                /**
                 * Inserts and returns a new empty value (as xml) as the ith "InputParameter" element
                 */
                public net.opengis.sps.x10.InputParameterType insertNewInputParameter(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sps.x10.InputParameterType target = null;
                      target = (net.opengis.sps.x10.InputParameterType)get_store().insert_element_user(INPUTPARAMETER$0, i);
                      return target;
                    }
                }
                
                /**
                 * Appends and returns a new empty value (as xml) as the last "InputParameter" element
                 */
                public net.opengis.sps.x10.InputParameterType addNewInputParameter()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sps.x10.InputParameterType target = null;
                      target = (net.opengis.sps.x10.InputParameterType)get_store().add_element_user(INPUTPARAMETER$0);
                      return target;
                    }
                }
                
                /**
                 * Removes the ith "InputParameter" element
                 */
                public void removeInputParameter(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(INPUTPARAMETER$0, i);
                    }
                }
            }
        }
        /**
         * An XML SubmitResponse(@http://www.opengis.net/sps/1.0).
         *
         * This is a complex type.
         */
        public static class SubmitResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse
        {
            private static final long serialVersionUID = 1L;
            
            public SubmitResponseImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName STATUS$0 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "status");
            private static final javax.xml.namespace.QName DESCRIPTION$2 = 
                new javax.xml.namespace.QName("http://www.opengis.net/gml", "description");
            private static final javax.xml.namespace.QName ESTIMATEDTOC$4 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "estimatedToC");
            private static final javax.xml.namespace.QName ALTERNATIVE$6 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "alternative");
            
            
            /**
             * Gets the "status" element
             */
            public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Status.Enum getStatus()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Status.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "status" element
             */
            public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Status xgetStatus()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Status target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Status)get_store().find_element_user(STATUS$0, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "status" element
             */
            public void setStatus(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Status.Enum status)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATUS$0);
                    }
                    target.setEnumValue(status);
                }
            }
            
            /**
             * Sets (as xml) the "status" element
             */
            public void xsetStatus(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Status status)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Status target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Status)get_store().find_element_user(STATUS$0, 0);
                    if (target == null)
                    {
                      target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Status)get_store().add_element_user(STATUS$0);
                    }
                    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$2, 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$2) != 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$2, 0);
                    if (target == null)
                    {
                      target = (net.opengis.gml.StringOrRefType)get_store().add_element_user(DESCRIPTION$2);
                    }
                    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$2);
                    return target;
                }
            }
            
            /**
             * Unsets the "description" element
             */
            public void unsetDescription()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(DESCRIPTION$2, 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$4, 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$4) != 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$4, 0);
                    if (target == null)
                    {
                      target = (net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC)get_store().add_element_user(ESTIMATEDTOC$4);
                    }
                    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$4);
                    return target;
                }
            }
            
            /**
             * Unsets the "estimatedToC" element
             */
            public void unsetEstimatedToC()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(ESTIMATEDTOC$4, 0);
                }
            }
            
            /**
             * Gets the "alternative" element
             */
            public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative getAlternative()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative)get_store().find_element_user(ALTERNATIVE$6, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "alternative" element
             */
            public boolean isSetAlternative()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(ALTERNATIVE$6) != 0;
                }
            }
            
            /**
             * Sets the "alternative" element
             */
            public void setAlternative(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative alternative)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative)get_store().find_element_user(ALTERNATIVE$6, 0);
                    if (target == null)
                    {
                      target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative)get_store().add_element_user(ALTERNATIVE$6);
                    }
                    target.set(alternative);
                }
            }
            
            /**
             * Appends and returns a new empty "alternative" element
             */
            public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative addNewAlternative()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative)get_store().add_element_user(ALTERNATIVE$6);
                    return target;
                }
            }
            
            /**
             * Unsets the "alternative" element
             */
            public void unsetAlternative()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(ALTERNATIVE$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.SPSMessageDocument$SPSMessage$SubmitResponse$Status.
             */
            public static class StatusImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.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 alternative(@http://www.opengis.net/sps/1.0).
             *
             * This is a complex type.
             */
            public static class AlternativeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage.SubmitResponse.Alternative
            {
                private static final long serialVersionUID = 1L;
                
                public AlternativeImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName INPUTPARAMETER$0 = 
                    new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "InputParameter");
                
                
                /**
                 * Gets array of all "InputParameter" elements
                 */
                public net.opengis.sps.x10.InputParameterType[] getInputParameterArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      java.util.List targetList = new java.util.ArrayList();
                      get_store().find_all_element_users(INPUTPARAMETER$0, targetList);
                      net.opengis.sps.x10.InputParameterType[] result = new net.opengis.sps.x10.InputParameterType[targetList.size()];
                      targetList.toArray(result);
                      return result;
                    }
                }
                
                /**
                 * Gets ith "InputParameter" element
                 */
                public net.opengis.sps.x10.InputParameterType getInputParameterArray(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sps.x10.InputParameterType target = null;
                      target = (net.opengis.sps.x10.InputParameterType)get_store().find_element_user(INPUTPARAMETER$0, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      return target;
                    }
                }
                
                /**
                 * Returns number of "InputParameter" element
                 */
                public int sizeOfInputParameterArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(INPUTPARAMETER$0);
                    }
                }
                
                /**
                 * Sets array of all "InputParameter" element
                 */
                public void setInputParameterArray(net.opengis.sps.x10.InputParameterType[] inputParameterArray)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      arraySetterHelper(inputParameterArray, INPUTPARAMETER$0);
                    }
                }
                
                /**
                 * Sets ith "InputParameter" element
                 */
                public void setInputParameterArray(int i, net.opengis.sps.x10.InputParameterType inputParameter)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sps.x10.InputParameterType target = null;
                      target = (net.opengis.sps.x10.InputParameterType)get_store().find_element_user(INPUTPARAMETER$0, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      target.set(inputParameter);
                    }
                }
                
                /**
                 * Inserts and returns a new empty value (as xml) as the ith "InputParameter" element
                 */
                public net.opengis.sps.x10.InputParameterType insertNewInputParameter(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sps.x10.InputParameterType target = null;
                      target = (net.opengis.sps.x10.InputParameterType)get_store().insert_element_user(INPUTPARAMETER$0, i);
                      return target;
                    }
                }
                
                /**
                 * Appends and returns a new empty value (as xml) as the last "InputParameter" element
                 */
                public net.opengis.sps.x10.InputParameterType addNewInputParameter()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      net.opengis.sps.x10.InputParameterType target = null;
                      target = (net.opengis.sps.x10.InputParameterType)get_store().add_element_user(INPUTPARAMETER$0);
                      return target;
                    }
                }
                
                /**
                 * Removes the ith "InputParameter" element
                 */
                public void removeInputParameter(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(INPUTPARAMETER$0, i);
                    }
                }
            }
        }
        /**
         * An XML StatusInformation(@http://www.opengis.net/sps/1.0).
         *
         * This is a complex type.
         */
        public static class StatusInformationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation
        {
            private static final long serialVersionUID = 1L;
            
            public StatusInformationImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName STATUS$0 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "status");
            private static final javax.xml.namespace.QName DESCRIPTION$2 = 
                new javax.xml.namespace.QName("http://www.opengis.net/gml", "description");
            private static final javax.xml.namespace.QName ESTIMATEDTOC$4 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "estimatedToC");
            
            
            /**
             * Gets the "status" element
             */
            public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.Status.Enum getStatus()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.Status.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "status" element
             */
            public net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.Status xgetStatus()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.Status target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.Status)get_store().find_element_user(STATUS$0, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "status" element
             */
            public void setStatus(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.Status.Enum status)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATUS$0);
                    }
                    target.setEnumValue(status);
                }
            }
            
            /**
             * Sets (as xml) the "status" element
             */
            public void xsetStatus(net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.Status status)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.Status target = null;
                    target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.Status)get_store().find_element_user(STATUS$0, 0);
                    if (target == null)
                    {
                      target = (net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.Status)get_store().add_element_user(STATUS$0);
                    }
                    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$2, 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$2) != 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$2, 0);
                    if (target == null)
                    {
                      target = (net.opengis.gml.StringOrRefType)get_store().add_element_user(DESCRIPTION$2);
                    }
                    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$2);
                    return target;
                }
            }
            
            /**
             * Unsets the "description" element
             */
            public void unsetDescription()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(DESCRIPTION$2, 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$4, 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$4) != 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$4, 0);
                    if (target == null)
                    {
                      target = (net.opengis.sps.x10.EstimatedToCDocument.EstimatedToC)get_store().add_element_user(ESTIMATEDTOC$4);
                    }
                    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$4);
                    return target;
                }
            }
            
            /**
             * Unsets the "estimatedToC" element
             */
            public void unsetEstimatedToC()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(ESTIMATEDTOC$4, 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.SPSMessageDocument$SPSMessage$StatusInformation$Status.
             */
            public static class StatusImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage.StatusInformation.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 UpdateRequest(@http://www.opengis.net/sps/1.0).
         *
         * This is a complex type.
         */
        public static class UpdateRequestImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateRequest
        {
            private static final long serialVersionUID = 1L;
            
            public UpdateRequestImpl(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 array of all "InputDescriptor" elements
             */
            public net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor[] getInputDescriptorArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(INPUTDESCRIPTOR$0, targetList);
                    net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor[] result = new net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets ith "InputDescriptor" element
             */
            public net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor getInputDescriptorArray(int i)
            {
                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, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "InputDescriptor" element
             */
            public int sizeOfInputDescriptorArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(INPUTDESCRIPTOR$0);
                }
            }
            
            /**
             * Sets array of all "InputDescriptor" element
             */
            public void setInputDescriptorArray(net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor[] inputDescriptorArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(inputDescriptorArray, INPUTDESCRIPTOR$0);
                }
            }
            
            /**
             * Sets ith "InputDescriptor" element
             */
            public void setInputDescriptorArray(int i, 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, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(inputDescriptor);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "InputDescriptor" element
             */
            public net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor insertNewInputDescriptor(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor target = null;
                    target = (net.opengis.sps.x10.InputDescriptorDocument.InputDescriptor)get_store().insert_element_user(INPUTDESCRIPTOR$0, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "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;
                }
            }
            
            /**
             * Removes the ith "InputDescriptor" element
             */
            public void removeInputDescriptor(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(INPUTDESCRIPTOR$0, i);
                }
            }
        }
        /**
         * An XML UpdateResponse(@http://www.opengis.net/sps/1.0).
         *
         * This is a complex type.
         */
        public static class UpdateResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.SPSMessageDocument.SPSMessage.UpdateResponse
        {
            private static final long serialVersionUID = 1L;
            
            public UpdateResponseImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName INPUTPARAMETER$0 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "InputParameter");
            
            
            /**
             * Gets array of all "InputParameter" elements
             */
            public net.opengis.sps.x10.InputParameterType[] getInputParameterArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(INPUTPARAMETER$0, targetList);
                    net.opengis.sps.x10.InputParameterType[] result = new net.opengis.sps.x10.InputParameterType[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets ith "InputParameter" element
             */
            public net.opengis.sps.x10.InputParameterType getInputParameterArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.InputParameterType target = null;
                    target = (net.opengis.sps.x10.InputParameterType)get_store().find_element_user(INPUTPARAMETER$0, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "InputParameter" element
             */
            public int sizeOfInputParameterArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(INPUTPARAMETER$0);
                }
            }
            
            /**
             * Sets array of all "InputParameter" element
             */
            public void setInputParameterArray(net.opengis.sps.x10.InputParameterType[] inputParameterArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(inputParameterArray, INPUTPARAMETER$0);
                }
            }
            
            /**
             * Sets ith "InputParameter" element
             */
            public void setInputParameterArray(int i, net.opengis.sps.x10.InputParameterType inputParameter)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.InputParameterType target = null;
                    target = (net.opengis.sps.x10.InputParameterType)get_store().find_element_user(INPUTPARAMETER$0, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(inputParameter);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "InputParameter" element
             */
            public net.opengis.sps.x10.InputParameterType insertNewInputParameter(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.InputParameterType target = null;
                    target = (net.opengis.sps.x10.InputParameterType)get_store().insert_element_user(INPUTPARAMETER$0, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "InputParameter" element
             */
            public net.opengis.sps.x10.InputParameterType addNewInputParameter()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.sps.x10.InputParameterType target = null;
                    target = (net.opengis.sps.x10.InputParameterType)get_store().add_element_user(INPUTPARAMETER$0);
                    return target;
                }
            }
            
            /**
             * Removes the ith "InputParameter" element
             */
            public void removeInputParameter(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(INPUTPARAMETER$0, i);
                }
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy