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

no.ehelse.xmlstds.eresept.m96.x20180701.impl.M96DocumentImpl Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
/*
 * An XML document type.
 * Localname: M96
 * Namespace: http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01
 * Java type: no.ehelse.xmlstds.eresept.m96.x20180701.M96Document
 *
 * Automatically generated - do not modify.
 */
package no.ehelse.xmlstds.eresept.m96.x20180701.impl;
/**
 * A document containing one M96(@http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01) element.
 *
 * This is a complex type.
 */
public class M96DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m96.x20180701.M96Document
{
    private static final long serialVersionUID = 1L;
    
    public M96DocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName M96$0 = 
        new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "M96");
    
    
    /**
     * Gets the "M96" element
     */
    public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96 getM96()
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96 target = null;
            target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96)get_store().find_element_user(M96$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "M96" element
     */
    public void setM96(no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96 m96)
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96 target = null;
            target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96)get_store().find_element_user(M96$0, 0);
            if (target == null)
            {
                target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96)get_store().add_element_user(M96$0);
            }
            target.set(m96);
        }
    }
    
    /**
     * Appends and returns a new empty "M96" element
     */
    public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96 addNewM96()
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96 target = null;
            target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96)get_store().add_element_user(M96$0);
            return target;
        }
    }
    /**
     * An XML M96(@http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01).
     *
     * This is a complex type.
     */
    public static class M96Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96
    {
        private static final long serialVersionUID = 1L;
        
        public M96Impl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName PASIENTINFO$0 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "PasientInfo");
        private static final javax.xml.namespace.QName LASTRESEPT$2 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "LastResept");
        private static final javax.xml.namespace.QName PASIENTRESERVASJON$4 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "Pasientreservasjon");
        private static final javax.xml.namespace.QName STATUSSOK$6 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "StatusSok");
        private static final javax.xml.namespace.QName LISTEELEMENT$8 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "Listeelement");
        
        
        /**
         * Gets the "PasientInfo" element
         */
        public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo getPasientInfo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo target = null;
                target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo)get_store().find_element_user(PASIENTINFO$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "PasientInfo" element
         */
        public boolean isSetPasientInfo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PASIENTINFO$0) != 0;
            }
        }
        
        /**
         * Sets the "PasientInfo" element
         */
        public void setPasientInfo(no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo pasientInfo)
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo target = null;
                target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo)get_store().find_element_user(PASIENTINFO$0, 0);
                if (target == null)
                {
                    target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo)get_store().add_element_user(PASIENTINFO$0);
                }
                target.set(pasientInfo);
            }
        }
        
        /**
         * Appends and returns a new empty "PasientInfo" element
         */
        public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo addNewPasientInfo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo target = null;
                target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo)get_store().add_element_user(PASIENTINFO$0);
                return target;
            }
        }
        
        /**
         * Unsets the "PasientInfo" element
         */
        public void unsetPasientInfo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PASIENTINFO$0, 0);
            }
        }
        
        /**
         * Gets the "LastResept" element
         */
        public boolean getLastResept()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LASTRESEPT$2, 0);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "LastResept" element
         */
        public org.apache.xmlbeans.XmlBoolean xgetLastResept()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(LASTRESEPT$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "LastResept" element
         */
        public boolean isSetLastResept()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LASTRESEPT$2) != 0;
            }
        }
        
        /**
         * Sets the "LastResept" element
         */
        public void setLastResept(boolean lastResept)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LASTRESEPT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LASTRESEPT$2);
                }
                target.setBooleanValue(lastResept);
            }
        }
        
        /**
         * Sets (as xml) the "LastResept" element
         */
        public void xsetLastResept(org.apache.xmlbeans.XmlBoolean lastResept)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(LASTRESEPT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(LASTRESEPT$2);
                }
                target.set(lastResept);
            }
        }
        
        /**
         * Unsets the "LastResept" element
         */
        public void unsetLastResept()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LASTRESEPT$2, 0);
            }
        }
        
        /**
         * Gets the "Pasientreservasjon" element
         */
        public boolean getPasientreservasjon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PASIENTRESERVASJON$4, 0);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "Pasientreservasjon" element
         */
        public org.apache.xmlbeans.XmlBoolean xgetPasientreservasjon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(PASIENTRESERVASJON$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "Pasientreservasjon" element
         */
        public boolean isSetPasientreservasjon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PASIENTRESERVASJON$4) != 0;
            }
        }
        
        /**
         * Sets the "Pasientreservasjon" element
         */
        public void setPasientreservasjon(boolean pasientreservasjon)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PASIENTRESERVASJON$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PASIENTRESERVASJON$4);
                }
                target.setBooleanValue(pasientreservasjon);
            }
        }
        
        /**
         * Sets (as xml) the "Pasientreservasjon" element
         */
        public void xsetPasientreservasjon(org.apache.xmlbeans.XmlBoolean pasientreservasjon)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(PASIENTRESERVASJON$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(PASIENTRESERVASJON$4);
                }
                target.set(pasientreservasjon);
            }
        }
        
        /**
         * Unsets the "Pasientreservasjon" element
         */
        public void unsetPasientreservasjon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PASIENTRESERVASJON$4, 0);
            }
        }
        
        /**
         * Gets the "StatusSok" element
         */
        public no.kith.xmlstds.CS getStatusSok()
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.kith.xmlstds.CS target = null;
                target = (no.kith.xmlstds.CS)get_store().find_element_user(STATUSSOK$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "StatusSok" element
         */
        public boolean isSetStatusSok()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(STATUSSOK$6) != 0;
            }
        }
        
        /**
         * Sets the "StatusSok" element
         */
        public void setStatusSok(no.kith.xmlstds.CS statusSok)
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.kith.xmlstds.CS target = null;
                target = (no.kith.xmlstds.CS)get_store().find_element_user(STATUSSOK$6, 0);
                if (target == null)
                {
                    target = (no.kith.xmlstds.CS)get_store().add_element_user(STATUSSOK$6);
                }
                target.set(statusSok);
            }
        }
        
        /**
         * Appends and returns a new empty "StatusSok" element
         */
        public no.kith.xmlstds.CS addNewStatusSok()
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.kith.xmlstds.CS target = null;
                target = (no.kith.xmlstds.CS)get_store().add_element_user(STATUSSOK$6);
                return target;
            }
        }
        
        /**
         * Unsets the "StatusSok" element
         */
        public void unsetStatusSok()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(STATUSSOK$6, 0);
            }
        }
        
        /**
         * Gets array of all "Listeelement" elements
         */
        public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement[] getListeelementArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(LISTEELEMENT$8, targetList);
                no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement[] result = new no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "Listeelement" element
         */
        public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement getListeelementArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement target = null;
                target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement)get_store().find_element_user(LISTEELEMENT$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "Listeelement" element
         */
        public int sizeOfListeelementArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LISTEELEMENT$8);
            }
        }
        
        /**
         * Sets array of all "Listeelement" element
         */
        public void setListeelementArray(no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement[] listeelementArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(listeelementArray, LISTEELEMENT$8);
            }
        }
        
        /**
         * Sets ith "Listeelement" element
         */
        public void setListeelementArray(int i, no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement listeelement)
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement target = null;
                target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement)get_store().find_element_user(LISTEELEMENT$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(listeelement);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "Listeelement" element
         */
        public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement insertNewListeelement(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement target = null;
                target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement)get_store().insert_element_user(LISTEELEMENT$8, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "Listeelement" element
         */
        public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement addNewListeelement()
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement target = null;
                target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement)get_store().add_element_user(LISTEELEMENT$8);
                return target;
            }
        }
        
        /**
         * Removes the ith "Listeelement" element
         */
        public void removeListeelement(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LISTEELEMENT$8, i);
            }
        }
        /**
         * An XML PasientInfo(@http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01).
         *
         * This is a complex type.
         */
        public static class PasientInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.PasientInfo
        {
            private static final long serialVersionUID = 1L;
            
            public PasientInfoImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName FNR$0 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "Fnr");
            private static final javax.xml.namespace.QName ANDREFNR$2 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "AndreFnr");
            
            
            /**
             * Gets the "Fnr" element
             */
            public java.lang.String getFnr()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FNR$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "Fnr" element
             */
            public org.apache.xmlbeans.XmlString xgetFnr()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FNR$0, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "Fnr" element
             */
            public void setFnr(java.lang.String fnr)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FNR$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FNR$0);
                    }
                    target.setStringValue(fnr);
                }
            }
            
            /**
             * Sets (as xml) the "Fnr" element
             */
            public void xsetFnr(org.apache.xmlbeans.XmlString fnr)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FNR$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(FNR$0);
                    }
                    target.set(fnr);
                }
            }
            
            /**
             * Gets array of all "AndreFnr" elements
             */
            public java.lang.String[] getAndreFnrArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(ANDREFNR$2, targetList);
                    java.lang.String[] result = new java.lang.String[targetList.size()];
                    for (int i = 0, len = targetList.size() ; i < len ; i++)
                        result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();
                    return result;
                }
            }
            
            /**
             * Gets ith "AndreFnr" element
             */
            public java.lang.String getAndreFnrArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ANDREFNR$2, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) array of all "AndreFnr" elements
             */
            public org.apache.xmlbeans.XmlString[] xgetAndreFnrArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(ANDREFNR$2, targetList);
                    org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets (as xml) ith "AndreFnr" element
             */
            public org.apache.xmlbeans.XmlString xgetAndreFnrArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ANDREFNR$2, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return (org.apache.xmlbeans.XmlString)target;
                }
            }
            
            /**
             * Returns number of "AndreFnr" element
             */
            public int sizeOfAndreFnrArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(ANDREFNR$2);
                }
            }
            
            /**
             * Sets array of all "AndreFnr" element
             */
            public void setAndreFnrArray(java.lang.String[] andreFnrArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(andreFnrArray, ANDREFNR$2);
                }
            }
            
            /**
             * Sets ith "AndreFnr" element
             */
            public void setAndreFnrArray(int i, java.lang.String andreFnr)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ANDREFNR$2, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.setStringValue(andreFnr);
                }
            }
            
            /**
             * Sets (as xml) array of all "AndreFnr" element
             */
            public void xsetAndreFnrArray(org.apache.xmlbeans.XmlString[]andreFnrArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(andreFnrArray, ANDREFNR$2);
                }
            }
            
            /**
             * Sets (as xml) ith "AndreFnr" element
             */
            public void xsetAndreFnrArray(int i, org.apache.xmlbeans.XmlString andreFnr)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ANDREFNR$2, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(andreFnr);
                }
            }
            
            /**
             * Inserts the value as the ith "AndreFnr" element
             */
            public void insertAndreFnr(int i, java.lang.String andreFnr)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = 
                      (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(ANDREFNR$2, i);
                    target.setStringValue(andreFnr);
                }
            }
            
            /**
             * Appends the value as the last "AndreFnr" element
             */
            public void addAndreFnr(java.lang.String andreFnr)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ANDREFNR$2);
                    target.setStringValue(andreFnr);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "AndreFnr" element
             */
            public org.apache.xmlbeans.XmlString insertNewAndreFnr(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(ANDREFNR$2, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "AndreFnr" element
             */
            public org.apache.xmlbeans.XmlString addNewAndreFnr()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ANDREFNR$2);
                    return target;
                }
            }
            
            /**
             * Removes the ith "AndreFnr" element
             */
            public void removeAndreFnr(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(ANDREFNR$2, i);
                }
            }
        }
        /**
         * An XML Listeelement(@http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01).
         *
         * This is a complex type.
         */
        public static class ListeelementImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement
        {
            private static final long serialVersionUID = 1L;
            
            public ListeelementImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName RESEPTID$0 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "ReseptId");
            private static final javax.xml.namespace.QName NAVNUTLEVERER$2 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "NavnUtleverer");
            private static final javax.xml.namespace.QName SENDTSLVDATO$4 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "SendtSLVDato");
            private static final javax.xml.namespace.QName STATUS$6 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "Status");
            private static final javax.xml.namespace.QName STATUSSOKNADSLV$8 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "StatusSoknadSlv");
            private static final javax.xml.namespace.QName TILBAKEKALLINGSTATUS$10 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "TilbakekallingStatus");
            private static final javax.xml.namespace.QName ARSAK$12 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "Arsak");
            private static final javax.xml.namespace.QName UTLEVERING$14 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "Utlevering");
            
            
            /**
             * Gets the "ReseptId" element
             */
            public java.lang.String getReseptId()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESEPTID$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "ReseptId" element
             */
            public org.apache.xmlbeans.XmlString xgetReseptId()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(RESEPTID$0, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "ReseptId" element
             */
            public void setReseptId(java.lang.String reseptId)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESEPTID$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESEPTID$0);
                    }
                    target.setStringValue(reseptId);
                }
            }
            
            /**
             * Sets (as xml) the "ReseptId" element
             */
            public void xsetReseptId(org.apache.xmlbeans.XmlString reseptId)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(RESEPTID$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(RESEPTID$0);
                    }
                    target.set(reseptId);
                }
            }
            
            /**
             * Gets the "NavnUtleverer" element
             */
            public java.lang.String getNavnUtleverer()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAVNUTLEVERER$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "NavnUtleverer" element
             */
            public org.apache.xmlbeans.XmlString xgetNavnUtleverer()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAVNUTLEVERER$2, 0);
                    return target;
                }
            }
            
            /**
             * True if has "NavnUtleverer" element
             */
            public boolean isSetNavnUtleverer()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(NAVNUTLEVERER$2) != 0;
                }
            }
            
            /**
             * Sets the "NavnUtleverer" element
             */
            public void setNavnUtleverer(java.lang.String navnUtleverer)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAVNUTLEVERER$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAVNUTLEVERER$2);
                    }
                    target.setStringValue(navnUtleverer);
                }
            }
            
            /**
             * Sets (as xml) the "NavnUtleverer" element
             */
            public void xsetNavnUtleverer(org.apache.xmlbeans.XmlString navnUtleverer)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAVNUTLEVERER$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(NAVNUTLEVERER$2);
                    }
                    target.set(navnUtleverer);
                }
            }
            
            /**
             * Unsets the "NavnUtleverer" element
             */
            public void unsetNavnUtleverer()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(NAVNUTLEVERER$2, 0);
                }
            }
            
            /**
             * Gets the "SendtSLVDato" element
             */
            public java.util.Calendar getSendtSLVDato()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SENDTSLVDATO$4, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getCalendarValue();
                }
            }
            
            /**
             * Gets (as xml) the "SendtSLVDato" element
             */
            public org.apache.xmlbeans.XmlDate xgetSendtSLVDato()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlDate target = null;
                    target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(SENDTSLVDATO$4, 0);
                    return target;
                }
            }
            
            /**
             * True if has "SendtSLVDato" element
             */
            public boolean isSetSendtSLVDato()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(SENDTSLVDATO$4) != 0;
                }
            }
            
            /**
             * Sets the "SendtSLVDato" element
             */
            public void setSendtSLVDato(java.util.Calendar sendtSLVDato)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SENDTSLVDATO$4, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SENDTSLVDATO$4);
                    }
                    target.setCalendarValue(sendtSLVDato);
                }
            }
            
            /**
             * Sets (as xml) the "SendtSLVDato" element
             */
            public void xsetSendtSLVDato(org.apache.xmlbeans.XmlDate sendtSLVDato)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlDate target = null;
                    target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(SENDTSLVDATO$4, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(SENDTSLVDATO$4);
                    }
                    target.set(sendtSLVDato);
                }
            }
            
            /**
             * Unsets the "SendtSLVDato" element
             */
            public void unsetSendtSLVDato()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(SENDTSLVDATO$4, 0);
                }
            }
            
            /**
             * Gets the "Status" element
             */
            public no.kith.xmlstds.CS getStatus()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.kith.xmlstds.CS target = null;
                    target = (no.kith.xmlstds.CS)get_store().find_element_user(STATUS$6, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "Status" element
             */
            public void setStatus(no.kith.xmlstds.CS status)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.kith.xmlstds.CS target = null;
                    target = (no.kith.xmlstds.CS)get_store().find_element_user(STATUS$6, 0);
                    if (target == null)
                    {
                      target = (no.kith.xmlstds.CS)get_store().add_element_user(STATUS$6);
                    }
                    target.set(status);
                }
            }
            
            /**
             * Appends and returns a new empty "Status" element
             */
            public no.kith.xmlstds.CS addNewStatus()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.kith.xmlstds.CS target = null;
                    target = (no.kith.xmlstds.CS)get_store().add_element_user(STATUS$6);
                    return target;
                }
            }
            
            /**
             * Gets the "StatusSoknadSlv" element
             */
            public no.kith.xmlstds.CS getStatusSoknadSlv()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.kith.xmlstds.CS target = null;
                    target = (no.kith.xmlstds.CS)get_store().find_element_user(STATUSSOKNADSLV$8, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "StatusSoknadSlv" element
             */
            public boolean isSetStatusSoknadSlv()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(STATUSSOKNADSLV$8) != 0;
                }
            }
            
            /**
             * Sets the "StatusSoknadSlv" element
             */
            public void setStatusSoknadSlv(no.kith.xmlstds.CS statusSoknadSlv)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.kith.xmlstds.CS target = null;
                    target = (no.kith.xmlstds.CS)get_store().find_element_user(STATUSSOKNADSLV$8, 0);
                    if (target == null)
                    {
                      target = (no.kith.xmlstds.CS)get_store().add_element_user(STATUSSOKNADSLV$8);
                    }
                    target.set(statusSoknadSlv);
                }
            }
            
            /**
             * Appends and returns a new empty "StatusSoknadSlv" element
             */
            public no.kith.xmlstds.CS addNewStatusSoknadSlv()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.kith.xmlstds.CS target = null;
                    target = (no.kith.xmlstds.CS)get_store().add_element_user(STATUSSOKNADSLV$8);
                    return target;
                }
            }
            
            /**
             * Unsets the "StatusSoknadSlv" element
             */
            public void unsetStatusSoknadSlv()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(STATUSSOKNADSLV$8, 0);
                }
            }
            
            /**
             * Gets the "TilbakekallingStatus" element
             */
            public boolean getTilbakekallingStatus()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TILBAKEKALLINGSTATUS$10, 0);
                    if (target == null)
                    {
                      return false;
                    }
                    return target.getBooleanValue();
                }
            }
            
            /**
             * Gets (as xml) the "TilbakekallingStatus" element
             */
            public org.apache.xmlbeans.XmlBoolean xgetTilbakekallingStatus()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlBoolean target = null;
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(TILBAKEKALLINGSTATUS$10, 0);
                    return target;
                }
            }
            
            /**
             * True if has "TilbakekallingStatus" element
             */
            public boolean isSetTilbakekallingStatus()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(TILBAKEKALLINGSTATUS$10) != 0;
                }
            }
            
            /**
             * Sets the "TilbakekallingStatus" element
             */
            public void setTilbakekallingStatus(boolean tilbakekallingStatus)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TILBAKEKALLINGSTATUS$10, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TILBAKEKALLINGSTATUS$10);
                    }
                    target.setBooleanValue(tilbakekallingStatus);
                }
            }
            
            /**
             * Sets (as xml) the "TilbakekallingStatus" element
             */
            public void xsetTilbakekallingStatus(org.apache.xmlbeans.XmlBoolean tilbakekallingStatus)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlBoolean target = null;
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(TILBAKEKALLINGSTATUS$10, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(TILBAKEKALLINGSTATUS$10);
                    }
                    target.set(tilbakekallingStatus);
                }
            }
            
            /**
             * Unsets the "TilbakekallingStatus" element
             */
            public void unsetTilbakekallingStatus()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(TILBAKEKALLINGSTATUS$10, 0);
                }
            }
            
            /**
             * Gets the "Arsak" element
             */
            public no.kith.xmlstds.CV getArsak()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.kith.xmlstds.CV target = null;
                    target = (no.kith.xmlstds.CV)get_store().find_element_user(ARSAK$12, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Arsak" element
             */
            public boolean isSetArsak()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(ARSAK$12) != 0;
                }
            }
            
            /**
             * Sets the "Arsak" element
             */
            public void setArsak(no.kith.xmlstds.CV arsak)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.kith.xmlstds.CV target = null;
                    target = (no.kith.xmlstds.CV)get_store().find_element_user(ARSAK$12, 0);
                    if (target == null)
                    {
                      target = (no.kith.xmlstds.CV)get_store().add_element_user(ARSAK$12);
                    }
                    target.set(arsak);
                }
            }
            
            /**
             * Appends and returns a new empty "Arsak" element
             */
            public no.kith.xmlstds.CV addNewArsak()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.kith.xmlstds.CV target = null;
                    target = (no.kith.xmlstds.CV)get_store().add_element_user(ARSAK$12);
                    return target;
                }
            }
            
            /**
             * Unsets the "Arsak" element
             */
            public void unsetArsak()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(ARSAK$12, 0);
                }
            }
            
            /**
             * Gets array of all "Utlevering" elements
             */
            public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering[] getUtleveringArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(UTLEVERING$14, targetList);
                    no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering[] result = new no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets ith "Utlevering" element
             */
            public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering getUtleveringArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering target = null;
                    target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering)get_store().find_element_user(UTLEVERING$14, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "Utlevering" element
             */
            public int sizeOfUtleveringArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(UTLEVERING$14);
                }
            }
            
            /**
             * Sets array of all "Utlevering" element
             */
            public void setUtleveringArray(no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering[] utleveringArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(utleveringArray, UTLEVERING$14);
                }
            }
            
            /**
             * Sets ith "Utlevering" element
             */
            public void setUtleveringArray(int i, no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering utlevering)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering target = null;
                    target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering)get_store().find_element_user(UTLEVERING$14, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(utlevering);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "Utlevering" element
             */
            public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering insertNewUtlevering(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering target = null;
                    target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering)get_store().insert_element_user(UTLEVERING$14, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "Utlevering" element
             */
            public no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering addNewUtlevering()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering target = null;
                    target = (no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering)get_store().add_element_user(UTLEVERING$14);
                    return target;
                }
            }
            
            /**
             * Removes the ith "Utlevering" element
             */
            public void removeUtlevering(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(UTLEVERING$14, i);
                }
            }
            /**
             * An XML Utlevering(@http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01).
             *
             * This is a complex type.
             */
            public static class UtleveringImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m96.x20180701.M96Document.M96.Listeelement.Utlevering
            {
                private static final long serialVersionUID = 1L;
                
                public UtleveringImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType);
                }
                
                private static final javax.xml.namespace.QName VARENR$0 = 
                    new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "Varenr");
                private static final javax.xml.namespace.QName NAVNFORMSTYRKE$2 = 
                    new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "NavnFormStyrke");
                private static final javax.xml.namespace.QName PAKNINGSSTR$4 = 
                    new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "Pakningsstr");
                private static final javax.xml.namespace.QName ANTALLPAKNINGERUTLEVERTTOTALT$6 = 
                    new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "AntallPakningerUtlevertTotalt");
                private static final javax.xml.namespace.QName ANTALLPAKNINGERUTLEVERTSISTE$8 = 
                    new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "AntallPakningerUtlevertSiste");
                private static final javax.xml.namespace.QName TIDSPUNKTSISTEUTLEVERING$10 = 
                    new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m96/2018-07-01", "TidspunktSisteUtlevering");
                
                
                /**
                 * Gets the "Varenr" element
                 */
                public java.lang.String getVarenr()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VARENR$0, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "Varenr" element
                 */
                public org.apache.xmlbeans.XmlString xgetVarenr()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlString target = null;
                      target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VARENR$0, 0);
                      return target;
                    }
                }
                
                /**
                 * True if has "Varenr" element
                 */
                public boolean isSetVarenr()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(VARENR$0) != 0;
                    }
                }
                
                /**
                 * Sets the "Varenr" element
                 */
                public void setVarenr(java.lang.String varenr)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VARENR$0, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VARENR$0);
                      }
                      target.setStringValue(varenr);
                    }
                }
                
                /**
                 * Sets (as xml) the "Varenr" element
                 */
                public void xsetVarenr(org.apache.xmlbeans.XmlString varenr)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlString target = null;
                      target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VARENR$0, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(VARENR$0);
                      }
                      target.set(varenr);
                    }
                }
                
                /**
                 * Unsets the "Varenr" element
                 */
                public void unsetVarenr()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(VARENR$0, 0);
                    }
                }
                
                /**
                 * Gets the "NavnFormStyrke" element
                 */
                public java.lang.String getNavnFormStyrke()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAVNFORMSTYRKE$2, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getStringValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "NavnFormStyrke" element
                 */
                public org.apache.xmlbeans.XmlString xgetNavnFormStyrke()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlString target = null;
                      target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAVNFORMSTYRKE$2, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "NavnFormStyrke" element
                 */
                public void setNavnFormStyrke(java.lang.String navnFormStyrke)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAVNFORMSTYRKE$2, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAVNFORMSTYRKE$2);
                      }
                      target.setStringValue(navnFormStyrke);
                    }
                }
                
                /**
                 * Sets (as xml) the "NavnFormStyrke" element
                 */
                public void xsetNavnFormStyrke(org.apache.xmlbeans.XmlString navnFormStyrke)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlString target = null;
                      target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAVNFORMSTYRKE$2, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(NAVNFORMSTYRKE$2);
                      }
                      target.set(navnFormStyrke);
                    }
                }
                
                /**
                 * Gets the "Pakningsstr" element
                 */
                public no.kith.xmlstds.PQ getPakningsstr()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      no.kith.xmlstds.PQ target = null;
                      target = (no.kith.xmlstds.PQ)get_store().find_element_user(PAKNINGSSTR$4, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target;
                    }
                }
                
                /**
                 * True if has "Pakningsstr" element
                 */
                public boolean isSetPakningsstr()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      return get_store().count_elements(PAKNINGSSTR$4) != 0;
                    }
                }
                
                /**
                 * Sets the "Pakningsstr" element
                 */
                public void setPakningsstr(no.kith.xmlstds.PQ pakningsstr)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      no.kith.xmlstds.PQ target = null;
                      target = (no.kith.xmlstds.PQ)get_store().find_element_user(PAKNINGSSTR$4, 0);
                      if (target == null)
                      {
                        target = (no.kith.xmlstds.PQ)get_store().add_element_user(PAKNINGSSTR$4);
                      }
                      target.set(pakningsstr);
                    }
                }
                
                /**
                 * Appends and returns a new empty "Pakningsstr" element
                 */
                public no.kith.xmlstds.PQ addNewPakningsstr()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      no.kith.xmlstds.PQ target = null;
                      target = (no.kith.xmlstds.PQ)get_store().add_element_user(PAKNINGSSTR$4);
                      return target;
                    }
                }
                
                /**
                 * Unsets the "Pakningsstr" element
                 */
                public void unsetPakningsstr()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      get_store().remove_element(PAKNINGSSTR$4, 0);
                    }
                }
                
                /**
                 * Gets the "AntallPakningerUtlevertTotalt" element
                 */
                public java.math.BigDecimal getAntallPakningerUtlevertTotalt()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ANTALLPAKNINGERUTLEVERTTOTALT$6, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "AntallPakningerUtlevertTotalt" element
                 */
                public org.apache.xmlbeans.XmlDecimal xgetAntallPakningerUtlevertTotalt()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlDecimal target = null;
                      target = (org.apache.xmlbeans.XmlDecimal)get_store().find_element_user(ANTALLPAKNINGERUTLEVERTTOTALT$6, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "AntallPakningerUtlevertTotalt" element
                 */
                public void setAntallPakningerUtlevertTotalt(java.math.BigDecimal antallPakningerUtlevertTotalt)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ANTALLPAKNINGERUTLEVERTTOTALT$6, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ANTALLPAKNINGERUTLEVERTTOTALT$6);
                      }
                      target.setBigDecimalValue(antallPakningerUtlevertTotalt);
                    }
                }
                
                /**
                 * Sets (as xml) the "AntallPakningerUtlevertTotalt" element
                 */
                public void xsetAntallPakningerUtlevertTotalt(org.apache.xmlbeans.XmlDecimal antallPakningerUtlevertTotalt)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlDecimal target = null;
                      target = (org.apache.xmlbeans.XmlDecimal)get_store().find_element_user(ANTALLPAKNINGERUTLEVERTTOTALT$6, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlDecimal)get_store().add_element_user(ANTALLPAKNINGERUTLEVERTTOTALT$6);
                      }
                      target.set(antallPakningerUtlevertTotalt);
                    }
                }
                
                /**
                 * Gets the "AntallPakningerUtlevertSiste" element
                 */
                public java.math.BigDecimal getAntallPakningerUtlevertSiste()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ANTALLPAKNINGERUTLEVERTSISTE$8, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getBigDecimalValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "AntallPakningerUtlevertSiste" element
                 */
                public org.apache.xmlbeans.XmlDecimal xgetAntallPakningerUtlevertSiste()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlDecimal target = null;
                      target = (org.apache.xmlbeans.XmlDecimal)get_store().find_element_user(ANTALLPAKNINGERUTLEVERTSISTE$8, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "AntallPakningerUtlevertSiste" element
                 */
                public void setAntallPakningerUtlevertSiste(java.math.BigDecimal antallPakningerUtlevertSiste)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ANTALLPAKNINGERUTLEVERTSISTE$8, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ANTALLPAKNINGERUTLEVERTSISTE$8);
                      }
                      target.setBigDecimalValue(antallPakningerUtlevertSiste);
                    }
                }
                
                /**
                 * Sets (as xml) the "AntallPakningerUtlevertSiste" element
                 */
                public void xsetAntallPakningerUtlevertSiste(org.apache.xmlbeans.XmlDecimal antallPakningerUtlevertSiste)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlDecimal target = null;
                      target = (org.apache.xmlbeans.XmlDecimal)get_store().find_element_user(ANTALLPAKNINGERUTLEVERTSISTE$8, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlDecimal)get_store().add_element_user(ANTALLPAKNINGERUTLEVERTSISTE$8);
                      }
                      target.set(antallPakningerUtlevertSiste);
                    }
                }
                
                /**
                 * Gets the "TidspunktSisteUtlevering" element
                 */
                public java.util.Calendar getTidspunktSisteUtlevering()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TIDSPUNKTSISTEUTLEVERING$10, 0);
                      if (target == null)
                      {
                        return null;
                      }
                      return target.getCalendarValue();
                    }
                }
                
                /**
                 * Gets (as xml) the "TidspunktSisteUtlevering" element
                 */
                public org.apache.xmlbeans.XmlDateTime xgetTidspunktSisteUtlevering()
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlDateTime target = null;
                      target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(TIDSPUNKTSISTEUTLEVERING$10, 0);
                      return target;
                    }
                }
                
                /**
                 * Sets the "TidspunktSisteUtlevering" element
                 */
                public void setTidspunktSisteUtlevering(java.util.Calendar tidspunktSisteUtlevering)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.SimpleValue target = null;
                      target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TIDSPUNKTSISTEUTLEVERING$10, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TIDSPUNKTSISTEUTLEVERING$10);
                      }
                      target.setCalendarValue(tidspunktSisteUtlevering);
                    }
                }
                
                /**
                 * Sets (as xml) the "TidspunktSisteUtlevering" element
                 */
                public void xsetTidspunktSisteUtlevering(org.apache.xmlbeans.XmlDateTime tidspunktSisteUtlevering)
                {
                    synchronized (monitor())
                    {
                      check_orphaned();
                      org.apache.xmlbeans.XmlDateTime target = null;
                      target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(TIDSPUNKTSISTEUTLEVERING$10, 0);
                      if (target == null)
                      {
                        target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(TIDSPUNKTSISTEUTLEVERING$10);
                      }
                      target.set(tidspunktSisteUtlevering);
                    }
                }
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy