net.opengis.sps.x20.impl.StatusReportDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: StatusReport
* Namespace: http://www.opengis.net/sps/2.0
* Java type: net.opengis.sps.x20.StatusReportDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sps.x20.impl;
/**
* A document containing one StatusReport(@http://www.opengis.net/sps/2.0) element.
*
* This is a complex type.
*/
public class StatusReportDocumentImpl extends net.opengis.swes.x20.impl.AbstractSWESDocumentImpl implements net.opengis.sps.x20.StatusReportDocument
{
private static final long serialVersionUID = 1L;
public StatusReportDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName STATUSREPORT$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "StatusReport");
private static final org.apache.xmlbeans.QNameSet STATUSREPORT$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "StatusReport"),
new javax.xml.namespace.QName("http://www.opengis.net/sps/2.0", "ReservationReport"),
});
/**
* Gets the "StatusReport" element
*/
public net.opengis.sps.x20.StatusReportType getStatusReport()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.StatusReportType target = null;
target = (net.opengis.sps.x20.StatusReportType)get_store().find_element_user(STATUSREPORT$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "StatusReport" element
*/
public void setStatusReport(net.opengis.sps.x20.StatusReportType statusReport)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.StatusReportType target = null;
target = (net.opengis.sps.x20.StatusReportType)get_store().find_element_user(STATUSREPORT$1, 0);
if (target == null)
{
target = (net.opengis.sps.x20.StatusReportType)get_store().add_element_user(STATUSREPORT$0);
}
target.set(statusReport);
}
}
/**
* Appends and returns a new empty "StatusReport" element
*/
public net.opengis.sps.x20.StatusReportType addNewStatusReport()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x20.StatusReportType target = null;
target = (net.opengis.sps.x20.StatusReportType)get_store().add_element_user(STATUSREPORT$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy