All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.opengis.ows.x11.impl.ReferenceGroupDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: ReferenceGroup
 * Namespace: http://www.opengis.net/ows/1.1
 * Java type: net.opengis.ows.x11.ReferenceGroupDocument
 *
 * 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 ReferenceGroup(@http://www.opengis.net/ows/1.1) element.
 *
 * This is a complex type.
 */
public class ReferenceGroupDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.x11.ReferenceGroupDocument {
    private static final long serialVersionUID = 1L;

    public ReferenceGroupDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }

    private static final QName[] PROPERTY_QNAME = {
        new QName("http://www.opengis.net/ows/1.1", "ReferenceGroup"),
    };


    /**
     * Gets the "ReferenceGroup" element
     */
    @Override
    public net.opengis.ows.x11.ReferenceGroupType getReferenceGroup() {
        synchronized (monitor()) {
            check_orphaned();
            net.opengis.ows.x11.ReferenceGroupType target = null;
            target = (net.opengis.ows.x11.ReferenceGroupType)get_store().find_element_user(PROPERTY_QNAME[0], 0);
            return (target == null) ? null : target;
        }
    }

    /**
     * Sets the "ReferenceGroup" element
     */
    @Override
    public void setReferenceGroup(net.opengis.ows.x11.ReferenceGroupType referenceGroup) {
        generatedSetterHelperImpl(referenceGroup, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }

    /**
     * Appends and returns a new empty "ReferenceGroup" element
     */
    @Override
    public net.opengis.ows.x11.ReferenceGroupType addNewReferenceGroup() {
        synchronized (monitor()) {
            check_orphaned();
            net.opengis.ows.x11.ReferenceGroupType target = null;
            target = (net.opengis.ows.x11.ReferenceGroupType)get_store().add_element_user(PROPERTY_QNAME[0]);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy