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