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