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

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

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: Thoroughfare
 * Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
 * Java type: x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument
 *
 * Automatically generated - do not modify.
 */
package x0.oasisNamesTcCiqXsdschemaXAL2.impl;
/**
 * A document containing one Thoroughfare(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0) element.
 *
 * This is a complex type.
 */
public class ThoroughfareDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument
{
    private static final long serialVersionUID = 1L;
    
    public ThoroughfareDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName THOROUGHFARE$0 = 
        new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "Thoroughfare");
    
    
    /**
     * Gets the "Thoroughfare" element
     */
    public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare getThoroughfare()
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare)get_store().find_element_user(THOROUGHFARE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Thoroughfare" element
     */
    public void setThoroughfare(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare thoroughfare)
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare)get_store().find_element_user(THOROUGHFARE$0, 0);
            if (target == null)
            {
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare)get_store().add_element_user(THOROUGHFARE$0);
            }
            target.set(thoroughfare);
        }
    }
    
    /**
     * Appends and returns a new empty "Thoroughfare" element
     */
    public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare addNewThoroughfare()
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare)get_store().add_element_user(THOROUGHFARE$0);
            return target;
        }
    }
    /**
     * An XML Thoroughfare(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
     *
     * This is a complex type.
     */
    public static class ThoroughfareImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare
    {
        private static final long serialVersionUID = 1L;
        
        public ThoroughfareImpl(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 THOROUGHFARENUMBER$2 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumber");
        private static final javax.xml.namespace.QName THOROUGHFARENUMBERRANGE$4 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumberRange");
        private static final javax.xml.namespace.QName THOROUGHFARENUMBERPREFIX$6 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumberPrefix");
        private static final javax.xml.namespace.QName THOROUGHFARENUMBERSUFFIX$8 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumberSuffix");
        private static final javax.xml.namespace.QName THOROUGHFAREPREDIRECTION$10 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfarePreDirection");
        private static final javax.xml.namespace.QName THOROUGHFARELEADINGTYPE$12 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareLeadingType");
        private static final javax.xml.namespace.QName THOROUGHFARENAME$14 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareName");
        private static final javax.xml.namespace.QName THOROUGHFARETRAILINGTYPE$16 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareTrailingType");
        private static final javax.xml.namespace.QName THOROUGHFAREPOSTDIRECTION$18 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfarePostDirection");
        private static final javax.xml.namespace.QName DEPENDENTTHOROUGHFARE$20 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "DependentThoroughfare");
        private static final javax.xml.namespace.QName DEPENDENTLOCALITY$22 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "DependentLocality");
        private static final javax.xml.namespace.QName PREMISE$24 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "Premise");
        private static final javax.xml.namespace.QName FIRM$26 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "Firm");
        private static final javax.xml.namespace.QName POSTALCODE$28 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostalCode");
        private static final javax.xml.namespace.QName TYPE$30 = 
            new javax.xml.namespace.QName("", "Type");
        private static final javax.xml.namespace.QName DEPENDENTTHOROUGHFARES$32 = 
            new javax.xml.namespace.QName("", "DependentThoroughfares");
        private static final javax.xml.namespace.QName DEPENDENTTHOROUGHFARESINDICATOR$34 = 
            new javax.xml.namespace.QName("", "DependentThoroughfaresIndicator");
        private static final javax.xml.namespace.QName DEPENDENTTHOROUGHFARESCONNECTOR$36 = 
            new javax.xml.namespace.QName("", "DependentThoroughfaresConnector");
        private static final javax.xml.namespace.QName DEPENDENTTHOROUGHFARESTYPE$38 = 
            new javax.xml.namespace.QName("", "DependentThoroughfaresType");
        
        
        /**
         * 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 "ThoroughfareNumber" elements
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[] getThoroughfareNumberArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(THOROUGHFARENUMBER$2, targetList);
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "ThoroughfareNumber" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber getThoroughfareNumberArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().find_element_user(THOROUGHFARENUMBER$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "ThoroughfareNumber" element
         */
        public int sizeOfThoroughfareNumberArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(THOROUGHFARENUMBER$2);
            }
        }
        
        /**
         * Sets array of all "ThoroughfareNumber" element
         */
        public void setThoroughfareNumberArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[] thoroughfareNumberArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(thoroughfareNumberArray, THOROUGHFARENUMBER$2);
            }
        }
        
        /**
         * Sets ith "ThoroughfareNumber" element
         */
        public void setThoroughfareNumberArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber thoroughfareNumber)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().find_element_user(THOROUGHFARENUMBER$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(thoroughfareNumber);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareNumber" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber insertNewThoroughfareNumber(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().insert_element_user(THOROUGHFARENUMBER$2, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "ThoroughfareNumber" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber addNewThoroughfareNumber()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().add_element_user(THOROUGHFARENUMBER$2);
                return target;
            }
        }
        
        /**
         * Removes the ith "ThoroughfareNumber" element
         */
        public void removeThoroughfareNumber(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(THOROUGHFARENUMBER$2, i);
            }
        }
        
        /**
         * Gets array of all "ThoroughfareNumberRange" elements
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange[] getThoroughfareNumberRangeArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(THOROUGHFARENUMBERRANGE$4, targetList);
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "ThoroughfareNumberRange" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange getThoroughfareNumberRangeArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange)get_store().find_element_user(THOROUGHFARENUMBERRANGE$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "ThoroughfareNumberRange" element
         */
        public int sizeOfThoroughfareNumberRangeArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(THOROUGHFARENUMBERRANGE$4);
            }
        }
        
        /**
         * Sets array of all "ThoroughfareNumberRange" element
         */
        public void setThoroughfareNumberRangeArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange[] thoroughfareNumberRangeArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(thoroughfareNumberRangeArray, THOROUGHFARENUMBERRANGE$4);
            }
        }
        
        /**
         * Sets ith "ThoroughfareNumberRange" element
         */
        public void setThoroughfareNumberRangeArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange thoroughfareNumberRange)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange)get_store().find_element_user(THOROUGHFARENUMBERRANGE$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(thoroughfareNumberRange);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareNumberRange" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange insertNewThoroughfareNumberRange(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange)get_store().insert_element_user(THOROUGHFARENUMBERRANGE$4, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "ThoroughfareNumberRange" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange addNewThoroughfareNumberRange()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange)get_store().add_element_user(THOROUGHFARENUMBERRANGE$4);
                return target;
            }
        }
        
        /**
         * Removes the ith "ThoroughfareNumberRange" element
         */
        public void removeThoroughfareNumberRange(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(THOROUGHFARENUMBERRANGE$4, i);
            }
        }
        
        /**
         * Gets array of all "ThoroughfareNumberPrefix" elements
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[] getThoroughfareNumberPrefixArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(THOROUGHFARENUMBERPREFIX$6, targetList);
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "ThoroughfareNumberPrefix" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix getThoroughfareNumberPrefixArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().find_element_user(THOROUGHFARENUMBERPREFIX$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "ThoroughfareNumberPrefix" element
         */
        public int sizeOfThoroughfareNumberPrefixArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(THOROUGHFARENUMBERPREFIX$6);
            }
        }
        
        /**
         * Sets array of all "ThoroughfareNumberPrefix" element
         */
        public void setThoroughfareNumberPrefixArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[] thoroughfareNumberPrefixArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(thoroughfareNumberPrefixArray, THOROUGHFARENUMBERPREFIX$6);
            }
        }
        
        /**
         * Sets ith "ThoroughfareNumberPrefix" element
         */
        public void setThoroughfareNumberPrefixArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix thoroughfareNumberPrefix)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().find_element_user(THOROUGHFARENUMBERPREFIX$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(thoroughfareNumberPrefix);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareNumberPrefix" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix insertNewThoroughfareNumberPrefix(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().insert_element_user(THOROUGHFARENUMBERPREFIX$6, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "ThoroughfareNumberPrefix" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix addNewThoroughfareNumberPrefix()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().add_element_user(THOROUGHFARENUMBERPREFIX$6);
                return target;
            }
        }
        
        /**
         * Removes the ith "ThoroughfareNumberPrefix" element
         */
        public void removeThoroughfareNumberPrefix(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(THOROUGHFARENUMBERPREFIX$6, i);
            }
        }
        
        /**
         * Gets array of all "ThoroughfareNumberSuffix" elements
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[] getThoroughfareNumberSuffixArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(THOROUGHFARENUMBERSUFFIX$8, targetList);
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "ThoroughfareNumberSuffix" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix getThoroughfareNumberSuffixArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().find_element_user(THOROUGHFARENUMBERSUFFIX$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "ThoroughfareNumberSuffix" element
         */
        public int sizeOfThoroughfareNumberSuffixArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(THOROUGHFARENUMBERSUFFIX$8);
            }
        }
        
        /**
         * Sets array of all "ThoroughfareNumberSuffix" element
         */
        public void setThoroughfareNumberSuffixArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[] thoroughfareNumberSuffixArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(thoroughfareNumberSuffixArray, THOROUGHFARENUMBERSUFFIX$8);
            }
        }
        
        /**
         * Sets ith "ThoroughfareNumberSuffix" element
         */
        public void setThoroughfareNumberSuffixArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix thoroughfareNumberSuffix)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().find_element_user(THOROUGHFARENUMBERSUFFIX$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(thoroughfareNumberSuffix);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareNumberSuffix" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix insertNewThoroughfareNumberSuffix(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().insert_element_user(THOROUGHFARENUMBERSUFFIX$8, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "ThoroughfareNumberSuffix" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix addNewThoroughfareNumberSuffix()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().add_element_user(THOROUGHFARENUMBERSUFFIX$8);
                return target;
            }
        }
        
        /**
         * Removes the ith "ThoroughfareNumberSuffix" element
         */
        public void removeThoroughfareNumberSuffix(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(THOROUGHFARENUMBERSUFFIX$8, i);
            }
        }
        
        /**
         * Gets the "ThoroughfarePreDirection" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType getThoroughfarePreDirection()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType)get_store().find_element_user(THOROUGHFAREPREDIRECTION$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "ThoroughfarePreDirection" element
         */
        public boolean isSetThoroughfarePreDirection()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(THOROUGHFAREPREDIRECTION$10) != 0;
            }
        }
        
        /**
         * Sets the "ThoroughfarePreDirection" element
         */
        public void setThoroughfarePreDirection(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType thoroughfarePreDirection)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType)get_store().find_element_user(THOROUGHFAREPREDIRECTION$10, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType)get_store().add_element_user(THOROUGHFAREPREDIRECTION$10);
                }
                target.set(thoroughfarePreDirection);
            }
        }
        
        /**
         * Appends and returns a new empty "ThoroughfarePreDirection" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType addNewThoroughfarePreDirection()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType)get_store().add_element_user(THOROUGHFAREPREDIRECTION$10);
                return target;
            }
        }
        
        /**
         * Unsets the "ThoroughfarePreDirection" element
         */
        public void unsetThoroughfarePreDirection()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(THOROUGHFAREPREDIRECTION$10, 0);
            }
        }
        
        /**
         * Gets the "ThoroughfareLeadingType" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType getThoroughfareLeadingType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType)get_store().find_element_user(THOROUGHFARELEADINGTYPE$12, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "ThoroughfareLeadingType" element
         */
        public boolean isSetThoroughfareLeadingType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(THOROUGHFARELEADINGTYPE$12) != 0;
            }
        }
        
        /**
         * Sets the "ThoroughfareLeadingType" element
         */
        public void setThoroughfareLeadingType(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType thoroughfareLeadingType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType)get_store().find_element_user(THOROUGHFARELEADINGTYPE$12, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType)get_store().add_element_user(THOROUGHFARELEADINGTYPE$12);
                }
                target.set(thoroughfareLeadingType);
            }
        }
        
        /**
         * Appends and returns a new empty "ThoroughfareLeadingType" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType addNewThoroughfareLeadingType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType)get_store().add_element_user(THOROUGHFARELEADINGTYPE$12);
                return target;
            }
        }
        
        /**
         * Unsets the "ThoroughfareLeadingType" element
         */
        public void unsetThoroughfareLeadingType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(THOROUGHFARELEADINGTYPE$12, 0);
            }
        }
        
        /**
         * Gets array of all "ThoroughfareName" elements
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType[] getThoroughfareNameArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(THOROUGHFARENAME$14, targetList);
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "ThoroughfareName" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType getThoroughfareNameArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType)get_store().find_element_user(THOROUGHFARENAME$14, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "ThoroughfareName" element
         */
        public int sizeOfThoroughfareNameArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(THOROUGHFARENAME$14);
            }
        }
        
        /**
         * Sets array of all "ThoroughfareName" element
         */
        public void setThoroughfareNameArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType[] thoroughfareNameArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(thoroughfareNameArray, THOROUGHFARENAME$14);
            }
        }
        
        /**
         * Sets ith "ThoroughfareName" element
         */
        public void setThoroughfareNameArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType thoroughfareName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType)get_store().find_element_user(THOROUGHFARENAME$14, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(thoroughfareName);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareName" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType insertNewThoroughfareName(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType)get_store().insert_element_user(THOROUGHFARENAME$14, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "ThoroughfareName" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType addNewThoroughfareName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType)get_store().add_element_user(THOROUGHFARENAME$14);
                return target;
            }
        }
        
        /**
         * Removes the ith "ThoroughfareName" element
         */
        public void removeThoroughfareName(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(THOROUGHFARENAME$14, i);
            }
        }
        
        /**
         * Gets the "ThoroughfareTrailingType" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType getThoroughfareTrailingType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType)get_store().find_element_user(THOROUGHFARETRAILINGTYPE$16, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "ThoroughfareTrailingType" element
         */
        public boolean isSetThoroughfareTrailingType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(THOROUGHFARETRAILINGTYPE$16) != 0;
            }
        }
        
        /**
         * Sets the "ThoroughfareTrailingType" element
         */
        public void setThoroughfareTrailingType(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType thoroughfareTrailingType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType)get_store().find_element_user(THOROUGHFARETRAILINGTYPE$16, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType)get_store().add_element_user(THOROUGHFARETRAILINGTYPE$16);
                }
                target.set(thoroughfareTrailingType);
            }
        }
        
        /**
         * Appends and returns a new empty "ThoroughfareTrailingType" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType addNewThoroughfareTrailingType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType)get_store().add_element_user(THOROUGHFARETRAILINGTYPE$16);
                return target;
            }
        }
        
        /**
         * Unsets the "ThoroughfareTrailingType" element
         */
        public void unsetThoroughfareTrailingType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(THOROUGHFARETRAILINGTYPE$16, 0);
            }
        }
        
        /**
         * Gets the "ThoroughfarePostDirection" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType getThoroughfarePostDirection()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType)get_store().find_element_user(THOROUGHFAREPOSTDIRECTION$18, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "ThoroughfarePostDirection" element
         */
        public boolean isSetThoroughfarePostDirection()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(THOROUGHFAREPOSTDIRECTION$18) != 0;
            }
        }
        
        /**
         * Sets the "ThoroughfarePostDirection" element
         */
        public void setThoroughfarePostDirection(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType thoroughfarePostDirection)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType)get_store().find_element_user(THOROUGHFAREPOSTDIRECTION$18, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType)get_store().add_element_user(THOROUGHFAREPOSTDIRECTION$18);
                }
                target.set(thoroughfarePostDirection);
            }
        }
        
        /**
         * Appends and returns a new empty "ThoroughfarePostDirection" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType addNewThoroughfarePostDirection()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType)get_store().add_element_user(THOROUGHFAREPOSTDIRECTION$18);
                return target;
            }
        }
        
        /**
         * Unsets the "ThoroughfarePostDirection" element
         */
        public void unsetThoroughfarePostDirection()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(THOROUGHFAREPOSTDIRECTION$18, 0);
            }
        }
        
        /**
         * Gets the "DependentThoroughfare" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare getDependentThoroughfare()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare)get_store().find_element_user(DEPENDENTTHOROUGHFARE$20, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "DependentThoroughfare" element
         */
        public boolean isSetDependentThoroughfare()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(DEPENDENTTHOROUGHFARE$20) != 0;
            }
        }
        
        /**
         * Sets the "DependentThoroughfare" element
         */
        public void setDependentThoroughfare(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare dependentThoroughfare)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare)get_store().find_element_user(DEPENDENTTHOROUGHFARE$20, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare)get_store().add_element_user(DEPENDENTTHOROUGHFARE$20);
                }
                target.set(dependentThoroughfare);
            }
        }
        
        /**
         * Appends and returns a new empty "DependentThoroughfare" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare addNewDependentThoroughfare()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare)get_store().add_element_user(DEPENDENTTHOROUGHFARE$20);
                return target;
            }
        }
        
        /**
         * Unsets the "DependentThoroughfare" element
         */
        public void unsetDependentThoroughfare()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(DEPENDENTTHOROUGHFARE$20, 0);
            }
        }
        
        /**
         * Gets the "DependentLocality" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.DependentLocalityType getDependentLocality()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.DependentLocalityType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.DependentLocalityType)get_store().find_element_user(DEPENDENTLOCALITY$22, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "DependentLocality" element
         */
        public boolean isSetDependentLocality()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(DEPENDENTLOCALITY$22) != 0;
            }
        }
        
        /**
         * Sets the "DependentLocality" element
         */
        public void setDependentLocality(x0.oasisNamesTcCiqXsdschemaXAL2.DependentLocalityType dependentLocality)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.DependentLocalityType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.DependentLocalityType)get_store().find_element_user(DEPENDENTLOCALITY$22, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.DependentLocalityType)get_store().add_element_user(DEPENDENTLOCALITY$22);
                }
                target.set(dependentLocality);
            }
        }
        
        /**
         * Appends and returns a new empty "DependentLocality" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.DependentLocalityType addNewDependentLocality()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.DependentLocalityType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.DependentLocalityType)get_store().add_element_user(DEPENDENTLOCALITY$22);
                return target;
            }
        }
        
        /**
         * Unsets the "DependentLocality" element
         */
        public void unsetDependentLocality()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(DEPENDENTLOCALITY$22, 0);
            }
        }
        
        /**
         * Gets the "Premise" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PremiseDocument.Premise getPremise()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PremiseDocument.Premise target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PremiseDocument.Premise)get_store().find_element_user(PREMISE$24, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Premise" element
         */
        public boolean isSetPremise()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PREMISE$24) != 0;
            }
        }
        
        /**
         * Sets the "Premise" element
         */
        public void setPremise(x0.oasisNamesTcCiqXsdschemaXAL2.PremiseDocument.Premise premise)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PremiseDocument.Premise target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PremiseDocument.Premise)get_store().find_element_user(PREMISE$24, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PremiseDocument.Premise)get_store().add_element_user(PREMISE$24);
                }
                target.set(premise);
            }
        }
        
        /**
         * Appends and returns a new empty "Premise" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PremiseDocument.Premise addNewPremise()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PremiseDocument.Premise target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PremiseDocument.Premise)get_store().add_element_user(PREMISE$24);
                return target;
            }
        }
        
        /**
         * Unsets the "Premise" element
         */
        public void unsetPremise()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PREMISE$24, 0);
            }
        }
        
        /**
         * Gets the "Firm" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.FirmType getFirm()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.FirmType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.FirmType)get_store().find_element_user(FIRM$26, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Firm" element
         */
        public boolean isSetFirm()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(FIRM$26) != 0;
            }
        }
        
        /**
         * Sets the "Firm" element
         */
        public void setFirm(x0.oasisNamesTcCiqXsdschemaXAL2.FirmType firm)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.FirmType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.FirmType)get_store().find_element_user(FIRM$26, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.FirmType)get_store().add_element_user(FIRM$26);
                }
                target.set(firm);
            }
        }
        
        /**
         * Appends and returns a new empty "Firm" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.FirmType addNewFirm()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.FirmType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.FirmType)get_store().add_element_user(FIRM$26);
                return target;
            }
        }
        
        /**
         * Unsets the "Firm" element
         */
        public void unsetFirm()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(FIRM$26, 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$28, 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$28) != 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$28, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().add_element_user(POSTALCODE$28);
                }
                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$28);
                return target;
            }
        }
        
        /**
         * Unsets the "PostalCode" element
         */
        public void unsetPostalCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTALCODE$28, 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$30);
                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$30) != 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$30);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$30);
                }
                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$30);
                return target;
            }
        }
        
        /**
         * Unsets the "Type" attribute
         */
        public void unsetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(TYPE$30);
            }
        }
        
        /**
         * Gets the "DependentThoroughfares" attribute
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares.Enum getDependentThoroughfares()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEPENDENTTHOROUGHFARES$32);
                if (target == null)
                {
                    return null;
                }
                return (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "DependentThoroughfares" attribute
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares xgetDependentThoroughfares()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares)get_store().find_attribute_user(DEPENDENTTHOROUGHFARES$32);
                return target;
            }
        }
        
        /**
         * True if has "DependentThoroughfares" attribute
         */
        public boolean isSetDependentThoroughfares()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(DEPENDENTTHOROUGHFARES$32) != null;
            }
        }
        
        /**
         * Sets the "DependentThoroughfares" attribute
         */
        public void setDependentThoroughfares(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares.Enum dependentThoroughfares)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEPENDENTTHOROUGHFARES$32);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DEPENDENTTHOROUGHFARES$32);
                }
                target.setEnumValue(dependentThoroughfares);
            }
        }
        
        /**
         * Sets (as xml) the "DependentThoroughfares" attribute
         */
        public void xsetDependentThoroughfares(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares dependentThoroughfares)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares)get_store().find_attribute_user(DEPENDENTTHOROUGHFARES$32);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares)get_store().add_attribute_user(DEPENDENTTHOROUGHFARES$32);
                }
                target.set(dependentThoroughfares);
            }
        }
        
        /**
         * Unsets the "DependentThoroughfares" attribute
         */
        public void unsetDependentThoroughfares()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(DEPENDENTTHOROUGHFARES$32);
            }
        }
        
        /**
         * Gets the "DependentThoroughfaresIndicator" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getDependentThoroughfaresIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(DEPENDENTTHOROUGHFARESINDICATOR$34);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "DependentThoroughfaresIndicator" attribute
         */
        public boolean isSetDependentThoroughfaresIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(DEPENDENTTHOROUGHFARESINDICATOR$34) != null;
            }
        }
        
        /**
         * Sets the "DependentThoroughfaresIndicator" attribute
         */
        public void setDependentThoroughfaresIndicator(org.apache.xmlbeans.XmlAnySimpleType dependentThoroughfaresIndicator)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(DEPENDENTTHOROUGHFARESINDICATOR$34);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(DEPENDENTTHOROUGHFARESINDICATOR$34);
                }
                target.set(dependentThoroughfaresIndicator);
            }
        }
        
        /**
         * Appends and returns a new empty "DependentThoroughfaresIndicator" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewDependentThoroughfaresIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(DEPENDENTTHOROUGHFARESINDICATOR$34);
                return target;
            }
        }
        
        /**
         * Unsets the "DependentThoroughfaresIndicator" attribute
         */
        public void unsetDependentThoroughfaresIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(DEPENDENTTHOROUGHFARESINDICATOR$34);
            }
        }
        
        /**
         * Gets the "DependentThoroughfaresConnector" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getDependentThoroughfaresConnector()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(DEPENDENTTHOROUGHFARESCONNECTOR$36);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "DependentThoroughfaresConnector" attribute
         */
        public boolean isSetDependentThoroughfaresConnector()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(DEPENDENTTHOROUGHFARESCONNECTOR$36) != null;
            }
        }
        
        /**
         * Sets the "DependentThoroughfaresConnector" attribute
         */
        public void setDependentThoroughfaresConnector(org.apache.xmlbeans.XmlAnySimpleType dependentThoroughfaresConnector)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(DEPENDENTTHOROUGHFARESCONNECTOR$36);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(DEPENDENTTHOROUGHFARESCONNECTOR$36);
                }
                target.set(dependentThoroughfaresConnector);
            }
        }
        
        /**
         * Appends and returns a new empty "DependentThoroughfaresConnector" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewDependentThoroughfaresConnector()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(DEPENDENTTHOROUGHFARESCONNECTOR$36);
                return target;
            }
        }
        
        /**
         * Unsets the "DependentThoroughfaresConnector" attribute
         */
        public void unsetDependentThoroughfaresConnector()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(DEPENDENTTHOROUGHFARESCONNECTOR$36);
            }
        }
        
        /**
         * Gets the "DependentThoroughfaresType" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getDependentThoroughfaresType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(DEPENDENTTHOROUGHFARESTYPE$38);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "DependentThoroughfaresType" attribute
         */
        public boolean isSetDependentThoroughfaresType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(DEPENDENTTHOROUGHFARESTYPE$38) != null;
            }
        }
        
        /**
         * Sets the "DependentThoroughfaresType" attribute
         */
        public void setDependentThoroughfaresType(org.apache.xmlbeans.XmlAnySimpleType dependentThoroughfaresType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(DEPENDENTTHOROUGHFARESTYPE$38);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(DEPENDENTTHOROUGHFARESTYPE$38);
                }
                target.set(dependentThoroughfaresType);
            }
        }
        
        /**
         * Appends and returns a new empty "DependentThoroughfaresType" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewDependentThoroughfaresType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(DEPENDENTTHOROUGHFARESTYPE$38);
                return target;
            }
        }
        
        /**
         * Unsets the "DependentThoroughfaresType" attribute
         */
        public void unsetDependentThoroughfaresType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(DEPENDENTTHOROUGHFARESTYPE$38);
            }
        }
        /**
         * An XML ThoroughfareNumberRange(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
         *
         * This is a complex type.
         */
        public static class ThoroughfareNumberRangeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange
        {
            private static final long serialVersionUID = 1L;
            
            public ThoroughfareNumberRangeImpl(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 THOROUGHFARENUMBERFROM$2 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumberFrom");
            private static final javax.xml.namespace.QName THOROUGHFARENUMBERTO$4 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumberTo");
            private static final javax.xml.namespace.QName RANGETYPE$6 = 
                new javax.xml.namespace.QName("", "RangeType");
            private static final javax.xml.namespace.QName INDICATOR$8 = 
                new javax.xml.namespace.QName("", "Indicator");
            private static final javax.xml.namespace.QName SEPARATOR$10 = 
                new javax.xml.namespace.QName("", "Separator");
            private static final javax.xml.namespace.QName INDICATOROCCURRENCE$12 = 
                new javax.xml.namespace.QName("", "IndicatorOccurrence");
            private static final javax.xml.namespace.QName NUMBERRANGEOCCURRENCE$14 = 
                new javax.xml.namespace.QName("", "NumberRangeOccurrence");
            private static final javax.xml.namespace.QName TYPE$16 = 
                new javax.xml.namespace.QName("", "Type");
            private static final javax.xml.namespace.QName CODE$18 = 
                new javax.xml.namespace.QName("", "Code");
            
            
            /**
             * 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 the "ThoroughfareNumberFrom" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom getThoroughfareNumberFrom()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom)get_store().find_element_user(THOROUGHFARENUMBERFROM$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "ThoroughfareNumberFrom" element
             */
            public void setThoroughfareNumberFrom(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom thoroughfareNumberFrom)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom)get_store().find_element_user(THOROUGHFARENUMBERFROM$2, 0);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom)get_store().add_element_user(THOROUGHFARENUMBERFROM$2);
                    }
                    target.set(thoroughfareNumberFrom);
                }
            }
            
            /**
             * Appends and returns a new empty "ThoroughfareNumberFrom" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom addNewThoroughfareNumberFrom()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom)get_store().add_element_user(THOROUGHFARENUMBERFROM$2);
                    return target;
                }
            }
            
            /**
             * Gets the "ThoroughfareNumberTo" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo getThoroughfareNumberTo()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo)get_store().find_element_user(THOROUGHFARENUMBERTO$4, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "ThoroughfareNumberTo" element
             */
            public void setThoroughfareNumberTo(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo thoroughfareNumberTo)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo)get_store().find_element_user(THOROUGHFARENUMBERTO$4, 0);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo)get_store().add_element_user(THOROUGHFARENUMBERTO$4);
                    }
                    target.set(thoroughfareNumberTo);
                }
            }
            
            /**
             * Appends and returns a new empty "ThoroughfareNumberTo" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo addNewThoroughfareNumberTo()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo)get_store().add_element_user(THOROUGHFARENUMBERTO$4);
                    return target;
                }
            }
            
            /**
             * Gets the "RangeType" attribute
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType.Enum getRangeType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RANGETYPE$6);
                    if (target == null)
                    {
                      return null;
                    }
                    return (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "RangeType" attribute
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType xgetRangeType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType)get_store().find_attribute_user(RANGETYPE$6);
                    return target;
                }
            }
            
            /**
             * True if has "RangeType" attribute
             */
            public boolean isSetRangeType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(RANGETYPE$6) != null;
                }
            }
            
            /**
             * Sets the "RangeType" attribute
             */
            public void setRangeType(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType.Enum rangeType)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RANGETYPE$6);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RANGETYPE$6);
                    }
                    target.setEnumValue(rangeType);
                }
            }
            
            /**
             * Sets (as xml) the "RangeType" attribute
             */
            public void xsetRangeType(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType rangeType)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType)get_store().find_attribute_user(RANGETYPE$6);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType)get_store().add_attribute_user(RANGETYPE$6);
                    }
                    target.set(rangeType);
                }
            }
            
            /**
             * Unsets the "RangeType" attribute
             */
            public void unsetRangeType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(RANGETYPE$6);
                }
            }
            
            /**
             * 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$8);
                    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$8) != 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$8);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$8);
                    }
                    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$8);
                    return target;
                }
            }
            
            /**
             * Unsets the "Indicator" attribute
             */
            public void unsetIndicator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(INDICATOR$8);
                }
            }
            
            /**
             * Gets the "Separator" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(SEPARATOR$10);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Separator" attribute
             */
            public boolean isSetSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(SEPARATOR$10) != null;
                }
            }
            
            /**
             * Sets the "Separator" attribute
             */
            public void setSeparator(org.apache.xmlbeans.XmlAnySimpleType separator)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(SEPARATOR$10);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(SEPARATOR$10);
                    }
                    target.set(separator);
                }
            }
            
            /**
             * Appends and returns a new empty "Separator" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(SEPARATOR$10);
                    return target;
                }
            }
            
            /**
             * Unsets the "Separator" attribute
             */
            public void unsetSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(SEPARATOR$10);
                }
            }
            
            /**
             * Gets the "IndicatorOccurrence" attribute
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence.Enum getIndicatorOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INDICATOROCCURRENCE$12);
                    if (target == null)
                    {
                      return null;
                    }
                    return (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "IndicatorOccurrence" attribute
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence xgetIndicatorOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence)get_store().find_attribute_user(INDICATOROCCURRENCE$12);
                    return target;
                }
            }
            
            /**
             * True if has "IndicatorOccurrence" attribute
             */
            public boolean isSetIndicatorOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(INDICATOROCCURRENCE$12) != null;
                }
            }
            
            /**
             * Sets the "IndicatorOccurrence" attribute
             */
            public void setIndicatorOccurrence(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence.Enum indicatorOccurrence)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INDICATOROCCURRENCE$12);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(INDICATOROCCURRENCE$12);
                    }
                    target.setEnumValue(indicatorOccurrence);
                }
            }
            
            /**
             * Sets (as xml) the "IndicatorOccurrence" attribute
             */
            public void xsetIndicatorOccurrence(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence indicatorOccurrence)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence)get_store().find_attribute_user(INDICATOROCCURRENCE$12);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence)get_store().add_attribute_user(INDICATOROCCURRENCE$12);
                    }
                    target.set(indicatorOccurrence);
                }
            }
            
            /**
             * Unsets the "IndicatorOccurrence" attribute
             */
            public void unsetIndicatorOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(INDICATOROCCURRENCE$12);
                }
            }
            
            /**
             * Gets the "NumberRangeOccurrence" attribute
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence.Enum getNumberRangeOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NUMBERRANGEOCCURRENCE$14);
                    if (target == null)
                    {
                      return null;
                    }
                    return (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "NumberRangeOccurrence" attribute
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence xgetNumberRangeOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence)get_store().find_attribute_user(NUMBERRANGEOCCURRENCE$14);
                    return target;
                }
            }
            
            /**
             * True if has "NumberRangeOccurrence" attribute
             */
            public boolean isSetNumberRangeOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(NUMBERRANGEOCCURRENCE$14) != null;
                }
            }
            
            /**
             * Sets the "NumberRangeOccurrence" attribute
             */
            public void setNumberRangeOccurrence(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence.Enum numberRangeOccurrence)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NUMBERRANGEOCCURRENCE$14);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NUMBERRANGEOCCURRENCE$14);
                    }
                    target.setEnumValue(numberRangeOccurrence);
                }
            }
            
            /**
             * Sets (as xml) the "NumberRangeOccurrence" attribute
             */
            public void xsetNumberRangeOccurrence(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence numberRangeOccurrence)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence)get_store().find_attribute_user(NUMBERRANGEOCCURRENCE$14);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence)get_store().add_attribute_user(NUMBERRANGEOCCURRENCE$14);
                    }
                    target.set(numberRangeOccurrence);
                }
            }
            
            /**
             * Unsets the "NumberRangeOccurrence" attribute
             */
            public void unsetNumberRangeOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(NUMBERRANGEOCCURRENCE$14);
                }
            }
            
            /**
             * 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$16);
                    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$16) != 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$16);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$16);
                    }
                    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$16);
                    return target;
                }
            }
            
            /**
             * Unsets the "Type" attribute
             */
            public void unsetType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(TYPE$16);
                }
            }
            
            /**
             * 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$18);
                    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$18) != 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$18);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$18);
                    }
                    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$18);
                    return target;
                }
            }
            
            /**
             * Unsets the "Code" attribute
             */
            public void unsetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(CODE$18);
                }
            }
            /**
             * An XML ThoroughfareNumberFrom(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
             *
             * This is a complex type.
             */
            public static class ThoroughfareNumberFromImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberFrom
            {
                private static final long serialVersionUID = 1L;
                
                public ThoroughfareNumberFromImpl(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 THOROUGHFARENUMBERPREFIX$2 = 
                    new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumberPrefix");
                private static final javax.xml.namespace.QName THOROUGHFARENUMBER$4 = 
                    new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumber");
                private static final javax.xml.namespace.QName THOROUGHFARENUMBERSUFFIX$6 = 
                    new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumberSuffix");
                private static final javax.xml.namespace.QName CODE$8 = 
                    new javax.xml.namespace.QName("", "Code");
                
                
                /**
                 * 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 "ThoroughfareNumberPrefix" elements
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[] getThoroughfareNumberPrefixArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      java.util.List targetList = new java.util.ArrayList();
                      get_store().find_all_element_users(THOROUGHFARENUMBERPREFIX$2, targetList);
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[targetList.size()];
                      targetList.toArray(result);
                      return result;
                    }
                }
                
                /**
                 * Gets ith "ThoroughfareNumberPrefix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix getThoroughfareNumberPrefixArray(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().find_element_user(THOROUGHFARENUMBERPREFIX$2, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      return target;
                    }
                }
                
                /**
                 * Returns number of "ThoroughfareNumberPrefix" element
                 */
                public int sizeOfThoroughfareNumberPrefixArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(THOROUGHFARENUMBERPREFIX$2);
                    }
                }
                
                /**
                 * Sets array of all "ThoroughfareNumberPrefix" element
                 */
                public void setThoroughfareNumberPrefixArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[] thoroughfareNumberPrefixArray)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      arraySetterHelper(thoroughfareNumberPrefixArray, THOROUGHFARENUMBERPREFIX$2);
                    }
                }
                
                /**
                 * Sets ith "ThoroughfareNumberPrefix" element
                 */
                public void setThoroughfareNumberPrefixArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix thoroughfareNumberPrefix)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().find_element_user(THOROUGHFARENUMBERPREFIX$2, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      target.set(thoroughfareNumberPrefix);
                    }
                }
                
                /**
                 * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareNumberPrefix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix insertNewThoroughfareNumberPrefix(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().insert_element_user(THOROUGHFARENUMBERPREFIX$2, i);
                      return target;
                    }
                }
                
                /**
                 * Appends and returns a new empty value (as xml) as the last "ThoroughfareNumberPrefix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix addNewThoroughfareNumberPrefix()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().add_element_user(THOROUGHFARENUMBERPREFIX$2);
                      return target;
                    }
                }
                
                /**
                 * Removes the ith "ThoroughfareNumberPrefix" element
                 */
                public void removeThoroughfareNumberPrefix(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(THOROUGHFARENUMBERPREFIX$2, i);
                    }
                }
                
                /**
                 * Gets array of all "ThoroughfareNumber" elements
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[] getThoroughfareNumberArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      java.util.List targetList = new java.util.ArrayList();
                      get_store().find_all_element_users(THOROUGHFARENUMBER$4, targetList);
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[targetList.size()];
                      targetList.toArray(result);
                      return result;
                    }
                }
                
                /**
                 * Gets ith "ThoroughfareNumber" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber getThoroughfareNumberArray(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().find_element_user(THOROUGHFARENUMBER$4, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      return target;
                    }
                }
                
                /**
                 * Returns number of "ThoroughfareNumber" element
                 */
                public int sizeOfThoroughfareNumberArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(THOROUGHFARENUMBER$4);
                    }
                }
                
                /**
                 * Sets array of all "ThoroughfareNumber" element
                 */
                public void setThoroughfareNumberArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[] thoroughfareNumberArray)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      arraySetterHelper(thoroughfareNumberArray, THOROUGHFARENUMBER$4);
                    }
                }
                
                /**
                 * Sets ith "ThoroughfareNumber" element
                 */
                public void setThoroughfareNumberArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber thoroughfareNumber)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().find_element_user(THOROUGHFARENUMBER$4, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      target.set(thoroughfareNumber);
                    }
                }
                
                /**
                 * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareNumber" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber insertNewThoroughfareNumber(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().insert_element_user(THOROUGHFARENUMBER$4, i);
                      return target;
                    }
                }
                
                /**
                 * Appends and returns a new empty value (as xml) as the last "ThoroughfareNumber" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber addNewThoroughfareNumber()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().add_element_user(THOROUGHFARENUMBER$4);
                      return target;
                    }
                }
                
                /**
                 * Removes the ith "ThoroughfareNumber" element
                 */
                public void removeThoroughfareNumber(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(THOROUGHFARENUMBER$4, i);
                    }
                }
                
                /**
                 * Gets array of all "ThoroughfareNumberSuffix" elements
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[] getThoroughfareNumberSuffixArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      java.util.List targetList = new java.util.ArrayList();
                      get_store().find_all_element_users(THOROUGHFARENUMBERSUFFIX$6, targetList);
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[targetList.size()];
                      targetList.toArray(result);
                      return result;
                    }
                }
                
                /**
                 * Gets ith "ThoroughfareNumberSuffix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix getThoroughfareNumberSuffixArray(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().find_element_user(THOROUGHFARENUMBERSUFFIX$6, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      return target;
                    }
                }
                
                /**
                 * Returns number of "ThoroughfareNumberSuffix" element
                 */
                public int sizeOfThoroughfareNumberSuffixArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(THOROUGHFARENUMBERSUFFIX$6);
                    }
                }
                
                /**
                 * Sets array of all "ThoroughfareNumberSuffix" element
                 */
                public void setThoroughfareNumberSuffixArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[] thoroughfareNumberSuffixArray)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      arraySetterHelper(thoroughfareNumberSuffixArray, THOROUGHFARENUMBERSUFFIX$6);
                    }
                }
                
                /**
                 * Sets ith "ThoroughfareNumberSuffix" element
                 */
                public void setThoroughfareNumberSuffixArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix thoroughfareNumberSuffix)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().find_element_user(THOROUGHFARENUMBERSUFFIX$6, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      target.set(thoroughfareNumberSuffix);
                    }
                }
                
                /**
                 * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareNumberSuffix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix insertNewThoroughfareNumberSuffix(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().insert_element_user(THOROUGHFARENUMBERSUFFIX$6, i);
                      return target;
                    }
                }
                
                /**
                 * Appends and returns a new empty value (as xml) as the last "ThoroughfareNumberSuffix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix addNewThoroughfareNumberSuffix()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().add_element_user(THOROUGHFARENUMBERSUFFIX$6);
                      return target;
                    }
                }
                
                /**
                 * Removes the ith "ThoroughfareNumberSuffix" element
                 */
                public void removeThoroughfareNumberSuffix(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(THOROUGHFARENUMBERSUFFIX$6, i);
                    }
                }
                
                /**
                 * 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$8);
                      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$8) != 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$8);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$8);
                      }
                      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$8);
                      return target;
                    }
                }
                
                /**
                 * Unsets the "Code" attribute
                 */
                public void unsetCode()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_attribute(CODE$8);
                    }
                }
            }
            /**
             * An XML ThoroughfareNumberTo(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
             *
             * This is a complex type.
             */
            public static class ThoroughfareNumberToImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.ThoroughfareNumberTo
            {
                private static final long serialVersionUID = 1L;
                
                public ThoroughfareNumberToImpl(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 THOROUGHFARENUMBERPREFIX$2 = 
                    new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumberPrefix");
                private static final javax.xml.namespace.QName THOROUGHFARENUMBER$4 = 
                    new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumber");
                private static final javax.xml.namespace.QName THOROUGHFARENUMBERSUFFIX$6 = 
                    new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumberSuffix");
                private static final javax.xml.namespace.QName CODE$8 = 
                    new javax.xml.namespace.QName("", "Code");
                
                
                /**
                 * 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 "ThoroughfareNumberPrefix" elements
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[] getThoroughfareNumberPrefixArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      java.util.List targetList = new java.util.ArrayList();
                      get_store().find_all_element_users(THOROUGHFARENUMBERPREFIX$2, targetList);
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[targetList.size()];
                      targetList.toArray(result);
                      return result;
                    }
                }
                
                /**
                 * Gets ith "ThoroughfareNumberPrefix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix getThoroughfareNumberPrefixArray(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().find_element_user(THOROUGHFARENUMBERPREFIX$2, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      return target;
                    }
                }
                
                /**
                 * Returns number of "ThoroughfareNumberPrefix" element
                 */
                public int sizeOfThoroughfareNumberPrefixArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(THOROUGHFARENUMBERPREFIX$2);
                    }
                }
                
                /**
                 * Sets array of all "ThoroughfareNumberPrefix" element
                 */
                public void setThoroughfareNumberPrefixArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix[] thoroughfareNumberPrefixArray)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      arraySetterHelper(thoroughfareNumberPrefixArray, THOROUGHFARENUMBERPREFIX$2);
                    }
                }
                
                /**
                 * Sets ith "ThoroughfareNumberPrefix" element
                 */
                public void setThoroughfareNumberPrefixArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix thoroughfareNumberPrefix)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().find_element_user(THOROUGHFARENUMBERPREFIX$2, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      target.set(thoroughfareNumberPrefix);
                    }
                }
                
                /**
                 * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareNumberPrefix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix insertNewThoroughfareNumberPrefix(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().insert_element_user(THOROUGHFARENUMBERPREFIX$2, i);
                      return target;
                    }
                }
                
                /**
                 * Appends and returns a new empty value (as xml) as the last "ThoroughfareNumberPrefix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix addNewThoroughfareNumberPrefix()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberPrefixDocument.ThoroughfareNumberPrefix)get_store().add_element_user(THOROUGHFARENUMBERPREFIX$2);
                      return target;
                    }
                }
                
                /**
                 * Removes the ith "ThoroughfareNumberPrefix" element
                 */
                public void removeThoroughfareNumberPrefix(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(THOROUGHFARENUMBERPREFIX$2, i);
                    }
                }
                
                /**
                 * Gets array of all "ThoroughfareNumber" elements
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[] getThoroughfareNumberArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      java.util.List targetList = new java.util.ArrayList();
                      get_store().find_all_element_users(THOROUGHFARENUMBER$4, targetList);
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[targetList.size()];
                      targetList.toArray(result);
                      return result;
                    }
                }
                
                /**
                 * Gets ith "ThoroughfareNumber" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber getThoroughfareNumberArray(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().find_element_user(THOROUGHFARENUMBER$4, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      return target;
                    }
                }
                
                /**
                 * Returns number of "ThoroughfareNumber" element
                 */
                public int sizeOfThoroughfareNumberArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(THOROUGHFARENUMBER$4);
                    }
                }
                
                /**
                 * Sets array of all "ThoroughfareNumber" element
                 */
                public void setThoroughfareNumberArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber[] thoroughfareNumberArray)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      arraySetterHelper(thoroughfareNumberArray, THOROUGHFARENUMBER$4);
                    }
                }
                
                /**
                 * Sets ith "ThoroughfareNumber" element
                 */
                public void setThoroughfareNumberArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber thoroughfareNumber)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().find_element_user(THOROUGHFARENUMBER$4, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      target.set(thoroughfareNumber);
                    }
                }
                
                /**
                 * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareNumber" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber insertNewThoroughfareNumber(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().insert_element_user(THOROUGHFARENUMBER$4, i);
                      return target;
                    }
                }
                
                /**
                 * Appends and returns a new empty value (as xml) as the last "ThoroughfareNumber" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber addNewThoroughfareNumber()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().add_element_user(THOROUGHFARENUMBER$4);
                      return target;
                    }
                }
                
                /**
                 * Removes the ith "ThoroughfareNumber" element
                 */
                public void removeThoroughfareNumber(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(THOROUGHFARENUMBER$4, i);
                    }
                }
                
                /**
                 * Gets array of all "ThoroughfareNumberSuffix" elements
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[] getThoroughfareNumberSuffixArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      java.util.List targetList = new java.util.ArrayList();
                      get_store().find_all_element_users(THOROUGHFARENUMBERSUFFIX$6, targetList);
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[targetList.size()];
                      targetList.toArray(result);
                      return result;
                    }
                }
                
                /**
                 * Gets ith "ThoroughfareNumberSuffix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix getThoroughfareNumberSuffixArray(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().find_element_user(THOROUGHFARENUMBERSUFFIX$6, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      return target;
                    }
                }
                
                /**
                 * Returns number of "ThoroughfareNumberSuffix" element
                 */
                public int sizeOfThoroughfareNumberSuffixArray()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(THOROUGHFARENUMBERSUFFIX$6);
                    }
                }
                
                /**
                 * Sets array of all "ThoroughfareNumberSuffix" element
                 */
                public void setThoroughfareNumberSuffixArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix[] thoroughfareNumberSuffixArray)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      arraySetterHelper(thoroughfareNumberSuffixArray, THOROUGHFARENUMBERSUFFIX$6);
                    }
                }
                
                /**
                 * Sets ith "ThoroughfareNumberSuffix" element
                 */
                public void setThoroughfareNumberSuffixArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix thoroughfareNumberSuffix)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().find_element_user(THOROUGHFARENUMBERSUFFIX$6, i);
                      if (target == null)
                      {
                        throw new IndexOutOfBoundsException();
                      }
                      target.set(thoroughfareNumberSuffix);
                    }
                }
                
                /**
                 * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareNumberSuffix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix insertNewThoroughfareNumberSuffix(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().insert_element_user(THOROUGHFARENUMBERSUFFIX$6, i);
                      return target;
                    }
                }
                
                /**
                 * Appends and returns a new empty value (as xml) as the last "ThoroughfareNumberSuffix" element
                 */
                public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix addNewThoroughfareNumberSuffix()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix target = null;
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberSuffixDocument.ThoroughfareNumberSuffix)get_store().add_element_user(THOROUGHFARENUMBERSUFFIX$6);
                      return target;
                    }
                }
                
                /**
                 * Removes the ith "ThoroughfareNumberSuffix" element
                 */
                public void removeThoroughfareNumberSuffix(int i)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(THOROUGHFARENUMBERSUFFIX$6, i);
                    }
                }
                
                /**
                 * 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$8);
                      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$8) != 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$8);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$8);
                      }
                      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$8);
                      return target;
                    }
                }
                
                /**
                 * Unsets the "Code" attribute
                 */
                public void unsetCode()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_attribute(CODE$8);
                    }
                }
            }
            /**
             * An XML RangeType(@).
             *
             * This is an atomic type that is a restriction of x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument$Thoroughfare$ThoroughfareNumberRange$RangeType.
             */
            public static class RangeTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.RangeType
            {
                private static final long serialVersionUID = 1L;
                
                public RangeTypeImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType, false);
                }
                
                protected RangeTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                {
                    super(sType, b);
                }
            }
            /**
             * An XML IndicatorOccurrence(@).
             *
             * This is an atomic type that is a restriction of x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument$Thoroughfare$ThoroughfareNumberRange$IndicatorOccurrence.
             */
            public static class IndicatorOccurrenceImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.IndicatorOccurrence
            {
                private static final long serialVersionUID = 1L;
                
                public IndicatorOccurrenceImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType, false);
                }
                
                protected IndicatorOccurrenceImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                {
                    super(sType, b);
                }
            }
            /**
             * An XML NumberRangeOccurrence(@).
             *
             * This is an atomic type that is a restriction of x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument$Thoroughfare$ThoroughfareNumberRange$NumberRangeOccurrence.
             */
            public static class NumberRangeOccurrenceImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.ThoroughfareNumberRange.NumberRangeOccurrence
            {
                private static final long serialVersionUID = 1L;
                
                public NumberRangeOccurrenceImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType, false);
                }
                
                protected NumberRangeOccurrenceImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                {
                    super(sType, b);
                }
            }
        }
        /**
         * An XML DependentThoroughfare(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
         *
         * This is a complex type.
         */
        public static class DependentThoroughfareImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfare
        {
            private static final long serialVersionUID = 1L;
            
            public DependentThoroughfareImpl(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 THOROUGHFAREPREDIRECTION$2 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfarePreDirection");
            private static final javax.xml.namespace.QName THOROUGHFARELEADINGTYPE$4 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareLeadingType");
            private static final javax.xml.namespace.QName THOROUGHFARENAME$6 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareName");
            private static final javax.xml.namespace.QName THOROUGHFARETRAILINGTYPE$8 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareTrailingType");
            private static final javax.xml.namespace.QName THOROUGHFAREPOSTDIRECTION$10 = 
                new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfarePostDirection");
            private static final javax.xml.namespace.QName TYPE$12 = 
                new javax.xml.namespace.QName("", "Type");
            
            
            /**
             * 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 the "ThoroughfarePreDirection" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType getThoroughfarePreDirection()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType)get_store().find_element_user(THOROUGHFAREPREDIRECTION$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "ThoroughfarePreDirection" element
             */
            public boolean isSetThoroughfarePreDirection()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(THOROUGHFAREPREDIRECTION$2) != 0;
                }
            }
            
            /**
             * Sets the "ThoroughfarePreDirection" element
             */
            public void setThoroughfarePreDirection(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType thoroughfarePreDirection)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType)get_store().find_element_user(THOROUGHFAREPREDIRECTION$2, 0);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType)get_store().add_element_user(THOROUGHFAREPREDIRECTION$2);
                    }
                    target.set(thoroughfarePreDirection);
                }
            }
            
            /**
             * Appends and returns a new empty "ThoroughfarePreDirection" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType addNewThoroughfarePreDirection()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePreDirectionType)get_store().add_element_user(THOROUGHFAREPREDIRECTION$2);
                    return target;
                }
            }
            
            /**
             * Unsets the "ThoroughfarePreDirection" element
             */
            public void unsetThoroughfarePreDirection()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(THOROUGHFAREPREDIRECTION$2, 0);
                }
            }
            
            /**
             * Gets the "ThoroughfareLeadingType" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType getThoroughfareLeadingType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType)get_store().find_element_user(THOROUGHFARELEADINGTYPE$4, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "ThoroughfareLeadingType" element
             */
            public boolean isSetThoroughfareLeadingType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(THOROUGHFARELEADINGTYPE$4) != 0;
                }
            }
            
            /**
             * Sets the "ThoroughfareLeadingType" element
             */
            public void setThoroughfareLeadingType(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType thoroughfareLeadingType)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType)get_store().find_element_user(THOROUGHFARELEADINGTYPE$4, 0);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType)get_store().add_element_user(THOROUGHFARELEADINGTYPE$4);
                    }
                    target.set(thoroughfareLeadingType);
                }
            }
            
            /**
             * Appends and returns a new empty "ThoroughfareLeadingType" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType addNewThoroughfareLeadingType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareLeadingTypeType)get_store().add_element_user(THOROUGHFARELEADINGTYPE$4);
                    return target;
                }
            }
            
            /**
             * Unsets the "ThoroughfareLeadingType" element
             */
            public void unsetThoroughfareLeadingType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(THOROUGHFARELEADINGTYPE$4, 0);
                }
            }
            
            /**
             * Gets array of all "ThoroughfareName" elements
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType[] getThoroughfareNameArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(THOROUGHFARENAME$6, targetList);
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets ith "ThoroughfareName" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType getThoroughfareNameArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType)get_store().find_element_user(THOROUGHFARENAME$6, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "ThoroughfareName" element
             */
            public int sizeOfThoroughfareNameArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(THOROUGHFARENAME$6);
                }
            }
            
            /**
             * Sets array of all "ThoroughfareName" element
             */
            public void setThoroughfareNameArray(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType[] thoroughfareNameArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(thoroughfareNameArray, THOROUGHFARENAME$6);
                }
            }
            
            /**
             * Sets ith "ThoroughfareName" element
             */
            public void setThoroughfareNameArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType thoroughfareName)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType)get_store().find_element_user(THOROUGHFARENAME$6, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(thoroughfareName);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "ThoroughfareName" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType insertNewThoroughfareName(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType)get_store().insert_element_user(THOROUGHFARENAME$6, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "ThoroughfareName" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType addNewThoroughfareName()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNameType)get_store().add_element_user(THOROUGHFARENAME$6);
                    return target;
                }
            }
            
            /**
             * Removes the ith "ThoroughfareName" element
             */
            public void removeThoroughfareName(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(THOROUGHFARENAME$6, i);
                }
            }
            
            /**
             * Gets the "ThoroughfareTrailingType" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType getThoroughfareTrailingType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType)get_store().find_element_user(THOROUGHFARETRAILINGTYPE$8, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "ThoroughfareTrailingType" element
             */
            public boolean isSetThoroughfareTrailingType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(THOROUGHFARETRAILINGTYPE$8) != 0;
                }
            }
            
            /**
             * Sets the "ThoroughfareTrailingType" element
             */
            public void setThoroughfareTrailingType(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType thoroughfareTrailingType)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType)get_store().find_element_user(THOROUGHFARETRAILINGTYPE$8, 0);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType)get_store().add_element_user(THOROUGHFARETRAILINGTYPE$8);
                    }
                    target.set(thoroughfareTrailingType);
                }
            }
            
            /**
             * Appends and returns a new empty "ThoroughfareTrailingType" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType addNewThoroughfareTrailingType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareTrailingTypeType)get_store().add_element_user(THOROUGHFARETRAILINGTYPE$8);
                    return target;
                }
            }
            
            /**
             * Unsets the "ThoroughfareTrailingType" element
             */
            public void unsetThoroughfareTrailingType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(THOROUGHFARETRAILINGTYPE$8, 0);
                }
            }
            
            /**
             * Gets the "ThoroughfarePostDirection" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType getThoroughfarePostDirection()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType)get_store().find_element_user(THOROUGHFAREPOSTDIRECTION$10, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "ThoroughfarePostDirection" element
             */
            public boolean isSetThoroughfarePostDirection()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(THOROUGHFAREPOSTDIRECTION$10) != 0;
                }
            }
            
            /**
             * Sets the "ThoroughfarePostDirection" element
             */
            public void setThoroughfarePostDirection(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType thoroughfarePostDirection)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType)get_store().find_element_user(THOROUGHFAREPOSTDIRECTION$10, 0);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType)get_store().add_element_user(THOROUGHFAREPOSTDIRECTION$10);
                    }
                    target.set(thoroughfarePostDirection);
                }
            }
            
            /**
             * Appends and returns a new empty "ThoroughfarePostDirection" element
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType addNewThoroughfarePostDirection()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfarePostDirectionType)get_store().add_element_user(THOROUGHFAREPOSTDIRECTION$10);
                    return target;
                }
            }
            
            /**
             * Unsets the "ThoroughfarePostDirection" element
             */
            public void unsetThoroughfarePostDirection()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(THOROUGHFAREPOSTDIRECTION$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);
                }
            }
        }
        /**
         * An XML DependentThoroughfares(@).
         *
         * This is an atomic type that is a restriction of x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument$Thoroughfare$DependentThoroughfares.
         */
        public static class DependentThoroughfaresImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareDocument.Thoroughfare.DependentThoroughfares
        {
            private static final long serialVersionUID = 1L;
            
            public DependentThoroughfaresImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType, false);
            }
            
            protected DependentThoroughfaresImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
            {
                super(sType, b);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy