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