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

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

There is a newer version: 4.2.0
Show newest version
/*
 * An XML document type.
 * Localname: M912
 * Namespace: http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01
 * Java type: no.ehelse.xmlstds.eresept.m912.x20211001.M912Document
 *
 * Automatically generated - do not modify.
 */
package no.ehelse.xmlstds.eresept.m912.x20211001.impl;
/**
 * A document containing one M912(@http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01) element.
 *
 * This is a complex type.
 */
public class M912DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m912.x20211001.M912Document
{
    private static final long serialVersionUID = 1L;
    
    public M912DocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName M912$0 = 
        new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "M912");
    
    
    /**
     * Gets the "M912" element
     */
    public no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912 getM912()
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912 target = null;
            target = (no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912)get_store().find_element_user(M912$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "M912" element
     */
    public void setM912(no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912 m912)
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912 target = null;
            target = (no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912)get_store().find_element_user(M912$0, 0);
            if (target == null)
            {
                target = (no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912)get_store().add_element_user(M912$0);
            }
            target.set(m912);
        }
    }
    
    /**
     * Appends and returns a new empty "M912" element
     */
    public no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912 addNewM912()
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912 target = null;
            target = (no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912)get_store().add_element_user(M912$0);
            return target;
        }
    }
    /**
     * An XML M912(@http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01).
     *
     * This is a complex type.
     */
    public static class M912Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912
    {
        private static final long serialVersionUID = 1L;
        
        public M912Impl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName PASIENT$0 = 
            new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Pasient");
        
        
        /**
         * Gets the "Pasient" element
         */
        public no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient getPasient()
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient target = null;
                target = (no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient)get_store().find_element_user(PASIENT$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "Pasient" element
         */
        public void setPasient(no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient pasient)
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient target = null;
                target = (no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient)get_store().find_element_user(PASIENT$0, 0);
                if (target == null)
                {
                    target = (no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient)get_store().add_element_user(PASIENT$0);
                }
                target.set(pasient);
            }
        }
        
        /**
         * Appends and returns a new empty "Pasient" element
         */
        public no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient addNewPasient()
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient target = null;
                target = (no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient)get_store().add_element_user(PASIENT$0);
                return target;
            }
        }
        /**
         * An XML Pasient(@http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01).
         *
         * This is a complex type.
         */
        public static class PasientImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.ehelse.xmlstds.eresept.m912.x20211001.M912Document.M912.Pasient
        {
            private static final long serialVersionUID = 1L;
            
            public PasientImpl(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/m912/2021-10-01", "Fnr");
            private static final javax.xml.namespace.QName ANDREFNR$2 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "AndreFnr");
            private static final javax.xml.namespace.QName REFMSGID$4 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "RefMsgId");
            private static final javax.xml.namespace.QName MULTIDOSELEGE$6 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Multidoselege");
            private static final javax.xml.namespace.QName MULTIDOSEAPOTEK$8 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "Multidoseapotek");
            private static final javax.xml.namespace.QName VARERIBRUKB64$10 = 
                new javax.xml.namespace.QName("http://www.ehelse.no/xmlstds/eresept/m912/2021-10-01", "VarerIBrukB64");
            
            
            /**
             * 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);
                }
            }
            
            /**
             * Gets the "RefMsgId" element
             */
            public java.lang.String getRefMsgId()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFMSGID$4, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "RefMsgId" element
             */
            public org.apache.xmlbeans.XmlString xgetRefMsgId()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(REFMSGID$4, 0);
                    return target;
                }
            }
            
            /**
             * True if has "RefMsgId" element
             */
            public boolean isSetRefMsgId()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(REFMSGID$4) != 0;
                }
            }
            
            /**
             * Sets the "RefMsgId" element
             */
            public void setRefMsgId(java.lang.String refMsgId)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFMSGID$4, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REFMSGID$4);
                    }
                    target.setStringValue(refMsgId);
                }
            }
            
            /**
             * Sets (as xml) the "RefMsgId" element
             */
            public void xsetRefMsgId(org.apache.xmlbeans.XmlString refMsgId)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(REFMSGID$4, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(REFMSGID$4);
                    }
                    target.set(refMsgId);
                }
            }
            
            /**
             * Unsets the "RefMsgId" element
             */
            public void unsetRefMsgId()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(REFMSGID$4, 0);
                }
            }
            
            /**
             * 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$6, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Multidoselege" element
             */
            public boolean isSetMultidoselege()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(MULTIDOSELEGE$6) != 0;
                }
            }
            
            /**
             * 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$6, 0);
                    if (target == null)
                    {
                      target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoselegeDocument.Multidoselege)get_store().add_element_user(MULTIDOSELEGE$6);
                    }
                    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$6);
                    return target;
                }
            }
            
            /**
             * Unsets the "Multidoselege" element
             */
            public void unsetMultidoselege()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(MULTIDOSELEGE$6, 0);
                }
            }
            
            /**
             * Gets the "Multidoseapotek" element
             */
            public no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek getMultidoseapotek()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek target = null;
                    target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek)get_store().find_element_user(MULTIDOSEAPOTEK$8, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * True if has "Multidoseapotek" element
             */
            public boolean isSetMultidoseapotek()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(MULTIDOSEAPOTEK$8) != 0;
                }
            }
            
            /**
             * Sets the "Multidoseapotek" element
             */
            public void setMultidoseapotek(no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek multidoseapotek)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek target = null;
                    target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek)get_store().find_element_user(MULTIDOSEAPOTEK$8, 0);
                    if (target == null)
                    {
                      target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek)get_store().add_element_user(MULTIDOSEAPOTEK$8);
                    }
                    target.set(multidoseapotek);
                }
            }
            
            /**
             * Appends and returns a new empty "Multidoseapotek" element
             */
            public no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek addNewMultidoseapotek()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek target = null;
                    target = (no.ehelse.xmlstds.eresept.m912.x20211001.MultidoseapotekDocument.Multidoseapotek)get_store().add_element_user(MULTIDOSEAPOTEK$8);
                    return target;
                }
            }
            
            /**
             * Unsets the "Multidoseapotek" element
             */
            public void unsetMultidoseapotek()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(MULTIDOSEAPOTEK$8, 0);
                }
            }
            
            /**
             * Gets array of all "VarerIBrukB64" elements
             */
            public byte[][] getVarerIBrukB64Array()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(VARERIBRUKB64$10, targetList);
                    byte[][] result = new byte[targetList.size()][];
                    for (int i = 0, len = targetList.size() ; i < len ; i++)
                        result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getByteArrayValue();
                    return result;
                }
            }
            
            /**
             * Gets ith "VarerIBrukB64" element
             */
            public byte[] getVarerIBrukB64Array(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VARERIBRUKB64$10, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target.getByteArrayValue();
                }
            }
            
            /**
             * Gets (as xml) array of all "VarerIBrukB64" elements
             */
            public org.apache.xmlbeans.XmlBase64Binary[] xgetVarerIBrukB64Array()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(VARERIBRUKB64$10, targetList);
                    org.apache.xmlbeans.XmlBase64Binary[] result = new org.apache.xmlbeans.XmlBase64Binary[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets (as xml) ith "VarerIBrukB64" element
             */
            public org.apache.xmlbeans.XmlBase64Binary xgetVarerIBrukB64Array(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlBase64Binary target = null;
                    target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_element_user(VARERIBRUKB64$10, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return (org.apache.xmlbeans.XmlBase64Binary)target;
                }
            }
            
            /**
             * Returns number of "VarerIBrukB64" element
             */
            public int sizeOfVarerIBrukB64Array()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(VARERIBRUKB64$10);
                }
            }
            
            /**
             * Sets array of all "VarerIBrukB64" element
             */
            public void setVarerIBrukB64Array(byte[][] varerIBrukB64Array)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(varerIBrukB64Array, VARERIBRUKB64$10);
                }
            }
            
            /**
             * Sets ith "VarerIBrukB64" element
             */
            public void setVarerIBrukB64Array(int i, byte[] varerIBrukB64)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VARERIBRUKB64$10, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.setByteArrayValue(varerIBrukB64);
                }
            }
            
            /**
             * Sets (as xml) array of all "VarerIBrukB64" element
             */
            public void xsetVarerIBrukB64Array(org.apache.xmlbeans.XmlBase64Binary[]varerIBrukB64Array)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(varerIBrukB64Array, VARERIBRUKB64$10);
                }
            }
            
            /**
             * Sets (as xml) ith "VarerIBrukB64" element
             */
            public void xsetVarerIBrukB64Array(int i, org.apache.xmlbeans.XmlBase64Binary varerIBrukB64)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlBase64Binary target = null;
                    target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_element_user(VARERIBRUKB64$10, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(varerIBrukB64);
                }
            }
            
            /**
             * Inserts the value as the ith "VarerIBrukB64" element
             */
            public void insertVarerIBrukB64(int i, byte[] varerIBrukB64)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = 
                      (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(VARERIBRUKB64$10, i);
                    target.setByteArrayValue(varerIBrukB64);
                }
            }
            
            /**
             * Appends the value as the last "VarerIBrukB64" element
             */
            public void addVarerIBrukB64(byte[] varerIBrukB64)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VARERIBRUKB64$10);
                    target.setByteArrayValue(varerIBrukB64);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "VarerIBrukB64" element
             */
            public org.apache.xmlbeans.XmlBase64Binary insertNewVarerIBrukB64(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlBase64Binary target = null;
                    target = (org.apache.xmlbeans.XmlBase64Binary)get_store().insert_element_user(VARERIBRUKB64$10, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "VarerIBrukB64" element
             */
            public org.apache.xmlbeans.XmlBase64Binary addNewVarerIBrukB64()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlBase64Binary target = null;
                    target = (org.apache.xmlbeans.XmlBase64Binary)get_store().add_element_user(VARERIBRUKB64$10);
                    return target;
                }
            }
            
            /**
             * Removes the ith "VarerIBrukB64" element
             */
            public void removeVarerIBrukB64(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(VARERIBRUKB64$10, i);
                }
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy