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

no.ehelse.xmlstds.eresept.m912.x20211001.impl.MultidoseapotekDocumentImpl Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
/*
 * An XML document type.
 * Localname: Multidoseapotek
 * Namespace: http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01
 * Java type: no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument
 *
 * Automatically generated - do not modify.
 */
package no.ehelse.xmlstds.eresept.m912.x20211001.impl;
/**
 * A document containing one Multidoseapotek(@http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01) element.
 *
 * This is a complex type.
 */
public class MultidoseapotekDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument
{
    private static final long serialVersionUID = 1L;
    
    public MultidoseapotekDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName MULTIDOSEAPOTEK$0 = 
        new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Multidoseapotek");
    
    
    /**
     * Gets the "Multidoseapotek" element
     */
    public no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek getMultidoseapotek()
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek target = null;
            target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek)get_store().find_element_user(MULTIDOSEAPOTEK$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Multidoseapotek" element
     */
    public void setMultidoseapotek(no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek multidoseapotek)
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek target = null;
            target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek)get_store().find_element_user(MULTIDOSEAPOTEK$0, 0);
            if (target == null)
            {
                target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek)get_store().add_element_user(MULTIDOSEAPOTEK$0);
            }
            target.set(multidoseapotek);
        }
    }
    
    /**
     * Appends and returns a new empty "Multidoseapotek" element
     */
    public no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek addNewMultidoseapotek()
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek target = null;
            target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek)get_store().add_element_user(MULTIDOSEAPOTEK$0);
            return target;
        }
    }
    /**
     * An XML Multidoseapotek(@http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01).
     *
     * This is a complex type.
     */
    public static class MultidoseapotekImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek
    {
        private static final long serialVersionUID = 1L;
        
        public MultidoseapotekImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName NAVN$0 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Navn");
        private static final javax.xml.namespace.QName HERID$2 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Herid");
        private static final javax.xml.namespace.QName KONSESJONSNUMMER$4 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Konsesjonsnummer");
        private static final javax.xml.namespace.QName AKTIVTIL$6 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "AktivTil");
        private static final javax.xml.namespace.QName TELEFON$8 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Telefon");
        
        
        /**
         * Gets the "Navn" element
         */
        public java.lang.String getNavn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAVN$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "Navn" element
         */
        public org.apache.xmlbeans.XmlString xgetNavn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAVN$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "Navn" element
         */
        public void setNavn(java.lang.String navn)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAVN$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAVN$0);
                }
                target.setStringValue(navn);
            }
        }
        
        /**
         * Sets (as xml) the "Navn" element
         */
        public void xsetNavn(org.apache.xmlbeans.XmlString navn)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAVN$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(NAVN$0);
                }
                target.set(navn);
            }
        }
        
        /**
         * Gets the "Herid" element
         */
        public java.lang.String getHerid()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(HERID$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "Herid" element
         */
        public org.apache.xmlbeans.XmlString xgetHerid()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(HERID$2, 0);
                return target;
            }
        }
        
        /**
         * Sets the "Herid" element
         */
        public void setHerid(java.lang.String herid)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(HERID$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(HERID$2);
                }
                target.setStringValue(herid);
            }
        }
        
        /**
         * Sets (as xml) the "Herid" element
         */
        public void xsetHerid(org.apache.xmlbeans.XmlString herid)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(HERID$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(HERID$2);
                }
                target.set(herid);
            }
        }
        
        /**
         * Gets the "Konsesjonsnummer" element
         */
        public java.lang.String getKonsesjonsnummer()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KONSESJONSNUMMER$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "Konsesjonsnummer" element
         */
        public org.apache.xmlbeans.XmlString xgetKonsesjonsnummer()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(KONSESJONSNUMMER$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "Konsesjonsnummer" element
         */
        public boolean isSetKonsesjonsnummer()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(KONSESJONSNUMMER$4) != 0;
            }
        }
        
        /**
         * Sets the "Konsesjonsnummer" element
         */
        public void setKonsesjonsnummer(java.lang.String konsesjonsnummer)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(KONSESJONSNUMMER$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(KONSESJONSNUMMER$4);
                }
                target.setStringValue(konsesjonsnummer);
            }
        }
        
        /**
         * Sets (as xml) the "Konsesjonsnummer" element
         */
        public void xsetKonsesjonsnummer(org.apache.xmlbeans.XmlString konsesjonsnummer)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(KONSESJONSNUMMER$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(KONSESJONSNUMMER$4);
                }
                target.set(konsesjonsnummer);
            }
        }
        
        /**
         * Unsets the "Konsesjonsnummer" element
         */
        public void unsetKonsesjonsnummer()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(KONSESJONSNUMMER$4, 0);
            }
        }
        
        /**
         * Gets the "AktivTil" element
         */
        public java.util.Calendar getAktivTil()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AKTIVTIL$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getCalendarValue();
            }
        }
        
        /**
         * Gets (as xml) the "AktivTil" element
         */
        public org.apache.xmlbeans.XmlDate xgetAktivTil()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDate target = null;
                target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(AKTIVTIL$6, 0);
                return target;
            }
        }
        
        /**
         * True if has "AktivTil" element
         */
        public boolean isSetAktivTil()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(AKTIVTIL$6) != 0;
            }
        }
        
        /**
         * Sets the "AktivTil" element
         */
        public void setAktivTil(java.util.Calendar aktivTil)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AKTIVTIL$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AKTIVTIL$6);
                }
                target.setCalendarValue(aktivTil);
            }
        }
        
        /**
         * Sets (as xml) the "AktivTil" element
         */
        public void xsetAktivTil(org.apache.xmlbeans.XmlDate aktivTil)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDate target = null;
                target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(AKTIVTIL$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(AKTIVTIL$6);
                }
                target.set(aktivTil);
            }
        }
        
        /**
         * Unsets the "AktivTil" element
         */
        public void unsetAktivTil()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(AKTIVTIL$6, 0);
            }
        }
        
        /**
         * Gets the "Telefon" element
         */
        public java.lang.String getTelefon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TELEFON$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "Telefon" element
         */
        public org.apache.xmlbeans.XmlString xgetTelefon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TELEFON$8, 0);
                return target;
            }
        }
        
        /**
         * True if has "Telefon" element
         */
        public boolean isSetTelefon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(TELEFON$8) != 0;
            }
        }
        
        /**
         * Sets the "Telefon" element
         */
        public void setTelefon(java.lang.String telefon)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TELEFON$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TELEFON$8);
                }
                target.setStringValue(telefon);
            }
        }
        
        /**
         * Sets (as xml) the "Telefon" element
         */
        public void xsetTelefon(org.apache.xmlbeans.XmlString telefon)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TELEFON$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TELEFON$8);
                }
                target.set(telefon);
            }
        }
        
        /**
         * Unsets the "Telefon" element
         */
        public void unsetTelefon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(TELEFON$8, 0);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy