net.opengis.ows.x11.impl.ReferenceSystemDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: ReferenceSystem
* Namespace: http://www.opengis.net/ows/1.1
* Java type: net.opengis.ows.x11.ReferenceSystemDocument
*
* 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 ReferenceSystem(@http://www.opengis.net/ows/1.1) element.
*
* This is a complex type.
*/
public class ReferenceSystemDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.x11.ReferenceSystemDocument {
private static final long serialVersionUID = 1L;
public ReferenceSystemDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://www.opengis.net/ows/1.1", "ReferenceSystem"),
};
/**
* Gets the "ReferenceSystem" element
*/
@Override
public net.opengis.ows.x11.DomainMetadataType getReferenceSystem() {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.DomainMetadataType target = null;
target = (net.opengis.ows.x11.DomainMetadataType)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "ReferenceSystem" element
*/
@Override
public void setReferenceSystem(net.opengis.ows.x11.DomainMetadataType referenceSystem) {
generatedSetterHelperImpl(referenceSystem, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "ReferenceSystem" element
*/
@Override
public net.opengis.ows.x11.DomainMetadataType addNewReferenceSystem() {
synchronized (monitor()) {
check_orphaned();
net.opengis.ows.x11.DomainMetadataType target = null;
target = (net.opengis.ows.x11.DomainMetadataType)get_store().add_element_user(PROPERTY_QNAME[0]);
return target;
}
}
}