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

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

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

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

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


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

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

    /**
     * Appends and returns a new empty "ServiceIdentification" element
     */
    @Override
    public net.opengis.ows.x11.ServiceIdentificationDocument.ServiceIdentification addNewServiceIdentification() {
        synchronized (monitor()) {
            check_orphaned();
            net.opengis.ows.x11.ServiceIdentificationDocument.ServiceIdentification target = null;
            target = (net.opengis.ows.x11.ServiceIdentificationDocument.ServiceIdentification)get_store().add_element_user(PROPERTY_QNAME[0]);
            return target;
        }
    }
    /**
     * An XML ServiceIdentification(@http://www.opengis.net/ows/1.1).
     *
     * This is a complex type.
     */
    public static class ServiceIdentificationImpl extends net.opengis.ows.x11.impl.DescriptionTypeImpl implements net.opengis.ows.x11.ServiceIdentificationDocument.ServiceIdentification {
        private static final long serialVersionUID = 1L;

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

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


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

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

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

        /**
         * Gets a List of "ServiceTypeVersion" elements
         */
        @Override
        public java.util.List getServiceTypeVersionList() {
            synchronized (monitor()) {
                check_orphaned();
                return new org.apache.xmlbeans.impl.values.JavaListObject<>(
                    this::getServiceTypeVersionArray,
                    this::setServiceTypeVersionArray,
                    this::insertServiceTypeVersion,
                    this::removeServiceTypeVersion,
                    this::sizeOfServiceTypeVersionArray
                );
            }
        }

        /**
         * Gets array of all "ServiceTypeVersion" elements
         */
        @Override
        public java.lang.String[] getServiceTypeVersionArray() {
            return getObjectArray(PROPERTY_QNAME[1], org.apache.xmlbeans.SimpleValue::getStringValue, String[]::new);
        }

        /**
         * Gets ith "ServiceTypeVersion" element
         */
        @Override
        public java.lang.String getServiceTypeVersionArray(int i) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[1], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                return target.getStringValue();
            }
        }

        /**
         * Gets (as xml) a List of "ServiceTypeVersion" elements
         */
        @Override
        public java.util.List xgetServiceTypeVersionList() {
            synchronized (monitor()) {
                check_orphaned();
                return new org.apache.xmlbeans.impl.values.JavaListXmlObject<>(
                    this::xgetServiceTypeVersionArray,
                    this::xsetServiceTypeVersionArray,
                    this::insertNewServiceTypeVersion,
                    this::removeServiceTypeVersion,
                    this::sizeOfServiceTypeVersionArray
                );
            }
        }

        /**
         * Gets (as xml) array of all "ServiceTypeVersion" elements
         */
        @Override
        public net.opengis.ows.x11.VersionType[] xgetServiceTypeVersionArray() {
            return xgetArray(PROPERTY_QNAME[1], net.opengis.ows.x11.VersionType[]::new);
        }

        /**
         * Gets (as xml) ith "ServiceTypeVersion" element
         */
        @Override
        public net.opengis.ows.x11.VersionType xgetServiceTypeVersionArray(int i) {
            synchronized (monitor()) {
                check_orphaned();
                net.opengis.ows.x11.VersionType target = null;
                target = (net.opengis.ows.x11.VersionType)get_store().find_element_user(PROPERTY_QNAME[1], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }

        /**
         * Returns number of "ServiceTypeVersion" element
         */
        @Override
        public int sizeOfServiceTypeVersionArray() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[1]);
            }
        }

        /**
         * Sets array of all "ServiceTypeVersion" element
         */
        @Override
        public void setServiceTypeVersionArray(java.lang.String[] serviceTypeVersionArray) {
            synchronized (monitor()) {
                check_orphaned();
                arraySetterHelper(serviceTypeVersionArray, PROPERTY_QNAME[1]);
            }
        }

        /**
         * Sets ith "ServiceTypeVersion" element
         */
        @Override
        public void setServiceTypeVersionArray(int i, java.lang.String serviceTypeVersion) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[1], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                target.setStringValue(serviceTypeVersion);
            }
        }

        /**
         * Sets (as xml) array of all "ServiceTypeVersion" element
         */
        @Override
        public void xsetServiceTypeVersionArray(net.opengis.ows.x11.VersionType[]serviceTypeVersionArray) {
            synchronized (monitor()) {
                check_orphaned();
                arraySetterHelper(serviceTypeVersionArray, PROPERTY_QNAME[1]);
            }
        }

        /**
         * Sets (as xml) ith "ServiceTypeVersion" element
         */
        @Override
        public void xsetServiceTypeVersionArray(int i, net.opengis.ows.x11.VersionType serviceTypeVersion) {
            synchronized (monitor()) {
                check_orphaned();
                net.opengis.ows.x11.VersionType target = null;
                target = (net.opengis.ows.x11.VersionType)get_store().find_element_user(PROPERTY_QNAME[1], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                target.set(serviceTypeVersion);
            }
        }

        /**
         * Inserts the value as the ith "ServiceTypeVersion" element
         */
        @Override
        public void insertServiceTypeVersion(int i, java.lang.String serviceTypeVersion) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target =
                    (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(PROPERTY_QNAME[1], i);
                target.setStringValue(serviceTypeVersion);
            }
        }

        /**
         * Appends the value as the last "ServiceTypeVersion" element
         */
        @Override
        public void addServiceTypeVersion(java.lang.String serviceTypeVersion) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[1]);
                target.setStringValue(serviceTypeVersion);
            }
        }

        /**
         * Inserts and returns a new empty value (as xml) as the ith "ServiceTypeVersion" element
         */
        @Override
        public net.opengis.ows.x11.VersionType insertNewServiceTypeVersion(int i) {
            synchronized (monitor()) {
                check_orphaned();
                net.opengis.ows.x11.VersionType target = null;
                target = (net.opengis.ows.x11.VersionType)get_store().insert_element_user(PROPERTY_QNAME[1], i);
                return target;
            }
        }

        /**
         * Appends and returns a new empty value (as xml) as the last "ServiceTypeVersion" element
         */
        @Override
        public net.opengis.ows.x11.VersionType addNewServiceTypeVersion() {
            synchronized (monitor()) {
                check_orphaned();
                net.opengis.ows.x11.VersionType target = null;
                target = (net.opengis.ows.x11.VersionType)get_store().add_element_user(PROPERTY_QNAME[1]);
                return target;
            }
        }

        /**
         * Removes the ith "ServiceTypeVersion" element
         */
        @Override
        public void removeServiceTypeVersion(int i) {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[1], i);
            }
        }

        /**
         * Gets a List of "Profile" elements
         */
        @Override
        public java.util.List getProfileList() {
            synchronized (monitor()) {
                check_orphaned();
                return new org.apache.xmlbeans.impl.values.JavaListObject<>(
                    this::getProfileArray,
                    this::setProfileArray,
                    this::insertProfile,
                    this::removeProfile,
                    this::sizeOfProfileArray
                );
            }
        }

        /**
         * Gets array of all "Profile" elements
         */
        @Override
        public java.lang.String[] getProfileArray() {
            return getObjectArray(PROPERTY_QNAME[2], org.apache.xmlbeans.SimpleValue::getStringValue, String[]::new);
        }

        /**
         * Gets ith "Profile" element
         */
        @Override
        public java.lang.String getProfileArray(int i) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[2], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                return target.getStringValue();
            }
        }

        /**
         * Gets (as xml) a List of "Profile" elements
         */
        @Override
        public java.util.List xgetProfileList() {
            synchronized (monitor()) {
                check_orphaned();
                return new org.apache.xmlbeans.impl.values.JavaListXmlObject<>(
                    this::xgetProfileArray,
                    this::xsetProfileArray,
                    this::insertNewProfile,
                    this::removeProfile,
                    this::sizeOfProfileArray
                );
            }
        }

        /**
         * Gets (as xml) array of all "Profile" elements
         */
        @Override
        public org.apache.xmlbeans.XmlAnyURI[] xgetProfileArray() {
            return xgetArray(PROPERTY_QNAME[2], org.apache.xmlbeans.XmlAnyURI[]::new);
        }

        /**
         * Gets (as xml) ith "Profile" element
         */
        @Override
        public org.apache.xmlbeans.XmlAnyURI xgetProfileArray(int i) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(PROPERTY_QNAME[2], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }

        /**
         * Returns number of "Profile" element
         */
        @Override
        public int sizeOfProfileArray() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[2]);
            }
        }

        /**
         * Sets array of all "Profile" element
         */
        @Override
        public void setProfileArray(java.lang.String[] profileArray) {
            synchronized (monitor()) {
                check_orphaned();
                arraySetterHelper(profileArray, PROPERTY_QNAME[2]);
            }
        }

        /**
         * Sets ith "Profile" element
         */
        @Override
        public void setProfileArray(int i, java.lang.String profile) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[2], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                target.setStringValue(profile);
            }
        }

        /**
         * Sets (as xml) array of all "Profile" element
         */
        @Override
        public void xsetProfileArray(org.apache.xmlbeans.XmlAnyURI[]profileArray) {
            synchronized (monitor()) {
                check_orphaned();
                arraySetterHelper(profileArray, PROPERTY_QNAME[2]);
            }
        }

        /**
         * Sets (as xml) ith "Profile" element
         */
        @Override
        public void xsetProfileArray(int i, org.apache.xmlbeans.XmlAnyURI profile) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(PROPERTY_QNAME[2], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                target.set(profile);
            }
        }

        /**
         * Inserts the value as the ith "Profile" element
         */
        @Override
        public void insertProfile(int i, java.lang.String profile) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target =
                    (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(PROPERTY_QNAME[2], i);
                target.setStringValue(profile);
            }
        }

        /**
         * Appends the value as the last "Profile" element
         */
        @Override
        public void addProfile(java.lang.String profile) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[2]);
                target.setStringValue(profile);
            }
        }

        /**
         * Inserts and returns a new empty value (as xml) as the ith "Profile" element
         */
        @Override
        public org.apache.xmlbeans.XmlAnyURI insertNewProfile(int i) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().insert_element_user(PROPERTY_QNAME[2], i);
                return target;
            }
        }

        /**
         * Appends and returns a new empty value (as xml) as the last "Profile" element
         */
        @Override
        public org.apache.xmlbeans.XmlAnyURI addNewProfile() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(PROPERTY_QNAME[2]);
                return target;
            }
        }

        /**
         * Removes the ith "Profile" element
         */
        @Override
        public void removeProfile(int i) {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[2], i);
            }
        }

        /**
         * Gets the "Fees" element
         */
        @Override
        public java.lang.String getFees() {
            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 "Fees" element
         */
        @Override
        public org.apache.xmlbeans.XmlString xgetFees() {
            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 "Fees" element
         */
        @Override
        public boolean isSetFees() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[3]) != 0;
            }
        }

        /**
         * Sets the "Fees" element
         */
        @Override
        public void setFees(java.lang.String fees) {
            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(fees);
            }
        }

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

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

        /**
         * Gets a List of "AccessConstraints" elements
         */
        @Override
        public java.util.List getAccessConstraintsList() {
            synchronized (monitor()) {
                check_orphaned();
                return new org.apache.xmlbeans.impl.values.JavaListObject<>(
                    this::getAccessConstraintsArray,
                    this::setAccessConstraintsArray,
                    this::insertAccessConstraints,
                    this::removeAccessConstraints,
                    this::sizeOfAccessConstraintsArray
                );
            }
        }

        /**
         * Gets array of all "AccessConstraints" elements
         */
        @Override
        public java.lang.String[] getAccessConstraintsArray() {
            return getObjectArray(PROPERTY_QNAME[4], org.apache.xmlbeans.SimpleValue::getStringValue, String[]::new);
        }

        /**
         * Gets ith "AccessConstraints" element
         */
        @Override
        public java.lang.String getAccessConstraintsArray(int i) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[4], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                return target.getStringValue();
            }
        }

        /**
         * Gets (as xml) a List of "AccessConstraints" elements
         */
        @Override
        public java.util.List xgetAccessConstraintsList() {
            synchronized (monitor()) {
                check_orphaned();
                return new org.apache.xmlbeans.impl.values.JavaListXmlObject<>(
                    this::xgetAccessConstraintsArray,
                    this::xsetAccessConstraintsArray,
                    this::insertNewAccessConstraints,
                    this::removeAccessConstraints,
                    this::sizeOfAccessConstraintsArray
                );
            }
        }

        /**
         * Gets (as xml) array of all "AccessConstraints" elements
         */
        @Override
        public org.apache.xmlbeans.XmlString[] xgetAccessConstraintsArray() {
            return xgetArray(PROPERTY_QNAME[4], org.apache.xmlbeans.XmlString[]::new);
        }

        /**
         * Gets (as xml) ith "AccessConstraints" element
         */
        @Override
        public org.apache.xmlbeans.XmlString xgetAccessConstraintsArray(int i) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[4], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }

        /**
         * Returns number of "AccessConstraints" element
         */
        @Override
        public int sizeOfAccessConstraintsArray() {
            synchronized (monitor()) {
                check_orphaned();
                return get_store().count_elements(PROPERTY_QNAME[4]);
            }
        }

        /**
         * Sets array of all "AccessConstraints" element
         */
        @Override
        public void setAccessConstraintsArray(java.lang.String[] accessConstraintsArray) {
            synchronized (monitor()) {
                check_orphaned();
                arraySetterHelper(accessConstraintsArray, PROPERTY_QNAME[4]);
            }
        }

        /**
         * Sets ith "AccessConstraints" element
         */
        @Override
        public void setAccessConstraintsArray(int i, java.lang.String accessConstraints) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[4], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                target.setStringValue(accessConstraints);
            }
        }

        /**
         * Sets (as xml) array of all "AccessConstraints" element
         */
        @Override
        public void xsetAccessConstraintsArray(org.apache.xmlbeans.XmlString[]accessConstraintsArray) {
            synchronized (monitor()) {
                check_orphaned();
                arraySetterHelper(accessConstraintsArray, PROPERTY_QNAME[4]);
            }
        }

        /**
         * Sets (as xml) ith "AccessConstraints" element
         */
        @Override
        public void xsetAccessConstraintsArray(int i, org.apache.xmlbeans.XmlString accessConstraints) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[4], i);
                if (target == null) {
                    throw new IndexOutOfBoundsException();
                }
                target.set(accessConstraints);
            }
        }

        /**
         * Inserts the value as the ith "AccessConstraints" element
         */
        @Override
        public void insertAccessConstraints(int i, java.lang.String accessConstraints) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target =
                    (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(PROPERTY_QNAME[4], i);
                target.setStringValue(accessConstraints);
            }
        }

        /**
         * Appends the value as the last "AccessConstraints" element
         */
        @Override
        public void addAccessConstraints(java.lang.String accessConstraints) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[4]);
                target.setStringValue(accessConstraints);
            }
        }

        /**
         * Inserts and returns a new empty value (as xml) as the ith "AccessConstraints" element
         */
        @Override
        public org.apache.xmlbeans.XmlString insertNewAccessConstraints(int i) {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(PROPERTY_QNAME[4], i);
                return target;
            }
        }

        /**
         * Appends and returns a new empty value (as xml) as the last "AccessConstraints" element
         */
        @Override
        public org.apache.xmlbeans.XmlString addNewAccessConstraints() {
            synchronized (monitor()) {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROPERTY_QNAME[4]);
                return target;
            }
        }

        /**
         * Removes the ith "AccessConstraints" element
         */
        @Override
        public void removeAccessConstraints(int i) {
            synchronized (monitor()) {
                check_orphaned();
                get_store().remove_element(PROPERTY_QNAME[4], i);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy