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

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

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: ThoroughfareNumber
 * Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
 * Java type: x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument
 *
 * Automatically generated - do not modify.
 */
package x0.oasisNamesTcCiqXsdschemaXAL2.impl;
/**
 * A document containing one ThoroughfareNumber(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0) element.
 *
 * This is a complex type.
 */
public class ThoroughfareNumberDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument
{
    private static final long serialVersionUID = 1L;
    
    public ThoroughfareNumberDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName THOROUGHFARENUMBER$0 = 
        new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "ThoroughfareNumber");
    
    
    /**
     * Gets the "ThoroughfareNumber" element
     */
    public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber getThoroughfareNumber()
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().find_element_user(THOROUGHFARENUMBER$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "ThoroughfareNumber" element
     */
    public void setThoroughfareNumber(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber thoroughfareNumber)
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().find_element_user(THOROUGHFARENUMBER$0, 0);
            if (target == null)
            {
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().add_element_user(THOROUGHFARENUMBER$0);
            }
            target.set(thoroughfareNumber);
        }
    }
    
    /**
     * Appends and returns a new empty "ThoroughfareNumber" element
     */
    public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber addNewThoroughfareNumber()
    {
        synchronized (monitor())
        {
            check_orphaned();
            x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber target = null;
            target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber)get_store().add_element_user(THOROUGHFARENUMBER$0);
            return target;
        }
    }
    /**
     * An XML ThoroughfareNumber(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
     *
     * This is a complex type.
     */
    public static class ThoroughfareNumberImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber
    {
        private static final long serialVersionUID = 1L;
        
        public ThoroughfareNumberImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName NUMBERTYPE$0 = 
            new javax.xml.namespace.QName("", "NumberType");
        private static final javax.xml.namespace.QName TYPE$2 = 
            new javax.xml.namespace.QName("", "Type");
        private static final javax.xml.namespace.QName INDICATOR$4 = 
            new javax.xml.namespace.QName("", "Indicator");
        private static final javax.xml.namespace.QName INDICATOROCCURRENCE$6 = 
            new javax.xml.namespace.QName("", "IndicatorOccurrence");
        private static final javax.xml.namespace.QName NUMBEROCCURRENCE$8 = 
            new javax.xml.namespace.QName("", "NumberOccurrence");
        private static final javax.xml.namespace.QName CODE$10 = 
            new javax.xml.namespace.QName("", "Code");
        
        
        /**
         * Gets the "NumberType" attribute
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType.Enum getNumberType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NUMBERTYPE$0);
                if (target == null)
                {
                    return null;
                }
                return (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "NumberType" attribute
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType xgetNumberType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType)get_store().find_attribute_user(NUMBERTYPE$0);
                return target;
            }
        }
        
        /**
         * True if has "NumberType" attribute
         */
        public boolean isSetNumberType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(NUMBERTYPE$0) != null;
            }
        }
        
        /**
         * Sets the "NumberType" attribute
         */
        public void setNumberType(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType.Enum numberType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NUMBERTYPE$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NUMBERTYPE$0);
                }
                target.setEnumValue(numberType);
            }
        }
        
        /**
         * Sets (as xml) the "NumberType" attribute
         */
        public void xsetNumberType(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType numberType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType)get_store().find_attribute_user(NUMBERTYPE$0);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType)get_store().add_attribute_user(NUMBERTYPE$0);
                }
                target.set(numberType);
            }
        }
        
        /**
         * Unsets the "NumberType" attribute
         */
        public void unsetNumberType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(NUMBERTYPE$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$2);
                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$2) != 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$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$2);
                }
                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$2);
                return target;
            }
        }
        
        /**
         * Unsets the "Type" attribute
         */
        public void unsetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(TYPE$2);
            }
        }
        
        /**
         * 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$4);
                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$4) != 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$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(INDICATOR$4);
                }
                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$4);
                return target;
            }
        }
        
        /**
         * Unsets the "Indicator" attribute
         */
        public void unsetIndicator()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(INDICATOR$4);
            }
        }
        
        /**
         * Gets the "IndicatorOccurrence" attribute
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence.Enum getIndicatorOccurrence()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INDICATOROCCURRENCE$6);
                if (target == null)
                {
                    return null;
                }
                return (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "IndicatorOccurrence" attribute
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence xgetIndicatorOccurrence()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence)get_store().find_attribute_user(INDICATOROCCURRENCE$6);
                return target;
            }
        }
        
        /**
         * True if has "IndicatorOccurrence" attribute
         */
        public boolean isSetIndicatorOccurrence()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(INDICATOROCCURRENCE$6) != null;
            }
        }
        
        /**
         * Sets the "IndicatorOccurrence" attribute
         */
        public void setIndicatorOccurrence(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence.Enum indicatorOccurrence)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INDICATOROCCURRENCE$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(INDICATOROCCURRENCE$6);
                }
                target.setEnumValue(indicatorOccurrence);
            }
        }
        
        /**
         * Sets (as xml) the "IndicatorOccurrence" attribute
         */
        public void xsetIndicatorOccurrence(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence indicatorOccurrence)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence)get_store().find_attribute_user(INDICATOROCCURRENCE$6);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence)get_store().add_attribute_user(INDICATOROCCURRENCE$6);
                }
                target.set(indicatorOccurrence);
            }
        }
        
        /**
         * Unsets the "IndicatorOccurrence" attribute
         */
        public void unsetIndicatorOccurrence()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(INDICATOROCCURRENCE$6);
            }
        }
        
        /**
         * Gets the "NumberOccurrence" attribute
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence.Enum getNumberOccurrence()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NUMBEROCCURRENCE$8);
                if (target == null)
                {
                    return null;
                }
                return (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "NumberOccurrence" attribute
         */
        public x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence xgetNumberOccurrence()
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence)get_store().find_attribute_user(NUMBEROCCURRENCE$8);
                return target;
            }
        }
        
        /**
         * True if has "NumberOccurrence" attribute
         */
        public boolean isSetNumberOccurrence()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(NUMBEROCCURRENCE$8) != null;
            }
        }
        
        /**
         * Sets the "NumberOccurrence" attribute
         */
        public void setNumberOccurrence(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence.Enum numberOccurrence)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NUMBEROCCURRENCE$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NUMBEROCCURRENCE$8);
                }
                target.setEnumValue(numberOccurrence);
            }
        }
        
        /**
         * Sets (as xml) the "NumberOccurrence" attribute
         */
        public void xsetNumberOccurrence(x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence numberOccurrence)
        {
            synchronized (monitor())
            {
                check_orphaned();
                x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence target = null;
                target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence)get_store().find_attribute_user(NUMBEROCCURRENCE$8);
                if (target == null)
                {
                    target = (x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence)get_store().add_attribute_user(NUMBEROCCURRENCE$8);
                }
                target.set(numberOccurrence);
            }
        }
        
        /**
         * Unsets the "NumberOccurrence" attribute
         */
        public void unsetNumberOccurrence()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(NUMBEROCCURRENCE$8);
            }
        }
        
        /**
         * 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$10);
                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$10) != 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$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$10);
                }
                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$10);
                return target;
            }
        }
        
        /**
         * Unsets the "Code" attribute
         */
        public void unsetCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(CODE$10);
            }
        }
        /**
         * An XML NumberType(@).
         *
         * This is an atomic type that is a restriction of x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument$ThoroughfareNumber$NumberType.
         */
        public static class NumberTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberType
        {
            private static final long serialVersionUID = 1L;
            
            public NumberTypeImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType, false);
            }
            
            protected NumberTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
            {
                super(sType, b);
            }
        }
        /**
         * An XML IndicatorOccurrence(@).
         *
         * This is an atomic type that is a restriction of x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument$ThoroughfareNumber$IndicatorOccurrence.
         */
        public static class IndicatorOccurrenceImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.IndicatorOccurrence
        {
            private static final long serialVersionUID = 1L;
            
            public IndicatorOccurrenceImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType, false);
            }
            
            protected IndicatorOccurrenceImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
            {
                super(sType, b);
            }
        }
        /**
         * An XML NumberOccurrence(@).
         *
         * This is an atomic type that is a restriction of x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument$ThoroughfareNumber$NumberOccurrence.
         */
        public static class NumberOccurrenceImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements x0.oasisNamesTcCiqXsdschemaXAL2.ThoroughfareNumberDocument.ThoroughfareNumber.NumberOccurrence
        {
            private static final long serialVersionUID = 1L;
            
            public NumberOccurrenceImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType, false);
            }
            
            protected NumberOccurrenceImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
            {
                super(sType, b);
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy