net.opengis.sos.x10.impl.InsertObservationResponseDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: InsertObservationResponse
* Namespace: http://www.opengis.net/sos/1.0
* Java type: net.opengis.sos.x10.InsertObservationResponseDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sos.x10.impl;
/**
* A document containing one InsertObservationResponse(@http://www.opengis.net/sos/1.0) element.
*
* This is a complex type.
*/
public class InsertObservationResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.InsertObservationResponseDocument
{
private static final long serialVersionUID = 1L;
public InsertObservationResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName INSERTOBSERVATIONRESPONSE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "InsertObservationResponse");
/**
* Gets the "InsertObservationResponse" element
*/
public net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse getInsertObservationResponse()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse target = null;
target = (net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse)get_store().find_element_user(INSERTOBSERVATIONRESPONSE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "InsertObservationResponse" element
*/
public void setInsertObservationResponse(net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse insertObservationResponse)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse target = null;
target = (net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse)get_store().find_element_user(INSERTOBSERVATIONRESPONSE$0, 0);
if (target == null)
{
target = (net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse)get_store().add_element_user(INSERTOBSERVATIONRESPONSE$0);
}
target.set(insertObservationResponse);
}
}
/**
* Appends and returns a new empty "InsertObservationResponse" element
*/
public net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse addNewInsertObservationResponse()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse target = null;
target = (net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse)get_store().add_element_user(INSERTOBSERVATIONRESPONSE$0);
return target;
}
}
/**
* An XML InsertObservationResponse(@http://www.opengis.net/sos/1.0).
*
* This is a complex type.
*/
public static class InsertObservationResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.InsertObservationResponseDocument.InsertObservationResponse
{
private static final long serialVersionUID = 1L;
public InsertObservationResponseImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ASSIGNEDOBSERVATIONID$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "AssignedObservationId");
/**
* Gets the "AssignedObservationId" element
*/
public java.lang.String getAssignedObservationId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ASSIGNEDOBSERVATIONID$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "AssignedObservationId" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetAssignedObservationId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(ASSIGNEDOBSERVATIONID$0, 0);
return target;
}
}
/**
* Sets the "AssignedObservationId" element
*/
public void setAssignedObservationId(java.lang.String assignedObservationId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ASSIGNEDOBSERVATIONID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ASSIGNEDOBSERVATIONID$0);
}
target.setStringValue(assignedObservationId);
}
}
/**
* Sets (as xml) the "AssignedObservationId" element
*/
public void xsetAssignedObservationId(org.apache.xmlbeans.XmlAnyURI assignedObservationId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(ASSIGNEDOBSERVATIONID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(ASSIGNEDOBSERVATIONID$0);
}
target.set(assignedObservationId);
}
}
}
}