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

net.opengis.sensorML.x10.impl.ProcessChainTypeImpl Maven / Gradle / Ivy

The newest version!
/*
 * XML Type:  ProcessChainType
 * Namespace: http://www.opengis.net/sensorML/1.0
 * Java type: net.opengis.sensorML.x10.ProcessChainType
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sensorML.x10.impl;
/**
 * An XML ProcessChainType(@http://www.opengis.net/sensorML/1.0).
 *
 * This is a complex type.
 */
public class ProcessChainTypeImpl extends net.opengis.sensorML.x10.impl.AbstractPureProcessTypeImpl implements net.opengis.sensorML.x10.ProcessChainType
{
    private static final long serialVersionUID = 1L;
    
    public ProcessChainTypeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName COMPONENTS$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sensorML/1.0", "components");
    private static final javax.xml.namespace.QName CONNECTIONS$2 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sensorML/1.0", "connections");
    
    
    /**
     * Gets the "components" element
     */
    public net.opengis.sensorML.x10.ComponentsDocument.Components getComponents()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorML.x10.ComponentsDocument.Components target = null;
            target = (net.opengis.sensorML.x10.ComponentsDocument.Components)get_store().find_element_user(COMPONENTS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "components" element
     */
    public void setComponents(net.opengis.sensorML.x10.ComponentsDocument.Components components)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorML.x10.ComponentsDocument.Components target = null;
            target = (net.opengis.sensorML.x10.ComponentsDocument.Components)get_store().find_element_user(COMPONENTS$0, 0);
            if (target == null)
            {
                target = (net.opengis.sensorML.x10.ComponentsDocument.Components)get_store().add_element_user(COMPONENTS$0);
            }
            target.set(components);
        }
    }
    
    /**
     * Appends and returns a new empty "components" element
     */
    public net.opengis.sensorML.x10.ComponentsDocument.Components addNewComponents()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorML.x10.ComponentsDocument.Components target = null;
            target = (net.opengis.sensorML.x10.ComponentsDocument.Components)get_store().add_element_user(COMPONENTS$0);
            return target;
        }
    }
    
    /**
     * Gets the "connections" element
     */
    public net.opengis.sensorML.x10.ConnectionsDocument.Connections getConnections()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorML.x10.ConnectionsDocument.Connections target = null;
            target = (net.opengis.sensorML.x10.ConnectionsDocument.Connections)get_store().find_element_user(CONNECTIONS$2, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "connections" element
     */
    public void setConnections(net.opengis.sensorML.x10.ConnectionsDocument.Connections connections)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorML.x10.ConnectionsDocument.Connections target = null;
            target = (net.opengis.sensorML.x10.ConnectionsDocument.Connections)get_store().find_element_user(CONNECTIONS$2, 0);
            if (target == null)
            {
                target = (net.opengis.sensorML.x10.ConnectionsDocument.Connections)get_store().add_element_user(CONNECTIONS$2);
            }
            target.set(connections);
        }
    }
    
    /**
     * Appends and returns a new empty "connections" element
     */
    public net.opengis.sensorML.x10.ConnectionsDocument.Connections addNewConnections()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorML.x10.ConnectionsDocument.Connections target = null;
            target = (net.opengis.sensorML.x10.ConnectionsDocument.Connections)get_store().add_element_user(CONNECTIONS$2);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy