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

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

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: PostOffice
 * Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
 * Java type: x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument
 *
 * Automatically generated - do not modify.
 */
package x0.oasisNamesTcCiqXsdschemaXAL2.impl;
/**
 * A document containing one PostOffice(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0) element.
 *
 * This is a complex type.
 */
public class PostOfficeDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument
{
    private static final long serialVersionUID = 1L;
    
    public PostOfficeDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName POSTOFFICE$0 = 
        new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostOffice");
    
    
    /**
     * Gets the "PostOffice" element
     */
    public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice getPostOffice()
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().find_element_user(POSTOFFICE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "PostOffice" element
     */
    public void setPostOffice(x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice postOffice)
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().find_element_user(POSTOFFICE$0, 0);
            if (target == null)
            {
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().add_element_user(POSTOFFICE$0);
            }
            target.set(postOffice);
        }
    }
    
    /**
     * Appends and returns a new empty "PostOffice" element
     */
    public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice addNewPostOffice()
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice)get_store().add_element_user(POSTOFFICE$0);
            return target;
        }
    }
    /**
     * An XML PostOffice(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
     *
     * This is a complex type.
     */
    public static class PostOfficeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice
    {
        private static final long serialVersionUID = 1L;
        
        public PostOfficeImpl(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 POSTOFFICENAME$2 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostOfficeName");
        private static final javax.xml.namespace.QName POSTOFFICENUMBER$4 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostOfficeNumber");
        private static final javax.xml.namespace.QName POSTALROUTE$6 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostalRoute");
        private static final javax.xml.namespace.QName POSTBOX$8 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostBox");
        private static final javax.xml.namespace.QName POSTALCODE$10 = 
            new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PostalCode");
        private static final javax.xml.namespace.QName TYPE$12 = 
            new javax.xml.namespace.QName("", "Type");
        private static final javax.xml.namespace.QName INDICATOR$14 = 
            new javax.xml.namespace.QName("", "Indicator");
        
        
        /**
         * Gets array of all "AddressLine" elements
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] getAddressLineArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(ADDRESSLINE$0, targetList);
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "AddressLine" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine getAddressLineArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().find_element_user(ADDRESSLINE$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "AddressLine" element
         */
        public int sizeOfAddressLineArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ADDRESSLINE$0);
            }
        }
        
        /**
         * Sets array of all "AddressLine" element
         */
        public void setAddressLineArray(x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine[] addressLineArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(addressLineArray, ADDRESSLINE$0);
            }
        }
        
        /**
         * Sets ith "AddressLine" element
         */
        public void setAddressLineArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine addressLine)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().find_element_user(ADDRESSLINE$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(addressLine);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "AddressLine" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine insertNewAddressLine(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().insert_element_user(ADDRESSLINE$0, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "AddressLine" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine addNewAddressLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().add_element_user(ADDRESSLINE$0);
                return target;
            }
        }
        
        /**
         * Removes the ith "AddressLine" element
         */
        public void removeAddressLine(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ADDRESSLINE$0, i);
            }
        }
        
        /**
         * Gets array of all "PostOfficeName" elements
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName[] getPostOfficeNameArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(POSTOFFICENAME$2, targetList);
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName[] result = new x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "PostOfficeName" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName getPostOfficeNameArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName)get_store().find_element_user(POSTOFFICENAME$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "PostOfficeName" element
         */
        public int sizeOfPostOfficeNameArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(POSTOFFICENAME$2);
            }
        }
        
        /**
         * Sets array of all "PostOfficeName" element
         */
        public void setPostOfficeNameArray(x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName[] postOfficeNameArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(postOfficeNameArray, POSTOFFICENAME$2);
            }
        }
        
        /**
         * Sets ith "PostOfficeName" element
         */
        public void setPostOfficeNameArray(int i, x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName postOfficeName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName)get_store().find_element_user(POSTOFFICENAME$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(postOfficeName);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "PostOfficeName" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName insertNewPostOfficeName(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName)get_store().insert_element_user(POSTOFFICENAME$2, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "PostOfficeName" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName addNewPostOfficeName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName)get_store().add_element_user(POSTOFFICENAME$2);
                return target;
            }
        }
        
        /**
         * Removes the ith "PostOfficeName" element
         */
        public void removePostOfficeName(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTOFFICENAME$2, i);
            }
        }
        
        /**
         * Gets the "PostOfficeNumber" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber getPostOfficeNumber()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber)get_store().find_element_user(POSTOFFICENUMBER$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PostOfficeNumber" element
         */
        public boolean isSetPostOfficeNumber()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(POSTOFFICENUMBER$4) != 0;
            }
        }
        
        /**
         * Sets the "PostOfficeNumber" element
         */
        public void setPostOfficeNumber(x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber postOfficeNumber)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber)get_store().find_element_user(POSTOFFICENUMBER$4, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber)get_store().add_element_user(POSTOFFICENUMBER$4);
                }
                target.set(postOfficeNumber);
            }
        }
        
        /**
         * Appends and returns a new empty "PostOfficeNumber" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber addNewPostOfficeNumber()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber)get_store().add_element_user(POSTOFFICENUMBER$4);
                return target;
            }
        }
        
        /**
         * Unsets the "PostOfficeNumber" element
         */
        public void unsetPostOfficeNumber()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTOFFICENUMBER$4, 0);
            }
        }
        
        /**
         * Gets the "PostalRoute" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostalRouteType getPostalRoute()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostalRouteType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalRouteType)get_store().find_element_user(POSTALROUTE$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PostalRoute" element
         */
        public boolean isSetPostalRoute()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(POSTALROUTE$6) != 0;
            }
        }
        
        /**
         * Sets the "PostalRoute" element
         */
        public void setPostalRoute(x0.oasisNamesTcCiqXsdschemaXAL2.PostalRouteType postalRoute)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostalRouteType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalRouteType)get_store().find_element_user(POSTALROUTE$6, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalRouteType)get_store().add_element_user(POSTALROUTE$6);
                }
                target.set(postalRoute);
            }
        }
        
        /**
         * Appends and returns a new empty "PostalRoute" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostalRouteType addNewPostalRoute()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostalRouteType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalRouteType)get_store().add_element_user(POSTALROUTE$6);
                return target;
            }
        }
        
        /**
         * Unsets the "PostalRoute" element
         */
        public void unsetPostalRoute()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTALROUTE$6, 0);
            }
        }
        
        /**
         * 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$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PostBox" element
         */
        public boolean isSetPostBox()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(POSTBOX$8) != 0;
            }
        }
        
        /**
         * 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$8, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostBoxDocument.PostBox)get_store().add_element_user(POSTBOX$8);
                }
                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$8);
                return target;
            }
        }
        
        /**
         * Unsets the "PostBox" element
         */
        public void unsetPostBox()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTBOX$8, 0);
            }
        }
        
        /**
         * Gets the "PostalCode" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode getPostalCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().find_element_user(POSTALCODE$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PostalCode" element
         */
        public boolean isSetPostalCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(POSTALCODE$10) != 0;
            }
        }
        
        /**
         * Sets the "PostalCode" element
         */
        public void setPostalCode(x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode postalCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().find_element_user(POSTALCODE$10, 0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().add_element_user(POSTALCODE$10);
                }
                target.set(postalCode);
            }
        }
        
        /**
         * Appends and returns a new empty "PostalCode" element
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode addNewPostalCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostalCodeDocument.PostalCode)get_store().add_element_user(POSTALCODE$10);
                return target;
            }
        }
        
        /**
         * Unsets the "PostalCode" element
         */
        public void unsetPostalCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(POSTALCODE$10, 0);
            }
        }
        
        /**
         * Gets the "Type" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$12);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Type" attribute
         */
        public boolean isSetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(TYPE$12) != null;
            }
        }
        
        /**
         * Sets the "Type" attribute
         */
        public void setType(org.apache.xmlbeans.XmlAnySimpleType type)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$12);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$12);
                }
                target.set(type);
            }
        }
        
        /**
         * Appends and returns a new empty "Type" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$12);
                return target;
            }
        }
        
        /**
         * Unsets the "Type" attribute
         */
        public void unsetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(TYPE$12);
            }
        }
        
        /**
         * Gets the "Indicator" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(INDICATOR$14);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Indicator" attribute
         */
        public boolean isSetIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(INDICATOR$14) != null;
            }
        }
        
        /**
         * Sets the "Indicator" attribute
         */
        public void setIndicator(org.apache.xmlbeans.XmlAnySimpleType indicator)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(INDICATOR$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$14);
                }
                target.set(indicator);
            }
        }
        
        /**
         * Appends and returns a new empty "Indicator" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$14);
                return target;
            }
        }
        
        /**
         * Unsets the "Indicator" attribute
         */
        public void unsetIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(INDICATOR$14);
            }
        }
        /**
         * An XML PostOfficeName(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
         *
         * This is a complex type.
         */
        public static class PostOfficeNameImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeName
        {
            private static final long serialVersionUID = 1L;
            
            public PostOfficeNameImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName TYPE$0 = 
                new javax.xml.namespace.QName("", "Type");
            private static final javax.xml.namespace.QName CODE$2 = 
                new javax.xml.namespace.QName("", "Code");
            
            
            /**
             * Gets the "Type" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Type" attribute
             */
            public boolean isSetType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(TYPE$0) != null;
                }
            }
            
            /**
             * Sets the "Type" attribute
             */
            public void setType(org.apache.xmlbeans.XmlAnySimpleType type)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$0);
                    }
                    target.set(type);
                }
            }
            
            /**
             * Appends and returns a new empty "Type" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$0);
                    return target;
                }
            }
            
            /**
             * Unsets the "Type" attribute
             */
            public void unsetType()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(TYPE$0);
                }
            }
            
            /**
             * Gets the "Code" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType getCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$2);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Code" attribute
             */
            public boolean isSetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(CODE$2) != null;
                }
            }
            
            /**
             * Sets the "Code" attribute
             */
            public void setCode(org.apache.xmlbeans.XmlAnySimpleType code)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$2);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
                    }
                    target.set(code);
                }
            }
            
            /**
             * Appends and returns a new empty "Code" attribute
             */
            public org.apache.xmlbeans.XmlAnySimpleType addNewCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlAnySimpleType target = null;
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
                    return target;
                }
            }
            
            /**
             * Unsets the "Code" attribute
             */
            public void unsetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(CODE$2);
                }
            }
        }
        /**
         * An XML PostOfficeNumber(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
         *
         * This is a complex type.
         */
        public static class PostOfficeNumberImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber
        {
            private static final long serialVersionUID = 1L;
            
            public PostOfficeNumberImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName INDICATOR$0 = 
                new javax.xml.namespace.QName("", "Indicator");
            private static final javax.xml.namespace.QName INDICATOROCCURRENCE$2 = 
                new javax.xml.namespace.QName("", "IndicatorOccurrence");
            private static final javax.xml.namespace.QName CODE$4 = 
                new javax.xml.namespace.QName("", "Code");
            
            
            /**
             * 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$0);
                    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$0) != 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$0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$0);
                    }
                    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$0);
                    return target;
                }
            }
            
            /**
             * Unsets the "Indicator" attribute
             */
            public void unsetIndicator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(INDICATOR$0);
                }
            }
            
            /**
             * Gets the "IndicatorOccurrence" attribute
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.IndicatorOccurrence.Enum getIndicatorOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INDICATOROCCURRENCE$2);
                    if (target == null)
                    {
                      return null;
                    }
                    return (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.IndicatorOccurrence.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "IndicatorOccurrence" attribute
             */
            public x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.IndicatorOccurrence xgetIndicatorOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.IndicatorOccurrence target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.IndicatorOccurrence)get_store().find_attribute_user(INDICATOROCCURRENCE$2);
                    return target;
                }
            }
            
            /**
             * True if has "IndicatorOccurrence" attribute
             */
            public boolean isSetIndicatorOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().find_attribute_user(INDICATOROCCURRENCE$2) != null;
                }
            }
            
            /**
             * Sets the "IndicatorOccurrence" attribute
             */
            public void setIndicatorOccurrence(x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.IndicatorOccurrence.Enum indicatorOccurrence)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INDICATOROCCURRENCE$2);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(INDICATOROCCURRENCE$2);
                    }
                    target.setEnumValue(indicatorOccurrence);
                }
            }
            
            /**
             * Sets (as xml) the "IndicatorOccurrence" attribute
             */
            public void xsetIndicatorOccurrence(x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.IndicatorOccurrence indicatorOccurrence)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.IndicatorOccurrence target = null;
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.IndicatorOccurrence)get_store().find_attribute_user(INDICATOROCCURRENCE$2);
                    if (target == null)
                    {
                      target = (x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.IndicatorOccurrence)get_store().add_attribute_user(INDICATOROCCURRENCE$2);
                    }
                    target.set(indicatorOccurrence);
                }
            }
            
            /**
             * Unsets the "IndicatorOccurrence" attribute
             */
            public void unsetIndicatorOccurrence()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(INDICATOROCCURRENCE$2);
                }
            }
            
            /**
             * 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$4);
                    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$4) != 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$4);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$4);
                    }
                    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$4);
                    return target;
                }
            }
            
            /**
             * Unsets the "Code" attribute
             */
            public void unsetCode()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_attribute(CODE$4);
                }
            }
            /**
             * An XML IndicatorOccurrence(@).
             *
             * This is an atomic type that is a restriction of x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument$PostOffice$PostOfficeNumber$IndicatorOccurrence.
             */
            public static class IndicatorOccurrenceImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements x0.oasisNamesTcCiqXsdschemaXAL2.PostOfficeDocument.PostOffice.PostOfficeNumber.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);
                }
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy