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

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

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: RegisterSensor
 * Namespace: http://www.opengis.net/sos/1.0
 * Java type: net.opengis.sos.x10.RegisterSensorDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sos.x10.impl;
/**
 * A document containing one RegisterSensor(@http://www.opengis.net/sos/1.0) element.
 *
 * This is a complex type.
 */
public class RegisterSensorDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.RegisterSensorDocument
{
    private static final long serialVersionUID = 1L;
    
    public RegisterSensorDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName REGISTERSENSOR$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "RegisterSensor");
    
    
    /**
     * Gets the "RegisterSensor" element
     */
    public net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor getRegisterSensor()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor target = null;
            target = (net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor)get_store().find_element_user(REGISTERSENSOR$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "RegisterSensor" element
     */
    public void setRegisterSensor(net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor registerSensor)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor target = null;
            target = (net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor)get_store().find_element_user(REGISTERSENSOR$0, 0);
            if (target == null)
            {
                target = (net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor)get_store().add_element_user(REGISTERSENSOR$0);
            }
            target.set(registerSensor);
        }
    }
    
    /**
     * Appends and returns a new empty "RegisterSensor" element
     */
    public net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor addNewRegisterSensor()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor target = null;
            target = (net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor)get_store().add_element_user(REGISTERSENSOR$0);
            return target;
        }
    }
    /**
     * An XML RegisterSensor(@http://www.opengis.net/sos/1.0).
     *
     * This is a complex type.
     */
    public static class RegisterSensorImpl extends net.opengis.sos.x10.impl.RequestBaseTypeImpl implements net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor
    {
        private static final long serialVersionUID = 1L;
        
        public RegisterSensorImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName SENSORDESCRIPTION$0 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "SensorDescription");
        private static final javax.xml.namespace.QName OBSERVATIONTEMPLATE$2 = 
            new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "ObservationTemplate");
        
        
        /**
         * Gets the "SensorDescription" element
         */
        public net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription getSensorDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription target = null;
                target = (net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription)get_store().find_element_user(SENSORDESCRIPTION$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "SensorDescription" element
         */
        public void setSensorDescription(net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription sensorDescription)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription target = null;
                target = (net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription)get_store().find_element_user(SENSORDESCRIPTION$0, 0);
                if (target == null)
                {
                    target = (net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription)get_store().add_element_user(SENSORDESCRIPTION$0);
                }
                target.set(sensorDescription);
            }
        }
        
        /**
         * Appends and returns a new empty "SensorDescription" element
         */
        public net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription addNewSensorDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription target = null;
                target = (net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription)get_store().add_element_user(SENSORDESCRIPTION$0);
                return target;
            }
        }
        
        /**
         * Gets the "ObservationTemplate" element
         */
        public net.opengis.sos.x10.ObservationTemplateDocument.ObservationTemplate getObservationTemplate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.ObservationTemplateDocument.ObservationTemplate target = null;
                target = (net.opengis.sos.x10.ObservationTemplateDocument.ObservationTemplate)get_store().find_element_user(OBSERVATIONTEMPLATE$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "ObservationTemplate" element
         */
        public void setObservationTemplate(net.opengis.sos.x10.ObservationTemplateDocument.ObservationTemplate observationTemplate)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.ObservationTemplateDocument.ObservationTemplate target = null;
                target = (net.opengis.sos.x10.ObservationTemplateDocument.ObservationTemplate)get_store().find_element_user(OBSERVATIONTEMPLATE$2, 0);
                if (target == null)
                {
                    target = (net.opengis.sos.x10.ObservationTemplateDocument.ObservationTemplate)get_store().add_element_user(OBSERVATIONTEMPLATE$2);
                }
                target.set(observationTemplate);
            }
        }
        
        /**
         * Appends and returns a new empty "ObservationTemplate" element
         */
        public net.opengis.sos.x10.ObservationTemplateDocument.ObservationTemplate addNewObservationTemplate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.sos.x10.ObservationTemplateDocument.ObservationTemplate target = null;
                target = (net.opengis.sos.x10.ObservationTemplateDocument.ObservationTemplate)get_store().add_element_user(OBSERVATIONTEMPLATE$2);
                return target;
            }
        }
        /**
         * An XML SensorDescription(@http://www.opengis.net/sos/1.0).
         *
         * This is a complex type.
         */
        public static class SensorDescriptionImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.RegisterSensorDocument.RegisterSensor.SensorDescription
        {
            private static final long serialVersionUID = 1L;
            
            public SensorDescriptionImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy