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

no.kith.xmlstds.eresept.m9Na4.x20160606.impl.EgenandelDocumentImpl Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
/*
 * An XML document type.
 * Localname: Egenandel
 * Namespace: http://www.kith.no/xmlstds/eresept/m9na4/2016-06-06
 * Java type: no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument
 *
 * Automatically generated - do not modify.
 */
package no.kith.xmlstds.eresept.m9Na4.x20160606.impl;
/**
 * A document containing one Egenandel(@http://www.kith.no/xmlstds/eresept/m9na4/2016-06-06) element.
 *
 * This is a complex type.
 */
public class EgenandelDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument
{
    private static final long serialVersionUID = 1L;
    
    public EgenandelDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName EGENANDEL$0 = 
        new javax.xml.namespace.QName("http://www.kith.no/xmlstds/eresept/m9na4/2016-06-06", "Egenandel");
    
    
    /**
     * Gets the "Egenandel" element
     */
    public no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel getEgenandel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel target = null;
            target = (no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel)get_store().find_element_user(EGENANDEL$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Egenandel" element
     */
    public void setEgenandel(no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel egenandel)
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel target = null;
            target = (no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel)get_store().find_element_user(EGENANDEL$0, 0);
            if (target == null)
            {
                target = (no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel)get_store().add_element_user(EGENANDEL$0);
            }
            target.set(egenandel);
        }
    }
    
    /**
     * Appends and returns a new empty "Egenandel" element
     */
    public no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel addNewEgenandel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel target = null;
            target = (no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel)get_store().add_element_user(EGENANDEL$0);
            return target;
        }
    }
    /**
     * An XML Egenandel(@http://www.kith.no/xmlstds/eresept/m9na4/2016-06-06).
     *
     * This is a complex type.
     */
    public static class EgenandelImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements no.kith.xmlstds.eresept.m9Na4.x20160606.EgenandelDocument.Egenandel
    {
        private static final long serialVersionUID = 1L;
        
        public EgenandelImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName STARTEGENANDELSPERIODE$0 = 
            new javax.xml.namespace.QName("http://www.kith.no/xmlstds/eresept/m9na4/2016-06-06", "StartEgenandelsperiode");
        private static final javax.xml.namespace.QName BETALTEGENANDEL$2 = 
            new javax.xml.namespace.QName("http://www.kith.no/xmlstds/eresept/m9na4/2016-06-06", "BetaltEgenandel");
        
        
        /**
         * Gets the "StartEgenandelsperiode" element
         */
        public java.util.Calendar getStartEgenandelsperiode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STARTEGENANDELSPERIODE$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getCalendarValue();
            }
        }
        
        /**
         * Gets (as xml) the "StartEgenandelsperiode" element
         */
        public org.apache.xmlbeans.XmlDate xgetStartEgenandelsperiode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDate target = null;
                target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTEGENANDELSPERIODE$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "StartEgenandelsperiode" element
         */
        public void setStartEgenandelsperiode(java.util.Calendar startEgenandelsperiode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STARTEGENANDELSPERIODE$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STARTEGENANDELSPERIODE$0);
                }
                target.setCalendarValue(startEgenandelsperiode);
            }
        }
        
        /**
         * Sets (as xml) the "StartEgenandelsperiode" element
         */
        public void xsetStartEgenandelsperiode(org.apache.xmlbeans.XmlDate startEgenandelsperiode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDate target = null;
                target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(STARTEGENANDELSPERIODE$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(STARTEGENANDELSPERIODE$0);
                }
                target.set(startEgenandelsperiode);
            }
        }
        
        /**
         * Gets the "BetaltEgenandel" element
         */
        public no.kith.xmlstds.MO getBetaltEgenandel()
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.kith.xmlstds.MO target = null;
                target = (no.kith.xmlstds.MO)get_store().find_element_user(BETALTEGENANDEL$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "BetaltEgenandel" element
         */
        public void setBetaltEgenandel(no.kith.xmlstds.MO betaltEgenandel)
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.kith.xmlstds.MO target = null;
                target = (no.kith.xmlstds.MO)get_store().find_element_user(BETALTEGENANDEL$2, 0);
                if (target == null)
                {
                    target = (no.kith.xmlstds.MO)get_store().add_element_user(BETALTEGENANDEL$2);
                }
                target.set(betaltEgenandel);
            }
        }
        
        /**
         * Appends and returns a new empty "BetaltEgenandel" element
         */
        public no.kith.xmlstds.MO addNewBetaltEgenandel()
        {
            synchronized (monitor())
            {
                check_orphaned();
                no.kith.xmlstds.MO target = null;
                target = (no.kith.xmlstds.MO)get_store().add_element_user(BETALTEGENANDEL$2);
                return target;
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy