net.opengis.sos.x10.impl.GetObservationByIdDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: GetObservationById
* Namespace: http://www.opengis.net/sos/1.0
* Java type: net.opengis.sos.x10.GetObservationByIdDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sos.x10.impl;
/**
* A document containing one GetObservationById(@http://www.opengis.net/sos/1.0) element.
*
* This is a complex type.
*/
public class GetObservationByIdDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.GetObservationByIdDocument
{
private static final long serialVersionUID = 1L;
public GetObservationByIdDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName GETOBSERVATIONBYID$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "GetObservationById");
/**
* Gets the "GetObservationById" element
*/
public net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById getGetObservationById()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById target = null;
target = (net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById)get_store().find_element_user(GETOBSERVATIONBYID$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "GetObservationById" element
*/
public void setGetObservationById(net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById getObservationById)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById target = null;
target = (net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById)get_store().find_element_user(GETOBSERVATIONBYID$0, 0);
if (target == null)
{
target = (net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById)get_store().add_element_user(GETOBSERVATIONBYID$0);
}
target.set(getObservationById);
}
}
/**
* Appends and returns a new empty "GetObservationById" element
*/
public net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById addNewGetObservationById()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById target = null;
target = (net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById)get_store().add_element_user(GETOBSERVATIONBYID$0);
return target;
}
}
/**
* An XML GetObservationById(@http://www.opengis.net/sos/1.0).
*
* This is a complex type.
*/
public static class GetObservationByIdImpl extends net.opengis.sos.x10.impl.RequestBaseTypeImpl implements net.opengis.sos.x10.GetObservationByIdDocument.GetObservationById
{
private static final long serialVersionUID = 1L;
public GetObservationByIdImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName OBSERVATIONID$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "ObservationId");
private static final javax.xml.namespace.QName RESPONSEFORMAT$2 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "responseFormat");
private static final javax.xml.namespace.QName RESULTMODEL$4 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "resultModel");
private static final javax.xml.namespace.QName RESPONSEMODE$6 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "responseMode");
private static final javax.xml.namespace.QName SRSNAME$8 =
new javax.xml.namespace.QName("", "srsName");
/**
* Gets the "ObservationId" element
*/
public java.lang.String getObservationId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OBSERVATIONID$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ObservationId" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetObservationId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OBSERVATIONID$0, 0);
return target;
}
}
/**
* Sets the "ObservationId" element
*/
public void setObservationId(java.lang.String observationId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OBSERVATIONID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OBSERVATIONID$0);
}
target.setStringValue(observationId);
}
}
/**
* Sets (as xml) the "ObservationId" element
*/
public void xsetObservationId(org.apache.xmlbeans.XmlAnyURI observationId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OBSERVATIONID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(OBSERVATIONID$0);
}
target.set(observationId);
}
}
/**
* Gets the "responseFormat" element
*/
public java.lang.String getResponseFormat()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPONSEFORMAT$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "responseFormat" element
*/
public net.opengis.ows.x11.MimeType xgetResponseFormat()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ows.x11.MimeType target = null;
target = (net.opengis.ows.x11.MimeType)get_store().find_element_user(RESPONSEFORMAT$2, 0);
return target;
}
}
/**
* True if has "responseFormat" element
*/
public boolean isSetResponseFormat()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(RESPONSEFORMAT$2) != 0;
}
}
/**
* Sets the "responseFormat" element
*/
public void setResponseFormat(java.lang.String responseFormat)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPONSEFORMAT$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESPONSEFORMAT$2);
}
target.setStringValue(responseFormat);
}
}
/**
* Sets (as xml) the "responseFormat" element
*/
public void xsetResponseFormat(net.opengis.ows.x11.MimeType responseFormat)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ows.x11.MimeType target = null;
target = (net.opengis.ows.x11.MimeType)get_store().find_element_user(RESPONSEFORMAT$2, 0);
if (target == null)
{
target = (net.opengis.ows.x11.MimeType)get_store().add_element_user(RESPONSEFORMAT$2);
}
target.set(responseFormat);
}
}
/**
* Unsets the "responseFormat" element
*/
public void unsetResponseFormat()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(RESPONSEFORMAT$2, 0);
}
}
/**
* Gets the "resultModel" element
*/
public javax.xml.namespace.QName getResultModel()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESULTMODEL$4, 0);
if (target == null)
{
return null;
}
return target.getQNameValue();
}
}
/**
* Gets (as xml) the "resultModel" element
*/
public org.apache.xmlbeans.XmlQName xgetResultModel()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlQName target = null;
target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RESULTMODEL$4, 0);
return target;
}
}
/**
* True if has "resultModel" element
*/
public boolean isSetResultModel()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(RESULTMODEL$4) != 0;
}
}
/**
* Sets the "resultModel" element
*/
public void setResultModel(javax.xml.namespace.QName resultModel)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESULTMODEL$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESULTMODEL$4);
}
target.setQNameValue(resultModel);
}
}
/**
* Sets (as xml) the "resultModel" element
*/
public void xsetResultModel(org.apache.xmlbeans.XmlQName resultModel)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlQName target = null;
target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(RESULTMODEL$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(RESULTMODEL$4);
}
target.set(resultModel);
}
}
/**
* Unsets the "resultModel" element
*/
public void unsetResultModel()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(RESULTMODEL$4, 0);
}
}
/**
* Gets the "responseMode" element
*/
public net.opengis.sos.x10.ResponseModeType.Enum getResponseMode()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPONSEMODE$6, 0);
if (target == null)
{
return null;
}
return (net.opengis.sos.x10.ResponseModeType.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "responseMode" element
*/
public net.opengis.sos.x10.ResponseModeType xgetResponseMode()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.ResponseModeType target = null;
target = (net.opengis.sos.x10.ResponseModeType)get_store().find_element_user(RESPONSEMODE$6, 0);
return target;
}
}
/**
* True if has "responseMode" element
*/
public boolean isSetResponseMode()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(RESPONSEMODE$6) != 0;
}
}
/**
* Sets the "responseMode" element
*/
public void setResponseMode(net.opengis.sos.x10.ResponseModeType.Enum responseMode)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPONSEMODE$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESPONSEMODE$6);
}
target.setEnumValue(responseMode);
}
}
/**
* Sets (as xml) the "responseMode" element
*/
public void xsetResponseMode(net.opengis.sos.x10.ResponseModeType responseMode)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.ResponseModeType target = null;
target = (net.opengis.sos.x10.ResponseModeType)get_store().find_element_user(RESPONSEMODE$6, 0);
if (target == null)
{
target = (net.opengis.sos.x10.ResponseModeType)get_store().add_element_user(RESPONSEMODE$6);
}
target.set(responseMode);
}
}
/**
* Unsets the "responseMode" element
*/
public void unsetResponseMode()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(RESPONSEMODE$6, 0);
}
}
/**
* Gets the "srsName" attribute
*/
public java.lang.String getSrsName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SRSNAME$8);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "srsName" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetSrsName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(SRSNAME$8);
return target;
}
}
/**
* True if has "srsName" attribute
*/
public boolean isSetSrsName()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(SRSNAME$8) != null;
}
}
/**
* Sets the "srsName" attribute
*/
public void setSrsName(java.lang.String srsName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SRSNAME$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SRSNAME$8);
}
target.setStringValue(srsName);
}
}
/**
* Sets (as xml) the "srsName" attribute
*/
public void xsetSrsName(org.apache.xmlbeans.XmlAnyURI srsName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(SRSNAME$8);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(SRSNAME$8);
}
target.set(srsName);
}
}
/**
* Unsets the "srsName" attribute
*/
public void unsetSrsName()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(SRSNAME$8);
}
}
}
}