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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy