net.opengis.ows.x11.impl.ServiceReferenceDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: ServiceReference
* Namespace: http://www.opengis.net/ows/1.1
* Java type: net.opengis.ows.x11.ServiceReferenceDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.ows.x11.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
import org.apache.xmlbeans.XmlObject;
/**
* A document containing one ServiceReference(@http://www.opengis.net/ows/1.1) element.
*
* This is a complex type.
*/
public class ServiceReferenceDocumentImpl extends net.opengis.ows.x11.impl.ReferenceDocumentImpl implements net.opengis.ows.x11.ServiceReferenceDocument {
private static final long serialVersionUID = 1L;
public ServiceReferenceDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://www.opengis.net/ows/1.1", "ServiceReference"),
};
/**
* Gets the "ServiceReference" element
*/
@Override
public net.opengis.ows.x11.ServiceReferenceType getServiceReference() {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.ServiceReferenceType target = null;
target = (net.opengis.ows.x11.ServiceReferenceType)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "ServiceReference" element
*/
@Override
public void setServiceReference(net.opengis.ows.x11.ServiceReferenceType serviceReference) {
generatedSetterHelperImpl(serviceReference, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "ServiceReference" element
*/
@Override
public net.opengis.ows.x11.ServiceReferenceType addNewServiceReference() {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.ServiceReferenceType target = null;
target = (net.opengis.ows.x11.ServiceReferenceType)get_store().add_element_user(PROPERTY_QNAME[0]);
return target;
}
}
}