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

gov.grants.apply.forms.phs398CoverPageSupplementV10.impl.PHS398CoverPageSupplementDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: PHS398_CoverPageSupplement
 * Namespace: http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0
 * Java type: gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument
 *
 * Automatically generated - do not modify.
 */
package gov.grants.apply.forms.phs398CoverPageSupplementV10.impl;
/**
 * A document containing one PHS398_CoverPageSupplement(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0) element.
 *
 * This is a complex type.
 */
public class PHS398CoverPageSupplementDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument
{
    private static final long serialVersionUID = 1L;
    
    public PHS398CoverPageSupplementDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PHS398COVERPAGESUPPLEMENT$0 = 
        new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "PHS398_CoverPageSupplement");
    
    
    /**
     * Gets the "PHS398_CoverPageSupplement" element
     */
    public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement getPHS398CoverPageSupplement()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement target = null;
            target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement)get_store().find_element_user(PHS398COVERPAGESUPPLEMENT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "PHS398_CoverPageSupplement" element
     */
    public void setPHS398CoverPageSupplement(gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement phs398CoverPageSupplement)
    {
        generatedSetterHelperImpl(phs398CoverPageSupplement, PHS398COVERPAGESUPPLEMENT$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "PHS398_CoverPageSupplement" element
     */
    public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement addNewPHS398CoverPageSupplement()
    {
        synchronized (monitor())
        {
            check_orphaned();
            gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement target = null;
            target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement)get_store().add_element_user(PHS398COVERPAGESUPPLEMENT$0);
            return target;
        }
    }
    /**
     * An XML PHS398_CoverPageSupplement(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0).
     *
     * This is a complex type.
     */
    public static class PHS398CoverPageSupplementImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement
    {
        private static final long serialVersionUID = 1L;
        
        public PHS398CoverPageSupplementImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName PDPI$0 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "PDPI");
        private static final javax.xml.namespace.QName CLINICALTRIAL$2 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "ClinicalTrial");
        private static final javax.xml.namespace.QName CONTACTPERSONINFO$4 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "ContactPersonInfo");
        private static final javax.xml.namespace.QName STEMCELLS$6 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "StemCells");
        private static final javax.xml.namespace.QName FORMVERSION$8 = 
            new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "FormVersion");
        
        
        /**
         * Gets the "PDPI" element
         */
        public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI getPDPI()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI target = null;
                target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI)get_store().find_element_user(PDPI$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "PDPI" element
         */
        public void setPDPI(gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI pdpi)
        {
            generatedSetterHelperImpl(pdpi, PDPI$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "PDPI" element
         */
        public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI addNewPDPI()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI target = null;
                target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI)get_store().add_element_user(PDPI$0);
                return target;
            }
        }
        
        /**
         * Gets the "ClinicalTrial" element
         */
        public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ClinicalTrial getClinicalTrial()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ClinicalTrial target = null;
                target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ClinicalTrial)get_store().find_element_user(CLINICALTRIAL$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "ClinicalTrial" element
         */
        public boolean isSetClinicalTrial()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CLINICALTRIAL$2) != 0;
            }
        }
        
        /**
         * Sets the "ClinicalTrial" element
         */
        public void setClinicalTrial(gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ClinicalTrial clinicalTrial)
        {
            generatedSetterHelperImpl(clinicalTrial, CLINICALTRIAL$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "ClinicalTrial" element
         */
        public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ClinicalTrial addNewClinicalTrial()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ClinicalTrial target = null;
                target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ClinicalTrial)get_store().add_element_user(CLINICALTRIAL$2);
                return target;
            }
        }
        
        /**
         * Unsets the "ClinicalTrial" element
         */
        public void unsetClinicalTrial()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CLINICALTRIAL$2, 0);
            }
        }
        
        /**
         * Gets the "ContactPersonInfo" element
         */
        public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ContactPersonInfo getContactPersonInfo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ContactPersonInfo target = null;
                target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ContactPersonInfo)get_store().find_element_user(CONTACTPERSONINFO$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "ContactPersonInfo" element
         */
        public void setContactPersonInfo(gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ContactPersonInfo contactPersonInfo)
        {
            generatedSetterHelperImpl(contactPersonInfo, CONTACTPERSONINFO$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "ContactPersonInfo" element
         */
        public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ContactPersonInfo addNewContactPersonInfo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ContactPersonInfo target = null;
                target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ContactPersonInfo)get_store().add_element_user(CONTACTPERSONINFO$4);
                return target;
            }
        }
        
        /**
         * Gets the "StemCells" element
         */
        public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells getStemCells()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells target = null;
                target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells)get_store().find_element_user(STEMCELLS$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "StemCells" element
         */
        public boolean isSetStemCells()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(STEMCELLS$6) != 0;
            }
        }
        
        /**
         * Sets the "StemCells" element
         */
        public void setStemCells(gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells stemCells)
        {
            generatedSetterHelperImpl(stemCells, STEMCELLS$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "StemCells" element
         */
        public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells addNewStemCells()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells target = null;
                target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells)get_store().add_element_user(STEMCELLS$6);
                return target;
            }
        }
        
        /**
         * Unsets the "StemCells" element
         */
        public void unsetStemCells()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(STEMCELLS$6, 0);
            }
        }
        
        /**
         * Gets the "FormVersion" attribute
         */
        public java.lang.String getFormVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$8);
                }
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "FormVersion" attribute
         */
        public gov.grants.apply.system.globalLibraryV10.FormVersionDataType xgetFormVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV10.FormVersionDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV10.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$8);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV10.FormVersionDataType)get_default_attribute_value(FORMVERSION$8);
                }
                return target;
            }
        }
        
        /**
         * Sets the "FormVersion" attribute
         */
        public void setFormVersion(java.lang.String formVersion)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$8);
                }
                target.setStringValue(formVersion);
            }
        }
        
        /**
         * Sets (as xml) the "FormVersion" attribute
         */
        public void xsetFormVersion(gov.grants.apply.system.globalLibraryV10.FormVersionDataType formVersion)
        {
            synchronized (monitor())
            {
                check_orphaned();
                gov.grants.apply.system.globalLibraryV10.FormVersionDataType target = null;
                target = (gov.grants.apply.system.globalLibraryV10.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$8);
                if (target == null)
                {
                    target = (gov.grants.apply.system.globalLibraryV10.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$8);
                }
                target.set(formVersion);
            }
        }
        /**
         * An XML PDPI(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0).
         *
         * This is a complex type.
         */
        public static class PDPIImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI
        {
            private static final long serialVersionUID = 1L;
            
            public PDPIImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName PDPINAME$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "PDPIName");
            private static final javax.xml.namespace.QName ISNEWINVESTIGATOR$2 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "isNewInvestigator");
            private static final javax.xml.namespace.QName DEGREES$4 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "Degrees");
            
            
            /**
             * Gets the "PDPIName" element
             */
            public gov.grants.apply.system.globalLibraryV10.HumanNameDataType getPDPIName()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.HumanNameDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.HumanNameDataType)get_store().find_element_user(PDPINAME$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "PDPIName" element
             */
            public void setPDPIName(gov.grants.apply.system.globalLibraryV10.HumanNameDataType pdpiName)
            {
                generatedSetterHelperImpl(pdpiName, PDPINAME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
            }
            
            /**
             * Appends and returns a new empty "PDPIName" element
             */
            public gov.grants.apply.system.globalLibraryV10.HumanNameDataType addNewPDPIName()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.HumanNameDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.HumanNameDataType)get_store().add_element_user(PDPINAME$0);
                    return target;
                }
            }
            
            /**
             * Gets the "isNewInvestigator" element
             */
            public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsNewInvestigator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISNEWINVESTIGATOR$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "isNewInvestigator" element
             */
            public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsNewInvestigator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISNEWINVESTIGATOR$2, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "isNewInvestigator" element
             */
            public void setIsNewInvestigator(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isNewInvestigator)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISNEWINVESTIGATOR$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISNEWINVESTIGATOR$2);
                    }
                    target.setEnumValue(isNewInvestigator);
                }
            }
            
            /**
             * Sets (as xml) the "isNewInvestigator" element
             */
            public void xsetIsNewInvestigator(gov.grants.apply.system.globalLibraryV10.YesNoDataType isNewInvestigator)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISNEWINVESTIGATOR$2, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISNEWINVESTIGATOR$2);
                    }
                    target.set(isNewInvestigator);
                }
            }
            
            /**
             * Gets array of all "Degrees" elements
             */
            public java.lang.String[] getDegreesArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(DEGREES$4, 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 "Degrees" element
             */
            public java.lang.String getDegreesArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREES$4, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) array of all "Degrees" elements
             */
            public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees[] xgetDegreesArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(DEGREES$4, targetList);
                    gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees[] result = new gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets (as xml) ith "Degrees" element
             */
            public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees xgetDegreesArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees target = null;
                    target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees)get_store().find_element_user(DEGREES$4, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "Degrees" element
             */
            public int sizeOfDegreesArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(DEGREES$4);
                }
            }
            
            /**
             * Sets array of all "Degrees" element
             */
            public void setDegreesArray(java.lang.String[] degreesArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(degreesArray, DEGREES$4);
                }
            }
            
            /**
             * Sets ith "Degrees" element
             */
            public void setDegreesArray(int i, java.lang.String degrees)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEGREES$4, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.setStringValue(degrees);
                }
            }
            
            /**
             * Sets (as xml) array of all "Degrees" element
             */
            public void xsetDegreesArray(gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees[]degreesArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(degreesArray, DEGREES$4);
                }
            }
            
            /**
             * Sets (as xml) ith "Degrees" element
             */
            public void xsetDegreesArray(int i, gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees degrees)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees target = null;
                    target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees)get_store().find_element_user(DEGREES$4, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(degrees);
                }
            }
            
            /**
             * Inserts the value as the ith "Degrees" element
             */
            public void insertDegrees(int i, java.lang.String degrees)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = 
                      (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(DEGREES$4, i);
                    target.setStringValue(degrees);
                }
            }
            
            /**
             * Appends the value as the last "Degrees" element
             */
            public void addDegrees(java.lang.String degrees)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DEGREES$4);
                    target.setStringValue(degrees);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "Degrees" element
             */
            public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees insertNewDegrees(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees target = null;
                    target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees)get_store().insert_element_user(DEGREES$4, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "Degrees" element
             */
            public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees addNewDegrees()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees target = null;
                    target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees)get_store().add_element_user(DEGREES$4);
                    return target;
                }
            }
            
            /**
             * Removes the ith "Degrees" element
             */
            public void removeDegrees(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(DEGREES$4, i);
                }
            }
            /**
             * An XML Degrees(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0).
             *
             * This is an atomic type that is a restriction of gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument$PHS398CoverPageSupplement$PDPI$Degrees.
             */
            public static class DegreesImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.PDPI.Degrees
            {
                private static final long serialVersionUID = 1L;
                
                public DegreesImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType, false);
                }
                
                protected DegreesImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                {
                    super(sType, b);
                }
            }
        }
        /**
         * An XML ClinicalTrial(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0).
         *
         * This is a complex type.
         */
        public static class ClinicalTrialImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ClinicalTrial
        {
            private static final long serialVersionUID = 1L;
            
            public ClinicalTrialImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName ISCLINICALTRIAL$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "isClinicalTrial");
            private static final javax.xml.namespace.QName ISPHASEIIICLINICALTRIAL$2 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "isPhaseIIIClinicalTrial");
            
            
            /**
             * Gets the "isClinicalTrial" element
             */
            public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsClinicalTrial()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCLINICALTRIAL$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "isClinicalTrial" element
             */
            public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsClinicalTrial()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISCLINICALTRIAL$0, 0);
                    return target;
                }
            }
            
            /**
             * True if has "isClinicalTrial" element
             */
            public boolean isSetIsClinicalTrial()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(ISCLINICALTRIAL$0) != 0;
                }
            }
            
            /**
             * Sets the "isClinicalTrial" element
             */
            public void setIsClinicalTrial(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isClinicalTrial)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCLINICALTRIAL$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISCLINICALTRIAL$0);
                    }
                    target.setEnumValue(isClinicalTrial);
                }
            }
            
            /**
             * Sets (as xml) the "isClinicalTrial" element
             */
            public void xsetIsClinicalTrial(gov.grants.apply.system.globalLibraryV10.YesNoDataType isClinicalTrial)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISCLINICALTRIAL$0, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISCLINICALTRIAL$0);
                    }
                    target.set(isClinicalTrial);
                }
            }
            
            /**
             * Unsets the "isClinicalTrial" element
             */
            public void unsetIsClinicalTrial()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(ISCLINICALTRIAL$0, 0);
                }
            }
            
            /**
             * Gets the "isPhaseIIIClinicalTrial" element
             */
            public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsPhaseIIIClinicalTrial()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISPHASEIIICLINICALTRIAL$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "isPhaseIIIClinicalTrial" element
             */
            public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsPhaseIIIClinicalTrial()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISPHASEIIICLINICALTRIAL$2, 0);
                    return target;
                }
            }
            
            /**
             * True if has "isPhaseIIIClinicalTrial" element
             */
            public boolean isSetIsPhaseIIIClinicalTrial()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(ISPHASEIIICLINICALTRIAL$2) != 0;
                }
            }
            
            /**
             * Sets the "isPhaseIIIClinicalTrial" element
             */
            public void setIsPhaseIIIClinicalTrial(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isPhaseIIIClinicalTrial)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISPHASEIIICLINICALTRIAL$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISPHASEIIICLINICALTRIAL$2);
                    }
                    target.setEnumValue(isPhaseIIIClinicalTrial);
                }
            }
            
            /**
             * Sets (as xml) the "isPhaseIIIClinicalTrial" element
             */
            public void xsetIsPhaseIIIClinicalTrial(gov.grants.apply.system.globalLibraryV10.YesNoDataType isPhaseIIIClinicalTrial)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISPHASEIIICLINICALTRIAL$2, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISPHASEIIICLINICALTRIAL$2);
                    }
                    target.set(isPhaseIIIClinicalTrial);
                }
            }
            
            /**
             * Unsets the "isPhaseIIIClinicalTrial" element
             */
            public void unsetIsPhaseIIIClinicalTrial()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(ISPHASEIIICLINICALTRIAL$2, 0);
                }
            }
        }
        /**
         * An XML ContactPersonInfo(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0).
         *
         * This is a complex type.
         */
        public static class ContactPersonInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.ContactPersonInfo
        {
            private static final long serialVersionUID = 1L;
            
            public ContactPersonInfoImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName CONTACTNAME$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "ContactName");
            private static final javax.xml.namespace.QName CONTACTPHONE$2 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "ContactPhone");
            private static final javax.xml.namespace.QName CONTACTFAX$4 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "ContactFax");
            private static final javax.xml.namespace.QName CONTACTEMAIL$6 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "ContactEmail");
            private static final javax.xml.namespace.QName CONTACTTITLE$8 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "ContactTitle");
            private static final javax.xml.namespace.QName CONTACTADDRESS$10 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "ContactAddress");
            
            
            /**
             * Gets the "ContactName" element
             */
            public gov.grants.apply.system.globalLibraryV10.HumanNameDataType getContactName()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.HumanNameDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.HumanNameDataType)get_store().find_element_user(CONTACTNAME$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "ContactName" element
             */
            public void setContactName(gov.grants.apply.system.globalLibraryV10.HumanNameDataType contactName)
            {
                generatedSetterHelperImpl(contactName, CONTACTNAME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
            }
            
            /**
             * Appends and returns a new empty "ContactName" element
             */
            public gov.grants.apply.system.globalLibraryV10.HumanNameDataType addNewContactName()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.HumanNameDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.HumanNameDataType)get_store().add_element_user(CONTACTNAME$0);
                    return target;
                }
            }
            
            /**
             * Gets the "ContactPhone" element
             */
            public java.lang.String getContactPhone()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTACTPHONE$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "ContactPhone" element
             */
            public gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType xgetContactPhone()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType)get_store().find_element_user(CONTACTPHONE$2, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "ContactPhone" element
             */
            public void setContactPhone(java.lang.String contactPhone)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTACTPHONE$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTACTPHONE$2);
                    }
                    target.setStringValue(contactPhone);
                }
            }
            
            /**
             * Sets (as xml) the "ContactPhone" element
             */
            public void xsetContactPhone(gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType contactPhone)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType)get_store().find_element_user(CONTACTPHONE$2, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType)get_store().add_element_user(CONTACTPHONE$2);
                    }
                    target.set(contactPhone);
                }
            }
            
            /**
             * Gets the "ContactFax" element
             */
            public java.lang.String getContactFax()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTACTFAX$4, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "ContactFax" element
             */
            public gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType xgetContactFax()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType)get_store().find_element_user(CONTACTFAX$4, 0);
                    return target;
                }
            }
            
            /**
             * True if has "ContactFax" element
             */
            public boolean isSetContactFax()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(CONTACTFAX$4) != 0;
                }
            }
            
            /**
             * Sets the "ContactFax" element
             */
            public void setContactFax(java.lang.String contactFax)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTACTFAX$4, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTACTFAX$4);
                    }
                    target.setStringValue(contactFax);
                }
            }
            
            /**
             * Sets (as xml) the "ContactFax" element
             */
            public void xsetContactFax(gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType contactFax)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType)get_store().find_element_user(CONTACTFAX$4, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV10.TelephoneNumberDataType)get_store().add_element_user(CONTACTFAX$4);
                    }
                    target.set(contactFax);
                }
            }
            
            /**
             * Unsets the "ContactFax" element
             */
            public void unsetContactFax()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(CONTACTFAX$4, 0);
                }
            }
            
            /**
             * Gets the "ContactEmail" element
             */
            public java.lang.String getContactEmail()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTACTEMAIL$6, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "ContactEmail" element
             */
            public gov.grants.apply.system.globalLibraryV10.EmailDataType xgetContactEmail()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.EmailDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.EmailDataType)get_store().find_element_user(CONTACTEMAIL$6, 0);
                    return target;
                }
            }
            
            /**
             * True if has "ContactEmail" element
             */
            public boolean isSetContactEmail()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(CONTACTEMAIL$6) != 0;
                }
            }
            
            /**
             * Sets the "ContactEmail" element
             */
            public void setContactEmail(java.lang.String contactEmail)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTACTEMAIL$6, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTACTEMAIL$6);
                    }
                    target.setStringValue(contactEmail);
                }
            }
            
            /**
             * Sets (as xml) the "ContactEmail" element
             */
            public void xsetContactEmail(gov.grants.apply.system.globalLibraryV10.EmailDataType contactEmail)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.EmailDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.EmailDataType)get_store().find_element_user(CONTACTEMAIL$6, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV10.EmailDataType)get_store().add_element_user(CONTACTEMAIL$6);
                    }
                    target.set(contactEmail);
                }
            }
            
            /**
             * Unsets the "ContactEmail" element
             */
            public void unsetContactEmail()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(CONTACTEMAIL$6, 0);
                }
            }
            
            /**
             * Gets the "ContactTitle" element
             */
            public java.lang.String getContactTitle()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTACTTITLE$8, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "ContactTitle" element
             */
            public gov.grants.apply.system.globalLibraryV10.HumanTitleDataType xgetContactTitle()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.HumanTitleDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.HumanTitleDataType)get_store().find_element_user(CONTACTTITLE$8, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "ContactTitle" element
             */
            public void setContactTitle(java.lang.String contactTitle)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTACTTITLE$8, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTACTTITLE$8);
                    }
                    target.setStringValue(contactTitle);
                }
            }
            
            /**
             * Sets (as xml) the "ContactTitle" element
             */
            public void xsetContactTitle(gov.grants.apply.system.globalLibraryV10.HumanTitleDataType contactTitle)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.HumanTitleDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.HumanTitleDataType)get_store().find_element_user(CONTACTTITLE$8, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV10.HumanTitleDataType)get_store().add_element_user(CONTACTTITLE$8);
                    }
                    target.set(contactTitle);
                }
            }
            
            /**
             * Gets the "ContactAddress" element
             */
            public gov.grants.apply.system.globalLibraryV10.AddressRequireCountryDataType getContactAddress()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.AddressRequireCountryDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.AddressRequireCountryDataType)get_store().find_element_user(CONTACTADDRESS$10, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target;
                }
            }
            
            /**
             * Sets the "ContactAddress" element
             */
            public void setContactAddress(gov.grants.apply.system.globalLibraryV10.AddressRequireCountryDataType contactAddress)
            {
                generatedSetterHelperImpl(contactAddress, CONTACTADDRESS$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
            }
            
            /**
             * Appends and returns a new empty "ContactAddress" element
             */
            public gov.grants.apply.system.globalLibraryV10.AddressRequireCountryDataType addNewContactAddress()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.AddressRequireCountryDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.AddressRequireCountryDataType)get_store().add_element_user(CONTACTADDRESS$10);
                    return target;
                }
            }
        }
        /**
         * An XML StemCells(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0).
         *
         * This is a complex type.
         */
        public static class StemCellsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells
        {
            private static final long serialVersionUID = 1L;
            
            public StemCellsImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            private static final javax.xml.namespace.QName ISHUMANSTEMCELLSINVOLVED$0 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "isHumanStemCellsInvolved");
            private static final javax.xml.namespace.QName STEMCELLSINDICATOR$2 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "StemCellsIndicator");
            private static final javax.xml.namespace.QName CELLLINES$4 = 
                new javax.xml.namespace.QName("http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0", "CellLines");
            
            
            /**
             * Gets the "isHumanStemCellsInvolved" element
             */
            public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getIsHumanStemCellsInvolved()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISHUMANSTEMCELLSINVOLVED$0, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "isHumanStemCellsInvolved" element
             */
            public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetIsHumanStemCellsInvolved()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISHUMANSTEMCELLSINVOLVED$0, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "isHumanStemCellsInvolved" element
             */
            public void setIsHumanStemCellsInvolved(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum isHumanStemCellsInvolved)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISHUMANSTEMCELLSINVOLVED$0, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISHUMANSTEMCELLSINVOLVED$0);
                    }
                    target.setEnumValue(isHumanStemCellsInvolved);
                }
            }
            
            /**
             * Sets (as xml) the "isHumanStemCellsInvolved" element
             */
            public void xsetIsHumanStemCellsInvolved(gov.grants.apply.system.globalLibraryV10.YesNoDataType isHumanStemCellsInvolved)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(ISHUMANSTEMCELLSINVOLVED$0, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(ISHUMANSTEMCELLSINVOLVED$0);
                    }
                    target.set(isHumanStemCellsInvolved);
                }
            }
            
            /**
             * Gets the "StemCellsIndicator" element
             */
            public gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum getStemCellsIndicator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STEMCELLSINDICATOR$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return (gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum)target.getEnumValue();
                }
            }
            
            /**
             * Gets (as xml) the "StemCellsIndicator" element
             */
            public gov.grants.apply.system.globalLibraryV10.YesNoDataType xgetStemCellsIndicator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(STEMCELLSINDICATOR$2, 0);
                    return target;
                }
            }
            
            /**
             * True if has "StemCellsIndicator" element
             */
            public boolean isSetStemCellsIndicator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(STEMCELLSINDICATOR$2) != 0;
                }
            }
            
            /**
             * Sets the "StemCellsIndicator" element
             */
            public void setStemCellsIndicator(gov.grants.apply.system.globalLibraryV10.YesNoDataType.Enum stemCellsIndicator)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STEMCELLSINDICATOR$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STEMCELLSINDICATOR$2);
                    }
                    target.setEnumValue(stemCellsIndicator);
                }
            }
            
            /**
             * Sets (as xml) the "StemCellsIndicator" element
             */
            public void xsetStemCellsIndicator(gov.grants.apply.system.globalLibraryV10.YesNoDataType stemCellsIndicator)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.system.globalLibraryV10.YesNoDataType target = null;
                    target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().find_element_user(STEMCELLSINDICATOR$2, 0);
                    if (target == null)
                    {
                      target = (gov.grants.apply.system.globalLibraryV10.YesNoDataType)get_store().add_element_user(STEMCELLSINDICATOR$2);
                    }
                    target.set(stemCellsIndicator);
                }
            }
            
            /**
             * Unsets the "StemCellsIndicator" element
             */
            public void unsetStemCellsIndicator()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(STEMCELLSINDICATOR$2, 0);
                }
            }
            
            /**
             * Gets array of all "CellLines" elements
             */
            public java.lang.String[] getCellLinesArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(CELLLINES$4, 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 "CellLines" element
             */
            public java.lang.String getCellLinesArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CELLLINES$4, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) array of all "CellLines" elements
             */
            public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines[] xgetCellLinesArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    java.util.List targetList = new java.util.ArrayList();
                    get_store().find_all_element_users(CELLLINES$4, targetList);
                    gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines[] result = new gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines[targetList.size()];
                    targetList.toArray(result);
                    return result;
                }
            }
            
            /**
             * Gets (as xml) ith "CellLines" element
             */
            public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines xgetCellLinesArray(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines target = null;
                    target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines)get_store().find_element_user(CELLLINES$4, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    return target;
                }
            }
            
            /**
             * Returns number of "CellLines" element
             */
            public int sizeOfCellLinesArray()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    return get_store().count_elements(CELLLINES$4);
                }
            }
            
            /**
             * Sets array of all "CellLines" element
             */
            public void setCellLinesArray(java.lang.String[] cellLinesArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(cellLinesArray, CELLLINES$4);
                }
            }
            
            /**
             * Sets ith "CellLines" element
             */
            public void setCellLinesArray(int i, java.lang.String cellLines)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CELLLINES$4, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.setStringValue(cellLines);
                }
            }
            
            /**
             * Sets (as xml) array of all "CellLines" element
             */
            public void xsetCellLinesArray(gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines[]cellLinesArray)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    arraySetterHelper(cellLinesArray, CELLLINES$4);
                }
            }
            
            /**
             * Sets (as xml) ith "CellLines" element
             */
            public void xsetCellLinesArray(int i, gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines cellLines)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines target = null;
                    target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines)get_store().find_element_user(CELLLINES$4, i);
                    if (target == null)
                    {
                      throw new IndexOutOfBoundsException();
                    }
                    target.set(cellLines);
                }
            }
            
            /**
             * Inserts the value as the ith "CellLines" element
             */
            public void insertCellLines(int i, java.lang.String cellLines)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = 
                      (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(CELLLINES$4, i);
                    target.setStringValue(cellLines);
                }
            }
            
            /**
             * Appends the value as the last "CellLines" element
             */
            public void addCellLines(java.lang.String cellLines)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CELLLINES$4);
                    target.setStringValue(cellLines);
                }
            }
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "CellLines" element
             */
            public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines insertNewCellLines(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines target = null;
                    target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines)get_store().insert_element_user(CELLLINES$4, i);
                    return target;
                }
            }
            
            /**
             * Appends and returns a new empty value (as xml) as the last "CellLines" element
             */
            public gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines addNewCellLines()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines target = null;
                    target = (gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines)get_store().add_element_user(CELLLINES$4);
                    return target;
                }
            }
            
            /**
             * Removes the ith "CellLines" element
             */
            public void removeCellLines(int i)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    get_store().remove_element(CELLLINES$4, i);
                }
            }
            /**
             * An XML CellLines(@http://apply.grants.gov/forms/PHS398_CoverPageSupplement-V1.0).
             *
             * This is an atomic type that is a restriction of gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument$PHS398CoverPageSupplement$StemCells$CellLines.
             */
            public static class CellLinesImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.phs398CoverPageSupplementV10.PHS398CoverPageSupplementDocument.PHS398CoverPageSupplement.StemCells.CellLines
            {
                private static final long serialVersionUID = 1L;
                
                public CellLinesImpl(org.apache.xmlbeans.SchemaType sType)
                {
                    super(sType, false);
                }
                
                protected CellLinesImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
                {
                    super(sType, b);
                }
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy