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

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

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: PostBox
 * Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
 * Java type: x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument
 *
 * Automatically generated - do not modify.
 */
package x0.oasisNamesTcCiqXsdschemaXAL2.impl;
/**
 * A document containing one PostBox(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0) element.
 *
 * This is a complex type.
 */
public class PostBoxDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument
{
    private static final long serialVersionUID = 1L;
    
    public PostBoxDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName POSTBOX$0 = 
        new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostBox");
    
    
    /**
     * Gets the "PostBox" element
     */
    public x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox getPostBox()
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox)get_store().find_element_user(POSTBOX$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "PostBox" element
     */
    public void setPostBox(x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox postBox)
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox)get_store().find_element_user(POSTBOX$0, 0);
            if (target == null)
            {
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox)get_store().add_element_user(POSTBOX$0);
            }
            target.set(postBox);
        }
    }
    
    /**
     * Appends and returns a new empty "PostBox" element
     */
    public x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox addNewPostBox()
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox)get_store().add_element_user(POSTBOX$0);
            return target;
        }
    }
    /**
     * An XML PostBox(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
     *
     * This is a complex type.
     */
    public static class PostBoxImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox
    {
        private static final long serialVersionUID = 1L;
        
        public PostBoxImpl(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 POSTBOXNUMBER$2 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostBoxNumber");
        private static final javax.xml.namespace.QName POSTBOXNUMBERPREFIX$4 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostBoxNumberPrefix");
        private static final javax.xml.namespace.QName POSTBOXNUMBERSUFFIX$6 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostBoxNumberSuffix");
        private static final javax.xml.namespace.QName POSTBOXNUMBEREXTENSION$8 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostBoxNumberExtension");
        private static final javax.xml.namespace.QName FIRM$10 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "Firm");
        private static final javax.xml.namespace.QName POSTALCODE$12 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostalCode");
        private static final javax.xml.namespace.QName TYPE$14 = 
            new javax.xml.namespace.QName("", "Type");
        private static final javax.xml.namespace.QName INDICATOR$16 = 
            new javax.xml.namespace.QName("", "Indicator");
        
        
        /**
         * Gets array of all "AddressLine" elements
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] getAddressLineArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(ADDRESSLINE$0, targetList);
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "AddressLine" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine getAddressLineArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().find_element_user(ADDRESSLINE$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "AddressLine" element
         */
        public int sizeOfAddressLineArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ADDRESSLINE$0);
            }
        }
        
        /**
         * Sets array of all "AddressLine" element
         */
        public void setAddressLineArray(x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] addressLineArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(addressLineArray, ADDRESSLINE$0);
            }
        }
        
        /**
         * Sets ith "AddressLine" element
         */
        public void setAddressLineArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine addressLine)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().find_element_user(ADDRESSLINE$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(addressLine);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "AddressLine" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine insertNewAddressLine(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().insert_element_user(ADDRESSLINE$0, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "AddressLine" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine addNewAddressLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().add_element_user(ADDRESSLINE$0);
                return target;
            }
        }
        
        /**
         * Removes the ith "AddressLine" element
         */
        public void removeAddressLine(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ADDRESSLINE$0, i);
            }
        }
        
        /**
         * Gets the "PostBoxNumber" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber getPostBoxNumber()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber)get_store().find_element_user(POSTBOXNUMBER$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "PostBoxNumber" element
         */
        public void setPostBoxNumber(x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber postBoxNumber)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber)get_store().find_element_user(POSTBOXNUMBER$2, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber)get_store().add_element_user(POSTBOXNUMBER$2);
                }
                target.set(postBoxNumber);
            }
        }
        
        /**
         * Appends and returns a new empty "PostBoxNumber" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber addNewPostBoxNumber()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber)get_store().add_element_user(POSTBOXNUMBER$2);
                return target;
            }
        }
        
        /**
         * Gets the "PostBoxNumberPrefix" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix getPostBoxNumberPrefix()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix)get_store().find_element_user(POSTBOXNUMBERPREFIX$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PostBoxNumberPrefix" element
         */
        public boolean isSetPostBoxNumberPrefix()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(POSTBOXNUMBERPREFIX$4) != 0;
            }
        }
        
        /**
         * Sets the "PostBoxNumberPrefix" element
         */
        public void setPostBoxNumberPrefix(x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix postBoxNumberPrefix)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix)get_store().find_element_user(POSTBOXNUMBERPREFIX$4, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix)get_store().add_element_user(POSTBOXNUMBERPREFIX$4);
                }
                target.set(postBoxNumberPrefix);
            }
        }
        
        /**
         * Appends and returns a new empty "PostBoxNumberPrefix" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix addNewPostBoxNumberPrefix()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix)get_store().add_element_user(POSTBOXNUMBERPREFIX$4);
                return target;
            }
        }
        
        /**
         * Unsets the "PostBoxNumberPrefix" element
         */
        public void unsetPostBoxNumberPrefix()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTBOXNUMBERPREFIX$4, 0);
            }
        }
        
        /**
         * Gets the "PostBoxNumberSuffix" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix getPostBoxNumberSuffix()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix)get_store().find_element_user(POSTBOXNUMBERSUFFIX$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PostBoxNumberSuffix" element
         */
        public boolean isSetPostBoxNumberSuffix()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(POSTBOXNUMBERSUFFIX$6) != 0;
            }
        }
        
        /**
         * Sets the "PostBoxNumberSuffix" element
         */
        public void setPostBoxNumberSuffix(x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix postBoxNumberSuffix)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix)get_store().find_element_user(POSTBOXNUMBERSUFFIX$6, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix)get_store().add_element_user(POSTBOXNUMBERSUFFIX$6);
                }
                target.set(postBoxNumberSuffix);
            }
        }
        
        /**
         * Appends and returns a new empty "PostBoxNumberSuffix" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix addNewPostBoxNumberSuffix()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix)get_store().add_element_user(POSTBOXNUMBERSUFFIX$6);
                return target;
            }
        }
        
        /**
         * Unsets the "PostBoxNumberSuffix" element
         */
        public void unsetPostBoxNumberSuffix()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTBOXNUMBERSUFFIX$6, 0);
            }
        }
        
        /**
         * Gets the "PostBoxNumberExtension" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension getPostBoxNumberExtension()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension)get_store().find_element_user(POSTBOXNUMBEREXTENSION$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PostBoxNumberExtension" element
         */
        public boolean isSetPostBoxNumberExtension()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(POSTBOXNUMBEREXTENSION$8) != 0;
            }
        }
        
        /**
         * Sets the "PostBoxNumberExtension" element
         */
        public void setPostBoxNumberExtension(x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension postBoxNumberExtension)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension)get_store().find_element_user(POSTBOXNUMBEREXTENSION$8, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension)get_store().add_element_user(POSTBOXNUMBEREXTENSION$8);
                }
                target.set(postBoxNumberExtension);
            }
        }
        
        /**
         * Appends and returns a new empty "PostBoxNumberExtension" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension addNewPostBoxNumberExtension()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension)get_store().add_element_user(POSTBOXNUMBEREXTENSION$8);
                return target;
            }
        }
        
        /**
         * Unsets the "PostBoxNumberExtension" element
         */
        public void unsetPostBoxNumberExtension()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTBOXNUMBEREXTENSION$8, 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$10, 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$10) != 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$10, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.FirmType)get_store().add_element_user(FIRM$10);
                }
                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$10);
                return target;
            }
        }
        
        /**
         * Unsets the "Firm" element
         */
        public void unsetFirm()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(FIRM$10, 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$12, 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$12) != 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$12, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().add_element_user(POSTALCODE$12);
                }
                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$12);
                return target;
            }
        }
        
        /**
         * Unsets the "PostalCode" element
         */
        public void unsetPostalCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTALCODE$12, 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$14);
                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$14) != 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$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$14);
                }
                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$14);
                return target;
            }
        }
        
        /**
         * Unsets the "Type" attribute
         */
        public void unsetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(TYPE$14);
            }
        }
        
        /**
         * Gets the "Indicator" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(INDICATOR$16);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Indicator" attribute
         */
        public boolean isSetIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(INDICATOR$16) != null;
            }
        }
        
        /**
         * Sets the "Indicator" attribute
         */
        public void setIndicator(org.apache.xmlbeans.XmlAnySimpleType indicator)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(INDICATOR$16);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$16);
                }
                target.set(indicator);
            }
        }
        
        /**
         * Appends and returns a new empty "Indicator" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$16);
                return target;
            }
        }
        
        /**
         * Unsets the "Indicator" attribute
         */
        public void unsetIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(INDICATOR$16);
            }
        }
        /**
         * An XML PostBoxNumber(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
         *
         * This is a complex type.
         */
        public static class PostBoxNumberImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumber
        {
            private static final long serialVersionUID = 1L;
            
            public PostBoxNumberImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName CODE$0 = 
                new javax.xml.namespace.QName("", "Code");
            
            
            /**
             * 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$0);
                    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$0) != 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$0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$0);
                    }
                    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$0);
                    return target;
                }
            }
            
            /**
             * Unsets the "Code" attribute
             */
            public void unsetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(CODE$0);
                }
            }
        }
        /**
         * An XML PostBoxNumberPrefix(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
         *
         * This is a complex type.
         */
        public static class PostBoxNumberPrefixImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberPrefix
        {
            private static final long serialVersionUID = 1L;
            
            public PostBoxNumberPrefixImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName NUMBERPREFIXSEPARATOR$0 = 
                new javax.xml.namespace.QName("", "NumberPrefixSeparator");
            private static final javax.xml.namespace.QName CODE$2 = 
                new javax.xml.namespace.QName("", "Code");
            
            
            /**
             * Gets the "NumberPrefixSeparator" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getNumberPrefixSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(NUMBERPREFIXSEPARATOR$0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "NumberPrefixSeparator" attribute
             */
            public boolean isSetNumberPrefixSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(NUMBERPREFIXSEPARATOR$0) != null;
                }
            }
            
            /**
             * Sets the "NumberPrefixSeparator" attribute
             */
            public void setNumberPrefixSeparator(org.apache.xmlbeans.XmlAnySimpleType numberPrefixSeparator)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(NUMBERPREFIXSEPARATOR$0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(NUMBERPREFIXSEPARATOR$0);
                    }
                    target.set(numberPrefixSeparator);
                }
            }
            
            /**
             * Appends and returns a new empty "NumberPrefixSeparator" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewNumberPrefixSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(NUMBERPREFIXSEPARATOR$0);
                    return target;
                }
            }
            
            /**
             * Unsets the "NumberPrefixSeparator" attribute
             */
            public void unsetNumberPrefixSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(NUMBERPREFIXSEPARATOR$0);
                }
            }
            
            /**
             * Gets the "Code" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$2);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Code" attribute
             */
            public boolean isSetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(CODE$2) != null;
                }
            }
            
            /**
             * Sets the "Code" attribute
             */
            public void setCode(org.apache.xmlbeans.XmlAnySimpleType code)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$2);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
                    }
                    target.set(code);
                }
            }
            
            /**
             * Appends and returns a new empty "Code" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
                    return target;
                }
            }
            
            /**
             * Unsets the "Code" attribute
             */
            public void unsetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(CODE$2);
                }
            }
        }
        /**
         * An XML PostBoxNumberSuffix(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
         *
         * This is a complex type.
         */
        public static class PostBoxNumberSuffixImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberSuffix
        {
            private static final long serialVersionUID = 1L;
            
            public PostBoxNumberSuffixImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName NUMBERSUFFIXSEPARATOR$0 = 
                new javax.xml.namespace.QName("", "NumberSuffixSeparator");
            private static final javax.xml.namespace.QName CODE$2 = 
                new javax.xml.namespace.QName("", "Code");
            
            
            /**
             * Gets the "NumberSuffixSeparator" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getNumberSuffixSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(NUMBERSUFFIXSEPARATOR$0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "NumberSuffixSeparator" attribute
             */
            public boolean isSetNumberSuffixSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(NUMBERSUFFIXSEPARATOR$0) != null;
                }
            }
            
            /**
             * Sets the "NumberSuffixSeparator" attribute
             */
            public void setNumberSuffixSeparator(org.apache.xmlbeans.XmlAnySimpleType numberSuffixSeparator)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(NUMBERSUFFIXSEPARATOR$0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(NUMBERSUFFIXSEPARATOR$0);
                    }
                    target.set(numberSuffixSeparator);
                }
            }
            
            /**
             * Appends and returns a new empty "NumberSuffixSeparator" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewNumberSuffixSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(NUMBERSUFFIXSEPARATOR$0);
                    return target;
                }
            }
            
            /**
             * Unsets the "NumberSuffixSeparator" attribute
             */
            public void unsetNumberSuffixSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(NUMBERSUFFIXSEPARATOR$0);
                }
            }
            
            /**
             * Gets the "Code" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$2);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Code" attribute
             */
            public boolean isSetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(CODE$2) != null;
                }
            }
            
            /**
             * Sets the "Code" attribute
             */
            public void setCode(org.apache.xmlbeans.XmlAnySimpleType code)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$2);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
                    }
                    target.set(code);
                }
            }
            
            /**
             * Appends and returns a new empty "Code" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
                    return target;
                }
            }
            
            /**
             * Unsets the "Code" attribute
             */
            public void unsetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(CODE$2);
                }
            }
        }
        /**
         * An XML PostBoxNumberExtension(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
         *
         * This is a complex type.
         */
        public static class PostBoxNumberExtensionImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox.PostBoxNumberExtension
        {
            private static final long serialVersionUID = 1L;
            
            public PostBoxNumberExtensionImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName NUMBEREXTENSIONSEPARATOR$0 = 
                new javax.xml.namespace.QName("", "NumberExtensionSeparator");
            
            
            /**
             * Gets the "NumberExtensionSeparator" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getNumberExtensionSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(NUMBEREXTENSIONSEPARATOR$0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "NumberExtensionSeparator" attribute
             */
            public boolean isSetNumberExtensionSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(NUMBEREXTENSIONSEPARATOR$0) != null;
                }
            }
            
            /**
             * Sets the "NumberExtensionSeparator" attribute
             */
            public void setNumberExtensionSeparator(org.apache.xmlbeans.XmlAnySimpleType numberExtensionSeparator)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(NUMBEREXTENSIONSEPARATOR$0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(NUMBEREXTENSIONSEPARATOR$0);
                    }
                    target.set(numberExtensionSeparator);
                }
            }
            
            /**
             * Appends and returns a new empty "NumberExtensionSeparator" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewNumberExtensionSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(NUMBEREXTENSIONSEPARATOR$0);
                    return target;
                }
            }
            
            /**
             * Unsets the "NumberExtensionSeparator" attribute
             */
            public void unsetNumberExtensionSeparator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(NUMBEREXTENSIONSEPARATOR$0);
                }
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy