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

net.opengis.sensorml.x20.impl.AbstractSettingsDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: AbstractSettings
 * Namespace: http://www.opengis.net/sensorml/2.0
 * Java type: net.opengis.sensorml.x20.AbstractSettingsDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sensorml.x20.impl;
/**
 * A document containing one AbstractSettings(@http://www.opengis.net/sensorml/2.0) element.
 *
 * This is a complex type.
 */
public class AbstractSettingsDocumentImpl extends net.opengis.swe.x20.impl.AbstractSWEDocumentImpl implements net.opengis.sensorml.x20.AbstractSettingsDocument
{
    private static final long serialVersionUID = 1L;
    
    public AbstractSettingsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ABSTRACTSETTINGS$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractSettings");
    private static final org.apache.xmlbeans.QNameSet ABSTRACTSETTINGS$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractSettings"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "Settings"),
    });
    
    
    /**
     * Gets the "AbstractSettings" element
     */
    public net.opengis.sensorml.x20.AbstractSettingsType getAbstractSettings()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.AbstractSettingsType target = null;
            target = (net.opengis.sensorml.x20.AbstractSettingsType)get_store().find_element_user(ABSTRACTSETTINGS$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AbstractSettings" element
     */
    public void setAbstractSettings(net.opengis.sensorml.x20.AbstractSettingsType abstractSettings)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.AbstractSettingsType target = null;
            target = (net.opengis.sensorml.x20.AbstractSettingsType)get_store().find_element_user(ABSTRACTSETTINGS$1, 0);
            if (target == null)
            {
                target = (net.opengis.sensorml.x20.AbstractSettingsType)get_store().add_element_user(ABSTRACTSETTINGS$0);
            }
            target.set(abstractSettings);
        }
    }
    
    /**
     * Appends and returns a new empty "AbstractSettings" element
     */
    public net.opengis.sensorml.x20.AbstractSettingsType addNewAbstractSettings()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.AbstractSettingsType target = null;
            target = (net.opengis.sensorml.x20.AbstractSettingsType)get_store().add_element_user(ABSTRACTSETTINGS$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy