2006/unicorn/org/w3/unicorn/observationresponse/impl WarningsDocumentImpl.java,NONE,1.1 ResultDocumentImpl.java,NONE,1.1 ErrorcountDocumentImpl.java,NONE,1.1 ErrorsDocumentImpl.java,NONE,1.1 ColumnDocumentImpl.java,NONE,1.1 TWarningLevelsImpl.java,NONE,1.1 InfolistDocumentImpl.java,NONE,1.1 ErrortypeDocumentImpl.java,NONE,1.1 InAImpl.java,NONE,1.1 VersionDocumentImpl.java,NONE,1.1 LongmessageDocumentImpl.java,NONE,1.1 ContextDocumentImpl.java,NONE,1.1 CodeDocumentImpl.java,NONE,1.1 InfoDocumentImpl.java,NONE,1.1 MessageDocumentImpl.java,NONE,1.1 ErrorDocumentImpl.java,NONE,1.1 WarningcountDocumentImpl.java,NONE,1.1 LevelDocumentImpl.java,NONE,1.1 LineDocumentImpl.java,NONE,1.1 DateDocumentImpl.java,NONE,1.1 InformationsDocumentImpl.java,NONE,1.1 InfocountDocumentImpl.java,NONE,1.1 CheckedbyDocumentImpl.java,NONE,1.1 ObservationresponseDocumentImpl.java,NONE,1.1 InlineImpl.java,NONE,1.1 PassedDocumentImpl.java,NONE,1.1 ADocumentImpl.java,NONE,1.1 UriDocumentImpl.java,NONE,1.1 ImgDocumentImpl.java,NO

Update of /sources/public/2006/unicorn/org/w3/unicorn/observationresponse/impl
In directory hutz:/tmp/cvs-serv22514/org/w3/unicorn/observationresponse/impl

Added Files:
	WarningsDocumentImpl.java ResultDocumentImpl.java 
	ErrorcountDocumentImpl.java ErrorsDocumentImpl.java 
	ColumnDocumentImpl.java TWarningLevelsImpl.java 
	InfolistDocumentImpl.java ErrortypeDocumentImpl.java 
	InAImpl.java VersionDocumentImpl.java 
	LongmessageDocumentImpl.java ContextDocumentImpl.java 
	CodeDocumentImpl.java InfoDocumentImpl.java 
	MessageDocumentImpl.java ErrorDocumentImpl.java 
	WarningcountDocumentImpl.java LevelDocumentImpl.java 
	LineDocumentImpl.java DateDocumentImpl.java 
	InformationsDocumentImpl.java InfocountDocumentImpl.java 
	CheckedbyDocumentImpl.java 
	ObservationresponseDocumentImpl.java InlineImpl.java 
	PassedDocumentImpl.java ADocumentImpl.java 
	UriDocumentImpl.java ImgDocumentImpl.java 
	ErrorlistDocumentImpl.java WarninglistDocumentImpl.java 
	WarningDocumentImpl.java 
Log Message:
Care about the observation response with XMLBeans. Tested and approved by our tests :)

--- NEW FILE: InformationsDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: informations
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.InformationsDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one informations(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class InformationsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.InformationsDocument
{
    
    public InformationsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName INFORMATIONS$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "informations");
    
    
    /**
     * Gets the "informations" element
     */
    public org.w3.unicorn.observationresponse.InformationsDocument.Informations getInformations()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.InformationsDocument.Informations target = null;
            target = (org.w3.unicorn.observationresponse.InformationsDocument.Informations)get_store().find_element_user(INFORMATIONS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "informations" element
     */
    public void setInformations(org.w3.unicorn.observationresponse.InformationsDocument.Informations informations)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.InformationsDocument.Informations target = null;
            target = (org.w3.unicorn.observationresponse.InformationsDocument.Informations)get_store().find_element_user(INFORMATIONS$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.InformationsDocument.Informations)get_store().add_element_user(INFORMATIONS$0);
            }
            target.set(informations);
        }
    }
    
    /**
     * Appends and returns a new empty "informations" element
     */
    public org.w3.unicorn.observationresponse.InformationsDocument.Informations addNewInformations()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.InformationsDocument.Informations target = null;
            target = (org.w3.unicorn.observationresponse.InformationsDocument.Informations)get_store().add_element_user(INFORMATIONS$0);
            return target;
        }
    }
    /**
     * An XML informations(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class InformationsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.InformationsDocument.Informations
    {
        
        public InformationsImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName INFOCOUNT$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "infocount");
        private static final javax.xml.namespace.QName INFOLIST$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "infolist");
        private static final javax.xml.namespace.QName LANG$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/XML/1998/namespace", "lang");
        
        
        /**
         * Gets the "infocount" element
         */
        public java.math.BigInteger getInfocount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INFOCOUNT$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "infocount" element
         */
        public org.apache.xmlbeans.XmlInteger xgetInfocount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(INFOCOUNT$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "infocount" element
         */
        public boolean isSetInfocount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(INFOCOUNT$0) != 0;
            }
        }
        
        /**
         * Sets the "infocount" element
         */
        public void setInfocount(java.math.BigInteger infocount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INFOCOUNT$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INFOCOUNT$0);
                }
                target.setBigIntegerValue(infocount);
            }
        }
        
        /**
         * Sets (as xml) the "infocount" element
         */
        public void xsetInfocount(org.apache.xmlbeans.XmlInteger infocount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(INFOCOUNT$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInteger)get_store().add_element_user(INFOCOUNT$0);
                }
                target.set(infocount);
            }
        }
        
        /**
         * Unsets the "infocount" element
         */
        public void unsetInfocount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(INFOCOUNT$0, 0);
            }
        }
        
        /**
         * Gets array of all "infolist" elements
         */
        public org.w3.unicorn.observationresponse.InfolistDocument.Infolist[] getInfolistArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(INFOLIST$2, targetList);
                org.w3.unicorn.observationresponse.InfolistDocument.Infolist[] result = new org.w3.unicorn.observationresponse.InfolistDocument.Infolist[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "infolist" element
         */
        public org.w3.unicorn.observationresponse.InfolistDocument.Infolist getInfolistArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InfolistDocument.Infolist target = null;
                target = (org.w3.unicorn.observationresponse.InfolistDocument.Infolist)get_store().find_element_user(INFOLIST$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "infolist" element
         */
        public int sizeOfInfolistArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(INFOLIST$2);
            }
        }
        
        /**
         * Sets array of all "infolist" element
         */
        public void setInfolistArray(org.w3.unicorn.observationresponse.InfolistDocument.Infolist[] infolistArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(infolistArray, INFOLIST$2);
            }
        }
        
        /**
         * Sets ith "infolist" element
         */
        public void setInfolistArray(int i, org.w3.unicorn.observationresponse.InfolistDocument.Infolist infolist)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InfolistDocument.Infolist target = null;
                target = (org.w3.unicorn.observationresponse.InfolistDocument.Infolist)get_store().find_element_user(INFOLIST$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(infolist);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "infolist" element
         */
        public org.w3.unicorn.observationresponse.InfolistDocument.Infolist insertNewInfolist(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InfolistDocument.Infolist target = null;
                target = (org.w3.unicorn.observationresponse.InfolistDocument.Infolist)get_store().insert_element_user(INFOLIST$2, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "infolist" element
         */
        public org.w3.unicorn.observationresponse.InfolistDocument.Infolist addNewInfolist()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InfolistDocument.Infolist target = null;
                target = (org.w3.unicorn.observationresponse.InfolistDocument.Infolist)get_store().add_element_user(INFOLIST$2);
                return target;
            }
        }
        
        /**
         * Removes the ith "infolist" element
         */
        public void removeInfolist(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(INFOLIST$2, i);
            }
        }
        
        /**
         * Gets the "lang" attribute
         */
        public java.lang.String getLang()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANG$4);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "lang" attribute
         */
        public org.apache.xmlbeans.XmlLanguage xgetLang()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlLanguage target = null;
                target = (org.apache.xmlbeans.XmlLanguage)get_store().find_attribute_user(LANG$4);
                return target;
            }
        }
        
        /**
         * Sets the "lang" attribute
         */
        public void setLang(java.lang.String lang)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANG$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LANG$4);
                }
                target.setStringValue(lang);
            }
        }
        
        /**
         * Sets (as xml) the "lang" attribute
         */
        public void xsetLang(org.apache.xmlbeans.XmlLanguage lang)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlLanguage target = null;
                target = (org.apache.xmlbeans.XmlLanguage)get_store().find_attribute_user(LANG$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlLanguage)get_store().add_attribute_user(LANG$4);
                }
                target.set(lang);
            }
        }
    }
}

--- NEW FILE: ResultDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: result
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ResultDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one result(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ResultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ResultDocument
{
    
    public ResultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName RESULT$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "result");
    
    
    /**
     * Gets the "result" element
     */
    public org.w3.unicorn.observationresponse.ResultDocument.Result getResult()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ResultDocument.Result target = null;
            target = (org.w3.unicorn.observationresponse.ResultDocument.Result)get_store().find_element_user(RESULT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "result" element
     */
    public void setResult(org.w3.unicorn.observationresponse.ResultDocument.Result result)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ResultDocument.Result target = null;
            target = (org.w3.unicorn.observationresponse.ResultDocument.Result)get_store().find_element_user(RESULT$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.ResultDocument.Result)get_store().add_element_user(RESULT$0);
            }
            target.set(result);
        }
    }
    
    /**
     * Appends and returns a new empty "result" element
     */
    public org.w3.unicorn.observationresponse.ResultDocument.Result addNewResult()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ResultDocument.Result target = null;
            target = (org.w3.unicorn.observationresponse.ResultDocument.Result)get_store().add_element_user(RESULT$0);
            return target;
        }
    }
    /**
     * An XML result(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class ResultImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ResultDocument.Result
    {
        
        public ResultImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName ERRORS$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "errors");
        private static final javax.xml.namespace.QName WARNINGS$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "warnings");
        private static final javax.xml.namespace.QName INFORMATIONS$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "informations");
        
        
        /**
         * Gets the "errors" element
         */
        public org.w3.unicorn.observationresponse.ErrorsDocument.Errors getErrors()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorsDocument.Errors target = null;
                target = (org.w3.unicorn.observationresponse.ErrorsDocument.Errors)get_store().find_element_user(ERRORS$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "errors" element
         */
        public boolean isSetErrors()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ERRORS$0) != 0;
            }
        }
        
        /**
         * Sets the "errors" element
         */
        public void setErrors(org.w3.unicorn.observationresponse.ErrorsDocument.Errors errors)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorsDocument.Errors target = null;
                target = (org.w3.unicorn.observationresponse.ErrorsDocument.Errors)get_store().find_element_user(ERRORS$0, 0);
                if (target == null)
                {
                    target = (org.w3.unicorn.observationresponse.ErrorsDocument.Errors)get_store().add_element_user(ERRORS$0);
                }
                target.set(errors);
            }
        }
        
        /**
         * Appends and returns a new empty "errors" element
         */
        public org.w3.unicorn.observationresponse.ErrorsDocument.Errors addNewErrors()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorsDocument.Errors target = null;
                target = (org.w3.unicorn.observationresponse.ErrorsDocument.Errors)get_store().add_element_user(ERRORS$0);
                return target;
            }
        }
        
        /**
         * Unsets the "errors" element
         */
        public void unsetErrors()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ERRORS$0, 0);
            }
        }
        
        /**
         * Gets the "warnings" element
         */
        public org.w3.unicorn.observationresponse.WarningsDocument.Warnings getWarnings()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarningsDocument.Warnings target = null;
                target = (org.w3.unicorn.observationresponse.WarningsDocument.Warnings)get_store().find_element_user(WARNINGS$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "warnings" element
         */
        public boolean isSetWarnings()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(WARNINGS$2) != 0;
            }
        }
        
        /**
         * Sets the "warnings" element
         */
        public void setWarnings(org.w3.unicorn.observationresponse.WarningsDocument.Warnings warnings)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarningsDocument.Warnings target = null;
                target = (org.w3.unicorn.observationresponse.WarningsDocument.Warnings)get_store().find_element_user(WARNINGS$2, 0);
                if (target == null)
                {
                    target = (org.w3.unicorn.observationresponse.WarningsDocument.Warnings)get_store().add_element_user(WARNINGS$2);
                }
                target.set(warnings);
            }
        }
        
        /**
         * Appends and returns a new empty "warnings" element
         */
        public org.w3.unicorn.observationresponse.WarningsDocument.Warnings addNewWarnings()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarningsDocument.Warnings target = null;
                target = (org.w3.unicorn.observationresponse.WarningsDocument.Warnings)get_store().add_element_user(WARNINGS$2);
                return target;
            }
        }
        
        /**
         * Unsets the "warnings" element
         */
        public void unsetWarnings()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(WARNINGS$2, 0);
            }
        }
        
        /**
         * Gets the "informations" element
         */
        public org.w3.unicorn.observationresponse.InformationsDocument.Informations getInformations()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InformationsDocument.Informations target = null;
                target = (org.w3.unicorn.observationresponse.InformationsDocument.Informations)get_store().find_element_user(INFORMATIONS$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "informations" element
         */
        public boolean isSetInformations()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(INFORMATIONS$4) != 0;
            }
        }
        
        /**
         * Sets the "informations" element
         */
        public void setInformations(org.w3.unicorn.observationresponse.InformationsDocument.Informations informations)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InformationsDocument.Informations target = null;
                target = (org.w3.unicorn.observationresponse.InformationsDocument.Informations)get_store().find_element_user(INFORMATIONS$4, 0);
                if (target == null)
                {
                    target = (org.w3.unicorn.observationresponse.InformationsDocument.Informations)get_store().add_element_user(INFORMATIONS$4);
                }
                target.set(informations);
            }
        }
        
        /**
         * Appends and returns a new empty "informations" element
         */
        public org.w3.unicorn.observationresponse.InformationsDocument.Informations addNewInformations()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InformationsDocument.Informations target = null;
                target = (org.w3.unicorn.observationresponse.InformationsDocument.Informations)get_store().add_element_user(INFORMATIONS$4);
                return target;
            }
        }
        
        /**
         * Unsets the "informations" element
         */
        public void unsetInformations()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(INFORMATIONS$4, 0);
            }
        }
    }
}

--- NEW FILE: InfolistDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: infolist
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.InfolistDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one infolist(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class InfolistDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.InfolistDocument
{
    
    public InfolistDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName INFOLIST$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "infolist");
    
    
    /**
     * Gets the "infolist" element
     */
    public org.w3.unicorn.observationresponse.InfolistDocument.Infolist getInfolist()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.InfolistDocument.Infolist target = null;
            target = (org.w3.unicorn.observationresponse.InfolistDocument.Infolist)get_store().find_element_user(INFOLIST$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "infolist" element
     */
    public void setInfolist(org.w3.unicorn.observationresponse.InfolistDocument.Infolist infolist)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.InfolistDocument.Infolist target = null;
            target = (org.w3.unicorn.observationresponse.InfolistDocument.Infolist)get_store().find_element_user(INFOLIST$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.InfolistDocument.Infolist)get_store().add_element_user(INFOLIST$0);
            }
            target.set(infolist);
        }
    }
    
    /**
     * Appends and returns a new empty "infolist" element
     */
    public org.w3.unicorn.observationresponse.InfolistDocument.Infolist addNewInfolist()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.InfolistDocument.Infolist target = null;
            target = (org.w3.unicorn.observationresponse.InfolistDocument.Infolist)get_store().add_element_user(INFOLIST$0);
            return target;
        }
    }
    /**
     * An XML infolist(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class InfolistImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.InfolistDocument.Infolist
    {
        
        public InfolistImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName URI$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "uri");
        private static final javax.xml.namespace.QName INFOCOUNT$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "infocount");
        private static final javax.xml.namespace.QName INFO$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "info");
        
        
        /**
         * Gets the "uri" element
         */
        public java.lang.String getUri()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "uri" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetUri()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URI$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "uri" element
         */
        public void setUri(java.lang.String uri)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(URI$0);
                }
                target.setStringValue(uri);
            }
        }
        
        /**
         * Sets (as xml) the "uri" element
         */
        public void xsetUri(org.apache.xmlbeans.XmlAnyURI uri)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(URI$0);
                }
                target.set(uri);
            }
        }
        
        /**
         * Gets the "infocount" element
         */
        public java.math.BigInteger getInfocount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INFOCOUNT$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "infocount" element
         */
        public org.apache.xmlbeans.XmlInteger xgetInfocount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(INFOCOUNT$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "infocount" element
         */
        public boolean isSetInfocount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(INFOCOUNT$2) != 0;
            }
        }
        
        /**
         * Sets the "infocount" element
         */
        public void setInfocount(java.math.BigInteger infocount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INFOCOUNT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INFOCOUNT$2);
                }
                target.setBigIntegerValue(infocount);
            }
        }
        
        /**
         * Sets (as xml) the "infocount" element
         */
        public void xsetInfocount(org.apache.xmlbeans.XmlInteger infocount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(INFOCOUNT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInteger)get_store().add_element_user(INFOCOUNT$2);
                }
                target.set(infocount);
            }
        }
        
        /**
         * Unsets the "infocount" element
         */
        public void unsetInfocount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(INFOCOUNT$2, 0);
            }
        }
        
        /**
         * Gets array of all "info" elements
         */
        public org.w3.unicorn.observationresponse.InfoDocument.Info[] getInfoArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(INFO$4, targetList);
                org.w3.unicorn.observationresponse.InfoDocument.Info[] result = new org.w3.unicorn.observationresponse.InfoDocument.Info[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "info" element
         */
        public org.w3.unicorn.observationresponse.InfoDocument.Info getInfoArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InfoDocument.Info target = null;
                target = (org.w3.unicorn.observationresponse.InfoDocument.Info)get_store().find_element_user(INFO$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "info" element
         */
        public int sizeOfInfoArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(INFO$4);
            }
        }
        
        /**
         * Sets array of all "info" element
         */
        public void setInfoArray(org.w3.unicorn.observationresponse.InfoDocument.Info[] infoArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(infoArray, INFO$4);
            }
        }
        
        /**
         * Sets ith "info" element
         */
        public void setInfoArray(int i, org.w3.unicorn.observationresponse.InfoDocument.Info info)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InfoDocument.Info target = null;
                target = (org.w3.unicorn.observationresponse.InfoDocument.Info)get_store().find_element_user(INFO$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(info);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "info" element
         */
        public org.w3.unicorn.observationresponse.InfoDocument.Info insertNewInfo(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InfoDocument.Info target = null;
                target = (org.w3.unicorn.observationresponse.InfoDocument.Info)get_store().insert_element_user(INFO$4, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "info" element
         */
        public org.w3.unicorn.observationresponse.InfoDocument.Info addNewInfo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.InfoDocument.Info target = null;
                target = (org.w3.unicorn.observationresponse.InfoDocument.Info)get_store().add_element_user(INFO$4);
                return target;
            }
        }
        
        /**
         * Removes the ith "info" element
         */
        public void removeInfo(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(INFO$4, i);
            }
        }
    }
}

--- NEW FILE: InfoDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: info
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.InfoDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one info(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class InfoDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.InfoDocument
{
    
    public InfoDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName INFO$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "info");
    
    
    /**
     * Gets the "info" element
     */
    public org.w3.unicorn.observationresponse.InfoDocument.Info getInfo()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.InfoDocument.Info target = null;
            target = (org.w3.unicorn.observationresponse.InfoDocument.Info)get_store().find_element_user(INFO$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "info" element
     */
    public void setInfo(org.w3.unicorn.observationresponse.InfoDocument.Info info)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.InfoDocument.Info target = null;
            target = (org.w3.unicorn.observationresponse.InfoDocument.Info)get_store().find_element_user(INFO$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.InfoDocument.Info)get_store().add_element_user(INFO$0);
            }
            target.set(info);
        }
    }
    
    /**
     * Appends and returns a new empty "info" element
     */
    public org.w3.unicorn.observationresponse.InfoDocument.Info addNewInfo()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.InfoDocument.Info target = null;
            target = (org.w3.unicorn.observationresponse.InfoDocument.Info)get_store().add_element_user(INFO$0);
            return target;
        }
    }
    /**
     * An XML info(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class InfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.InfoDocument.Info
    {
        
        public InfoImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName LINE$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "line");
        private static final javax.xml.namespace.QName COLUMN$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "column");
        private static final javax.xml.namespace.QName CONTEXT$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "context");
        private static final javax.xml.namespace.QName MESSAGE$6 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "message");
        private static final javax.xml.namespace.QName LONGMESSAGE$8 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "longmessage");
        
        
        /**
         * Gets the "line" element
         */
        public java.math.BigInteger getLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LINE$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "line" element
         */
        public org.apache.xmlbeans.XmlNonNegativeInteger xgetLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LINE$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "line" element
         */
        public boolean isSetLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LINE$0) != 0;
            }
        }
        
        /**
         * Sets the "line" element
         */
        public void setLine(java.math.BigInteger line)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LINE$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LINE$0);
                }
                target.setBigIntegerValue(line);
            }
        }
        
        /**
         * Sets (as xml) the "line" element
         */
        public void xsetLine(org.apache.xmlbeans.XmlNonNegativeInteger line)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LINE$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_element_user(LINE$0);
                }
                target.set(line);
            }
        }
        
        /**
         * Unsets the "line" element
         */
        public void unsetLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LINE$0, 0);
            }
        }
        
        /**
         * Gets the "column" element
         */
        public java.math.BigInteger getColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COLUMN$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "column" element
         */
        public org.apache.xmlbeans.XmlNonNegativeInteger xgetColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(COLUMN$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "column" element
         */
        public boolean isSetColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(COLUMN$2) != 0;
            }
        }
        
        /**
         * Sets the "column" element
         */
        public void setColumn(java.math.BigInteger column)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COLUMN$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COLUMN$2);
                }
                target.setBigIntegerValue(column);
            }
        }
        
        /**
         * Sets (as xml) the "column" element
         */
        public void xsetColumn(org.apache.xmlbeans.XmlNonNegativeInteger column)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(COLUMN$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_element_user(COLUMN$2);
                }
                target.set(column);
            }
        }
        
        /**
         * Unsets the "column" element
         */
        public void unsetColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(COLUMN$2, 0);
            }
        }
        
        /**
         * Gets the "context" element
         */
        public java.lang.String getContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTEXT$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "context" element
         */
        public org.apache.xmlbeans.XmlString xgetContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CONTEXT$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "context" element
         */
        public boolean isSetContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CONTEXT$4) != 0;
            }
        }
        
        /**
         * Sets the "context" element
         */
        public void setContext(java.lang.String context)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTEXT$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTEXT$4);
                }
                target.setStringValue(context);
            }
        }
        
        /**
         * Sets (as xml) the "context" element
         */
        public void xsetContext(org.apache.xmlbeans.XmlString context)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CONTEXT$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(CONTEXT$4);
                }
                target.set(context);
            }
        }
        
        /**
         * Unsets the "context" element
         */
        public void unsetContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CONTEXT$4, 0);
            }
        }
        
        /**
         * Gets array of all "message" elements
         */
        public java.lang.String[] getMessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(MESSAGE$6, 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 "message" element
         */
        public java.lang.String getMessageArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGE$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) array of all "message" elements
         */
        public org.apache.xmlbeans.XmlString[] xgetMessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(MESSAGE$6, targetList);
                org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets (as xml) ith "message" element
         */
        public org.apache.xmlbeans.XmlString xgetMessageArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MESSAGE$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return (org.apache.xmlbeans.XmlString)target;
            }
        }
        
        /**
         * Returns number of "message" element
         */
        public int sizeOfMessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(MESSAGE$6);
            }
        }
        
        /**
         * Sets array of all "message" element
         */
        public void setMessageArray(java.lang.String[] messageArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(messageArray, MESSAGE$6);
            }
        }
        
        /**
         * Sets ith "message" element
         */
        public void setMessageArray(int i, java.lang.String message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGE$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.setStringValue(message);
            }
        }
        
        /**
         * Sets (as xml) array of all "message" element
         */
        public void xsetMessageArray(org.apache.xmlbeans.XmlString[]messageArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(messageArray, MESSAGE$6);
            }
        }
        
        /**
         * Sets (as xml) ith "message" element
         */
        public void xsetMessageArray(int i, org.apache.xmlbeans.XmlString message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MESSAGE$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(message);
            }
        }
        
        /**
         * Inserts the value as the ith "message" element
         */
        public void insertMessage(int i, java.lang.String message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = 
                    (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(MESSAGE$6, i);
                target.setStringValue(message);
            }
        }
        
        /**
         * Appends the value as the last "message" element
         */
        public void addMessage(java.lang.String message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MESSAGE$6);
                target.setStringValue(message);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "message" element
         */
        public org.apache.xmlbeans.XmlString insertNewMessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(MESSAGE$6, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "message" element
         */
        public org.apache.xmlbeans.XmlString addNewMessage()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MESSAGE$6);
                return target;
            }
        }
        
        /**
         * Removes the ith "message" element
         */
        public void removeMessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(MESSAGE$6, i);
            }
        }
        
        /**
         * Gets array of all "longmessage" elements
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[] getLongmessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(LONGMESSAGE$8, targetList);
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[] result = new org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "longmessage" element
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage getLongmessageArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().find_element_user(LONGMESSAGE$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "longmessage" element
         */
        public int sizeOfLongmessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LONGMESSAGE$8);
            }
        }
        
        /**
         * Sets array of all "longmessage" element
         */
        public void setLongmessageArray(org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[] longmessageArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(longmessageArray, LONGMESSAGE$8);
            }
        }
        
        /**
         * Sets ith "longmessage" element
         */
        public void setLongmessageArray(int i, org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage longmessage)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().find_element_user(LONGMESSAGE$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(longmessage);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "longmessage" element
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage insertNewLongmessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().insert_element_user(LONGMESSAGE$8, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "longmessage" element
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage addNewLongmessage()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().add_element_user(LONGMESSAGE$8);
                return target;
            }
        }
        
        /**
         * Removes the ith "longmessage" element
         */
        public void removeLongmessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LONGMESSAGE$8, i);
            }
        }
    }
}

--- NEW FILE: ErrorcountDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: errorcount
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ErrorcountDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one errorcount(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ErrorcountDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ErrorcountDocument
{
    
    public ErrorcountDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ERRORCOUNT$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "errorcount");
    
    
    /**
     * Gets the "errorcount" element
     */
    public java.math.BigInteger getErrorcount()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ERRORCOUNT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getBigIntegerValue();
        }
    }
    
    /**
     * Gets (as xml) the "errorcount" element
     */
    public org.apache.xmlbeans.XmlInteger xgetErrorcount()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInteger target = null;
            target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(ERRORCOUNT$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "errorcount" element
     */
    public void setErrorcount(java.math.BigInteger errorcount)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ERRORCOUNT$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ERRORCOUNT$0);
            }
            target.setBigIntegerValue(errorcount);
        }
    }
    
    /**
     * Sets (as xml) the "errorcount" element
     */
    public void xsetErrorcount(org.apache.xmlbeans.XmlInteger errorcount)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInteger target = null;
            target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(ERRORCOUNT$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlInteger)get_store().add_element_user(ERRORCOUNT$0);
            }
            target.set(errorcount);
        }
    }
}

--- NEW FILE: InfocountDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: infocount
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.InfocountDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one infocount(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class InfocountDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.InfocountDocument
{
    
    public InfocountDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName INFOCOUNT$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "infocount");
    
    
    /**
     * Gets the "infocount" element
     */
    public java.math.BigInteger getInfocount()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INFOCOUNT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getBigIntegerValue();
        }
    }
    
    /**
     * Gets (as xml) the "infocount" element
     */
    public org.apache.xmlbeans.XmlInteger xgetInfocount()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInteger target = null;
            target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(INFOCOUNT$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "infocount" element
     */
    public void setInfocount(java.math.BigInteger infocount)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INFOCOUNT$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INFOCOUNT$0);
            }
            target.setBigIntegerValue(infocount);
        }
    }
    
    /**
     * Sets (as xml) the "infocount" element
     */
    public void xsetInfocount(org.apache.xmlbeans.XmlInteger infocount)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInteger target = null;
            target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(INFOCOUNT$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlInteger)get_store().add_element_user(INFOCOUNT$0);
            }
            target.set(infocount);
        }
    }
}

--- NEW FILE: ADocumentImpl.java ---
/*
 * An XML document type.
 * Localname: a
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ADocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one a(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ADocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ADocument
{
    
    public ADocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName A$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "a");
    
    
    /**
     * Gets the "a" element
     */
    public org.w3.unicorn.observationresponse.ADocument.A getA()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ADocument.A target = null;
            target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().find_element_user(A$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "a" element
     */
    public void setA(org.w3.unicorn.observationresponse.ADocument.A a)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ADocument.A target = null;
            target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().find_element_user(A$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().add_element_user(A$0);
            }
            target.set(a);
        }
    }
    
    /**
     * Appends and returns a new empty "a" element
     */
    public org.w3.unicorn.observationresponse.ADocument.A addNewA()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ADocument.A target = null;
            target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().add_element_user(A$0);
            return target;
        }
    }
    /**
     * An XML a(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class AImpl extends org.w3.unicorn.observationresponse.impl.InAImpl implements org.w3.unicorn.observationresponse.ADocument.A
    {
        
        public AImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName HREF$0 = 
            new javax.xml.namespace.QName("", "href");
        
        
        /**
         * Gets the "href" attribute
         */
        public java.lang.String getHref()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HREF$0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "href" attribute
         */
        public org.apache.xmlbeans.XmlAnyURI xgetHref()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(HREF$0);
                return target;
            }
        }
        
        /**
         * True if has "href" attribute
         */
        public boolean isSetHref()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(HREF$0) != null;
            }
        }
        
        /**
         * Sets the "href" attribute
         */
        public void setHref(java.lang.String href)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HREF$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(HREF$0);
                }
                target.setStringValue(href);
            }
        }
        
        /**
         * Sets (as xml) the "href" attribute
         */
        public void xsetHref(org.apache.xmlbeans.XmlAnyURI href)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(HREF$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(HREF$0);
                }
                target.set(href);
            }
        }
        
        /**
         * Unsets the "href" attribute
         */
        public void unsetHref()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(HREF$0);
            }
        }
    }
}

--- NEW FILE: WarningsDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: warnings
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.WarningsDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one warnings(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class WarningsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.WarningsDocument
{
    
    public WarningsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName WARNINGS$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "warnings");
    
    
    /**
     * Gets the "warnings" element
     */
    public org.w3.unicorn.observationresponse.WarningsDocument.Warnings getWarnings()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.WarningsDocument.Warnings target = null;
            target = (org.w3.unicorn.observationresponse.WarningsDocument.Warnings)get_store().find_element_user(WARNINGS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "warnings" element
     */
    public void setWarnings(org.w3.unicorn.observationresponse.WarningsDocument.Warnings warnings)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.WarningsDocument.Warnings target = null;
            target = (org.w3.unicorn.observationresponse.WarningsDocument.Warnings)get_store().find_element_user(WARNINGS$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.WarningsDocument.Warnings)get_store().add_element_user(WARNINGS$0);
            }
            target.set(warnings);
        }
    }
    
    /**
     * Appends and returns a new empty "warnings" element
     */
    public org.w3.unicorn.observationresponse.WarningsDocument.Warnings addNewWarnings()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.WarningsDocument.Warnings target = null;
            target = (org.w3.unicorn.observationresponse.WarningsDocument.Warnings)get_store().add_element_user(WARNINGS$0);
            return target;
        }
    }
    /**
     * An XML warnings(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class WarningsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.WarningsDocument.Warnings
    {
        
        public WarningsImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName WARNINGCOUNT$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "warningcount");
        private static final javax.xml.namespace.QName WARNINGLIST$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "warninglist");
        private static final javax.xml.namespace.QName LANG$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/XML/1998/namespace", "lang");
        
        
        /**
         * Gets the "warningcount" element
         */
        public java.math.BigInteger getWarningcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WARNINGCOUNT$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "warningcount" element
         */
        public org.apache.xmlbeans.XmlInteger xgetWarningcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(WARNINGCOUNT$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "warningcount" element
         */
        public boolean isSetWarningcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(WARNINGCOUNT$0) != 0;
            }
        }
        
        /**
         * Sets the "warningcount" element
         */
        public void setWarningcount(java.math.BigInteger warningcount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WARNINGCOUNT$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(WARNINGCOUNT$0);
                }
                target.setBigIntegerValue(warningcount);
            }
        }
        
        /**
         * Sets (as xml) the "warningcount" element
         */
        public void xsetWarningcount(org.apache.xmlbeans.XmlInteger warningcount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(WARNINGCOUNT$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInteger)get_store().add_element_user(WARNINGCOUNT$0);
                }
                target.set(warningcount);
            }
        }
        
        /**
         * Unsets the "warningcount" element
         */
        public void unsetWarningcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(WARNINGCOUNT$0, 0);
            }
        }
        
        /**
         * Gets array of all "warninglist" elements
         */
        public org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist[] getWarninglistArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(WARNINGLIST$2, targetList);
                org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist[] result = new org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "warninglist" element
         */
        public org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist getWarninglistArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist target = null;
                target = (org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist)get_store().find_element_user(WARNINGLIST$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "warninglist" element
         */
        public int sizeOfWarninglistArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(WARNINGLIST$2);
            }
        }
        
        /**
         * Sets array of all "warninglist" element
         */
        public void setWarninglistArray(org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist[] warninglistArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(warninglistArray, WARNINGLIST$2);
            }
        }
        
        /**
         * Sets ith "warninglist" element
         */
        public void setWarninglistArray(int i, org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist warninglist)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist target = null;
                target = (org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist)get_store().find_element_user(WARNINGLIST$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(warninglist);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "warninglist" element
         */
        public org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist insertNewWarninglist(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist target = null;
                target = (org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist)get_store().insert_element_user(WARNINGLIST$2, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "warninglist" element
         */
        public org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist addNewWarninglist()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist target = null;
                target = (org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist)get_store().add_element_user(WARNINGLIST$2);
                return target;
            }
        }
        
        /**
         * Removes the ith "warninglist" element
         */
        public void removeWarninglist(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(WARNINGLIST$2, i);
            }
        }
        
        /**
         * Gets the "lang" attribute
         */
        public java.lang.String getLang()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANG$4);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "lang" attribute
         */
        public org.apache.xmlbeans.XmlLanguage xgetLang()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlLanguage target = null;
                target = (org.apache.xmlbeans.XmlLanguage)get_store().find_attribute_user(LANG$4);
                return target;
            }
        }
        
        /**
         * Sets the "lang" attribute
         */
        public void setLang(java.lang.String lang)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANG$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LANG$4);
                }
                target.setStringValue(lang);
            }
        }
        
        /**
         * Sets (as xml) the "lang" attribute
         */
        public void xsetLang(org.apache.xmlbeans.XmlLanguage lang)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlLanguage target = null;
                target = (org.apache.xmlbeans.XmlLanguage)get_store().find_attribute_user(LANG$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlLanguage)get_store().add_attribute_user(LANG$4);
                }
                target.set(lang);
            }
        }
    }
}

--- NEW FILE: ObservationresponseDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: observationresponse
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ObservationresponseDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one observationresponse(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ObservationresponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ObservationresponseDocument
{
    
    public ObservationresponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName OBSERVATIONRESPONSE$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "observationresponse");
    
    
    /**
     * Gets the "observationresponse" element
     */
    public org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse getObservationresponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse target = null;
            target = (org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse)get_store().find_element_user(OBSERVATIONRESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "observationresponse" element
     */
    public void setObservationresponse(org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse observationresponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse target = null;
            target = (org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse)get_store().find_element_user(OBSERVATIONRESPONSE$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse)get_store().add_element_user(OBSERVATIONRESPONSE$0);
            }
            target.set(observationresponse);
        }
    }
    
    /**
     * Appends and returns a new empty "observationresponse" element
     */
    public org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse addNewObservationresponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse target = null;
            target = (org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse)get_store().add_element_user(OBSERVATIONRESPONSE$0);
            return target;
        }
    }
    /**
     * An XML observationresponse(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class ObservationresponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ObservationresponseDocument.Observationresponse
    {
        
        public ObservationresponseImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName URI$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "uri");
        private static final javax.xml.namespace.QName CHECKEDBY$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "checkedby");
        private static final javax.xml.namespace.QName VERSION$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "version");
        private static final javax.xml.namespace.QName DATE$6 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "date");
        private static final javax.xml.namespace.QName PASSED$8 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "passed");
        private static final javax.xml.namespace.QName RESULT$10 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "result");
        
        
        /**
         * Gets the "uri" element
         */
        public java.lang.String getUri()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "uri" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetUri()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URI$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "uri" element
         */
        public void setUri(java.lang.String uri)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(URI$0);
                }
                target.setStringValue(uri);
            }
        }
        
        /**
         * Sets (as xml) the "uri" element
         */
        public void xsetUri(org.apache.xmlbeans.XmlAnyURI uri)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(URI$0);
                }
                target.set(uri);
            }
        }
        
        /**
         * Gets the "checkedby" element
         */
        public java.lang.String getCheckedby()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CHECKEDBY$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "checkedby" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetCheckedby()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(CHECKEDBY$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "checkedby" element
         */
        public boolean isSetCheckedby()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CHECKEDBY$2) != 0;
            }
        }
        
        /**
         * Sets the "checkedby" element
         */
        public void setCheckedby(java.lang.String checkedby)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CHECKEDBY$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CHECKEDBY$2);
                }
                target.setStringValue(checkedby);
            }
        }
        
        /**
         * Sets (as xml) the "checkedby" element
         */
        public void xsetCheckedby(org.apache.xmlbeans.XmlAnyURI checkedby)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(CHECKEDBY$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(CHECKEDBY$2);
                }
                target.set(checkedby);
            }
        }
        
        /**
         * Unsets the "checkedby" element
         */
        public void unsetCheckedby()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CHECKEDBY$2, 0);
            }
        }
        
        /**
         * Gets the "version" element
         */
        public java.lang.String getVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "version" element
         */
        public org.apache.xmlbeans.XmlString xgetVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSION$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "version" element
         */
        public boolean isSetVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(VERSION$4) != 0;
            }
        }
        
        /**
         * Sets the "version" element
         */
        public void setVersion(java.lang.String version)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VERSION$4);
                }
                target.setStringValue(version);
            }
        }
        
        /**
         * Sets (as xml) the "version" element
         */
        public void xsetVersion(org.apache.xmlbeans.XmlString version)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSION$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(VERSION$4);
                }
                target.set(version);
            }
        }
        
        /**
         * Unsets the "version" element
         */
        public void unsetVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(VERSION$4, 0);
            }
        }
        
        /**
         * Gets the "date" element
         */
        public java.util.Calendar getDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATE$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getCalendarValue();
            }
        }
        
        /**
         * Gets (as xml) the "date" element
         */
        public org.apache.xmlbeans.XmlDateTime xgetDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDateTime target = null;
                target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(DATE$6, 0);
                return target;
            }
        }
        
        /**
         * True if has "date" element
         */
        public boolean isSetDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(DATE$6) != 0;
            }
        }
        
        /**
         * Sets the "date" element
         */
        public void setDate(java.util.Calendar date)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATE$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATE$6);
                }
                target.setCalendarValue(date);
            }
        }
        
        /**
         * Sets (as xml) the "date" element
         */
        public void xsetDate(org.apache.xmlbeans.XmlDateTime date)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDateTime target = null;
                target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(DATE$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(DATE$6);
                }
                target.set(date);
            }
        }
        
        /**
         * Unsets the "date" element
         */
        public void unsetDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(DATE$6, 0);
            }
        }
        
        /**
         * Gets the "passed" element
         */
        public boolean getPassed()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PASSED$8, 0);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "passed" element
         */
        public org.apache.xmlbeans.XmlBoolean xgetPassed()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(PASSED$8, 0);
                return target;
            }
        }
        
        /**
         * True if has "passed" element
         */
        public boolean isSetPassed()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PASSED$8) != 0;
            }
        }
        
        /**
         * Sets the "passed" element
         */
        public void setPassed(boolean passed)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PASSED$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PASSED$8);
                }
                target.setBooleanValue(passed);
            }
        }
        
        /**
         * Sets (as xml) the "passed" element
         */
        public void xsetPassed(org.apache.xmlbeans.XmlBoolean passed)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(PASSED$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(PASSED$8);
                }
                target.set(passed);
            }
        }
        
        /**
         * Unsets the "passed" element
         */
        public void unsetPassed()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PASSED$8, 0);
            }
        }
        
        /**
         * Gets the "result" element
         */
        public org.w3.unicorn.observationresponse.ResultDocument.Result getResult()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ResultDocument.Result target = null;
                target = (org.w3.unicorn.observationresponse.ResultDocument.Result)get_store().find_element_user(RESULT$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "result" element
         */
        public void setResult(org.w3.unicorn.observationresponse.ResultDocument.Result result)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ResultDocument.Result target = null;
                target = (org.w3.unicorn.observationresponse.ResultDocument.Result)get_store().find_element_user(RESULT$10, 0);
                if (target == null)
                {
                    target = (org.w3.unicorn.observationresponse.ResultDocument.Result)get_store().add_element_user(RESULT$10);
                }
                target.set(result);
            }
        }
        
        /**
         * Appends and returns a new empty "result" element
         */
        public org.w3.unicorn.observationresponse.ResultDocument.Result addNewResult()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ResultDocument.Result target = null;
                target = (org.w3.unicorn.observationresponse.ResultDocument.Result)get_store().add_element_user(RESULT$10);
                return target;
            }
        }
    }
}

--- NEW FILE: CheckedbyDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: checkedby
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.CheckedbyDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one checkedby(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class CheckedbyDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.CheckedbyDocument
{
    
    public CheckedbyDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CHECKEDBY$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "checkedby");
    
    
    /**
     * Gets the "checkedby" element
     */
    public java.lang.String getCheckedby()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CHECKEDBY$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "checkedby" element
     */
    public org.apache.xmlbeans.XmlAnyURI xgetCheckedby()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnyURI target = null;
            target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(CHECKEDBY$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "checkedby" element
     */
    public void setCheckedby(java.lang.String checkedby)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CHECKEDBY$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CHECKEDBY$0);
            }
            target.setStringValue(checkedby);
        }
    }
    
    /**
     * Sets (as xml) the "checkedby" element
     */
    public void xsetCheckedby(org.apache.xmlbeans.XmlAnyURI checkedby)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnyURI target = null;
            target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(CHECKEDBY$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(CHECKEDBY$0);
            }
            target.set(checkedby);
        }
    }
}

--- NEW FILE: ImgDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: img
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ImgDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one img(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ImgDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ImgDocument
{
    
    public ImgDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName IMG$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "img");
    
    
    /**
     * Gets the "img" element
     */
    public org.w3.unicorn.observationresponse.ImgDocument.Img getImg()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
            target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().find_element_user(IMG$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "img" element
     */
    public void setImg(org.w3.unicorn.observationresponse.ImgDocument.Img img)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
            target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().find_element_user(IMG$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().add_element_user(IMG$0);
            }
            target.set(img);
        }
    }
    
    /**
     * Appends and returns a new empty "img" element
     */
    public org.w3.unicorn.observationresponse.ImgDocument.Img addNewImg()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
            target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().add_element_user(IMG$0);
            return target;
        }
    }
    /**
     * An XML img(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class ImgImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ImgDocument.Img
    {
        
        public ImgImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName SRC$0 = 
            new javax.xml.namespace.QName("", "src");
        private static final javax.xml.namespace.QName ALT$2 = 
            new javax.xml.namespace.QName("", "alt");
        private static final javax.xml.namespace.QName NAME$4 = 
            new javax.xml.namespace.QName("", "name");
        private static final javax.xml.namespace.QName LONGDESC$6 = 
            new javax.xml.namespace.QName("", "longdesc");
        private static final javax.xml.namespace.QName HEIGHT$8 = 
            new javax.xml.namespace.QName("", "height");
        private static final javax.xml.namespace.QName WIDTH$10 = 
            new javax.xml.namespace.QName("", "width");
        
        
        /**
         * Gets the "src" attribute
         */
        public java.lang.String getSrc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SRC$0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "src" attribute
         */
        public org.apache.xmlbeans.XmlAnyURI xgetSrc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(SRC$0);
                return target;
            }
        }
        
        /**
         * Sets the "src" attribute
         */
        public void setSrc(java.lang.String src)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SRC$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SRC$0);
                }
                target.setStringValue(src);
            }
        }
        
        /**
         * Sets (as xml) the "src" attribute
         */
        public void xsetSrc(org.apache.xmlbeans.XmlAnyURI src)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(SRC$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(SRC$0);
                }
                target.set(src);
            }
        }
        
        /**
         * Gets the "alt" attribute
         */
        public java.lang.String getAlt()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ALT$2);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "alt" attribute
         */
        public org.apache.xmlbeans.XmlString xgetAlt()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ALT$2);
                return target;
            }
        }
        
        /**
         * Sets the "alt" attribute
         */
        public void setAlt(java.lang.String alt)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ALT$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ALT$2);
                }
                target.setStringValue(alt);
            }
        }
        
        /**
         * Sets (as xml) the "alt" attribute
         */
        public void xsetAlt(org.apache.xmlbeans.XmlString alt)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ALT$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(ALT$2);
                }
                target.set(alt);
            }
        }
        
        /**
         * Gets the "name" attribute
         */
        public java.lang.String getName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$4);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "name" attribute
         */
        public org.apache.xmlbeans.XmlNMTOKEN xgetName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNMTOKEN target = null;
                target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().find_attribute_user(NAME$4);
                return target;
            }
        }
        
        /**
         * True if has "name" attribute
         */
        public boolean isSetName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(NAME$4) != null;
            }
        }
        
        /**
         * Sets the "name" attribute
         */
        public void setName(java.lang.String name)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$4);
                }
                target.setStringValue(name);
            }
        }
        
        /**
         * Sets (as xml) the "name" attribute
         */
        public void xsetName(org.apache.xmlbeans.XmlNMTOKEN name)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNMTOKEN target = null;
                target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().find_attribute_user(NAME$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNMTOKEN)get_store().add_attribute_user(NAME$4);
                }
                target.set(name);
            }
        }
        
        /**
         * Unsets the "name" attribute
         */
        public void unsetName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(NAME$4);
            }
        }
        
        /**
         * Gets the "longdesc" attribute
         */
        public java.lang.String getLongdesc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LONGDESC$6);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "longdesc" attribute
         */
        public org.apache.xmlbeans.XmlAnyURI xgetLongdesc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(LONGDESC$6);
                return target;
            }
        }
        
        /**
         * True if has "longdesc" attribute
         */
        public boolean isSetLongdesc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(LONGDESC$6) != null;
            }
        }
        
        /**
         * Sets the "longdesc" attribute
         */
        public void setLongdesc(java.lang.String longdesc)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LONGDESC$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LONGDESC$6);
                }
                target.setStringValue(longdesc);
            }
        }
        
        /**
         * Sets (as xml) the "longdesc" attribute
         */
        public void xsetLongdesc(org.apache.xmlbeans.XmlAnyURI longdesc)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(LONGDESC$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(LONGDESC$6);
                }
                target.set(longdesc);
            }
        }
        
        /**
         * Unsets the "longdesc" attribute
         */
        public void unsetLongdesc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(LONGDESC$6);
            }
        }
        
        /**
         * Gets the "height" attribute
         */
        public java.math.BigInteger getHeight()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HEIGHT$8);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "height" attribute
         */
        public org.apache.xmlbeans.XmlNonNegativeInteger xgetHeight()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_attribute_user(HEIGHT$8);
                return target;
            }
        }
        
        /**
         * True if has "height" attribute
         */
        public boolean isSetHeight()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(HEIGHT$8) != null;
            }
        }
        
        /**
         * Sets the "height" attribute
         */
        public void setHeight(java.math.BigInteger height)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HEIGHT$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(HEIGHT$8);
                }
                target.setBigIntegerValue(height);
            }
        }
        
        /**
         * Sets (as xml) the "height" attribute
         */
        public void xsetHeight(org.apache.xmlbeans.XmlNonNegativeInteger height)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_attribute_user(HEIGHT$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_attribute_user(HEIGHT$8);
                }
                target.set(height);
            }
        }
        
        /**
         * Unsets the "height" attribute
         */
        public void unsetHeight()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(HEIGHT$8);
            }
        }
        
        /**
         * Gets the "width" attribute
         */
        public java.math.BigInteger getWidth()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(WIDTH$10);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "width" attribute
         */
        public org.apache.xmlbeans.XmlNonNegativeInteger xgetWidth()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_attribute_user(WIDTH$10);
                return target;
            }
        }
        
        /**
         * True if has "width" attribute
         */
        public boolean isSetWidth()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(WIDTH$10) != null;
            }
        }
        
        /**
         * Sets the "width" attribute
         */
        public void setWidth(java.math.BigInteger width)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(WIDTH$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(WIDTH$10);
                }
                target.setBigIntegerValue(width);
            }
        }
        
        /**
         * Sets (as xml) the "width" attribute
         */
        public void xsetWidth(org.apache.xmlbeans.XmlNonNegativeInteger width)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_attribute_user(WIDTH$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_attribute_user(WIDTH$10);
                }
                target.set(width);
            }
        }
        
        /**
         * Unsets the "width" attribute
         */
        public void unsetWidth()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(WIDTH$10);
            }
        }
    }
}

--- NEW FILE: WarningDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: warning
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.WarningDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one warning(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class WarningDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.WarningDocument
{
    
    public WarningDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName WARNING$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "warning");
    
    
    /**
     * Gets the "warning" element
     */
    public org.w3.unicorn.observationresponse.WarningDocument.Warning getWarning()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.WarningDocument.Warning target = null;
            target = (org.w3.unicorn.observationresponse.WarningDocument.Warning)get_store().find_element_user(WARNING$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "warning" element
     */
    public void setWarning(org.w3.unicorn.observationresponse.WarningDocument.Warning warning)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.WarningDocument.Warning target = null;
            target = (org.w3.unicorn.observationresponse.WarningDocument.Warning)get_store().find_element_user(WARNING$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.WarningDocument.Warning)get_store().add_element_user(WARNING$0);
            }
            target.set(warning);
        }
    }
    
    /**
     * Appends and returns a new empty "warning" element
     */
    public org.w3.unicorn.observationresponse.WarningDocument.Warning addNewWarning()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.WarningDocument.Warning target = null;
            target = (org.w3.unicorn.observationresponse.WarningDocument.Warning)get_store().add_element_user(WARNING$0);
            return target;
        }
    }
    /**
     * An XML warning(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class WarningImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.WarningDocument.Warning
    {
        
        public WarningImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName LINE$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "line");
        private static final javax.xml.namespace.QName COLUMN$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "column");
        private static final javax.xml.namespace.QName CONTEXT$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "context");
        private static final javax.xml.namespace.QName LEVEL$6 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "level");
        private static final javax.xml.namespace.QName MESSAGE$8 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "message");
        private static final javax.xml.namespace.QName LONGMESSAGE$10 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "longmessage");
        
        
        /**
         * Gets the "line" element
         */
        public java.math.BigInteger getLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LINE$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "line" element
         */
        public org.apache.xmlbeans.XmlNonNegativeInteger xgetLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LINE$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "line" element
         */
        public boolean isSetLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LINE$0) != 0;
            }
        }
        
        /**
         * Sets the "line" element
         */
        public void setLine(java.math.BigInteger line)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LINE$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LINE$0);
                }
                target.setBigIntegerValue(line);
            }
        }
        
        /**
         * Sets (as xml) the "line" element
         */
        public void xsetLine(org.apache.xmlbeans.XmlNonNegativeInteger line)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LINE$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_element_user(LINE$0);
                }
                target.set(line);
            }
        }
        
        /**
         * Unsets the "line" element
         */
        public void unsetLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LINE$0, 0);
            }
        }
        
        /**
         * Gets the "column" element
         */
        public java.math.BigInteger getColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COLUMN$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "column" element
         */
        public org.apache.xmlbeans.XmlNonNegativeInteger xgetColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(COLUMN$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "column" element
         */
        public boolean isSetColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(COLUMN$2) != 0;
            }
        }
        
        /**
         * Sets the "column" element
         */
        public void setColumn(java.math.BigInteger column)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COLUMN$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COLUMN$2);
                }
                target.setBigIntegerValue(column);
            }
        }
        
        /**
         * Sets (as xml) the "column" element
         */
        public void xsetColumn(org.apache.xmlbeans.XmlNonNegativeInteger column)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(COLUMN$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_element_user(COLUMN$2);
                }
                target.set(column);
            }
        }
        
        /**
         * Unsets the "column" element
         */
        public void unsetColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(COLUMN$2, 0);
            }
        }
        
        /**
         * Gets the "context" element
         */
        public java.lang.String getContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTEXT$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "context" element
         */
        public org.apache.xmlbeans.XmlString xgetContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CONTEXT$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "context" element
         */
        public boolean isSetContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CONTEXT$4) != 0;
            }
        }
        
        /**
         * Sets the "context" element
         */
        public void setContext(java.lang.String context)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTEXT$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTEXT$4);
                }
                target.setStringValue(context);
            }
        }
        
        /**
         * Sets (as xml) the "context" element
         */
        public void xsetContext(org.apache.xmlbeans.XmlString context)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CONTEXT$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(CONTEXT$4);
                }
                target.set(context);
            }
        }
        
        /**
         * Unsets the "context" element
         */
        public void unsetContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CONTEXT$4, 0);
            }
        }
        
        /**
         * Gets the "level" element
         */
        public int getLevel()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LEVEL$6, 0);
                if (target == null)
                {
                    return 0;
                }
                return target.getIntValue();
            }
        }
        
        /**
         * Gets (as xml) the "level" element
         */
        public org.w3.unicorn.observationresponse.TWarningLevels xgetLevel()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.TWarningLevels target = null;
                target = (org.w3.unicorn.observationresponse.TWarningLevels)get_store().find_element_user(LEVEL$6, 0);
                return target;
            }
        }
        
        /**
         * True if has "level" element
         */
        public boolean isSetLevel()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LEVEL$6) != 0;
            }
        }
        
        /**
         * Sets the "level" element
         */
        public void setLevel(int level)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LEVEL$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LEVEL$6);
                }
                target.setIntValue(level);
            }
        }
        
        /**
         * Sets (as xml) the "level" element
         */
        public void xsetLevel(org.w3.unicorn.observationresponse.TWarningLevels level)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.TWarningLevels target = null;
                target = (org.w3.unicorn.observationresponse.TWarningLevels)get_store().find_element_user(LEVEL$6, 0);
                if (target == null)
                {
                    target = (org.w3.unicorn.observationresponse.TWarningLevels)get_store().add_element_user(LEVEL$6);
                }
                target.set(level);
            }
        }
        
        /**
         * Unsets the "level" element
         */
        public void unsetLevel()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LEVEL$6, 0);
            }
        }
        
        /**
         * Gets array of all "message" elements
         */
        public java.lang.String[] getMessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(MESSAGE$8, 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 "message" element
         */
        public java.lang.String getMessageArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGE$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) array of all "message" elements
         */
        public org.apache.xmlbeans.XmlString[] xgetMessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(MESSAGE$8, targetList);
                org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets (as xml) ith "message" element
         */
        public org.apache.xmlbeans.XmlString xgetMessageArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MESSAGE$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return (org.apache.xmlbeans.XmlString)target;
            }
        }
        
        /**
         * Returns number of "message" element
         */
        public int sizeOfMessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(MESSAGE$8);
            }
        }
        
        /**
         * Sets array of all "message" element
         */
        public void setMessageArray(java.lang.String[] messageArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(messageArray, MESSAGE$8);
            }
        }
        
        /**
         * Sets ith "message" element
         */
        public void setMessageArray(int i, java.lang.String message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGE$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.setStringValue(message);
            }
        }
        
        /**
         * Sets (as xml) array of all "message" element
         */
        public void xsetMessageArray(org.apache.xmlbeans.XmlString[]messageArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(messageArray, MESSAGE$8);
            }
        }
        
        /**
         * Sets (as xml) ith "message" element
         */
        public void xsetMessageArray(int i, org.apache.xmlbeans.XmlString message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MESSAGE$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(message);
            }
        }
        
        /**
         * Inserts the value as the ith "message" element
         */
        public void insertMessage(int i, java.lang.String message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = 
                    (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(MESSAGE$8, i);
                target.setStringValue(message);
            }
        }
        
        /**
         * Appends the value as the last "message" element
         */
        public void addMessage(java.lang.String message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MESSAGE$8);
                target.setStringValue(message);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "message" element
         */
        public org.apache.xmlbeans.XmlString insertNewMessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(MESSAGE$8, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "message" element
         */
        public org.apache.xmlbeans.XmlString addNewMessage()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MESSAGE$8);
                return target;
            }
        }
        
        /**
         * Removes the ith "message" element
         */
        public void removeMessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(MESSAGE$8, i);
            }
        }
        
        /**
         * Gets array of all "longmessage" elements
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[] getLongmessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(LONGMESSAGE$10, targetList);
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[] result = new org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "longmessage" element
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage getLongmessageArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().find_element_user(LONGMESSAGE$10, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "longmessage" element
         */
        public int sizeOfLongmessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LONGMESSAGE$10);
            }
        }
        
        /**
         * Sets array of all "longmessage" element
         */
        public void setLongmessageArray(org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[] longmessageArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(longmessageArray, LONGMESSAGE$10);
            }
        }
        
        /**
         * Sets ith "longmessage" element
         */
        public void setLongmessageArray(int i, org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage longmessage)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().find_element_user(LONGMESSAGE$10, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(longmessage);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "longmessage" element
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage insertNewLongmessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().insert_element_user(LONGMESSAGE$10, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "longmessage" element
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage addNewLongmessage()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().add_element_user(LONGMESSAGE$10);
                return target;
            }
        }
        
        /**
         * Removes the ith "longmessage" element
         */
        public void removeLongmessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LONGMESSAGE$10, i);
            }
        }
    }
}

--- NEW FILE: InAImpl.java ---
/*
 * XML Type:  inA
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.InA
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * An XML inA(@http://www.w3.org/unicorn/observationresponse).
 *
 * This is a complex type.
 */
public class InAImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.InA
{
    
    public InAImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName IMG$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "img");
    
    
    /**
     * Gets the "img" element
     */
    public org.w3.unicorn.observationresponse.ImgDocument.Img getImg()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
            target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().find_element_user(IMG$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "img" element
     */
    public void setImg(org.w3.unicorn.observationresponse.ImgDocument.Img img)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
            target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().find_element_user(IMG$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().add_element_user(IMG$0);
            }
            target.set(img);
        }
    }
    
    /**
     * Appends and returns a new empty "img" element
     */
    public org.w3.unicorn.observationresponse.ImgDocument.Img addNewImg()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
            target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().add_element_user(IMG$0);
            return target;
        }
    }
}

--- NEW FILE: WarninglistDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: warninglist
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.WarninglistDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one warninglist(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class WarninglistDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.WarninglistDocument
{
    
    public WarninglistDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName WARNINGLIST$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "warninglist");
    
    
    /**
     * Gets the "warninglist" element
     */
    public org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist getWarninglist()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist target = null;
            target = (org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist)get_store().find_element_user(WARNINGLIST$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "warninglist" element
     */
    public void setWarninglist(org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist warninglist)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist target = null;
            target = (org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist)get_store().find_element_user(WARNINGLIST$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist)get_store().add_element_user(WARNINGLIST$0);
            }
            target.set(warninglist);
        }
    }
    
    /**
     * Appends and returns a new empty "warninglist" element
     */
    public org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist addNewWarninglist()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist target = null;
            target = (org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist)get_store().add_element_user(WARNINGLIST$0);
            return target;
        }
    }
    /**
     * An XML warninglist(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class WarninglistImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.WarninglistDocument.Warninglist
    {
        
        public WarninglistImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName URI$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "uri");
        private static final javax.xml.namespace.QName WARNINGCOUNT$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "warningcount");
        private static final javax.xml.namespace.QName WARNING$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "warning");
        
        
        /**
         * Gets the "uri" element
         */
        public java.lang.String getUri()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "uri" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetUri()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URI$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "uri" element
         */
        public void setUri(java.lang.String uri)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(URI$0);
                }
                target.setStringValue(uri);
            }
        }
        
        /**
         * Sets (as xml) the "uri" element
         */
        public void xsetUri(org.apache.xmlbeans.XmlAnyURI uri)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(URI$0);
                }
                target.set(uri);
            }
        }
        
        /**
         * Gets the "warningcount" element
         */
        public java.math.BigInteger getWarningcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WARNINGCOUNT$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "warningcount" element
         */
        public org.apache.xmlbeans.XmlInteger xgetWarningcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(WARNINGCOUNT$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "warningcount" element
         */
        public boolean isSetWarningcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(WARNINGCOUNT$2) != 0;
            }
        }
        
        /**
         * Sets the "warningcount" element
         */
        public void setWarningcount(java.math.BigInteger warningcount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WARNINGCOUNT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(WARNINGCOUNT$2);
                }
                target.setBigIntegerValue(warningcount);
            }
        }
        
        /**
         * Sets (as xml) the "warningcount" element
         */
        public void xsetWarningcount(org.apache.xmlbeans.XmlInteger warningcount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(WARNINGCOUNT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInteger)get_store().add_element_user(WARNINGCOUNT$2);
                }
                target.set(warningcount);
            }
        }
        
        /**
         * Unsets the "warningcount" element
         */
        public void unsetWarningcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(WARNINGCOUNT$2, 0);
            }
        }
        
        /**
         * Gets array of all "warning" elements
         */
        public org.w3.unicorn.observationresponse.WarningDocument.Warning[] getWarningArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(WARNING$4, targetList);
                org.w3.unicorn.observationresponse.WarningDocument.Warning[] result = new org.w3.unicorn.observationresponse.WarningDocument.Warning[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "warning" element
         */
        public org.w3.unicorn.observationresponse.WarningDocument.Warning getWarningArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarningDocument.Warning target = null;
                target = (org.w3.unicorn.observationresponse.WarningDocument.Warning)get_store().find_element_user(WARNING$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "warning" element
         */
        public int sizeOfWarningArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(WARNING$4);
            }
        }
        
        /**
         * Sets array of all "warning" element
         */
        public void setWarningArray(org.w3.unicorn.observationresponse.WarningDocument.Warning[] warningArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(warningArray, WARNING$4);
            }
        }
        
        /**
         * Sets ith "warning" element
         */
        public void setWarningArray(int i, org.w3.unicorn.observationresponse.WarningDocument.Warning warning)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarningDocument.Warning target = null;
                target = (org.w3.unicorn.observationresponse.WarningDocument.Warning)get_store().find_element_user(WARNING$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(warning);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "warning" element
         */
        public org.w3.unicorn.observationresponse.WarningDocument.Warning insertNewWarning(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarningDocument.Warning target = null;
                target = (org.w3.unicorn.observationresponse.WarningDocument.Warning)get_store().insert_element_user(WARNING$4, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "warning" element
         */
        public org.w3.unicorn.observationresponse.WarningDocument.Warning addNewWarning()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.WarningDocument.Warning target = null;
                target = (org.w3.unicorn.observationresponse.WarningDocument.Warning)get_store().add_element_user(WARNING$4);
                return target;
            }
        }
        
        /**
         * Removes the ith "warning" element
         */
        public void removeWarning(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(WARNING$4, i);
            }
        }
    }
}

