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