net.opengis.sps.x20.impl.SubmitResponseDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: SubmitResponse
* Namespace: http://www.opengis.net/sps/2.0
* Java type: net.opengis.sps.x20.SubmitResponseDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sps.x20.impl;
/**
* A document containing one SubmitResponse(@http://www.opengis.net/sps/2.0) element.
*
* This is a complex type.
*/
public class SubmitResponseDocumentImpl extends net.opengis.sps.x20.impl.TaskingResponseDocumentImpl implements net.opengis.sps.x20.SubmitResponseDocument
{
private static final long serialVersionUID = 1L;
public SubmitResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SUBMITRESPONSE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "SubmitResponse");
/**
* Gets the "SubmitResponse" element
*/
public net.opengis.sps.x20.SubmitResponseType getSubmitResponse()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.SubmitResponseType target = null;
target = (net.opengis.sps.x20.SubmitResponseType)get_store().find_element_user(SUBMITRESPONSE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "SubmitResponse" element
*/
public void setSubmitResponse(net.opengis.sps.x20.SubmitResponseType submitResponse)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.SubmitResponseType target = null;
target = (net.opengis.sps.x20.SubmitResponseType)get_store().find_element_user(SUBMITRESPONSE$0, 0);
if (target == null)
{
target = (net.opengis.sps.x20.SubmitResponseType)get_store().add_element_user(SUBMITRESPONSE$0);
}
target.set(submitResponse);
}
}
/**
* Appends and returns a new empty "SubmitResponse" element
*/
public net.opengis.sps.x20.SubmitResponseType addNewSubmitResponse()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.SubmitResponseType target = null;
target = (net.opengis.sps.x20.SubmitResponseType)get_store().add_element_user(SUBMITRESPONSE$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy