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

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

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

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

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

    private static final QNameSet[] PROPERTY_QSET = {
    QNameSet.forArray( new QName[] { 
        new QName("http://www.opengis.net/ows/1.1", "DatasetDescriptionSummary"),
        new QName("http://www.opengis.net/wmts/1.0", "Layer"),
    }),
    };

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

    /**
     * Sets the "DatasetDescriptionSummary" element
     */
    @Override
    public void setDatasetDescriptionSummary(net.opengis.ows.x11.DatasetDescriptionSummaryBaseType datasetDescriptionSummary) {
        synchronized (monitor()) {
            check_orphaned();
            net.opengis.ows.x11.DatasetDescriptionSummaryBaseType target = null;
            target = (net.opengis.ows.x11.DatasetDescriptionSummaryBaseType)get_store().find_element_user(PROPERTY_QSET[0], 0);
            if (target == null) {
                target = (net.opengis.ows.x11.DatasetDescriptionSummaryBaseType)get_store().add_element_user(PROPERTY_QNAME[0]);
            }
            target.set(datasetDescriptionSummary);
        }
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy