net.opengis.ows.x11.impl.AbstractReferenceBaseDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: AbstractReferenceBase
* Namespace: http://www.opengis.net/ows/1.1
* Java type: net.opengis.ows.x11.AbstractReferenceBaseDocument
*
* 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 AbstractReferenceBase(@http://www.opengis.net/ows/1.1) element.
*
* This is a complex type.
*/
public class AbstractReferenceBaseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.x11.AbstractReferenceBaseDocument {
private static final long serialVersionUID = 1L;
public AbstractReferenceBaseDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://www.opengis.net/ows/1.1", "AbstractReferenceBase"),
};
private static final QNameSet[] PROPERTY_QSET = {
QNameSet.forArray( new QName[] {
new QName("http://www.opengis.net/ows/1.1", "AbstractReferenceBase"),
new QName("http://www.opengis.net/ows/1.1", "ServiceReference"),
new QName("http://www.opengis.net/ows/1.1", "Reference"),
}),
};
/**
* Gets the "AbstractReferenceBase" element
*/
@Override
public net.opengis.ows.x11.AbstractReferenceBaseType getAbstractReferenceBase() {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.AbstractReferenceBaseType target = null;
target = (net.opengis.ows.x11.AbstractReferenceBaseType)get_store().find_element_user(PROPERTY_QSET[0], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "AbstractReferenceBase" element
*/
@Override
public void setAbstractReferenceBase(net.opengis.ows.x11.AbstractReferenceBaseType abstractReferenceBase) {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.AbstractReferenceBaseType target = null;
target = (net.opengis.ows.x11.AbstractReferenceBaseType)get_store().find_element_user(PROPERTY_QSET[0], 0);
if (target == null) {
target = (net.opengis.ows.x11.AbstractReferenceBaseType)get_store().add_element_user(PROPERTY_QNAME[0]);
}
target.set(abstractReferenceBase);
}
}
/**
* Appends and returns a new empty "AbstractReferenceBase" element
*/
@Override
public net.opengis.ows.x11.AbstractReferenceBaseType addNewAbstractReferenceBase() {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.AbstractReferenceBaseType target = null;
target = (net.opengis.ows.x11.AbstractReferenceBaseType)get_store().add_element_user(PROPERTY_QNAME[0]);
return target;
}
}
}