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.sps.x10.impl.DescribeResultAccessRequestResponseDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: DescribeResultAccessRequestResponse
* Namespace: http://www.opengis.net/sps/1.0
* Java type: net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sps.x10.impl;
/**
* A document containing one DescribeResultAccessRequestResponse(@http://www.opengis.net/sps/1.0) element.
*
* This is a complex type.
*/
public class DescribeResultAccessRequestResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument
{
private static final long serialVersionUID = 1L;
public DescribeResultAccessRequestResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DESCRIBERESULTACCESSREQUESTRESPONSE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "DescribeResultAccessRequestResponse");
/**
* Gets the "DescribeResultAccessRequestResponse" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse getDescribeResultAccessRequestResponse()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse)get_store().find_element_user(DESCRIBERESULTACCESSREQUESTRESPONSE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "DescribeResultAccessRequestResponse" element
*/
public void setDescribeResultAccessRequestResponse(net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse describeResultAccessRequestResponse)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse)get_store().find_element_user(DESCRIBERESULTACCESSREQUESTRESPONSE$0, 0);
if (target == null)
{
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse)get_store().add_element_user(DESCRIBERESULTACCESSREQUESTRESPONSE$0);
}
target.set(describeResultAccessRequestResponse);
}
}
/**
* Appends and returns a new empty "DescribeResultAccessRequestResponse" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse addNewDescribeResultAccessRequestResponse()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse)get_store().add_element_user(DESCRIBERESULTACCESSREQUESTRESPONSE$0);
return target;
}
}
/**
* An XML DescribeResultAccessRequestResponse(@http://www.opengis.net/sps/1.0).
*
* This is a complex type.
*/
public static class DescribeResultAccessRequestResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse
{
private static final long serialVersionUID = 1L;
public DescribeResultAccessRequestResponseImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SERVICE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "service");
private static final javax.xml.namespace.QName DATANOTAVAILABLE$2 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "DataNotAvailable");
/**
* Gets array of all "service" elements
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service[] getServiceArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(SERVICE$0, targetList);
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service[] result = new net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "service" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service getServiceArray(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service)get_store().find_element_user(SERVICE$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "service" element
*/
public int sizeOfServiceArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(SERVICE$0);
}
}
/**
* Sets array of all "service" element
*/
public void setServiceArray(net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service[] serviceArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(serviceArray, SERVICE$0);
}
}
/**
* Sets ith "service" element
*/
public void setServiceArray(int i, net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service service)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service)get_store().find_element_user(SERVICE$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(service);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "service" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service insertNewService(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service)get_store().insert_element_user(SERVICE$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "service" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service addNewService()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service)get_store().add_element_user(SERVICE$0);
return target;
}
}
/**
* Removes the ith "service" element
*/
public void removeService(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(SERVICE$0, i);
}
}
/**
* Gets the "DataNotAvailable" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable getDataNotAvailable()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable)get_store().find_element_user(DATANOTAVAILABLE$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "DataNotAvailable" element
*/
public boolean isSetDataNotAvailable()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(DATANOTAVAILABLE$2) != 0;
}
}
/**
* Sets the "DataNotAvailable" element
*/
public void setDataNotAvailable(net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable dataNotAvailable)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable)get_store().find_element_user(DATANOTAVAILABLE$2, 0);
if (target == null)
{
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable)get_store().add_element_user(DATANOTAVAILABLE$2);
}
target.set(dataNotAvailable);
}
}
/**
* Appends and returns a new empty "DataNotAvailable" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable addNewDataNotAvailable()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable)get_store().add_element_user(DATANOTAVAILABLE$2);
return target;
}
}
/**
* Unsets the "DataNotAvailable" element
*/
public void unsetDataNotAvailable()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(DATANOTAVAILABLE$2, 0);
}
}
/**
* An XML service(@http://www.opengis.net/sps/1.0).
*
* This is a complex type.
*/
public static class ServiceImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service
{
private static final long serialVersionUID = 1L;
public ServiceImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SERVICETYPE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "ServiceType");
private static final javax.xml.namespace.QName SERVICEURL$2 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "ServiceURL");
private static final javax.xml.namespace.QName REQUEST$4 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "request");
/**
* Gets the "ServiceType" element
*/
public java.lang.String getServiceType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SERVICETYPE$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ServiceType" element
*/
public org.apache.xmlbeans.XmlString xgetServiceType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SERVICETYPE$0, 0);
return target;
}
}
/**
* Sets the "ServiceType" element
*/
public void setServiceType(java.lang.String serviceType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SERVICETYPE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SERVICETYPE$0);
}
target.setStringValue(serviceType);
}
}
/**
* Sets (as xml) the "ServiceType" element
*/
public void xsetServiceType(org.apache.xmlbeans.XmlString serviceType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SERVICETYPE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SERVICETYPE$0);
}
target.set(serviceType);
}
}
/**
* Gets the "ServiceURL" element
*/
public java.lang.String getServiceURL()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SERVICEURL$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ServiceURL" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetServiceURL()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(SERVICEURL$2, 0);
return target;
}
}
/**
* Sets the "ServiceURL" element
*/
public void setServiceURL(java.lang.String serviceURL)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SERVICEURL$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SERVICEURL$2);
}
target.setStringValue(serviceURL);
}
}
/**
* Sets (as xml) the "ServiceURL" element
*/
public void xsetServiceURL(org.apache.xmlbeans.XmlAnyURI serviceURL)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(SERVICEURL$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(SERVICEURL$2);
}
target.set(serviceURL);
}
}
/**
* Gets the "request" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request getRequest()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request)get_store().find_element_user(REQUEST$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "request" element
*/
public boolean isSetRequest()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(REQUEST$4) != 0;
}
}
/**
* Sets the "request" element
*/
public void setRequest(net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request request)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request)get_store().find_element_user(REQUEST$4, 0);
if (target == null)
{
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request)get_store().add_element_user(REQUEST$4);
}
target.set(request);
}
}
/**
* Appends and returns a new empty "request" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request addNewRequest()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request)get_store().add_element_user(REQUEST$4);
return target;
}
}
/**
* Unsets the "request" element
*/
public void unsetRequest()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(REQUEST$4, 0);
}
}
/**
* An XML request(@http://www.opengis.net/sps/1.0).
*
* This is a complex type.
*/
public static class RequestImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.Service.Request
{
private static final long serialVersionUID = 1L;
public RequestImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
}
}
/**
* An XML DataNotAvailable(@http://www.opengis.net/sps/1.0).
*
* This is a complex type.
*/
public static class DataNotAvailableImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable
{
private static final long serialVersionUID = 1L;
public DataNotAvailableImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName REASON$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "reason");
private static final javax.xml.namespace.QName DESCRIPTION$2 =
new javax.xml.namespace.QName("http://www.opengis.net/gml", "description");
/**
* Gets the "reason" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason.Enum getReason()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REASON$0, 0);
if (target == null)
{
return null;
}
return (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "reason" element
*/
public net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason xgetReason()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason)get_store().find_element_user(REASON$0, 0);
return target;
}
}
/**
* Sets the "reason" element
*/
public void setReason(net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason.Enum reason)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REASON$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REASON$0);
}
target.setEnumValue(reason);
}
}
/**
* Sets (as xml) the "reason" element
*/
public void xsetReason(net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason reason)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason target = null;
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason)get_store().find_element_user(REASON$0, 0);
if (target == null)
{
target = (net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason)get_store().add_element_user(REASON$0);
}
target.set(reason);
}
}
/**
* Gets the "description" element
*/
public net.opengis.gml.StringOrRefType getDescription()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.StringOrRefType target = null;
target = (net.opengis.gml.StringOrRefType)get_store().find_element_user(DESCRIPTION$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "description" element
*/
public boolean isSetDescription()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(DESCRIPTION$2) != 0;
}
}
/**
* Sets the "description" element
*/
public void setDescription(net.opengis.gml.StringOrRefType description)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.StringOrRefType target = null;
target = (net.opengis.gml.StringOrRefType)get_store().find_element_user(DESCRIPTION$2, 0);
if (target == null)
{
target = (net.opengis.gml.StringOrRefType)get_store().add_element_user(DESCRIPTION$2);
}
target.set(description);
}
}
/**
* Appends and returns a new empty "description" element
*/
public net.opengis.gml.StringOrRefType addNewDescription()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.StringOrRefType target = null;
target = (net.opengis.gml.StringOrRefType)get_store().add_element_user(DESCRIPTION$2);
return target;
}
}
/**
* Unsets the "description" element
*/
public void unsetDescription()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(DESCRIPTION$2, 0);
}
}
/**
* An XML reason(@http://www.opengis.net/sps/1.0).
*
* This is an atomic type that is a restriction of net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument$DescribeResultAccessRequestResponse$DataNotAvailable$Reason.
*/
public static class ReasonImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements net.opengis.sps.x10.DescribeResultAccessRequestResponseDocument.DescribeResultAccessRequestResponse.DataNotAvailable.Reason
{
private static final long serialVersionUID = 1L;
public ReasonImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, false);
}
protected ReasonImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
}
}
}
}