--- NEW FILE: LineDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: line
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.LineDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one line(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class LineDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.LineDocument
{
    
    public LineDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName LINE$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "line");
    
    
    /**
     * Gets the "line" element
     */
    public java.math.BigInteger getLine()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LINE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getBigIntegerValue();
        }
    }
    
    /**
     * Gets (as xml) the "line" element
     */
    public org.apache.xmlbeans.XmlNonNegativeInteger xgetLine()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlNonNegativeInteger target = null;
            target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LINE$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "line" element
     */
    public void setLine(java.math.BigInteger line)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LINE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LINE$0);
            }
            target.setBigIntegerValue(line);
        }
    }
    
    /**
     * Sets (as xml) the "line" element
     */
    public void xsetLine(org.apache.xmlbeans.XmlNonNegativeInteger line)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlNonNegativeInteger target = null;
            target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LINE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_element_user(LINE$0);
            }
            target.set(line);
        }
    }
}

--- NEW FILE: InlineImpl.java ---
/*
 * XML Type:  Inline
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.Inline
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * An XML Inline(@http://www.w3.org/unicorn/observationresponse).
 *
 * This is a complex type.
 */
public class InlineImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.Inline
{
    
    public InlineImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName A$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "a");
    private static final javax.xml.namespace.QName IMG$2 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "img");
    
    
    /**
     * Gets array of all "a" elements
     */
    public org.w3.unicorn.observationresponse.ADocument.A[] getAArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(A$0, targetList);
            org.w3.unicorn.observationresponse.ADocument.A[] result = new org.w3.unicorn.observationresponse.ADocument.A[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "a" element
     */
    public org.w3.unicorn.observationresponse.ADocument.A getAArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ADocument.A target = null;
            target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().find_element_user(A$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "a" element
     */
    public int sizeOfAArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(A$0);
        }
    }
    
    /**
     * Sets array of all "a" element
     */
    public void setAArray(org.w3.unicorn.observationresponse.ADocument.A[] aArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(aArray, A$0);
        }
    }
    
    /**
     * Sets ith "a" element
     */
    public void setAArray(int i, org.w3.unicorn.observationresponse.ADocument.A a)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ADocument.A target = null;
            target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().find_element_user(A$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(a);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "a" element
     */
    public org.w3.unicorn.observationresponse.ADocument.A insertNewA(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ADocument.A target = null;
            target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().insert_element_user(A$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "a" element
     */
    public org.w3.unicorn.observationresponse.ADocument.A addNewA()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ADocument.A target = null;
            target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().add_element_user(A$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "a" element
     */
    public void removeA(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(A$0, i);
        }
    }
    
    /**
     * Gets array of all "img" elements
     */
    public org.w3.unicorn.observationresponse.ImgDocument.Img[] getImgArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(IMG$2, targetList);
            org.w3.unicorn.observationresponse.ImgDocument.Img[] result = new org.w3.unicorn.observationresponse.ImgDocument.Img[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "img" element
     */
    public org.w3.unicorn.observationresponse.ImgDocument.Img getImgArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
            target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().find_element_user(IMG$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "img" element
     */
    public int sizeOfImgArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(IMG$2);
        }
    }
    
    /**
     * Sets array of all "img" element
     */
    public void setImgArray(org.w3.unicorn.observationresponse.ImgDocument.Img[] imgArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(imgArray, IMG$2);
        }
    }
    
    /**
     * Sets ith "img" element
     */
    public void setImgArray(int i, org.w3.unicorn.observationresponse.ImgDocument.Img img)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
            target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().find_element_user(IMG$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(img);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "img" element
     */
    public org.w3.unicorn.observationresponse.ImgDocument.Img insertNewImg(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
            target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().insert_element_user(IMG$2, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "img" element
     */
    public org.w3.unicorn.observationresponse.ImgDocument.Img addNewImg()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
            target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().add_element_user(IMG$2);
            return target;
        }
    }
    
    /**
     * Removes the ith "img" element
     */
    public void removeImg(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(IMG$2, i);
        }
    }
}

--- NEW FILE: ColumnDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: column
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ColumnDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one column(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ColumnDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ColumnDocument
{
    
    public ColumnDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName COLUMN$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "column");
    
    
    /**
     * Gets the "column" element
     */
    public java.math.BigInteger getColumn()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COLUMN$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getBigIntegerValue();
        }
    }
    
    /**
     * Gets (as xml) the "column" element
     */
    public org.apache.xmlbeans.XmlNonNegativeInteger xgetColumn()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlNonNegativeInteger target = null;
            target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(COLUMN$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "column" element
     */
    public void setColumn(java.math.BigInteger column)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COLUMN$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COLUMN$0);
            }
            target.setBigIntegerValue(column);
        }
    }
    
    /**
     * Sets (as xml) the "column" element
     */
    public void xsetColumn(org.apache.xmlbeans.XmlNonNegativeInteger column)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlNonNegativeInteger target = null;
            target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(COLUMN$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_element_user(COLUMN$0);
            }
            target.set(column);
        }
    }
}

--- NEW FILE: VersionDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: version
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.VersionDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one version(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class VersionDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.VersionDocument
{
    
    public VersionDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName VERSION$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "version");
    
    
    /**
     * Gets the "version" element
     */
    public java.lang.String getVersion()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "version" element
     */
    public org.apache.xmlbeans.XmlString xgetVersion()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSION$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "version" element
     */
    public void setVersion(java.lang.String version)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VERSION$0);
            }
            target.setStringValue(version);
        }
    }
    
    /**
     * Sets (as xml) the "version" element
     */
    public void xsetVersion(org.apache.xmlbeans.XmlString version)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSION$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(VERSION$0);
            }
            target.set(version);
        }
    }
}

--- NEW FILE: UriDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: uri
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.UriDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one uri(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class UriDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.UriDocument
{
    
    public UriDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName URI$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "uri");
    
    
    /**
     * Gets the "uri" element
     */
    public java.lang.String getUri()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URI$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "uri" element
     */
    public org.apache.xmlbeans.XmlAnyURI xgetUri()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnyURI target = null;
            target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URI$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "uri" element
     */
    public void setUri(java.lang.String uri)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URI$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(URI$0);
            }
            target.setStringValue(uri);
        }
    }
    
    /**
     * Sets (as xml) the "uri" element
     */
    public void xsetUri(org.apache.xmlbeans.XmlAnyURI uri)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnyURI target = null;
            target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URI$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(URI$0);
            }
            target.set(uri);
        }
    }
}

--- NEW FILE: ErrorlistDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: errorlist
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ErrorlistDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one errorlist(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ErrorlistDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ErrorlistDocument
{
    
    public ErrorlistDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ERRORLIST$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "errorlist");
    
    
    /**
     * Gets the "errorlist" element
     */
    public org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist getErrorlist()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist target = null;
            target = (org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist)get_store().find_element_user(ERRORLIST$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "errorlist" element
     */
    public void setErrorlist(org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist errorlist)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist target = null;
            target = (org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist)get_store().find_element_user(ERRORLIST$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist)get_store().add_element_user(ERRORLIST$0);
            }
            target.set(errorlist);
        }
    }
    
    /**
     * Appends and returns a new empty "errorlist" element
     */
    public org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist addNewErrorlist()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist target = null;
            target = (org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist)get_store().add_element_user(ERRORLIST$0);
            return target;
        }
    }
    /**
     * An XML errorlist(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class ErrorlistImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist
    {
        
        public ErrorlistImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName URI$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "uri");
        private static final javax.xml.namespace.QName ERRORCOUNT$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "errorcount");
        private static final javax.xml.namespace.QName ERROR$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "error");
        
        
        /**
         * Gets the "uri" element
         */
        public java.lang.String getUri()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "uri" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetUri()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URI$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "uri" element
         */
        public void setUri(java.lang.String uri)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(URI$0);
                }
                target.setStringValue(uri);
            }
        }
        
        /**
         * Sets (as xml) the "uri" element
         */
        public void xsetUri(org.apache.xmlbeans.XmlAnyURI uri)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URI$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(URI$0);
                }
                target.set(uri);
            }
        }
        
        /**
         * Gets the "errorcount" element
         */
        public java.math.BigInteger getErrorcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ERRORCOUNT$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "errorcount" element
         */
        public org.apache.xmlbeans.XmlInteger xgetErrorcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(ERRORCOUNT$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "errorcount" element
         */
        public boolean isSetErrorcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ERRORCOUNT$2) != 0;
            }
        }
        
        /**
         * Sets the "errorcount" element
         */
        public void setErrorcount(java.math.BigInteger errorcount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ERRORCOUNT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ERRORCOUNT$2);
                }
                target.setBigIntegerValue(errorcount);
            }
        }
        
        /**
         * Sets (as xml) the "errorcount" element
         */
        public void xsetErrorcount(org.apache.xmlbeans.XmlInteger errorcount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(ERRORCOUNT$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInteger)get_store().add_element_user(ERRORCOUNT$2);
                }
                target.set(errorcount);
            }
        }
        
        /**
         * Unsets the "errorcount" element
         */
        public void unsetErrorcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ERRORCOUNT$2, 0);
            }
        }
        
        /**
         * Gets array of all "error" elements
         */
        public org.w3.unicorn.observationresponse.ErrorDocument.Error[] getErrorArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(ERROR$4, targetList);
                org.w3.unicorn.observationresponse.ErrorDocument.Error[] result = new org.w3.unicorn.observationresponse.ErrorDocument.Error[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "error" element
         */
        public org.w3.unicorn.observationresponse.ErrorDocument.Error getErrorArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorDocument.Error target = null;
                target = (org.w3.unicorn.observationresponse.ErrorDocument.Error)get_store().find_element_user(ERROR$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "error" element
         */
        public int sizeOfErrorArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ERROR$4);
            }
        }
        
        /**
         * Sets array of all "error" element
         */
        public void setErrorArray(org.w3.unicorn.observationresponse.ErrorDocument.Error[] errorArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(errorArray, ERROR$4);
            }
        }
        
        /**
         * Sets ith "error" element
         */
        public void setErrorArray(int i, org.w3.unicorn.observationresponse.ErrorDocument.Error error)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorDocument.Error target = null;
                target = (org.w3.unicorn.observationresponse.ErrorDocument.Error)get_store().find_element_user(ERROR$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(error);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "error" element
         */
        public org.w3.unicorn.observationresponse.ErrorDocument.Error insertNewError(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorDocument.Error target = null;
                target = (org.w3.unicorn.observationresponse.ErrorDocument.Error)get_store().insert_element_user(ERROR$4, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "error" element
         */
        public org.w3.unicorn.observationresponse.ErrorDocument.Error addNewError()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorDocument.Error target = null;
                target = (org.w3.unicorn.observationresponse.ErrorDocument.Error)get_store().add_element_user(ERROR$4);
                return target;
            }
        }
        
        /**
         * Removes the ith "error" element
         */
        public void removeError(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ERROR$4, i);
            }
        }
    }
}

--- NEW FILE: MessageDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: message
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.MessageDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one message(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class MessageDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.MessageDocument
{
    
    public MessageDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName MESSAGE$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "message");
    
    
    /**
     * Gets the "message" element
     */
    public java.lang.String getMessage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "message" element
     */
    public org.apache.xmlbeans.XmlString xgetMessage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MESSAGE$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "message" element
     */
    public void setMessage(java.lang.String message)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MESSAGE$0);
            }
            target.setStringValue(message);
        }
    }
    
    /**
     * Sets (as xml) the "message" element
     */
    public void xsetMessage(org.apache.xmlbeans.XmlString message)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MESSAGE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MESSAGE$0);
            }
            target.set(message);
        }
    }
}

--- NEW FILE: ErrortypeDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: errortype
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ErrortypeDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one errortype(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ErrortypeDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ErrortypeDocument
{
    
    public ErrortypeDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ERRORTYPE$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "errortype");
    
    
    /**
     * Gets the "errortype" element
     */
    public java.lang.String getErrortype()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ERRORTYPE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "errortype" element
     */
    public org.apache.xmlbeans.XmlString xgetErrortype()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ERRORTYPE$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "errortype" element
     */
    public void setErrortype(java.lang.String errortype)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ERRORTYPE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ERRORTYPE$0);
            }
            target.setStringValue(errortype);
        }
    }
    
    /**
     * Sets (as xml) the "errortype" element
     */
    public void xsetErrortype(org.apache.xmlbeans.XmlString errortype)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ERRORTYPE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ERRORTYPE$0);
            }
            target.set(errortype);
        }
    }
}

