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

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

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: GetObservation
 * Namespace: http://www.opengis.net/sos/1.0
 * Java type: net.opengis.sos.x10.GetObservationDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sos.x10.impl;
/**
 * A document containing one GetObservation(@http://www.opengis.net/sos/1.0) element.
 *
 * This is a complex type.
 */
public class GetObservationDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.GetObservationDocument
{
    private static final long serialVersionUID = 1L;
    
    public GetObservationDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETOBSERVATION$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "GetObservation");
    
    
    /**
     * Gets the "GetObservation" element
     */
    public net.opengis.sos.x10.GetObservationDocument.GetObservation getGetObservation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sos.x10.GetObservationDocument.GetObservation target = null;
            target = (net.opengis.sos.x10.GetObservationDocument.GetObservation)get_store().find_element_user(GETOBSERVATION$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "GetObservation" element
     */
    public void setGetObservation(net.opengis.sos.x10.GetObservationDocument.GetObservation getObservation)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sos.x10.GetObservationDocument.GetObservation target = null;
            target = (net.opengis.sos.x10.GetObservationDocument.GetObservation)get_store().find_element_user(GETOBSERVATION$0, 0);
            if (target == null)
            {
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation)get_store().add_element_user(GETOBSERVATION$0);
            }
            target.set(getObservation);
        }
    }
    
    /**
     * Appends and returns a new empty "GetObservation" element
     */
    public net.opengis.sos.x10.GetObservationDocument.GetObservation addNewGetObservation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sos.x10.GetObservationDocument.GetObservation target = null;
            target = (net.opengis.sos.x10.GetObservationDocument.GetObservation)get_store().add_element_user(GETOBSERVATION$0);
            return target;
        }
    }
    /**
     * An XML GetObservation(@http://www.opengis.net/sos/1.0).
     *
     * This is a complex type.
     */
    public static class GetObservationImpl extends net.opengis.sos.x10.impl.RequestBaseTypeImpl implements net.opengis.sos.x10.GetObservationDocument.GetObservation
    {
        private static final long serialVersionUID = 1L;
        
        public GetObservationImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName OFFERING$0 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "offering");
        private static final javax.xml.namespace.QName EVENTTIME$2 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "eventTime");
        private static final javax.xml.namespace.QName PROCEDURE$4 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "procedure");
        private static final javax.xml.namespace.QName OBSERVEDPROPERTY$6 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "observedProperty");
        private static final javax.xml.namespace.QName FEATUREOFINTEREST$8 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "featureOfInterest");
        private static final javax.xml.namespace.QName RESULT$10 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "result");
        private static final javax.xml.namespace.QName RESPONSEFORMAT$12 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "responseFormat");
        private static final javax.xml.namespace.QName RESULTMODEL$14 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "resultModel");
        private static final javax.xml.namespace.QName RESPONSEMODE$16 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "responseMode");
        private static final javax.xml.namespace.QName SRSNAME$18 = 
            new javax.xml.namespace.QName("", "srsName");
        
        
        /**
         * Gets the "offering" element
         */
        public java.lang.String getOffering()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OFFERING$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "offering" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetOffering()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OFFERING$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "offering" element
         */
        public boolean isSetOffering()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(OFFERING$0) != 0;
            }
        }
        
        /**
         * Sets the "offering" element
         */
        public void setOffering(java.lang.String offering)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OFFERING$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OFFERING$0);
                }
                target.setStringValue(offering);
            }
        }
        
        /**
         * Sets (as xml) the "offering" element
         */
        public void xsetOffering(org.apache.xmlbeans.XmlAnyURI offering)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OFFERING$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(OFFERING$0);
                }
                target.set(offering);
            }
        }
        
        /**
         * Unsets the "offering" element
         */
        public void unsetOffering()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(OFFERING$0, 0);
            }
        }
        
        /**
         * Gets array of all "eventTime" elements
         */
        public net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime[] getEventTimeArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(EVENTTIME$2, targetList);
                net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime[] result = new net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "eventTime" element
         */
        public net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime getEventTimeArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime target = null;
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime)get_store().find_element_user(EVENTTIME$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "eventTime" element
         */
        public int sizeOfEventTimeArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(EVENTTIME$2);
            }
        }
        
        /**
         * Sets array of all "eventTime" element
         */
        public void setEventTimeArray(net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime[] eventTimeArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(eventTimeArray, EVENTTIME$2);
            }
        }
        
        /**
         * Sets ith "eventTime" element
         */
        public void setEventTimeArray(int i, net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime eventTime)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime target = null;
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime)get_store().find_element_user(EVENTTIME$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(eventTime);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "eventTime" element
         */
        public net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime insertNewEventTime(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime target = null;
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime)get_store().insert_element_user(EVENTTIME$2, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "eventTime" element
         */
        public net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime addNewEventTime()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime target = null;
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime)get_store().add_element_user(EVENTTIME$2);
                return target;
            }
        }
        
        /**
         * Removes the ith "eventTime" element
         */
        public void removeEventTime(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(EVENTTIME$2, i);
            }
        }
        
        /**
         * Gets array of all "procedure" elements
         */
        public java.lang.String[] getProcedureArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(PROCEDURE$4, targetList);
                java.lang.String[] result = new java.lang.String[targetList.size()];
                for (int i = 0, len = targetList.size() ; i < len ; i++)
                    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
                return result;
            }
        }
        
        /**
         * Gets ith "procedure" element
         */
        public java.lang.String getProcedureArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROCEDURE$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) array of all "procedure" elements
         */
        public org.apache.xmlbeans.XmlAnyURI[] xgetProcedureArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(PROCEDURE$4, targetList);
                org.apache.xmlbeans.XmlAnyURI[] result = new org.apache.xmlbeans.XmlAnyURI[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets (as xml) ith "procedure" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetProcedureArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(PROCEDURE$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return (org.apache.xmlbeans.XmlAnyURI)target;
            }
        }
        
        /**
         * Returns number of "procedure" element
         */
        public int sizeOfProcedureArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PROCEDURE$4);
            }
        }
        
        /**
         * Sets array of all "procedure" element
         */
        public void setProcedureArray(java.lang.String[] procedureArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(procedureArray, PROCEDURE$4);
            }
        }
        
        /**
         * Sets ith "procedure" element
         */
        public void setProcedureArray(int i, java.lang.String procedure)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROCEDURE$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.setStringValue(procedure);
            }
        }
        
        /**
         * Sets (as xml) array of all "procedure" element
         */
        public void xsetProcedureArray(org.apache.xmlbeans.XmlAnyURI[]procedureArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(procedureArray, PROCEDURE$4);
            }
        }
        
        /**
         * Sets (as xml) ith "procedure" element
         */
        public void xsetProcedureArray(int i, org.apache.xmlbeans.XmlAnyURI procedure)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(PROCEDURE$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(procedure);
            }
        }
        
        /**
         * Inserts the value as the ith "procedure" element
         */
        public void insertProcedure(int i, java.lang.String procedure)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = 
                    (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(PROCEDURE$4, i);
                target.setStringValue(procedure);
            }
        }
        
        /**
         * Appends the value as the last "procedure" element
         */
        public void addProcedure(java.lang.String procedure)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROCEDURE$4);
                target.setStringValue(procedure);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "procedure" element
         */
        public org.apache.xmlbeans.XmlAnyURI insertNewProcedure(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().insert_element_user(PROCEDURE$4, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "procedure" element
         */
        public org.apache.xmlbeans.XmlAnyURI addNewProcedure()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(PROCEDURE$4);
                return target;
            }
        }
        
        /**
         * Removes the ith "procedure" element
         */
        public void removeProcedure(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PROCEDURE$4, i);
            }
        }
        
        /**
         * Gets array of all "observedProperty" elements
         */
        public java.lang.String[] getObservedPropertyArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(OBSERVEDPROPERTY$6, targetList);
                java.lang.String[] result = new java.lang.String[targetList.size()];
                for (int i = 0, len = targetList.size() ; i < len ; i++)
                    result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
                return result;
            }
        }
        
        /**
         * Gets ith "observedProperty" element
         */
        public java.lang.String getObservedPropertyArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OBSERVEDPROPERTY$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) array of all "observedProperty" elements
         */
        public org.apache.xmlbeans.XmlAnyURI[] xgetObservedPropertyArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(OBSERVEDPROPERTY$6, targetList);
                org.apache.xmlbeans.XmlAnyURI[] result = new org.apache.xmlbeans.XmlAnyURI[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets (as xml) ith "observedProperty" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetObservedPropertyArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OBSERVEDPROPERTY$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return (org.apache.xmlbeans.XmlAnyURI)target;
            }
        }
        
        /**
         * Returns number of "observedProperty" element
         */
        public int sizeOfObservedPropertyArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(OBSERVEDPROPERTY$6);
            }
        }
        
        /**
         * Sets array of all "observedProperty" element
         */
        public void setObservedPropertyArray(java.lang.String[] observedPropertyArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(observedPropertyArray, OBSERVEDPROPERTY$6);
            }
        }
        
        /**
         * Sets ith "observedProperty" element
         */
        public void setObservedPropertyArray(int i, java.lang.String observedProperty)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OBSERVEDPROPERTY$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.setStringValue(observedProperty);
            }
        }
        
        /**
         * Sets (as xml) array of all "observedProperty" element
         */
        public void xsetObservedPropertyArray(org.apache.xmlbeans.XmlAnyURI[]observedPropertyArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(observedPropertyArray, OBSERVEDPROPERTY$6);
            }
        }
        
        /**
         * Sets (as xml) ith "observedProperty" element
         */
        public void xsetObservedPropertyArray(int i, org.apache.xmlbeans.XmlAnyURI observedProperty)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OBSERVEDPROPERTY$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(observedProperty);
            }
        }
        
        /**
         * Inserts the value as the ith "observedProperty" element
         */
        public void insertObservedProperty(int i, java.lang.String observedProperty)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = 
                    (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(OBSERVEDPROPERTY$6, i);
                target.setStringValue(observedProperty);
            }
        }
        
        /**
         * Appends the value as the last "observedProperty" element
         */
        public void addObservedProperty(java.lang.String observedProperty)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OBSERVEDPROPERTY$6);
                target.setStringValue(observedProperty);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "observedProperty" element
         */
        public org.apache.xmlbeans.XmlAnyURI insertNewObservedProperty(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().insert_element_user(OBSERVEDPROPERTY$6, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "observedProperty" element
         */
        public org.apache.xmlbeans.XmlAnyURI addNewObservedProperty()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(OBSERVEDPROPERTY$6);
                return target;
            }
        }
        
        /**
         * Removes the ith "observedProperty" element
         */
        public void removeObservedProperty(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(OBSERVEDPROPERTY$6, i);
            }
        }
        
        /**
         * Gets the "featureOfInterest" element
         */
        public net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest getFeatureOfInterest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest target = null;
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest)get_store().find_element_user(FEATUREOFINTEREST$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "featureOfInterest" element
         */
        public boolean isSetFeatureOfInterest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(FEATUREOFINTEREST$8) != 0;
            }
        }
        
        /**
         * Sets the "featureOfInterest" element
         */
        public void setFeatureOfInterest(net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest featureOfInterest)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest target = null;
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest)get_store().find_element_user(FEATUREOFINTEREST$8, 0);
                if (target == null)
                {
                    target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest)get_store().add_element_user(FEATUREOFINTEREST$8);
                }
                target.set(featureOfInterest);
            }
        }
        
        /**
         * Appends and returns a new empty "featureOfInterest" element
         */
        public net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest addNewFeatureOfInterest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest target = null;
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest)get_store().add_element_user(FEATUREOFINTEREST$8);
                return target;
            }
        }
        
        /**
         * Unsets the "featureOfInterest" element
         */
        public void unsetFeatureOfInterest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(FEATUREOFINTEREST$8, 0);
            }
        }
        
        /**
         * Gets the "result" element
         */
        public net.opengis.sos.x10.GetObservationDocument.GetObservation.Result getResult()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.GetObservationDocument.GetObservation.Result target = null;
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.Result)get_store().find_element_user(RESULT$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "result" element
         */
        public boolean isSetResult()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(RESULT$10) != 0;
            }
        }
        
        /**
         * Sets the "result" element
         */
        public void setResult(net.opengis.sos.x10.GetObservationDocument.GetObservation.Result result)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.GetObservationDocument.GetObservation.Result target = null;
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.Result)get_store().find_element_user(RESULT$10, 0);
                if (target == null)
                {
                    target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.Result)get_store().add_element_user(RESULT$10);
                }
                target.set(result);
            }
        }
        
        /**
         * Appends and returns a new empty "result" element
         */
        public net.opengis.sos.x10.GetObservationDocument.GetObservation.Result addNewResult()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.GetObservationDocument.GetObservation.Result target = null;
                target = (net.opengis.sos.x10.GetObservationDocument.GetObservation.Result)get_store().add_element_user(RESULT$10);
                return target;
            }
        }
        
        /**
         * Unsets the "result" element
         */
        public void unsetResult()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(RESULT$10, 0);
            }
        }
        
        /**
         * Gets the "responseFormat" element
         */
        public java.lang.String getResponseFormat()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPONSEFORMAT$12, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "responseFormat" element
         */
        public net.opengis.ows.x11.MimeType xgetResponseFormat()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.ows.x11.MimeType target = null;
                target = (net.opengis.ows.x11.MimeType)get_store().find_element_user(RESPONSEFORMAT$12, 0);
                return target;
            }
        }
        
        /**
         * True if has "responseFormat" element
         */
        public boolean isSetResponseFormat()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(RESPONSEFORMAT$12) != 0;
            }
        }
        
        /**
         * Sets the "responseFormat" element
         */
        public void setResponseFormat(java.lang.String responseFormat)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPONSEFORMAT$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESPONSEFORMAT$12);
                }
                target.setStringValue(responseFormat);
            }
        }
        
        /**
         * Sets (as xml) the "responseFormat" element
         */
        public void xsetResponseFormat(net.opengis.ows.x11.MimeType responseFormat)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.ows.x11.MimeType target = null;
                target = (net.opengis.ows.x11.MimeType)get_store().find_element_user(RESPONSEFORMAT$12, 0);
                if (target == null)
                {
                    target = (net.opengis.ows.x11.MimeType)get_store().add_element_user(RESPONSEFORMAT$12);
                }
                target.set(responseFormat);
            }
        }
        
        /**
         * Unsets the "responseFormat" element
         */
        public void unsetResponseFormat()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(RESPONSEFORMAT$12, 0);
            }
        }
        
        /**
         * Gets the "resultModel" element
         */
        public javax.xml.namespace.QName getResultModel()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESULTMODEL$14, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getQNameValue();
            }
        }
        
        /**
         * Gets (as xml) the "resultModel" element
         */
        public org.apache.xmlbeans.XmlQName xgetResultModel()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlQName target = null;
                target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RESULTMODEL$14, 0);
                return target;
            }
        }
        
        /**
         * True if has "resultModel" element
         */
        public boolean isSetResultModel()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(RESULTMODEL$14) != 0;
            }
        }
        
        /**
         * Sets the "resultModel" element
         */
        public void setResultModel(javax.xml.namespace.QName resultModel)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESULTMODEL$14, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESULTMODEL$14);
                }
                target.setQNameValue(resultModel);
            }
        }
        
        /**
         * Sets (as xml) the "resultModel" element
         */
        public void xsetResultModel(org.apache.xmlbeans.XmlQName resultModel)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlQName target = null;
                target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RESULTMODEL$14, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(RESULTMODEL$14);
                }
                target.set(resultModel);
            }
        }
        
        /**
         * Unsets the "resultModel" element
         */
        public void unsetResultModel()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(RESULTMODEL$14, 0);
            }
        }
        
        /**
         * Gets the "responseMode" element
         */
        public net.opengis.sos.x10.ResponseModeType.Enum getResponseMode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPONSEMODE$16, 0);
                if (target == null)
                {
                    return null;
                }
                return (net.opengis.sos.x10.ResponseModeType.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "responseMode" element
         */
        public net.opengis.sos.x10.ResponseModeType xgetResponseMode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.ResponseModeType target = null;
                target = (net.opengis.sos.x10.ResponseModeType)get_store().find_element_user(RESPONSEMODE$16, 0);
                return target;
            }
        }
        
        /**
         * True if has "responseMode" element
         */
        public boolean isSetResponseMode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(RESPONSEMODE$16) != 0;
            }
        }
        
        /**
         * Sets the "responseMode" element
         */
        public void setResponseMode(net.opengis.sos.x10.ResponseModeType.Enum responseMode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPONSEMODE$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESPONSEMODE$16);
                }
                target.setEnumValue(responseMode);
            }
        }
        
        /**
         * Sets (as xml) the "responseMode" element
         */
        public void xsetResponseMode(net.opengis.sos.x10.ResponseModeType responseMode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.ResponseModeType target = null;
                target = (net.opengis.sos.x10.ResponseModeType)get_store().find_element_user(RESPONSEMODE$16, 0);
                if (target == null)
                {
                    target = (net.opengis.sos.x10.ResponseModeType)get_store().add_element_user(RESPONSEMODE$16);
                }
                target.set(responseMode);
            }
        }
        
        /**
         * Unsets the "responseMode" element
         */
        public void unsetResponseMode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(RESPONSEMODE$16, 0);
            }
        }
        
        /**
         * Gets the "srsName" attribute
         */
        public java.lang.String getSrsName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SRSNAME$18);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "srsName" attribute
         */
        public org.apache.xmlbeans.XmlAnyURI xgetSrsName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(SRSNAME$18);
                return target;
            }
        }
        
        /**
         * True if has "srsName" attribute
         */
        public boolean isSetSrsName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(SRSNAME$18) != null;
            }
        }
        
        /**
         * Sets the "srsName" attribute
         */
        public void setSrsName(java.lang.String srsName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SRSNAME$18);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SRSNAME$18);
                }
                target.setStringValue(srsName);
            }
        }
        
        /**
         * Sets (as xml) the "srsName" attribute
         */
        public void xsetSrsName(org.apache.xmlbeans.XmlAnyURI srsName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(SRSNAME$18);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(SRSNAME$18);
                }
                target.set(srsName);
            }
        }
        
        /**
         * Unsets the "srsName" attribute
         */
        public void unsetSrsName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(SRSNAME$18);
            }
        }
        /**
         * An XML eventTime(@http://www.opengis.net/sos/1.0).
         *
         * This is a complex type.
         */
        public static class EventTimeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.GetObservationDocument.GetObservation.EventTime
        {
            private static final long serialVersionUID = 1L;
            
            public EventTimeImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName TEMPORALOPS$0 = 
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "temporalOps");
            private static final org.apache.xmlbeans.QNameSet TEMPORALOPS$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_MetBy"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "temporalOps"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Equals"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Overalps"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_EndedBy"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_OverlappedBy"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Meets"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Before"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Ends"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Begins"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_BegunBy"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_During"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Contains"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_After"),
            });
            
            
            /**
             * Gets the "temporalOps" element
             */
            public net.opengis.ogc.TemporalOpsType getTemporalOps()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.ogc.TemporalOpsType target = null;
                    target = (net.opengis.ogc.TemporalOpsType)get_store().find_element_user(TEMPORALOPS$1, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "temporalOps" element
             */
            public void setTemporalOps(net.opengis.ogc.TemporalOpsType temporalOps)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.ogc.TemporalOpsType target = null;
                    target = (net.opengis.ogc.TemporalOpsType)get_store().find_element_user(TEMPORALOPS$1, 0);
                    if (target == null)
                    {
                      target = (net.opengis.ogc.TemporalOpsType)get_store().add_element_user(TEMPORALOPS$0);
                    }
                    target.set(temporalOps);
                }
            }
            
            /**
             * Appends and returns a new empty "temporalOps" element
             */
            public net.opengis.ogc.TemporalOpsType addNewTemporalOps()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.ogc.TemporalOpsType target = null;
                    target = (net.opengis.ogc.TemporalOpsType)get_store().add_element_user(TEMPORALOPS$0);
                    return target;
                }
            }
        }
        /**
         * An XML featureOfInterest(@http://www.opengis.net/sos/1.0).
         *
         * This is a complex type.
         */
        public static class FeatureOfInterestImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.GetObservationDocument.GetObservation.FeatureOfInterest
        {
            private static final long serialVersionUID = 1L;
            
            public FeatureOfInterestImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName SPATIALOPS$0 = 
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "spatialOps");
            private static final org.apache.xmlbeans.QNameSet SPATIALOPS$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Intersects"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Overlaps"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Equals"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Beyond"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "DWithin"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Crosses"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "BBOX"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "spatialOps"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Touches"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Within"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Disjoint"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Contains"),
            });
            private static final javax.xml.namespace.QName OBJECTID$2 = 
                new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "ObjectID");
            
            
            /**
             * Gets the "spatialOps" element
             */
            public net.opengis.ogc.SpatialOpsType getSpatialOps()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.ogc.SpatialOpsType target = null;
                    target = (net.opengis.ogc.SpatialOpsType)get_store().find_element_user(SPATIALOPS$1, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "spatialOps" element
             */
            public boolean isSetSpatialOps()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(SPATIALOPS$1) != 0;
                }
            }
            
            /**
             * Sets the "spatialOps" element
             */
            public void setSpatialOps(net.opengis.ogc.SpatialOpsType spatialOps)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.ogc.SpatialOpsType target = null;
                    target = (net.opengis.ogc.SpatialOpsType)get_store().find_element_user(SPATIALOPS$1, 0);
                    if (target == null)
                    {
                      target = (net.opengis.ogc.SpatialOpsType)get_store().add_element_user(SPATIALOPS$0);
                    }
                    target.set(spatialOps);
                }
            }
            
            /**
             * Appends and returns a new empty "spatialOps" element
             */
            public net.opengis.ogc.SpatialOpsType addNewSpatialOps()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.ogc.SpatialOpsType target = null;
                    target = (net.opengis.ogc.SpatialOpsType)get_store().add_element_user(SPATIALOPS$0);
                    return target;
                }
            }
            
            /**
             * Unsets the "spatialOps" element
             */
            public void unsetSpatialOps()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(SPATIALOPS$1, 0);
                }
            }
            
            /**
             * Gets array of all "ObjectID" elements
             */
            public java.lang.String[] getObjectIDArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(OBJECTID$2, targetList);
                    java.lang.String[] result = new java.lang.String[targetList.size()];
                    for (int i = 0, len = targetList.size() ; i < len ; i++)
                        result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
                    return result;
                }
            }
            
            /**
             * Gets ith "ObjectID" element
             */
            public java.lang.String getObjectIDArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OBJECTID$2, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) array of all "ObjectID" elements
             */
            public org.apache.xmlbeans.XmlAnyURI[] xgetObjectIDArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(OBJECTID$2, targetList);
                    org.apache.xmlbeans.XmlAnyURI[] result = new org.apache.xmlbeans.XmlAnyURI[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets (as xml) ith "ObjectID" element
             */
            public org.apache.xmlbeans.XmlAnyURI xgetObjectIDArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnyURI target = null;
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OBJECTID$2, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return (org.apache.xmlbeans.XmlAnyURI)target;
                }
            }
            
            /**
             * Returns number of "ObjectID" element
             */
            public int sizeOfObjectIDArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(OBJECTID$2);
                }
            }
            
            /**
             * Sets array of all "ObjectID" element
             */
            public void setObjectIDArray(java.lang.String[] objectIDArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(objectIDArray, OBJECTID$2);
                }
            }
            
            /**
             * Sets ith "ObjectID" element
             */
            public void setObjectIDArray(int i, java.lang.String objectID)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OBJECTID$2, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.setStringValue(objectID);
                }
            }
            
            /**
             * Sets (as xml) array of all "ObjectID" element
             */
            public void xsetObjectIDArray(org.apache.xmlbeans.XmlAnyURI[]objectIDArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(objectIDArray, OBJECTID$2);
                }
            }
            
            /**
             * Sets (as xml) ith "ObjectID" element
             */
            public void xsetObjectIDArray(int i, org.apache.xmlbeans.XmlAnyURI objectID)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnyURI target = null;
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OBJECTID$2, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(objectID);
                }
            }
            
            /**
             * Inserts the value as the ith "ObjectID" element
             */
            public void insertObjectID(int i, java.lang.String objectID)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = 
                      (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(OBJECTID$2, i);
                    target.setStringValue(objectID);
                }
            }
            
            /**
             * Appends the value as the last "ObjectID" element
             */
            public void addObjectID(java.lang.String objectID)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OBJECTID$2);
                    target.setStringValue(objectID);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "ObjectID" element
             */
            public org.apache.xmlbeans.XmlAnyURI insertNewObjectID(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnyURI target = null;
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().insert_element_user(OBJECTID$2, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "ObjectID" element
             */
            public org.apache.xmlbeans.XmlAnyURI addNewObjectID()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnyURI target = null;
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(OBJECTID$2);
                    return target;
                }
            }
            
            /**
             * Removes the ith "ObjectID" element
             */
            public void removeObjectID(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(OBJECTID$2, i);
                }
            }
        }
        /**
         * An XML result(@http://www.opengis.net/sos/1.0).
         *
         * This is a complex type.
         */
        public static class ResultImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.GetObservationDocument.GetObservation.Result
        {
            private static final long serialVersionUID = 1L;
            
            public ResultImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName COMPARISONOPS$0 = 
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "comparisonOps");
            private static final org.apache.xmlbeans.QNameSet COMPARISONOPS$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "PropertyIsNotEqualTo"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "PropertyIsLessThan"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "PropertyIsEqualTo"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "PropertyIsLessThanOrEqualTo"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "PropertyIsGreaterThanOrEqualTo"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "PropertyIsBetween"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "comparisonOps"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "PropertyIsLike"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "PropertyIsNull"),
                new javax.xml.namespace.QName("http://www.opengis.net/ogc", "PropertyIsGreaterThan"),
            });
            
            
            /**
             * Gets the "comparisonOps" element
             */
            public net.opengis.ogc.ComparisonOpsType getComparisonOps()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.ogc.ComparisonOpsType target = null;
                    target = (net.opengis.ogc.ComparisonOpsType)get_store().find_element_user(COMPARISONOPS$1, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "comparisonOps" element
             */
            public void setComparisonOps(net.opengis.ogc.ComparisonOpsType comparisonOps)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.ogc.ComparisonOpsType target = null;
                    target = (net.opengis.ogc.ComparisonOpsType)get_store().find_element_user(COMPARISONOPS$1, 0);
                    if (target == null)
                    {
                      target = (net.opengis.ogc.ComparisonOpsType)get_store().add_element_user(COMPARISONOPS$0);
                    }
                    target.set(comparisonOps);
                }
            }
            
            /**
             * Appends and returns a new empty "comparisonOps" element
             */
            public net.opengis.ogc.ComparisonOpsType addNewComparisonOps()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    net.opengis.ogc.ComparisonOpsType target = null;
                    target = (net.opengis.ogc.ComparisonOpsType)get_store().add_element_user(COMPARISONOPS$0);
                    return target;
                }
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy