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

net.opengis.wmts.x10.impl.TileMatrixLimitsDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: TileMatrixLimits
 * Namespace: http://www.opengis.net/wmts/1.0
 * Java type: net.opengis.wmts.x10.TileMatrixLimitsDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.wmts.x10.impl;

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

/**
 * A document containing one TileMatrixLimits(@http://www.opengis.net/wmts/1.0) element.
 *
 * This is a complex type.
 */
public class TileMatrixLimitsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.wmts.x10.TileMatrixLimitsDocument {
    private static final long serialVersionUID = 1L;

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

    private static final QName[] PROPERTY_QNAME = {
        new QName("http://www.opengis.net/wmts/1.0", "TileMatrixLimits"),
    };


    /**
     * Gets the "TileMatrixLimits" element
     */
    @Override
    public net.opengis.wmts.x10.TileMatrixLimitsDocument.TileMatrixLimits getTileMatrixLimits() {
        synchronized (monitor()) {
            check_orphaned();
            net.opengis.wmts.x10.TileMatrixLimitsDocument.TileMatrixLimits target = null;
            target = (net.opengis.wmts.x10.TileMatrixLimitsDocument.TileMatrixLimits)get_store().find_element_user(PROPERTY_QNAME[0], 0);
            return (target == null) ? null : target;
        }
    }

    /**
     * Sets the "TileMatrixLimits" element
     */
    @Override
    public void setTileMatrixLimits(net.opengis.wmts.x10.TileMatrixLimitsDocument.TileMatrixLimits tileMatrixLimits) {
        generatedSetterHelperImpl(tileMatrixLimits, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }

    /**
     * Appends and returns a new empty "TileMatrixLimits" element
     */
    @Override
    public net.opengis.wmts.x10.TileMatrixLimitsDocument.TileMatrixLimits addNewTileMatrixLimits() {
        synchronized (monitor()) {
            check_orphaned();
            net.opengis.wmts.x10.TileMatrixLimitsDocument.TileMatrixLimits target = null;
            target = (net.opengis.wmts.x10.TileMatrixLimitsDocument.TileMatrixLimits)get_store().add_element_user(PROPERTY_QNAME[0]);
            return target;
        }
    }
    /**
     * An XML TileMatrixLimits(@http://www.opengis.net/wmts/1.0).
     *
     * This is a complex type.
     */
    public static class TileMatrixLimitsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.wmts.x10.TileMatrixLimitsDocument.TileMatrixLimits {
        private static final long serialVersionUID = 1L;

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

        private static final QName[] PROPERTY_QNAME = {
            new QName("http://www.opengis.net/wmts/1.0", "TileMatrix"),
            new QName("http://www.opengis.net/wmts/1.0", "MinTileRow"),
            new QName("http://www.opengis.net/wmts/1.0", "MaxTileRow"),
            new QName("http://www.opengis.net/wmts/1.0", "MinTileCol"),
            new QName("http://www.opengis.net/wmts/1.0", "MaxTileCol"),
        };


        /**
         * Gets the "TileMatrix" element
         */
        @Override
        public java.lang.String getTileMatrix() {
            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 "TileMatrix" element
         */
        @Override
        public org.apache.xmlbeans.XmlString xgetTileMatrix() {
            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 "TileMatrix" element
         */
        @Override
        public void setTileMatrix(java.lang.String tileMatrix) {
            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(tileMatrix);
            }
        }

        /**
         * Sets (as xml) the "TileMatrix" element
         */
        @Override
        public void xsetTileMatrix(org.apache.xmlbeans.XmlString tileMatrix) {
            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(tileMatrix);
            }
        }

        /**
         * Gets the "MinTileRow" element
         */
        @Override
        public java.math.BigInteger getMinTileRow() {
            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.getBigIntegerValue();
            }
        }

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

        /**
         * Sets the "MinTileRow" element
         */
        @Override
        public void setMinTileRow(java.math.BigInteger minTileRow) {
            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.setBigIntegerValue(minTileRow);
            }
        }

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

        /**
         * Gets the "MaxTileRow" element
         */
        @Override
        public java.math.BigInteger getMaxTileRow() {
            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.getBigIntegerValue();
            }
        }

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

        /**
         * Sets the "MaxTileRow" element
         */
        @Override
        public void setMaxTileRow(java.math.BigInteger maxTileRow) {
            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.setBigIntegerValue(maxTileRow);
            }
        }

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

        /**
         * Gets the "MinTileCol" element
         */
        @Override
        public java.math.BigInteger getMinTileCol() {
            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.getBigIntegerValue();
            }
        }

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

        /**
         * Sets the "MinTileCol" element
         */
        @Override
        public void setMinTileCol(java.math.BigInteger minTileCol) {
            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.setBigIntegerValue(minTileCol);
            }
        }

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

        /**
         * Gets the "MaxTileCol" element
         */
        @Override
        public java.math.BigInteger getMaxTileCol() {
            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) ? null : target.getBigIntegerValue();
            }
        }

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

        /**
         * Sets the "MaxTileCol" element
         */
        @Override
        public void setMaxTileCol(java.math.BigInteger maxTileCol) {
            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.setBigIntegerValue(maxTileCol);
            }
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy