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

x0.oasisNamesTcCiqXsdschemaXAL2.impl.AdministrativeAreaDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: AdministrativeArea
 * Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
 * Java type: x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument
 *
 * Automatically generated - do not modify.
 */
package x0.oasisNamesTcCiqXsdschemaXAL2.impl;
/**
 * A document containing one AdministrativeArea(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0) element.
 *
 * This is a complex type.
 */
public class AdministrativeAreaDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument
{
    private static final long serialVersionUID = 1L;
    
    public AdministrativeAreaDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ADMINISTRATIVEAREA$0 = 
        new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "AdministrativeArea");
    
    
    /**
     * Gets the "AdministrativeArea" element
     */
    public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea getAdministrativeArea()
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea)get_store().find_element_user(ADMINISTRATIVEAREA$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AdministrativeArea" element
     */
    public void setAdministrativeArea(x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea administrativeArea)
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea)get_store().find_element_user(ADMINISTRATIVEAREA$0, 0);
            if (target == null)
            {
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea)get_store().add_element_user(ADMINISTRATIVEAREA$0);
            }
            target.set(administrativeArea);
        }
    }
    
    /**
     * Appends and returns a new empty "AdministrativeArea" element
     */
    public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea addNewAdministrativeArea()
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea)get_store().add_element_user(ADMINISTRATIVEAREA$0);
            return target;
        }
    }
    /**
     * An XML AdministrativeArea(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
     *
     * This is a complex type.
     */
    public static class AdministrativeAreaImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea
    {
        private static final long serialVersionUID = 1L;
        
        public AdministrativeAreaImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName ADDRESSLINE$0 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "AddressLine");
        private static final javax.xml.namespace.QName ADMINISTRATIVEAREANAME$2 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "AdministrativeAreaName");
        private static final javax.xml.namespace.QName SUBADMINISTRATIVEAREA$4 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "SubAdministrativeArea");
        private static final javax.xml.namespace.QName LOCALITY$6 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "Locality");
        private static final javax.xml.namespace.QName POSTOFFICE$8 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostOffice");
        private static final javax.xml.namespace.QName POSTALCODE$10 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostalCode");
        private static final javax.xml.namespace.QName TYPE$12 = 
            new javax.xml.namespace.QName("", "Type");
        private static final javax.xml.namespace.QName USAGETYPE$14 = 
            new javax.xml.namespace.QName("", "UsageType");
        private static final javax.xml.namespace.QName INDICATOR$16 = 
            new javax.xml.namespace.QName("", "Indicator");
        
        
        /**
         * Gets array of all "AddressLine" elements
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] getAddressLineArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(ADDRESSLINE$0, targetList);
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "AddressLine" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine getAddressLineArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().find_element_user(ADDRESSLINE$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "AddressLine" element
         */
        public int sizeOfAddressLineArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ADDRESSLINE$0);
            }
        }
        
        /**
         * Sets array of all "AddressLine" element
         */
        public void setAddressLineArray(x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] addressLineArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(addressLineArray, ADDRESSLINE$0);
            }
        }
        
        /**
         * Sets ith "AddressLine" element
         */
        public void setAddressLineArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine addressLine)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().find_element_user(ADDRESSLINE$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(addressLine);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "AddressLine" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine insertNewAddressLine(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().insert_element_user(ADDRESSLINE$0, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "AddressLine" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine addNewAddressLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().add_element_user(ADDRESSLINE$0);
                return target;
            }
        }
        
        /**
         * Removes the ith "AddressLine" element
         */
        public void removeAddressLine(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ADDRESSLINE$0, i);
            }
        }
        
        /**
         * Gets array of all "AdministrativeAreaName" elements
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName[] getAdministrativeAreaNameArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(ADMINISTRATIVEAREANAME$2, targetList);
                x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "AdministrativeAreaName" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName getAdministrativeAreaNameArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName)get_store().find_element_user(ADMINISTRATIVEAREANAME$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "AdministrativeAreaName" element
         */
        public int sizeOfAdministrativeAreaNameArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ADMINISTRATIVEAREANAME$2);
            }
        }
        
        /**
         * Sets array of all "AdministrativeAreaName" element
         */
        public void setAdministrativeAreaNameArray(x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName[] administrativeAreaNameArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(administrativeAreaNameArray, ADMINISTRATIVEAREANAME$2);
            }
        }
        
        /**
         * Sets ith "AdministrativeAreaName" element
         */
        public void setAdministrativeAreaNameArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName administrativeAreaName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName)get_store().find_element_user(ADMINISTRATIVEAREANAME$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(administrativeAreaName);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "AdministrativeAreaName" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName insertNewAdministrativeAreaName(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName)get_store().insert_element_user(ADMINISTRATIVEAREANAME$2, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "AdministrativeAreaName" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName addNewAdministrativeAreaName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName)get_store().add_element_user(ADMINISTRATIVEAREANAME$2);
                return target;
            }
        }
        
        /**
         * Removes the ith "AdministrativeAreaName" element
         */
        public void removeAdministrativeAreaName(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ADMINISTRATIVEAREANAME$2, i);
            }
        }
        
        /**
         * Gets the "SubAdministrativeArea" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea getSubAdministrativeArea()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea)get_store().find_element_user(SUBADMINISTRATIVEAREA$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "SubAdministrativeArea" element
         */
        public boolean isSetSubAdministrativeArea()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(SUBADMINISTRATIVEAREA$4) != 0;
            }
        }
        
        /**
         * Sets the "SubAdministrativeArea" element
         */
        public void setSubAdministrativeArea(x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea subAdministrativeArea)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea)get_store().find_element_user(SUBADMINISTRATIVEAREA$4, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea)get_store().add_element_user(SUBADMINISTRATIVEAREA$4);
                }
                target.set(subAdministrativeArea);
            }
        }
        
        /**
         * Appends and returns a new empty "SubAdministrativeArea" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea addNewSubAdministrativeArea()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea)get_store().add_element_user(SUBADMINISTRATIVEAREA$4);
                return target;
            }
        }
        
        /**
         * Unsets the "SubAdministrativeArea" element
         */
        public void unsetSubAdministrativeArea()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(SUBADMINISTRATIVEAREA$4, 0);
            }
        }
        
        /**
         * Gets the "Locality" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality getLocality()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality)get_store().find_element_user(LOCALITY$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Locality" element
         */
        public boolean isSetLocality()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LOCALITY$6) != 0;
            }
        }
        
        /**
         * Sets the "Locality" element
         */
        public void setLocality(x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality locality)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality)get_store().find_element_user(LOCALITY$6, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality)get_store().add_element_user(LOCALITY$6);
                }
                target.set(locality);
            }
        }
        
        /**
         * Appends and returns a new empty "Locality" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality addNewLocality()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality)get_store().add_element_user(LOCALITY$6);
                return target;
            }
        }
        
        /**
         * Unsets the "Locality" element
         */
        public void unsetLocality()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LOCALITY$6, 0);
            }
        }
        
        /**
         * Gets the "PostOffice" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice getPostOffice()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().find_element_user(POSTOFFICE$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PostOffice" element
         */
        public boolean isSetPostOffice()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(POSTOFFICE$8) != 0;
            }
        }
        
        /**
         * Sets the "PostOffice" element
         */
        public void setPostOffice(x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice postOffice)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().find_element_user(POSTOFFICE$8, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().add_element_user(POSTOFFICE$8);
                }
                target.set(postOffice);
            }
        }
        
        /**
         * Appends and returns a new empty "PostOffice" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice addNewPostOffice()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().add_element_user(POSTOFFICE$8);
                return target;
            }
        }
        
        /**
         * Unsets the "PostOffice" element
         */
        public void unsetPostOffice()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTOFFICE$8, 0);
            }
        }
        
        /**
         * Gets the "PostalCode" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode getPostalCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().find_element_user(POSTALCODE$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PostalCode" element
         */
        public boolean isSetPostalCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(POSTALCODE$10) != 0;
            }
        }
        
        /**
         * Sets the "PostalCode" element
         */
        public void setPostalCode(x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode postalCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().find_element_user(POSTALCODE$10, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().add_element_user(POSTALCODE$10);
                }
                target.set(postalCode);
            }
        }
        
        /**
         * Appends and returns a new empty "PostalCode" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode addNewPostalCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().add_element_user(POSTALCODE$10);
                return target;
            }
        }
        
        /**
         * Unsets the "PostalCode" element
         */
        public void unsetPostalCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTALCODE$10, 0);
            }
        }
        
        /**
         * Gets the "Type" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$12);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Type" attribute
         */
        public boolean isSetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(TYPE$12) != null;
            }
        }
        
        /**
         * Sets the "Type" attribute
         */
        public void setType(org.apache.xmlbeans.XmlAnySimpleType type)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$12);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$12);
                }
                target.set(type);
            }
        }
        
        /**
         * Appends and returns a new empty "Type" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$12);
                return target;
            }
        }
        
        /**
         * Unsets the "Type" attribute
         */
        public void unsetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(TYPE$12);
            }
        }
        
        /**
         * Gets the "UsageType" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getUsageType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(USAGETYPE$14);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "UsageType" attribute
         */
        public boolean isSetUsageType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(USAGETYPE$14) != null;
            }
        }
        
        /**
         * Sets the "UsageType" attribute
         */
        public void setUsageType(org.apache.xmlbeans.XmlAnySimpleType usageType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(USAGETYPE$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(USAGETYPE$14);
                }
                target.set(usageType);
            }
        }
        
        /**
         * Appends and returns a new empty "UsageType" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewUsageType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(USAGETYPE$14);
                return target;
            }
        }
        
        /**
         * Unsets the "UsageType" attribute
         */
        public void unsetUsageType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(USAGETYPE$14);
            }
        }
        
        /**
         * Gets the "Indicator" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(INDICATOR$16);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Indicator" attribute
         */
        public boolean isSetIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(INDICATOR$16) != null;
            }
        }
        
        /**
         * Sets the "Indicator" attribute
         */
        public void setIndicator(org.apache.xmlbeans.XmlAnySimpleType indicator)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(INDICATOR$16);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$16);
                }
                target.set(indicator);
            }
        }
        
        /**
         * Appends and returns a new empty "Indicator" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$16);
                return target;
            }
        }
        
        /**
         * Unsets the "Indicator" attribute
         */
        public void unsetIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(INDICATOR$16);
            }
        }
        /**
         * An XML AdministrativeAreaName(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
         *
         * This is a complex type.
         */
        public static class AdministrativeAreaNameImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.AdministrativeAreaName
        {
            private static final long serialVersionUID = 1L;
            
            public AdministrativeAreaNameImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName TYPE$0 = 
                new javax.xml.namespace.QName("", "Type");
            private static final javax.xml.namespace.QName CODE$2 = 
                new javax.xml.namespace.QName("", "Code");
            
            
            /**
             * Gets the "Type" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Type" attribute
             */
            public boolean isSetType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(TYPE$0) != null;
                }
            }
            
            /**
             * Sets the "Type" attribute
             */
            public void setType(org.apache.xmlbeans.XmlAnySimpleType type)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$0);
                    }
                    target.set(type);
                }
            }
            
            /**
             * Appends and returns a new empty "Type" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$0);
                    return target;
                }
            }
            
            /**
             * Unsets the "Type" attribute
             */
            public void unsetType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(TYPE$0);
                }
            }
            
            /**
             * Gets the "Code" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$2);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Code" attribute
             */
            public boolean isSetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(CODE$2) != null;
                }
            }
            
            /**
             * Sets the "Code" attribute
             */
            public void setCode(org.apache.xmlbeans.XmlAnySimpleType code)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$2);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
                    }
                    target.set(code);
                }
            }
            
            /**
             * Appends and returns a new empty "Code" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
                    return target;
                }
            }
            
            /**
             * Unsets the "Code" attribute
             */
            public void unsetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(CODE$2);
                }
            }
        }
        /**
         * An XML SubAdministrativeArea(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
         *
         * This is a complex type.
         */
        public static class SubAdministrativeAreaImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea
        {
            private static final long serialVersionUID = 1L;
            
            public SubAdministrativeAreaImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName ADDRESSLINE$0 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "AddressLine");
            private static final javax.xml.namespace.QName SUBADMINISTRATIVEAREANAME$2 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "SubAdministrativeAreaName");
            private static final javax.xml.namespace.QName LOCALITY$4 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "Locality");
            private static final javax.xml.namespace.QName POSTOFFICE$6 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostOffice");
            private static final javax.xml.namespace.QName POSTALCODE$8 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostalCode");
            private static final javax.xml.namespace.QName TYPE$10 = 
                new javax.xml.namespace.QName("", "Type");
            private static final javax.xml.namespace.QName USAGETYPE$12 = 
                new javax.xml.namespace.QName("", "UsageType");
            private static final javax.xml.namespace.QName INDICATOR$14 = 
                new javax.xml.namespace.QName("", "Indicator");
            
            
            /**
             * Gets array of all "AddressLine" elements
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] getAddressLineArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(ADDRESSLINE$0, targetList);
                    x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets ith "AddressLine" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine getAddressLineArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().find_element_user(ADDRESSLINE$0, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "AddressLine" element
             */
            public int sizeOfAddressLineArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(ADDRESSLINE$0);
                }
            }
            
            /**
             * Sets array of all "AddressLine" element
             */
            public void setAddressLineArray(x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] addressLineArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(addressLineArray, ADDRESSLINE$0);
                }
            }
            
            /**
             * Sets ith "AddressLine" element
             */
            public void setAddressLineArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine addressLine)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().find_element_user(ADDRESSLINE$0, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(addressLine);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "AddressLine" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine insertNewAddressLine(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().insert_element_user(ADDRESSLINE$0, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "AddressLine" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine addNewAddressLine()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().add_element_user(ADDRESSLINE$0);
                    return target;
                }
            }
            
            /**
             * Removes the ith "AddressLine" element
             */
            public void removeAddressLine(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(ADDRESSLINE$0, i);
                }
            }
            
            /**
             * Gets array of all "SubAdministrativeAreaName" elements
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName[] getSubAdministrativeAreaNameArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(SUBADMINISTRATIVEAREANAME$2, targetList);
                    x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets ith "SubAdministrativeAreaName" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName getSubAdministrativeAreaNameArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName)get_store().find_element_user(SUBADMINISTRATIVEAREANAME$2, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "SubAdministrativeAreaName" element
             */
            public int sizeOfSubAdministrativeAreaNameArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(SUBADMINISTRATIVEAREANAME$2);
                }
            }
            
            /**
             * Sets array of all "SubAdministrativeAreaName" element
             */
            public void setSubAdministrativeAreaNameArray(x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName[] subAdministrativeAreaNameArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(subAdministrativeAreaNameArray, SUBADMINISTRATIVEAREANAME$2);
                }
            }
            
            /**
             * Sets ith "SubAdministrativeAreaName" element
             */
            public void setSubAdministrativeAreaNameArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName subAdministrativeAreaName)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName)get_store().find_element_user(SUBADMINISTRATIVEAREANAME$2, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(subAdministrativeAreaName);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "SubAdministrativeAreaName" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName insertNewSubAdministrativeAreaName(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName)get_store().insert_element_user(SUBADMINISTRATIVEAREANAME$2, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "SubAdministrativeAreaName" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName addNewSubAdministrativeAreaName()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName)get_store().add_element_user(SUBADMINISTRATIVEAREANAME$2);
                    return target;
                }
            }
            
            /**
             * Removes the ith "SubAdministrativeAreaName" element
             */
            public void removeSubAdministrativeAreaName(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(SUBADMINISTRATIVEAREANAME$2, i);
                }
            }
            
            /**
             * Gets the "Locality" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality getLocality()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality)get_store().find_element_user(LOCALITY$4, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Locality" element
             */
            public boolean isSetLocality()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(LOCALITY$4) != 0;
                }
            }
            
            /**
             * Sets the "Locality" element
             */
            public void setLocality(x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality locality)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality)get_store().find_element_user(LOCALITY$4, 0);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality)get_store().add_element_user(LOCALITY$4);
                    }
                    target.set(locality);
                }
            }
            
            /**
             * Appends and returns a new empty "Locality" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality addNewLocality()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.LocalityDocument.Locality)get_store().add_element_user(LOCALITY$4);
                    return target;
                }
            }
            
            /**
             * Unsets the "Locality" element
             */
            public void unsetLocality()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(LOCALITY$4, 0);
                }
            }
            
            /**
             * Gets the "PostOffice" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice getPostOffice()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().find_element_user(POSTOFFICE$6, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "PostOffice" element
             */
            public boolean isSetPostOffice()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(POSTOFFICE$6) != 0;
                }
            }
            
            /**
             * Sets the "PostOffice" element
             */
            public void setPostOffice(x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice postOffice)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().find_element_user(POSTOFFICE$6, 0);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().add_element_user(POSTOFFICE$6);
                    }
                    target.set(postOffice);
                }
            }
            
            /**
             * Appends and returns a new empty "PostOffice" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice addNewPostOffice()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().add_element_user(POSTOFFICE$6);
                    return target;
                }
            }
            
            /**
             * Unsets the "PostOffice" element
             */
            public void unsetPostOffice()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(POSTOFFICE$6, 0);
                }
            }
            
            /**
             * Gets the "PostalCode" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode getPostalCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().find_element_user(POSTALCODE$8, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "PostalCode" element
             */
            public boolean isSetPostalCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(POSTALCODE$8) != 0;
                }
            }
            
            /**
             * Sets the "PostalCode" element
             */
            public void setPostalCode(x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode postalCode)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().find_element_user(POSTALCODE$8, 0);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().add_element_user(POSTALCODE$8);
                    }
                    target.set(postalCode);
                }
            }
            
            /**
             * Appends and returns a new empty "PostalCode" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode addNewPostalCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().add_element_user(POSTALCODE$8);
                    return target;
                }
            }
            
            /**
             * Unsets the "PostalCode" element
             */
            public void unsetPostalCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(POSTALCODE$8, 0);
                }
            }
            
            /**
             * Gets the "Type" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$10);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Type" attribute
             */
            public boolean isSetType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(TYPE$10) != null;
                }
            }
            
            /**
             * Sets the "Type" attribute
             */
            public void setType(org.apache.xmlbeans.XmlAnySimpleType type)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$10);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$10);
                    }
                    target.set(type);
                }
            }
            
            /**
             * Appends and returns a new empty "Type" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$10);
                    return target;
                }
            }
            
            /**
             * Unsets the "Type" attribute
             */
            public void unsetType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(TYPE$10);
                }
            }
            
            /**
             * Gets the "UsageType" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getUsageType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(USAGETYPE$12);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "UsageType" attribute
             */
            public boolean isSetUsageType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(USAGETYPE$12) != null;
                }
            }
            
            /**
             * Sets the "UsageType" attribute
             */
            public void setUsageType(org.apache.xmlbeans.XmlAnySimpleType usageType)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(USAGETYPE$12);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(USAGETYPE$12);
                    }
                    target.set(usageType);
                }
            }
            
            /**
             * Appends and returns a new empty "UsageType" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewUsageType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(USAGETYPE$12);
                    return target;
                }
            }
            
            /**
             * Unsets the "UsageType" attribute
             */
            public void unsetUsageType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(USAGETYPE$12);
                }
            }
            
            /**
             * Gets the "Indicator" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getIndicator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(INDICATOR$14);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Indicator" attribute
             */
            public boolean isSetIndicator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(INDICATOR$14) != null;
                }
            }
            
            /**
             * Sets the "Indicator" attribute
             */
            public void setIndicator(org.apache.xmlbeans.XmlAnySimpleType indicator)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(INDICATOR$14);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$14);
                    }
                    target.set(indicator);
                }
            }
            
            /**
             * Appends and returns a new empty "Indicator" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewIndicator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$14);
                    return target;
                }
            }
            
            /**
             * Unsets the "Indicator" attribute
             */
            public void unsetIndicator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(INDICATOR$14);
                }
            }
            /**
             * An XML SubAdministrativeAreaName(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
             *
             * This is a complex type.
             */
            public static class SubAdministrativeAreaNameImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.AdministrativeAreaDocument.AdministrativeArea.SubAdministrativeArea.SubAdministrativeAreaName
            {
                private static final long serialVersionUID = 1L;
                
                public SubAdministrativeAreaNameImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName TYPE$0 = 
                    new javax.xml.namespace.QName("", "Type");
                private static final javax.xml.namespace.QName CODE$2 = 
                    new javax.xml.namespace.QName("", "Code");
                
                
                /**
                 * Gets the "Type" attribute
                 */
                public org.apache.xmlbeans.XmlAnySimpleType getType()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlAnySimpleType target = null;
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target;
                    }
                }
                
                /**
                 * True if has "Type" attribute
                 */
                public boolean isSetType()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().find_attribute_user(TYPE$0) != null;
                    }
                }
                
                /**
                 * Sets the "Type" attribute
                 */
                public void setType(org.apache.xmlbeans.XmlAnySimpleType type)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlAnySimpleType target = null;
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$0);
                      }
                      target.set(type);
                    }
                }
                
                /**
                 * Appends and returns a new empty "Type" attribute
                 */
                public org.apache.xmlbeans.XmlAnySimpleType addNewType()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlAnySimpleType target = null;
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$0);
                      return target;
                    }
                }
                
                /**
                 * Unsets the "Type" attribute
                 */
                public void unsetType()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_attribute(TYPE$0);
                    }
                }
                
                /**
                 * Gets the "Code" attribute
                 */
                public org.apache.xmlbeans.XmlAnySimpleType getCode()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlAnySimpleType target = null;
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$2);
                      if (target == null)
                      {
                        return null;
                      }
                      return target;
                    }
                }
                
                /**
                 * True if has "Code" attribute
                 */
                public boolean isSetCode()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().find_attribute_user(CODE$2) != null;
                    }
                }
                
                /**
                 * Sets the "Code" attribute
                 */
                public void setCode(org.apache.xmlbeans.XmlAnySimpleType code)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlAnySimpleType target = null;
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$2);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
                      }
                      target.set(code);
                    }
                }
                
                /**
                 * Appends and returns a new empty "Code" attribute
                 */
                public org.apache.xmlbeans.XmlAnySimpleType addNewCode()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlAnySimpleType target = null;
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
                      return target;
                    }
                }
                
                /**
                 * Unsets the "Code" attribute
                 */
                public void unsetCode()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_attribute(CODE$2);
                    }
                }
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy