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

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

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: AbstractProcess
 * Namespace: http://www.opengis.net/sensorml/2.0
 * Java type: net.opengis.sensorml.x20.AbstractProcessDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sensorml.x20.impl;
/**
 * A document containing one AbstractProcess(@http://www.opengis.net/sensorml/2.0) element.
 *
 * This is a complex type.
 */
public class AbstractProcessDocumentImpl extends net.opengis.sensorml.x20.impl.DescribedObjectDocumentImpl implements net.opengis.sensorml.x20.AbstractProcessDocument
{
    private static final long serialVersionUID = 1L;
    
    public AbstractProcessDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ABSTRACTPROCESS$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractProcess");
    private static final org.apache.xmlbeans.QNameSet ABSTRACTPROCESS$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "PhysicalComponent"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractProcess"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "PhysicalSystem"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AggregateProcess"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "SimpleProcess"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractPhysicalProcess"),
    });
    
    
    /**
     * Gets the "AbstractProcess" element
     */
    public net.opengis.sensorml.x20.AbstractProcessType getAbstractProcess()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.AbstractProcessType target = null;
            target = (net.opengis.sensorml.x20.AbstractProcessType)get_store().find_element_user(ABSTRACTPROCESS$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AbstractProcess" element
     */
    public void setAbstractProcess(net.opengis.sensorml.x20.AbstractProcessType abstractProcess)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.AbstractProcessType target = null;
            target = (net.opengis.sensorml.x20.AbstractProcessType)get_store().find_element_user(ABSTRACTPROCESS$1, 0);
            if (target == null)
            {
                target = (net.opengis.sensorml.x20.AbstractProcessType)get_store().add_element_user(ABSTRACTPROCESS$0);
            }
            target.set(abstractProcess);
        }
    }
    
    /**
     * Appends and returns a new empty "AbstractProcess" element
     */
    public net.opengis.sensorml.x20.AbstractProcessType addNewAbstractProcess()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.AbstractProcessType target = null;
            target = (net.opengis.sensorml.x20.AbstractProcessType)get_store().add_element_user(ABSTRACTPROCESS$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy