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