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

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

There is a newer version: 4.2.0
Show newest version
/*
 * An XML document type.
 * Localname: Multidoselege
 * Namespace: http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01
 * Java type: no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument
 *
 * Automatically generated - do not modify.
 */
package no.ehelse.xmlstds.eresept.m912.x20211001.impl;
/**
 * A document containing one Multidoselege(@http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01) element.
 *
 * This is a complex type.
 */
public class MultidoselegeDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument
{
    private static final long serialVersionUID = 1L;
    
    public MultidoselegeDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName MULTIDOSELEGE$0 = 
        new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Multidoselege");
    
    
    /**
     * Gets the "Multidoselege" element
     */
    public no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege getMultidoselege()
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege target = null;
            target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege)get_store().find_element_user(MULTIDOSELEGE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Multidoselege" element
     */
    public void setMultidoselege(no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege multidoselege)
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege target = null;
            target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege)get_store().find_element_user(MULTIDOSELEGE$0, 0);
            if (target == null)
            {
                target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege)get_store().add_element_user(MULTIDOSELEGE$0);
            }
            target.set(multidoselege);
        }
    }
    
    /**
     * Appends and returns a new empty "Multidoselege" element
     */
    public no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege addNewMultidoselege()
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege target = null;
            target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege)get_store().add_element_user(MULTIDOSELEGE$0);
            return target;
        }
    }
    /**
     * An XML Multidoselege(@http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01).
     *
     * This is a complex type.
     */
    public static class MultidoselegeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege
    {
        private static final long serialVersionUID = 1L;
        
        public MultidoselegeImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName HPRNR$0 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "HprNr");
        private static final javax.xml.namespace.QName FORNAVN$2 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Fornavn");
        private static final javax.xml.namespace.QName ETTERNAVN$4 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Etternavn");
        private static final javax.xml.namespace.QName ORGNAVN$6 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "OrgNavn");
        private static final javax.xml.namespace.QName HERID$8 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "HerId");
        private static final javax.xml.namespace.QName AKTIVTIL$10 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "AktivTil");
        private static final javax.xml.namespace.QName TELEFON$12 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Telefon");
        
        
        /**
         * Gets the "HprNr" element
         */
        public java.lang.String getHprNr()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(HPRNR$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "HprNr" element
         */
        public org.apache.xmlbeans.XmlString xgetHprNr()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(HPRNR$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "HprNr" element
         */
        public void setHprNr(java.lang.String hprNr)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(HPRNR$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(HPRNR$0);
                }
                target.setStringValue(hprNr);
            }
        }
        
        /**
         * Sets (as xml) the "HprNr" element
         */
        public void xsetHprNr(org.apache.xmlbeans.XmlString hprNr)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(HPRNR$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(HPRNR$0);
                }
                target.set(hprNr);
            }
        }
        
        /**
         * Gets the "Fornavn" element
         */
        public java.lang.String getFornavn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FORNAVN$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "Fornavn" element
         */
        public org.apache.xmlbeans.XmlString xgetFornavn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FORNAVN$2, 0);
                return target;
            }
        }
        
        /**
         * Sets the "Fornavn" element
         */
        public void setFornavn(java.lang.String fornavn)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FORNAVN$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FORNAVN$2);
                }
                target.setStringValue(fornavn);
            }
        }
        
        /**
         * Sets (as xml) the "Fornavn" element
         */
        public void xsetFornavn(org.apache.xmlbeans.XmlString fornavn)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FORNAVN$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(FORNAVN$2);
                }
                target.set(fornavn);
            }
        }
        
        /**
         * Gets the "Etternavn" element
         */
        public java.lang.String getEtternavn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ETTERNAVN$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "Etternavn" element
         */
        public org.apache.xmlbeans.XmlString xgetEtternavn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ETTERNAVN$4, 0);
                return target;
            }
        }
        
        /**
         * Sets the "Etternavn" element
         */
        public void setEtternavn(java.lang.String etternavn)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ETTERNAVN$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ETTERNAVN$4);
                }
                target.setStringValue(etternavn);
            }
        }
        
        /**
         * Sets (as xml) the "Etternavn" element
         */
        public void xsetEtternavn(org.apache.xmlbeans.XmlString etternavn)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ETTERNAVN$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ETTERNAVN$4);
                }
                target.set(etternavn);
            }
        }
        
        /**
         * Gets the "OrgNavn" element
         */
        public java.lang.String getOrgNavn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORGNAVN$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "OrgNavn" element
         */
        public org.apache.xmlbeans.XmlString xgetOrgNavn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ORGNAVN$6, 0);
                return target;
            }
        }
        
        /**
         * Sets the "OrgNavn" element
         */
        public void setOrgNavn(java.lang.String orgNavn)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORGNAVN$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORGNAVN$6);
                }
                target.setStringValue(orgNavn);
            }
        }
        
        /**
         * Sets (as xml) the "OrgNavn" element
         */
        public void xsetOrgNavn(org.apache.xmlbeans.XmlString orgNavn)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ORGNAVN$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ORGNAVN$6);
                }
                target.set(orgNavn);
            }
        }
        
        /**
         * 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$8, 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$8, 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$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(HERID$8);
                }
                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$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(HERID$8);
                }
                target.set(herId);
            }
        }
        
        /**
         * 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$10, 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$10, 0);
                return target;
            }
        }
        
        /**
         * True if has "AktivTil" element
         */
        public boolean isSetAktivTil()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(AKTIVTIL$10) != 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$10, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AKTIVTIL$10);
                }
                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$10, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(AKTIVTIL$10);
                }
                target.set(aktivTil);
            }
        }
        
        /**
         * Unsets the "AktivTil" element
         */
        public void unsetAktivTil()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(AKTIVTIL$10, 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$12, 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$12, 0);
                return target;
            }
        }
        
        /**
         * True if has "Telefon" element
         */
        public boolean isSetTelefon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(TELEFON$12) != 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$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TELEFON$12);
                }
                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$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TELEFON$12);
                }
                target.set(telefon);
            }
        }
        
        /**
         * Unsets the "Telefon" element
         */
        public void unsetTelefon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(TELEFON$12, 0);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy