net.opengis.sos.x10.impl.RegisterSensorResponseDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: RegisterSensorResponse
* Namespace: http://www.opengis.net/sos/1.0
* Java type: net.opengis.sos.x10.RegisterSensorResponseDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sos.x10.impl;
/**
* A document containing one RegisterSensorResponse(@http://www.opengis.net/sos/1.0) element.
*
* This is a complex type.
*/
public class RegisterSensorResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.RegisterSensorResponseDocument
{
private static final long serialVersionUID = 1L;
public RegisterSensorResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName REGISTERSENSORRESPONSE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "RegisterSensorResponse");
/**
* Gets the "RegisterSensorResponse" element
*/
public net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse getRegisterSensorResponse()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse target = null;
target = (net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse)get_store().find_element_user(REGISTERSENSORRESPONSE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "RegisterSensorResponse" element
*/
public void setRegisterSensorResponse(net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse registerSensorResponse)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse target = null;
target = (net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse)get_store().find_element_user(REGISTERSENSORRESPONSE$0, 0);
if (target == null)
{
target = (net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse)get_store().add_element_user(REGISTERSENSORRESPONSE$0);
}
target.set(registerSensorResponse);
}
}
/**
* Appends and returns a new empty "RegisterSensorResponse" element
*/
public net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse addNewRegisterSensorResponse()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse target = null;
target = (net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse)get_store().add_element_user(REGISTERSENSORRESPONSE$0);
return target;
}
}
/**
* An XML RegisterSensorResponse(@http://www.opengis.net/sos/1.0).
*
* This is a complex type.
*/
public static class RegisterSensorResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.RegisterSensorResponseDocument.RegisterSensorResponse
{
private static final long serialVersionUID = 1L;
public RegisterSensorResponseImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ASSIGNEDSENSORID$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "AssignedSensorId");
/**
* Gets the "AssignedSensorId" element
*/
public java.lang.String getAssignedSensorId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ASSIGNEDSENSORID$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "AssignedSensorId" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetAssignedSensorId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(ASSIGNEDSENSORID$0, 0);
return target;
}
}
/**
* Sets the "AssignedSensorId" element
*/
public void setAssignedSensorId(java.lang.String assignedSensorId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ASSIGNEDSENSORID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ASSIGNEDSENSORID$0);
}
target.setStringValue(assignedSensorId);
}
}
/**
* Sets (as xml) the "AssignedSensorId" element
*/
public void xsetAssignedSensorId(org.apache.xmlbeans.XmlAnyURI assignedSensorId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(ASSIGNEDSENSORID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(ASSIGNEDSENSORID$0);
}
target.set(assignedSensorId);
}
}
}
}