--- NEW FILE: CodeDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: code
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.CodeDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one code(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class CodeDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.CodeDocument
{
    
    public CodeDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CODE$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "code");
    
    
    /**
     * Gets the "code" element
     */
    public org.w3.unicorn.observationresponse.CodeDocument.Code getCode()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.CodeDocument.Code target = null;
            target = (org.w3.unicorn.observationresponse.CodeDocument.Code)get_store().find_element_user(CODE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "code" element
     */
    public void setCode(org.w3.unicorn.observationresponse.CodeDocument.Code code)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.CodeDocument.Code target = null;
            target = (org.w3.unicorn.observationresponse.CodeDocument.Code)get_store().find_element_user(CODE$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.CodeDocument.Code)get_store().add_element_user(CODE$0);
            }
            target.set(code);
        }
    }
    
    /**
     * Appends and returns a new empty "code" element
     */
    public org.w3.unicorn.observationresponse.CodeDocument.Code addNewCode()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.CodeDocument.Code target = null;
            target = (org.w3.unicorn.observationresponse.CodeDocument.Code)get_store().add_element_user(CODE$0);
            return target;
        }
    }
    /**
     * An XML code(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class CodeImpl extends org.w3.unicorn.observationresponse.impl.InlineImpl implements org.w3.unicorn.observationresponse.CodeDocument.Code
    {
        
        public CodeImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        
    }
}

--- NEW FILE: LevelDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: level
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.LevelDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one level(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class LevelDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.LevelDocument
{
    
    public LevelDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName LEVEL$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "level");
    
    
    /**
     * Gets the "level" element
     */
    public int getLevel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LEVEL$0, 0);
            if (target == null)
            {
                return 0;
            }
            return target.getIntValue();
        }
    }
    
    /**
     * Gets (as xml) the "level" element
     */
    public org.w3.unicorn.observationresponse.TWarningLevels xgetLevel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.TWarningLevels target = null;
            target = (org.w3.unicorn.observationresponse.TWarningLevels)get_store().find_element_user(LEVEL$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "level" element
     */
    public void setLevel(int level)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LEVEL$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LEVEL$0);
            }
            target.setIntValue(level);
        }
    }
    
    /**
     * Sets (as xml) the "level" element
     */
    public void xsetLevel(org.w3.unicorn.observationresponse.TWarningLevels level)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.TWarningLevels target = null;
            target = (org.w3.unicorn.observationresponse.TWarningLevels)get_store().find_element_user(LEVEL$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.TWarningLevels)get_store().add_element_user(LEVEL$0);
            }
            target.set(level);
        }
    }
}

--- NEW FILE: WarningcountDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: warningcount
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.WarningcountDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one warningcount(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class WarningcountDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.WarningcountDocument
{
    
    public WarningcountDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName WARNINGCOUNT$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "warningcount");
    
    
    /**
     * Gets the "warningcount" element
     */
    public java.math.BigInteger getWarningcount()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WARNINGCOUNT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getBigIntegerValue();
        }
    }
    
    /**
     * Gets (as xml) the "warningcount" element
     */
    public org.apache.xmlbeans.XmlInteger xgetWarningcount()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInteger target = null;
            target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(WARNINGCOUNT$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "warningcount" element
     */
    public void setWarningcount(java.math.BigInteger warningcount)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WARNINGCOUNT$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(WARNINGCOUNT$0);
            }
            target.setBigIntegerValue(warningcount);
        }
    }
    
    /**
     * Sets (as xml) the "warningcount" element
     */
    public void xsetWarningcount(org.apache.xmlbeans.XmlInteger warningcount)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInteger target = null;
            target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(WARNINGCOUNT$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlInteger)get_store().add_element_user(WARNINGCOUNT$0);
            }
            target.set(warningcount);
        }
    }
}

--- NEW FILE: LongmessageDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: longmessage
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.LongmessageDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one longmessage(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class LongmessageDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.LongmessageDocument
{
    
    public LongmessageDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName LONGMESSAGE$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "longmessage");
    
    
    /**
     * Gets the "longmessage" element
     */
    public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage getLongmessage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
            target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().find_element_user(LONGMESSAGE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "longmessage" element
     */
    public void setLongmessage(org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage longmessage)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
            target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().find_element_user(LONGMESSAGE$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().add_element_user(LONGMESSAGE$0);
            }
            target.set(longmessage);
        }
    }
    
    /**
     * Appends and returns a new empty "longmessage" element
     */
    public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage addNewLongmessage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
            target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().add_element_user(LONGMESSAGE$0);
            return target;
        }
    }
    /**
     * An XML longmessage(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class LongmessageImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage
    {
        
        public LongmessageImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName A$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "a");
        private static final javax.xml.namespace.QName CODE$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "code");
        private static final javax.xml.namespace.QName IMG$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "img");
        
        
        /**
         * Gets array of all "a" elements
         */
        public org.w3.unicorn.observationresponse.ADocument.A[] getAArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(A$0, targetList);
                org.w3.unicorn.observationresponse.ADocument.A[] result = new org.w3.unicorn.observationresponse.ADocument.A[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "a" element
         */
        public org.w3.unicorn.observationresponse.ADocument.A getAArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ADocument.A target = null;
                target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().find_element_user(A$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "a" element
         */
        public int sizeOfAArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(A$0);
            }
        }
        
        /**
         * Sets array of all "a" element
         */
        public void setAArray(org.w3.unicorn.observationresponse.ADocument.A[] aArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(aArray, A$0);
            }
        }
        
        /**
         * Sets ith "a" element
         */
        public void setAArray(int i, org.w3.unicorn.observationresponse.ADocument.A a)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ADocument.A target = null;
                target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().find_element_user(A$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(a);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "a" element
         */
        public org.w3.unicorn.observationresponse.ADocument.A insertNewA(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ADocument.A target = null;
                target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().insert_element_user(A$0, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "a" element
         */
        public org.w3.unicorn.observationresponse.ADocument.A addNewA()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ADocument.A target = null;
                target = (org.w3.unicorn.observationresponse.ADocument.A)get_store().add_element_user(A$0);
                return target;
            }
        }
        
        /**
         * Removes the ith "a" element
         */
        public void removeA(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(A$0, i);
            }
        }
        
        /**
         * Gets array of all "code" elements
         */
        public org.w3.unicorn.observationresponse.CodeDocument.Code[] getCodeArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(CODE$2, targetList);
                org.w3.unicorn.observationresponse.CodeDocument.Code[] result = new org.w3.unicorn.observationresponse.CodeDocument.Code[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "code" element
         */
        public org.w3.unicorn.observationresponse.CodeDocument.Code getCodeArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.CodeDocument.Code target = null;
                target = (org.w3.unicorn.observationresponse.CodeDocument.Code)get_store().find_element_user(CODE$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "code" element
         */
        public int sizeOfCodeArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CODE$2);
            }
        }
        
        /**
         * Sets array of all "code" element
         */
        public void setCodeArray(org.w3.unicorn.observationresponse.CodeDocument.Code[] codeArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(codeArray, CODE$2);
            }
        }
        
        /**
         * Sets ith "code" element
         */
        public void setCodeArray(int i, org.w3.unicorn.observationresponse.CodeDocument.Code code)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.CodeDocument.Code target = null;
                target = (org.w3.unicorn.observationresponse.CodeDocument.Code)get_store().find_element_user(CODE$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(code);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "code" element
         */
        public org.w3.unicorn.observationresponse.CodeDocument.Code insertNewCode(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.CodeDocument.Code target = null;
                target = (org.w3.unicorn.observationresponse.CodeDocument.Code)get_store().insert_element_user(CODE$2, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "code" element
         */
        public org.w3.unicorn.observationresponse.CodeDocument.Code addNewCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.CodeDocument.Code target = null;
                target = (org.w3.unicorn.observationresponse.CodeDocument.Code)get_store().add_element_user(CODE$2);
                return target;
            }
        }
        
        /**
         * Removes the ith "code" element
         */
        public void removeCode(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CODE$2, i);
            }
        }
        
        /**
         * Gets array of all "img" elements
         */
        public org.w3.unicorn.observationresponse.ImgDocument.Img[] getImgArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(IMG$4, targetList);
                org.w3.unicorn.observationresponse.ImgDocument.Img[] result = new org.w3.unicorn.observationresponse.ImgDocument.Img[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "img" element
         */
        public org.w3.unicorn.observationresponse.ImgDocument.Img getImgArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
                target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().find_element_user(IMG$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "img" element
         */
        public int sizeOfImgArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(IMG$4);
            }
        }
        
        /**
         * Sets array of all "img" element
         */
        public void setImgArray(org.w3.unicorn.observationresponse.ImgDocument.Img[] imgArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(imgArray, IMG$4);
            }
        }
        
        /**
         * Sets ith "img" element
         */
        public void setImgArray(int i, org.w3.unicorn.observationresponse.ImgDocument.Img img)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
                target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().find_element_user(IMG$4, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(img);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "img" element
         */
        public org.w3.unicorn.observationresponse.ImgDocument.Img insertNewImg(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
                target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().insert_element_user(IMG$4, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "img" element
         */
        public org.w3.unicorn.observationresponse.ImgDocument.Img addNewImg()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ImgDocument.Img target = null;
                target = (org.w3.unicorn.observationresponse.ImgDocument.Img)get_store().add_element_user(IMG$4);
                return target;
            }
        }
        
        /**
         * Removes the ith "img" element
         */
        public void removeImg(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(IMG$4, i);
            }
        }
    }
}

--- NEW FILE: ErrorsDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: errors
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ErrorsDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one errors(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ErrorsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ErrorsDocument
{
    
    public ErrorsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ERRORS$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "errors");
    
    
    /**
     * Gets the "errors" element
     */
    public org.w3.unicorn.observationresponse.ErrorsDocument.Errors getErrors()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ErrorsDocument.Errors target = null;
            target = (org.w3.unicorn.observationresponse.ErrorsDocument.Errors)get_store().find_element_user(ERRORS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "errors" element
     */
    public void setErrors(org.w3.unicorn.observationresponse.ErrorsDocument.Errors errors)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ErrorsDocument.Errors target = null;
            target = (org.w3.unicorn.observationresponse.ErrorsDocument.Errors)get_store().find_element_user(ERRORS$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.ErrorsDocument.Errors)get_store().add_element_user(ERRORS$0);
            }
            target.set(errors);
        }
    }
    
    /**
     * Appends and returns a new empty "errors" element
     */
    public org.w3.unicorn.observationresponse.ErrorsDocument.Errors addNewErrors()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ErrorsDocument.Errors target = null;
            target = (org.w3.unicorn.observationresponse.ErrorsDocument.Errors)get_store().add_element_user(ERRORS$0);
            return target;
        }
    }
    /**
     * An XML errors(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class ErrorsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ErrorsDocument.Errors
    {
        
        public ErrorsImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName ERRORCOUNT$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "errorcount");
        private static final javax.xml.namespace.QName ERRORLIST$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "errorlist");
        private static final javax.xml.namespace.QName LANG$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/XML/1998/namespace", "lang");
        
        
        /**
         * Gets the "errorcount" element
         */
        public java.math.BigInteger getErrorcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ERRORCOUNT$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "errorcount" element
         */
        public org.apache.xmlbeans.XmlInteger xgetErrorcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(ERRORCOUNT$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "errorcount" element
         */
        public boolean isSetErrorcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ERRORCOUNT$0) != 0;
            }
        }
        
        /**
         * Sets the "errorcount" element
         */
        public void setErrorcount(java.math.BigInteger errorcount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ERRORCOUNT$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ERRORCOUNT$0);
                }
                target.setBigIntegerValue(errorcount);
            }
        }
        
        /**
         * Sets (as xml) the "errorcount" element
         */
        public void xsetErrorcount(org.apache.xmlbeans.XmlInteger errorcount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInteger target = null;
                target = (org.apache.xmlbeans.XmlInteger)get_store().find_element_user(ERRORCOUNT$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInteger)get_store().add_element_user(ERRORCOUNT$0);
                }
                target.set(errorcount);
            }
        }
        
        /**
         * Unsets the "errorcount" element
         */
        public void unsetErrorcount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ERRORCOUNT$0, 0);
            }
        }
        
        /**
         * Gets array of all "errorlist" elements
         */
        public org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist[] getErrorlistArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(ERRORLIST$2, targetList);
                org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist[] result = new org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "errorlist" element
         */
        public org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist getErrorlistArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist target = null;
                target = (org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist)get_store().find_element_user(ERRORLIST$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "errorlist" element
         */
        public int sizeOfErrorlistArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ERRORLIST$2);
            }
        }
        
        /**
         * Sets array of all "errorlist" element
         */
        public void setErrorlistArray(org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist[] errorlistArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(errorlistArray, ERRORLIST$2);
            }
        }
        
        /**
         * Sets ith "errorlist" element
         */
        public void setErrorlistArray(int i, org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist errorlist)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist target = null;
                target = (org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist)get_store().find_element_user(ERRORLIST$2, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(errorlist);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "errorlist" element
         */
        public org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist insertNewErrorlist(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist target = null;
                target = (org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist)get_store().insert_element_user(ERRORLIST$2, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "errorlist" element
         */
        public org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist addNewErrorlist()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist target = null;
                target = (org.w3.unicorn.observationresponse.ErrorlistDocument.Errorlist)get_store().add_element_user(ERRORLIST$2);
                return target;
            }
        }
        
        /**
         * Removes the ith "errorlist" element
         */
        public void removeErrorlist(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ERRORLIST$2, i);
            }
        }
        
        /**
         * Gets the "lang" attribute
         */
        public java.lang.String getLang()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANG$4);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "lang" attribute
         */
        public org.apache.xmlbeans.XmlLanguage xgetLang()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlLanguage target = null;
                target = (org.apache.xmlbeans.XmlLanguage)get_store().find_attribute_user(LANG$4);
                return target;
            }
        }
        
        /**
         * Sets the "lang" attribute
         */
        public void setLang(java.lang.String lang)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANG$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LANG$4);
                }
                target.setStringValue(lang);
            }
        }
        
        /**
         * Sets (as xml) the "lang" attribute
         */
        public void xsetLang(org.apache.xmlbeans.XmlLanguage lang)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlLanguage target = null;
                target = (org.apache.xmlbeans.XmlLanguage)get_store().find_attribute_user(LANG$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlLanguage)get_store().add_attribute_user(LANG$4);
                }
                target.set(lang);
            }
        }
    }
}

--- NEW FILE: PassedDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: passed
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.PassedDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one passed(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class PassedDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.PassedDocument
{
    
    public PassedDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PASSED$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "passed");
    
    
    /**
     * Gets the "passed" element
     */
    public boolean getPassed()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PASSED$0, 0);
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "passed" element
     */
    public org.apache.xmlbeans.XmlBoolean xgetPassed()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(PASSED$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "passed" element
     */
    public void setPassed(boolean passed)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PASSED$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PASSED$0);
            }
            target.setBooleanValue(passed);
        }
    }
    
    /**
     * Sets (as xml) the "passed" element
     */
    public void xsetPassed(org.apache.xmlbeans.XmlBoolean passed)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(PASSED$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(PASSED$0);
            }
            target.set(passed);
        }
    }
}

--- NEW FILE: DateDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: date
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.DateDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one date(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class DateDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.DateDocument
{
    
    public DateDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName DATE$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "date");
    
    
    /**
     * Gets the "date" element
     */
    public java.util.Calendar getDate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getCalendarValue();
        }
    }
    
    /**
     * Gets (as xml) the "date" element
     */
    public org.apache.xmlbeans.XmlDateTime xgetDate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDateTime target = null;
            target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(DATE$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "date" element
     */
    public void setDate(java.util.Calendar date)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATE$0);
            }
            target.setCalendarValue(date);
        }
    }
    
    /**
     * Sets (as xml) the "date" element
     */
    public void xsetDate(org.apache.xmlbeans.XmlDateTime date)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDateTime target = null;
            target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(DATE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(DATE$0);
            }
            target.set(date);
        }
    }
}

--- NEW FILE: ErrorDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: error
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ErrorDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one error(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ErrorDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ErrorDocument
{
    
    public ErrorDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ERROR$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "error");
    
    
    /**
     * Gets the "error" element
     */
    public org.w3.unicorn.observationresponse.ErrorDocument.Error getError()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ErrorDocument.Error target = null;
            target = (org.w3.unicorn.observationresponse.ErrorDocument.Error)get_store().find_element_user(ERROR$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "error" element
     */
    public void setError(org.w3.unicorn.observationresponse.ErrorDocument.Error error)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ErrorDocument.Error target = null;
            target = (org.w3.unicorn.observationresponse.ErrorDocument.Error)get_store().find_element_user(ERROR$0, 0);
            if (target == null)
            {
                target = (org.w3.unicorn.observationresponse.ErrorDocument.Error)get_store().add_element_user(ERROR$0);
            }
            target.set(error);
        }
    }
    
    /**
     * Appends and returns a new empty "error" element
     */
    public org.w3.unicorn.observationresponse.ErrorDocument.Error addNewError()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.w3.unicorn.observationresponse.ErrorDocument.Error target = null;
            target = (org.w3.unicorn.observationresponse.ErrorDocument.Error)get_store().add_element_user(ERROR$0);
            return target;
        }
    }
    /**
     * An XML error(@http://www.w3.org/unicorn/observationresponse).
     *
     * This is a complex type.
     */
    public static class ErrorImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ErrorDocument.Error
    {
        
        public ErrorImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName LINE$0 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "line");
        private static final javax.xml.namespace.QName COLUMN$2 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "column");
        private static final javax.xml.namespace.QName ERRORTYPE$4 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "errortype");
        private static final javax.xml.namespace.QName CONTEXT$6 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "context");
        private static final javax.xml.namespace.QName MESSAGE$8 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "message");
        private static final javax.xml.namespace.QName LONGMESSAGE$10 = 
            new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "longmessage");
        
        
        /**
         * Gets the "line" element
         */
        public java.math.BigInteger getLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LINE$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "line" element
         */
        public org.apache.xmlbeans.XmlNonNegativeInteger xgetLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LINE$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "line" element
         */
        public boolean isSetLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LINE$0) != 0;
            }
        }
        
        /**
         * Sets the "line" element
         */
        public void setLine(java.math.BigInteger line)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LINE$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LINE$0);
                }
                target.setBigIntegerValue(line);
            }
        }
        
        /**
         * Sets (as xml) the "line" element
         */
        public void xsetLine(org.apache.xmlbeans.XmlNonNegativeInteger line)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LINE$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_element_user(LINE$0);
                }
                target.set(line);
            }
        }
        
        /**
         * Unsets the "line" element
         */
        public void unsetLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LINE$0, 0);
            }
        }
        
        /**
         * Gets the "column" element
         */
        public java.math.BigInteger getColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COLUMN$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "column" element
         */
        public org.apache.xmlbeans.XmlNonNegativeInteger xgetColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(COLUMN$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "column" element
         */
        public boolean isSetColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(COLUMN$2) != 0;
            }
        }
        
        /**
         * Sets the "column" element
         */
        public void setColumn(java.math.BigInteger column)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COLUMN$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COLUMN$2);
                }
                target.setBigIntegerValue(column);
            }
        }
        
        /**
         * Sets (as xml) the "column" element
         */
        public void xsetColumn(org.apache.xmlbeans.XmlNonNegativeInteger column)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(COLUMN$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_element_user(COLUMN$2);
                }
                target.set(column);
            }
        }
        
        /**
         * Unsets the "column" element
         */
        public void unsetColumn()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(COLUMN$2, 0);
            }
        }
        
        /**
         * Gets the "errortype" element
         */
        public java.lang.String getErrortype()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ERRORTYPE$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "errortype" element
         */
        public org.apache.xmlbeans.XmlString xgetErrortype()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ERRORTYPE$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "errortype" element
         */
        public boolean isSetErrortype()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ERRORTYPE$4) != 0;
            }
        }
        
        /**
         * Sets the "errortype" element
         */
        public void setErrortype(java.lang.String errortype)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ERRORTYPE$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ERRORTYPE$4);
                }
                target.setStringValue(errortype);
            }
        }
        
        /**
         * Sets (as xml) the "errortype" element
         */
        public void xsetErrortype(org.apache.xmlbeans.XmlString errortype)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ERRORTYPE$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ERRORTYPE$4);
                }
                target.set(errortype);
            }
        }
        
        /**
         * Unsets the "errortype" element
         */
        public void unsetErrortype()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ERRORTYPE$4, 0);
            }
        }
        
        /**
         * Gets the "context" element
         */
        public java.lang.String getContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTEXT$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "context" element
         */
        public org.apache.xmlbeans.XmlString xgetContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CONTEXT$6, 0);
                return target;
            }
        }
        
        /**
         * True if has "context" element
         */
        public boolean isSetContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CONTEXT$6) != 0;
            }
        }
        
        /**
         * Sets the "context" element
         */
        public void setContext(java.lang.String context)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTEXT$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTEXT$6);
                }
                target.setStringValue(context);
            }
        }
        
        /**
         * Sets (as xml) the "context" element
         */
        public void xsetContext(org.apache.xmlbeans.XmlString context)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CONTEXT$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(CONTEXT$6);
                }
                target.set(context);
            }
        }
        
        /**
         * Unsets the "context" element
         */
        public void unsetContext()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CONTEXT$6, 0);
            }
        }
        
        /**
         * Gets array of all "message" elements
         */
        public java.lang.String[] getMessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(MESSAGE$8, 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 "message" element
         */
        public java.lang.String getMessageArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGE$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) array of all "message" elements
         */
        public org.apache.xmlbeans.XmlString[] xgetMessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(MESSAGE$8, targetList);
                org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets (as xml) ith "message" element
         */
        public org.apache.xmlbeans.XmlString xgetMessageArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MESSAGE$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return (org.apache.xmlbeans.XmlString)target;
            }
        }
        
        /**
         * Returns number of "message" element
         */
        public int sizeOfMessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(MESSAGE$8);
            }
        }
        
        /**
         * Sets array of all "message" element
         */
        public void setMessageArray(java.lang.String[] messageArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(messageArray, MESSAGE$8);
            }
        }
        
        /**
         * Sets ith "message" element
         */
        public void setMessageArray(int i, java.lang.String message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGE$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.setStringValue(message);
            }
        }
        
        /**
         * Sets (as xml) array of all "message" element
         */
        public void xsetMessageArray(org.apache.xmlbeans.XmlString[]messageArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(messageArray, MESSAGE$8);
            }
        }
        
        /**
         * Sets (as xml) ith "message" element
         */
        public void xsetMessageArray(int i, org.apache.xmlbeans.XmlString message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MESSAGE$8, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(message);
            }
        }
        
        /**
         * Inserts the value as the ith "message" element
         */
        public void insertMessage(int i, java.lang.String message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = 
                    (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(MESSAGE$8, i);
                target.setStringValue(message);
            }
        }
        
        /**
         * Appends the value as the last "message" element
         */
        public void addMessage(java.lang.String message)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MESSAGE$8);
                target.setStringValue(message);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "message" element
         */
        public org.apache.xmlbeans.XmlString insertNewMessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().insert_element_user(MESSAGE$8, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "message" element
         */
        public org.apache.xmlbeans.XmlString addNewMessage()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MESSAGE$8);
                return target;
            }
        }
        
        /**
         * Removes the ith "message" element
         */
        public void removeMessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(MESSAGE$8, i);
            }
        }
        
        /**
         * Gets array of all "longmessage" elements
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[] getLongmessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(LONGMESSAGE$10, targetList);
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[] result = new org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "longmessage" element
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage getLongmessageArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().find_element_user(LONGMESSAGE$10, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "longmessage" element
         */
        public int sizeOfLongmessageArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LONGMESSAGE$10);
            }
        }
        
        /**
         * Sets array of all "longmessage" element
         */
        public void setLongmessageArray(org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage[] longmessageArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(longmessageArray, LONGMESSAGE$10);
            }
        }
        
        /**
         * Sets ith "longmessage" element
         */
        public void setLongmessageArray(int i, org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage longmessage)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().find_element_user(LONGMESSAGE$10, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(longmessage);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "longmessage" element
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage insertNewLongmessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().insert_element_user(LONGMESSAGE$10, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "longmessage" element
         */
        public org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage addNewLongmessage()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage target = null;
                target = (org.w3.unicorn.observationresponse.LongmessageDocument.Longmessage)get_store().add_element_user(LONGMESSAGE$10);
                return target;
            }
        }
        
        /**
         * Removes the ith "longmessage" element
         */
        public void removeLongmessage(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LONGMESSAGE$10, i);
            }
        }
    }
}

--- NEW FILE: TWarningLevelsImpl.java ---
/*
 * XML Type:  tWarningLevels
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.TWarningLevels
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * An XML tWarningLevels(@http://www.w3.org/unicorn/observationresponse).
 *
 * This is an atomic type that is a restriction of org.w3.unicorn.observationresponse.TWarningLevels.
 */
public class TWarningLevelsImpl extends org.apache.xmlbeans.impl.values.JavaIntHolderEx implements org.w3.unicorn.observationresponse.TWarningLevels
{
    
    public TWarningLevelsImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType, false);
    }
    
    protected TWarningLevelsImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
    {
        super(sType, b);
    }
}

--- NEW FILE: ContextDocumentImpl.java ---
/*
 * An XML document type.
 * Localname: context
 * Namespace: http://www.w3.org/unicorn/observationresponse
 * Java type: org.w3.unicorn.observationresponse.ContextDocument
 *
 * Automatically generated - do not modify.
 */
package org.w3.unicorn.observationresponse.impl;
/**
 * A document containing one context(@http://www.w3.org/unicorn/observationresponse) element.
 *
 * This is a complex type.
 */
public class ContextDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.w3.unicorn.observationresponse.ContextDocument
{
    
    public ContextDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CONTEXT$0 = 
        new javax.xml.namespace.QName("http://www.w3.org/unicorn/observationresponse", "context");
    
    
    /**
     * Gets the "context" element
     */
    public java.lang.String getContext()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTEXT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "context" element
     */
    public org.apache.xmlbeans.XmlString xgetContext()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CONTEXT$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "context" element
     */
    public void setContext(java.lang.String context)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTEXT$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTEXT$0);
            }
            target.setStringValue(context);
        }
    }
    
    /**
     * Sets (as xml) the "context" element
     */
    public void xsetContext(org.apache.xmlbeans.XmlString context)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CONTEXT$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(CONTEXT$0);
            }
            target.set(context);
        }
    }
}

Received on Thursday, 10 July 2008 14:49:31 UTC