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

net.opengis.sps.x20.impl.GetTaskResponseDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: GetTaskResponse
 * Namespace: http://www.opengis.net/sps/2.0
 * Java type: net.opengis.sps.x20.GetTaskResponseDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sps.x20.impl;
/**
 * A document containing one GetTaskResponse(@http://www.opengis.net/sps/2.0) element.
 *
 * This is a complex type.
 */
public class GetTaskResponseDocumentImpl extends net.opengis.swes.x20.impl.ExtensibleResponseDocumentImpl implements net.opengis.sps.x20.GetTaskResponseDocument
{
    private static final long serialVersionUID = 1L;
    
    public GetTaskResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETTASKRESPONSE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "GetTaskResponse");
    
    
    /**
     * Gets the "GetTaskResponse" element
     */
    public net.opengis.sps.x20.GetTaskResponseType getGetTaskResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x20.GetTaskResponseType target = null;
            target = (net.opengis.sps.x20.GetTaskResponseType)get_store().find_element_user(GETTASKRESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "GetTaskResponse" element
     */
    public void setGetTaskResponse(net.opengis.sps.x20.GetTaskResponseType getTaskResponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x20.GetTaskResponseType target = null;
            target = (net.opengis.sps.x20.GetTaskResponseType)get_store().find_element_user(GETTASKRESPONSE$0, 0);
            if (target == null)
            {
                target = (net.opengis.sps.x20.GetTaskResponseType)get_store().add_element_user(GETTASKRESPONSE$0);
            }
            target.set(getTaskResponse);
        }
    }
    
    /**
     * Appends and returns a new empty "GetTaskResponse" element
     */
    public net.opengis.sps.x20.GetTaskResponseType addNewGetTaskResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x20.GetTaskResponseType target = null;
            target = (net.opengis.sps.x20.GetTaskResponseType)get_store().add_element_user(GETTASKRESPONSE$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy