net.opengis.sps.x10.impl.SubmitDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: Submit
* Namespace: http://www.opengis.net/sps/1.0
* Java type: net.opengis.sps.x10.SubmitDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sps.x10.impl;
/**
* A document containing one Submit(@http://www.opengis.net/sps/1.0) element.
*
* This is a complex type.
*/
public class SubmitDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.SubmitDocument
{
private static final long serialVersionUID = 1L;
public SubmitDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SUBMIT$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "Submit");
/**
* Gets the "Submit" element
*/
public net.opengis.sps.x10.SubmitRequestType getSubmit()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.SubmitRequestType target = null;
target = (net.opengis.sps.x10.SubmitRequestType)get_store().find_element_user(SUBMIT$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Submit" element
*/
public void setSubmit(net.opengis.sps.x10.SubmitRequestType submit)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.SubmitRequestType target = null;
target = (net.opengis.sps.x10.SubmitRequestType)get_store().find_element_user(SUBMIT$0, 0);
if (target == null)
{
target = (net.opengis.sps.x10.SubmitRequestType)get_store().add_element_user(SUBMIT$0);
}
target.set(submit);
}
}
/**
* Appends and returns a new empty "Submit" element
*/
public net.opengis.sps.x10.SubmitRequestType addNewSubmit()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.SubmitRequestType target = null;
target = (net.opengis.sps.x10.SubmitRequestType)get_store().add_element_user(SUBMIT$0);
return target;
}
}
}