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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy