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

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

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: TaskingResponse
 * Namespace: http://www.opengis.net/sps/2.0
 * Java type: net.opengis.sps.x20.TaskingResponseDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sps.x20.impl;
/**
 * A document containing one TaskingResponse(@http://www.opengis.net/sps/2.0) element.
 *
 * This is a complex type.
 */
public class TaskingResponseDocumentImpl extends net.opengis.swes.x20.impl.ExtensibleResponseDocumentImpl implements net.opengis.sps.x20.TaskingResponseDocument
{
    private static final long serialVersionUID = 1L;
    
    public TaskingResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TASKINGRESPONSE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "TaskingResponse");
    private static final org.apache.xmlbeans.QNameSet TASKINGRESPONSE$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
        new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "TaskingResponse"),
        new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "SubmitResponse"),
        new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "ReserveResponse"),
        new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "UpdateResponse"),
        new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "GetFeasibilityResponse"),
    });
    
    
    /**
     * Gets the "TaskingResponse" element
     */
    public net.opengis.sps.x20.TaskingResponseType getTaskingResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x20.TaskingResponseType target = null;
            target = (net.opengis.sps.x20.TaskingResponseType)get_store().find_element_user(TASKINGRESPONSE$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "TaskingResponse" element
     */
    public void setTaskingResponse(net.opengis.sps.x20.TaskingResponseType taskingResponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x20.TaskingResponseType target = null;
            target = (net.opengis.sps.x20.TaskingResponseType)get_store().find_element_user(TASKINGRESPONSE$1, 0);
            if (target == null)
            {
                target = (net.opengis.sps.x20.TaskingResponseType)get_store().add_element_user(TASKINGRESPONSE$0);
            }
            target.set(taskingResponse);
        }
    }
    
    /**
     * Appends and returns a new empty "TaskingResponse" element
     */
    public net.opengis.sps.x20.TaskingResponseType addNewTaskingResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sps.x20.TaskingResponseType target = null;
            target = (net.opengis.sps.x20.TaskingResponseType)get_store().add_element_user(TASKINGRESPONSE$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy