All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
net.opengis.sos.x10.impl.GetResultDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: GetResult
* Namespace: http://www.opengis.net/sos/1.0
* Java type: net.opengis.sos.x10.GetResultDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sos.x10.impl;
/**
* A document containing one GetResult(@http://www.opengis.net/sos/1.0) element.
*
* This is a complex type.
*/
public class GetResultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.GetResultDocument
{
private static final long serialVersionUID = 1L;
public GetResultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName GETRESULT$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "GetResult");
/**
* Gets the "GetResult" element
*/
public net.opengis.sos.x10.GetResultDocument.GetResult getGetResult()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.GetResultDocument.GetResult target = null;
target = (net.opengis.sos.x10.GetResultDocument.GetResult)get_store().find_element_user(GETRESULT$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "GetResult" element
*/
public void setGetResult(net.opengis.sos.x10.GetResultDocument.GetResult getResult)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.GetResultDocument.GetResult target = null;
target = (net.opengis.sos.x10.GetResultDocument.GetResult)get_store().find_element_user(GETRESULT$0, 0);
if (target == null)
{
target = (net.opengis.sos.x10.GetResultDocument.GetResult)get_store().add_element_user(GETRESULT$0);
}
target.set(getResult);
}
}
/**
* Appends and returns a new empty "GetResult" element
*/
public net.opengis.sos.x10.GetResultDocument.GetResult addNewGetResult()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.GetResultDocument.GetResult target = null;
target = (net.opengis.sos.x10.GetResultDocument.GetResult)get_store().add_element_user(GETRESULT$0);
return target;
}
}
/**
* An XML GetResult(@http://www.opengis.net/sos/1.0).
*
* This is a complex type.
*/
public static class GetResultImpl extends net.opengis.sos.x10.impl.RequestBaseTypeImpl implements net.opengis.sos.x10.GetResultDocument.GetResult
{
private static final long serialVersionUID = 1L;
public GetResultImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName OBSERVATIONTEMPLATEID$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "ObservationTemplateId");
private static final javax.xml.namespace.QName EVENTTIME$2 =
new javax.xml.namespace.QName("http://www.opengis.net/sos/1.0", "eventTime");
/**
* Gets the "ObservationTemplateId" element
*/
public java.lang.String getObservationTemplateId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OBSERVATIONTEMPLATEID$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ObservationTemplateId" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetObservationTemplateId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OBSERVATIONTEMPLATEID$0, 0);
return target;
}
}
/**
* Sets the "ObservationTemplateId" element
*/
public void setObservationTemplateId(java.lang.String observationTemplateId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OBSERVATIONTEMPLATEID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OBSERVATIONTEMPLATEID$0);
}
target.setStringValue(observationTemplateId);
}
}
/**
* Sets (as xml) the "ObservationTemplateId" element
*/
public void xsetObservationTemplateId(org.apache.xmlbeans.XmlAnyURI observationTemplateId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OBSERVATIONTEMPLATEID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(OBSERVATIONTEMPLATEID$0);
}
target.set(observationTemplateId);
}
}
/**
* Gets array of all "eventTime" elements
*/
public net.opengis.sos.x10.GetResultDocument.GetResult.EventTime[] getEventTimeArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(EVENTTIME$2, targetList);
net.opengis.sos.x10.GetResultDocument.GetResult.EventTime[] result = new net.opengis.sos.x10.GetResultDocument.GetResult.EventTime[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "eventTime" element
*/
public net.opengis.sos.x10.GetResultDocument.GetResult.EventTime getEventTimeArray(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.GetResultDocument.GetResult.EventTime target = null;
target = (net.opengis.sos.x10.GetResultDocument.GetResult.EventTime)get_store().find_element_user(EVENTTIME$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "eventTime" element
*/
public int sizeOfEventTimeArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EVENTTIME$2);
}
}
/**
* Sets array of all "eventTime" element
*/
public void setEventTimeArray(net.opengis.sos.x10.GetResultDocument.GetResult.EventTime[] eventTimeArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(eventTimeArray, EVENTTIME$2);
}
}
/**
* Sets ith "eventTime" element
*/
public void setEventTimeArray(int i, net.opengis.sos.x10.GetResultDocument.GetResult.EventTime eventTime)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.GetResultDocument.GetResult.EventTime target = null;
target = (net.opengis.sos.x10.GetResultDocument.GetResult.EventTime)get_store().find_element_user(EVENTTIME$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(eventTime);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "eventTime" element
*/
public net.opengis.sos.x10.GetResultDocument.GetResult.EventTime insertNewEventTime(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.GetResultDocument.GetResult.EventTime target = null;
target = (net.opengis.sos.x10.GetResultDocument.GetResult.EventTime)get_store().insert_element_user(EVENTTIME$2, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "eventTime" element
*/
public net.opengis.sos.x10.GetResultDocument.GetResult.EventTime addNewEventTime()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sos.x10.GetResultDocument.GetResult.EventTime target = null;
target = (net.opengis.sos.x10.GetResultDocument.GetResult.EventTime)get_store().add_element_user(EVENTTIME$2);
return target;
}
}
/**
* Removes the ith "eventTime" element
*/
public void removeEventTime(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EVENTTIME$2, i);
}
}
/**
* An XML eventTime(@http://www.opengis.net/sos/1.0).
*
* This is a complex type.
*/
public static class EventTimeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sos.x10.GetResultDocument.GetResult.EventTime
{
private static final long serialVersionUID = 1L;
public EventTimeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TEMPORALOPS$0 =
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "temporalOps");
private static final org.apache.xmlbeans.QNameSet TEMPORALOPS$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_MetBy"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "temporalOps"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Equals"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Overalps"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_EndedBy"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_OverlappedBy"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Meets"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Before"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Ends"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Begins"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_BegunBy"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_During"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_Contains"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "TM_After"),
});
/**
* Gets the "temporalOps" element
*/
public net.opengis.ogc.TemporalOpsType getTemporalOps()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.TemporalOpsType target = null;
target = (net.opengis.ogc.TemporalOpsType)get_store().find_element_user(TEMPORALOPS$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "temporalOps" element
*/
public void setTemporalOps(net.opengis.ogc.TemporalOpsType temporalOps)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.TemporalOpsType target = null;
target = (net.opengis.ogc.TemporalOpsType)get_store().find_element_user(TEMPORALOPS$1, 0);
if (target == null)
{
target = (net.opengis.ogc.TemporalOpsType)get_store().add_element_user(TEMPORALOPS$0);
}
target.set(temporalOps);
}
}
/**
* Appends and returns a new empty "temporalOps" element
*/
public net.opengis.ogc.TemporalOpsType addNewTemporalOps()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.TemporalOpsType target = null;
target = (net.opengis.ogc.TemporalOpsType)get_store().add_element_user(TEMPORALOPS$0);
return target;
}
}
}
}
}