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