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

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

There is a newer version: 2.7.0
Show newest version
/*
 * XML Type:  AggregateProcessType
 * Namespace: http://www.opengis.net/sensorml/2.0
 * Java type: net.opengis.sensorml.x20.AggregateProcessType
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sensorml.x20.impl;
/**
 * An XML AggregateProcessType(@http://www.opengis.net/sensorml/2.0).
 *
 * This is a complex type.
 */
public class AggregateProcessTypeImpl extends net.opengis.sensorml.x20.impl.AbstractProcessTypeImpl implements net.opengis.sensorml.x20.AggregateProcessType
{
    private static final long serialVersionUID = 1L;
    
    public AggregateProcessTypeImpl(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/2.0", "components");
    private static final javax.xml.namespace.QName CONNECTIONS$2 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "connections");
    
    
    /**
     * Gets the "components" element
     */
    public net.opengis.sensorml.x20.ComponentListPropertyType getComponents()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.ComponentListPropertyType target = null;
            target = (net.opengis.sensorml.x20.ComponentListPropertyType)get_store().find_element_user(COMPONENTS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "components" element
     */
    public boolean isSetComponents()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(COMPONENTS$0) != 0;
        }
    }
    
    /**
     * Sets the "components" element
     */
    public void setComponents(net.opengis.sensorml.x20.ComponentListPropertyType components)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.ComponentListPropertyType target = null;
            target = (net.opengis.sensorml.x20.ComponentListPropertyType)get_store().find_element_user(COMPONENTS$0, 0);
            if (target == null)
            {
                target = (net.opengis.sensorml.x20.ComponentListPropertyType)get_store().add_element_user(COMPONENTS$0);
            }
            target.set(components);
        }
    }
    
    /**
     * Appends and returns a new empty "components" element
     */
    public net.opengis.sensorml.x20.ComponentListPropertyType addNewComponents()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.ComponentListPropertyType target = null;
            target = (net.opengis.sensorml.x20.ComponentListPropertyType)get_store().add_element_user(COMPONENTS$0);
            return target;
        }
    }
    
    /**
     * Unsets the "components" element
     */
    public void unsetComponents()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(COMPONENTS$0, 0);
        }
    }
    
    /**
     * Gets the "connections" element
     */
    public net.opengis.sensorml.x20.ConnectionListPropertyType getConnections()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.ConnectionListPropertyType target = null;
            target = (net.opengis.sensorml.x20.ConnectionListPropertyType)get_store().find_element_user(CONNECTIONS$2, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "connections" element
     */
    public boolean isSetConnections()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CONNECTIONS$2) != 0;
        }
    }
    
    /**
     * Sets the "connections" element
     */
    public void setConnections(net.opengis.sensorml.x20.ConnectionListPropertyType connections)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.ConnectionListPropertyType target = null;
            target = (net.opengis.sensorml.x20.ConnectionListPropertyType)get_store().find_element_user(CONNECTIONS$2, 0);
            if (target == null)
            {
                target = (net.opengis.sensorml.x20.ConnectionListPropertyType)get_store().add_element_user(CONNECTIONS$2);
            }
            target.set(connections);
        }
    }
    
    /**
     * Appends and returns a new empty "connections" element
     */
    public net.opengis.sensorml.x20.ConnectionListPropertyType addNewConnections()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.ConnectionListPropertyType target = null;
            target = (net.opengis.sensorml.x20.ConnectionListPropertyType)get_store().add_element_user(CONNECTIONS$2);
            return target;
        }
    }
    
    /**
     * Unsets the "connections" element
     */
    public void unsetConnections()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CONNECTIONS$2, 0);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy