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

net.wirelabs.jmaps.model.map.impl.LayerDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: layer
 * Namespace: http://www.wirelabs.net/jmaps/model/map
 * Java type: net.wirelabs.jmaps.model.map.LayerDocument
 *
 * Automatically generated - do not modify.
 */
package net.wirelabs.jmaps.model.map.impl;

import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
import org.apache.xmlbeans.XmlObject;

/**
 * A document containing one layer(@http://www.wirelabs.net/jmaps/model/map) element.
 *
 * This is a complex type.
 */
public class LayerDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.wirelabs.jmaps.model.map.LayerDocument {
    private static final long serialVersionUID = 1L;

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

    private static final QName[] PROPERTY_QNAME = {
        new QName("http://www.wirelabs.net/jmaps/model/map", "layer"),
    };


    /**
     * Gets the "layer" element
     */
    @Override
    public net.wirelabs.jmaps.model.map.LayerDocument.Layer getLayer() {
        synchronized (monitor()) {
            check_orphaned();
            net.wirelabs.jmaps.model.map.LayerDocument.Layer target = null;
            target = (net.wirelabs.jmaps.model.map.LayerDocument.Layer)get_store().find_element_user(PROPERTY_QNAME[0], 0);
            return (target == null) ? null : target;
        }
    }

    /**
     * Sets the "layer" element
     */
    @Override
    public void setLayer(net.wirelabs.jmaps.model.map.LayerDocument.Layer layer) {
        generatedSetterHelperImpl(layer, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }

    /**
     * Appends and returns a new empty "layer" element
     */
    @Override
    public net.wirelabs.jmaps.model.map.LayerDocument.Layer addNewLayer() {
        synchronized (monitor()) {
            check_orphaned();
            net.wirelabs.jmaps.model.map.LayerDocument.Layer target = null;
            target = (net.wirelabs.jmaps.model.map.LayerDocument.Layer)get_store().add_element_user(PROPERTY_QNAME[0]);
            return target;
        }
    }
    /**
     * An XML layer(@http://www.wirelabs.net/jmaps/model/map).
     *
     * This is a complex type.
     */
    public static class LayerImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.wirelabs.jmaps.model.map.LayerDocument.Layer {
        private static final long serialVersionUID = 1L;

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

        private static final QName[] PROPERTY_QNAME = {
            new QName("http://www.wirelabs.net/jmaps/model/map", "name"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "type"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "url"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "crs"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "minZoom"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "maxZoom"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "zoomOffset"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "tileSize"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "swapAxis"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "opacity"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "tileMatrixSet"),
            new QName("http://www.wirelabs.net/jmaps/model/map", "wmtsLayer"),
        };


        /**
         * Gets the "name" element
         */
        @Override
        public java.lang.String getName() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[0], 0);
                return (target == null) ? null : target.getStringValue();
            }
        }

        /**
         * Gets (as xml) the "name" element
         */
        @Override
        public org.apache.xmlbeans.XmlString xgetName() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[0], 0);
                return target;
            }
        }

        /**
         * Sets the "name" element
         */
        @Override
        public void setName(java.lang.String name) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[0], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[0]);
                }
                target.setStringValue(name);
            }
        }

        /**
         * Sets (as xml) the "name" element
         */
        @Override
        public void xsetName(org.apache.xmlbeans.XmlString name) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[0], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROPERTY_QNAME[0]);
                }
                target.set(name);
            }
        }

        /**
         * Gets the "type" element
         */
        @Override
        public java.lang.String getType() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[1], 0);
                return (target == null) ? null : target.getStringValue();
            }
        }

        /**
         * Gets (as xml) the "type" element
         */
        @Override
        public org.apache.xmlbeans.XmlString xgetType() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[1], 0);
                return target;
            }
        }

        /**
         * Sets the "type" element
         */
        @Override
        public void setType(java.lang.String type) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[1], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[1]);
                }
                target.setStringValue(type);
            }
        }

        /**
         * Sets (as xml) the "type" element
         */
        @Override
        public void xsetType(org.apache.xmlbeans.XmlString type) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[1], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROPERTY_QNAME[1]);
                }
                target.set(type);
            }
        }

        /**
         * Gets the "url" element
         */
        @Override
        public java.lang.String getUrl() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[2], 0);
                return (target == null) ? null : target.getStringValue();
            }
        }

        /**
         * Gets (as xml) the "url" element
         */
        @Override
        public org.apache.xmlbeans.XmlString xgetUrl() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[2], 0);
                return target;
            }
        }

        /**
         * Sets the "url" element
         */
        @Override
        public void setUrl(java.lang.String url) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[2], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[2]);
                }
                target.setStringValue(url);
            }
        }

        /**
         * Sets (as xml) the "url" element
         */
        @Override
        public void xsetUrl(org.apache.xmlbeans.XmlString url) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[2], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROPERTY_QNAME[2]);
                }
                target.set(url);
            }
        }

        /**
         * Gets the "crs" element
         */
        @Override
        public java.lang.String getCrs() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[3], 0);
                return (target == null) ? null : target.getStringValue();
            }
        }

        /**
         * Gets (as xml) the "crs" element
         */
        @Override
        public org.apache.xmlbeans.XmlString xgetCrs() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[3], 0);
                return target;
            }
        }

        /**
         * True if has "crs" element
         */
        @Override
        public boolean isSetCrs() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[3]) != 0;
            }
        }

        /**
         * Sets the "crs" element
         */
        @Override
        public void setCrs(java.lang.String crs) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[3], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[3]);
                }
                target.setStringValue(crs);
            }
        }

        /**
         * Sets (as xml) the "crs" element
         */
        @Override
        public void xsetCrs(org.apache.xmlbeans.XmlString crs) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[3], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROPERTY_QNAME[3]);
                }
                target.set(crs);
            }
        }

        /**
         * Unsets the "crs" element
         */
        @Override
        public void unsetCrs() {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[3], 0);
            }
        }

        /**
         * Gets the "minZoom" element
         */
        @Override
        public int getMinZoom() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[4], 0);
                return (target == null) ? 0 : target.getIntValue();
            }
        }

        /**
         * Gets (as xml) the "minZoom" element
         */
        @Override
        public org.apache.xmlbeans.XmlInt xgetMinZoom() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PROPERTY_QNAME[4], 0);
                return target;
            }
        }

        /**
         * True if has "minZoom" element
         */
        @Override
        public boolean isSetMinZoom() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[4]) != 0;
            }
        }

        /**
         * Sets the "minZoom" element
         */
        @Override
        public void setMinZoom(int minZoom) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[4], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[4]);
                }
                target.setIntValue(minZoom);
            }
        }

        /**
         * Sets (as xml) the "minZoom" element
         */
        @Override
        public void xsetMinZoom(org.apache.xmlbeans.XmlInt minZoom) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PROPERTY_QNAME[4], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(PROPERTY_QNAME[4]);
                }
                target.set(minZoom);
            }
        }

        /**
         * Unsets the "minZoom" element
         */
        @Override
        public void unsetMinZoom() {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[4], 0);
            }
        }

        /**
         * Gets the "maxZoom" element
         */
        @Override
        public int getMaxZoom() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[5], 0);
                return (target == null) ? 0 : target.getIntValue();
            }
        }

        /**
         * Gets (as xml) the "maxZoom" element
         */
        @Override
        public org.apache.xmlbeans.XmlInt xgetMaxZoom() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PROPERTY_QNAME[5], 0);
                return target;
            }
        }

        /**
         * True if has "maxZoom" element
         */
        @Override
        public boolean isSetMaxZoom() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[5]) != 0;
            }
        }

        /**
         * Sets the "maxZoom" element
         */
        @Override
        public void setMaxZoom(int maxZoom) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[5], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[5]);
                }
                target.setIntValue(maxZoom);
            }
        }

        /**
         * Sets (as xml) the "maxZoom" element
         */
        @Override
        public void xsetMaxZoom(org.apache.xmlbeans.XmlInt maxZoom) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PROPERTY_QNAME[5], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(PROPERTY_QNAME[5]);
                }
                target.set(maxZoom);
            }
        }

        /**
         * Unsets the "maxZoom" element
         */
        @Override
        public void unsetMaxZoom() {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[5], 0);
            }
        }

        /**
         * Gets the "zoomOffset" element
         */
        @Override
        public int getZoomOffset() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[6], 0);
                return (target == null) ? 0 : target.getIntValue();
            }
        }

        /**
         * Gets (as xml) the "zoomOffset" element
         */
        @Override
        public org.apache.xmlbeans.XmlInt xgetZoomOffset() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PROPERTY_QNAME[6], 0);
                return target;
            }
        }

        /**
         * True if has "zoomOffset" element
         */
        @Override
        public boolean isSetZoomOffset() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[6]) != 0;
            }
        }

        /**
         * Sets the "zoomOffset" element
         */
        @Override
        public void setZoomOffset(int zoomOffset) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[6], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[6]);
                }
                target.setIntValue(zoomOffset);
            }
        }

        /**
         * Sets (as xml) the "zoomOffset" element
         */
        @Override
        public void xsetZoomOffset(org.apache.xmlbeans.XmlInt zoomOffset) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PROPERTY_QNAME[6], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(PROPERTY_QNAME[6]);
                }
                target.set(zoomOffset);
            }
        }

        /**
         * Unsets the "zoomOffset" element
         */
        @Override
        public void unsetZoomOffset() {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[6], 0);
            }
        }

        /**
         * Gets the "tileSize" element
         */
        @Override
        public int getTileSize() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[7], 0);
                return (target == null) ? 0 : target.getIntValue();
            }
        }

        /**
         * Gets (as xml) the "tileSize" element
         */
        @Override
        public org.apache.xmlbeans.XmlInt xgetTileSize() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PROPERTY_QNAME[7], 0);
                return target;
            }
        }

        /**
         * True if has "tileSize" element
         */
        @Override
        public boolean isSetTileSize() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[7]) != 0;
            }
        }

        /**
         * Sets the "tileSize" element
         */
        @Override
        public void setTileSize(int tileSize) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[7], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[7]);
                }
                target.setIntValue(tileSize);
            }
        }

        /**
         * Sets (as xml) the "tileSize" element
         */
        @Override
        public void xsetTileSize(org.apache.xmlbeans.XmlInt tileSize) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PROPERTY_QNAME[7], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(PROPERTY_QNAME[7]);
                }
                target.set(tileSize);
            }
        }

        /**
         * Unsets the "tileSize" element
         */
        @Override
        public void unsetTileSize() {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[7], 0);
            }
        }

        /**
         * Gets the "swapAxis" element
         */
        @Override
        public boolean getSwapAxis() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[8], 0);
                return (target == null) ? false : target.getBooleanValue();
            }
        }

        /**
         * Gets (as xml) the "swapAxis" element
         */
        @Override
        public org.apache.xmlbeans.XmlBoolean xgetSwapAxis() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(PROPERTY_QNAME[8], 0);
                return target;
            }
        }

        /**
         * True if has "swapAxis" element
         */
        @Override
        public boolean isSetSwapAxis() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[8]) != 0;
            }
        }

        /**
         * Sets the "swapAxis" element
         */
        @Override
        public void setSwapAxis(boolean swapAxis) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[8], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[8]);
                }
                target.setBooleanValue(swapAxis);
            }
        }

        /**
         * Sets (as xml) the "swapAxis" element
         */
        @Override
        public void xsetSwapAxis(org.apache.xmlbeans.XmlBoolean swapAxis) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(PROPERTY_QNAME[8], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(PROPERTY_QNAME[8]);
                }
                target.set(swapAxis);
            }
        }

        /**
         * Unsets the "swapAxis" element
         */
        @Override
        public void unsetSwapAxis() {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[8], 0);
            }
        }

        /**
         * Gets the "opacity" element
         */
        @Override
        public float getOpacity() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[9], 0);
                return (target == null) ? 0.0f : target.getFloatValue();
            }
        }

        /**
         * Gets (as xml) the "opacity" element
         */
        @Override
        public org.apache.xmlbeans.XmlFloat xgetOpacity() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlFloat target = null;
                target = (org.apache.xmlbeans.XmlFloat)get_store().find_element_user(PROPERTY_QNAME[9], 0);
                return target;
            }
        }

        /**
         * True if has "opacity" element
         */
        @Override
        public boolean isSetOpacity() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[9]) != 0;
            }
        }

        /**
         * Sets the "opacity" element
         */
        @Override
        public void setOpacity(float opacity) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[9], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[9]);
                }
                target.setFloatValue(opacity);
            }
        }

        /**
         * Sets (as xml) the "opacity" element
         */
        @Override
        public void xsetOpacity(org.apache.xmlbeans.XmlFloat opacity) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlFloat target = null;
                target = (org.apache.xmlbeans.XmlFloat)get_store().find_element_user(PROPERTY_QNAME[9], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlFloat)get_store().add_element_user(PROPERTY_QNAME[9]);
                }
                target.set(opacity);
            }
        }

        /**
         * Unsets the "opacity" element
         */
        @Override
        public void unsetOpacity() {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[9], 0);
            }
        }

        /**
         * Gets the "tileMatrixSet" element
         */
        @Override
        public java.lang.String getTileMatrixSet() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[10], 0);
                return (target == null) ? null : target.getStringValue();
            }
        }

        /**
         * Gets (as xml) the "tileMatrixSet" element
         */
        @Override
        public org.apache.xmlbeans.XmlString xgetTileMatrixSet() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[10], 0);
                return target;
            }
        }

        /**
         * True if has "tileMatrixSet" element
         */
        @Override
        public boolean isSetTileMatrixSet() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[10]) != 0;
            }
        }

        /**
         * Sets the "tileMatrixSet" element
         */
        @Override
        public void setTileMatrixSet(java.lang.String tileMatrixSet) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[10], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[10]);
                }
                target.setStringValue(tileMatrixSet);
            }
        }

        /**
         * Sets (as xml) the "tileMatrixSet" element
         */
        @Override
        public void xsetTileMatrixSet(org.apache.xmlbeans.XmlString tileMatrixSet) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[10], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROPERTY_QNAME[10]);
                }
                target.set(tileMatrixSet);
            }
        }

        /**
         * Unsets the "tileMatrixSet" element
         */
        @Override
        public void unsetTileMatrixSet() {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[10], 0);
            }
        }

        /**
         * Gets the "wmtsLayer" element
         */
        @Override
        public java.lang.String getWmtsLayer() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[11], 0);
                return (target == null) ? null : target.getStringValue();
            }
        }

        /**
         * Gets (as xml) the "wmtsLayer" element
         */
        @Override
        public org.apache.xmlbeans.XmlString xgetWmtsLayer() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[11], 0);
                return target;
            }
        }

        /**
         * True if has "wmtsLayer" element
         */
        @Override
        public boolean isSetWmtsLayer() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[11]) != 0;
            }
        }

        /**
         * Sets the "wmtsLayer" element
         */
        @Override
        public void setWmtsLayer(java.lang.String wmtsLayer) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[11], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[11]);
                }
                target.setStringValue(wmtsLayer);
            }
        }

        /**
         * Sets (as xml) the "wmtsLayer" element
         */
        @Override
        public void xsetWmtsLayer(org.apache.xmlbeans.XmlString wmtsLayer) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[11], 0);
                if (target == null) {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROPERTY_QNAME[11]);
                }
                target.set(wmtsLayer);
            }
        }

        /**
         * Unsets the "wmtsLayer" element
         */
        @Override
        public void unsetWmtsLayer() {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[11], 0);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy