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

org.apache.airavata.schemas.wec.impl.SoaServiceEprsDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: soa-service-eprs
 * Namespace: http://schemas.airavata.apache.org/workflow-execution-context
 * Java type: org.apache.airavata.schemas.wec.SoaServiceEprsDocument
 *
 * Automatically generated - do not modify.
 */
package org.apache.airavata.schemas.wec.impl;
/**
 * A document containing one soa-service-eprs(@http://schemas.airavata.apache.org/workflow-execution-context) element.
 *
 * This is a complex type.
 */
public class SoaServiceEprsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.SoaServiceEprsDocument
{
    private static final long serialVersionUID = 1L;
    
    public SoaServiceEprsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SOASERVICEEPRS$0 = 
        new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "soa-service-eprs");
    
    
    /**
     * Gets the "soa-service-eprs" element
     */
    public org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs getSoaServiceEprs()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs target = null;
            target = (org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs)get_store().find_element_user(SOASERVICEEPRS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "soa-service-eprs" element
     */
    public void setSoaServiceEprs(org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs soaServiceEprs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs target = null;
            target = (org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs)get_store().find_element_user(SOASERVICEEPRS$0, 0);
            if (target == null)
            {
                target = (org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs)get_store().add_element_user(SOASERVICEEPRS$0);
            }
            target.set(soaServiceEprs);
        }
    }
    
    /**
     * Appends and returns a new empty "soa-service-eprs" element
     */
    public org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs addNewSoaServiceEprs()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs target = null;
            target = (org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs)get_store().add_element_user(SOASERVICEEPRS$0);
            return target;
        }
    }
    /**
     * An XML soa-service-eprs(@http://schemas.airavata.apache.org/workflow-execution-context).
     *
     * This is a complex type.
     */
    public static class SoaServiceEprsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs
    {
        private static final long serialVersionUID = 1L;
        
        public SoaServiceEprsImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName GFACURL$0 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "gfac-url");
        private static final javax.xml.namespace.QName REGISTRYURL$2 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "registry-url");
        private static final javax.xml.namespace.QName RESOURCESCHEDULERURL$4 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "resource-scheduler-url");
        
        
        /**
         * Gets the "gfac-url" element
         */
        public java.lang.String getGfacUrl()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GFACURL$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "gfac-url" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetGfacUrl()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(GFACURL$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "gfac-url" element
         */
        public void setGfacUrl(java.lang.String gfacUrl)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GFACURL$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GFACURL$0);
                }
                target.setStringValue(gfacUrl);
            }
        }
        
        /**
         * Sets (as xml) the "gfac-url" element
         */
        public void xsetGfacUrl(org.apache.xmlbeans.XmlAnyURI gfacUrl)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(GFACURL$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(GFACURL$0);
                }
                target.set(gfacUrl);
            }
        }
        
        /**
         * Gets the "registry-url" element
         */
        public java.lang.String getRegistryUrl()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REGISTRYURL$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "registry-url" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetRegistryUrl()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(REGISTRYURL$2, 0);
                return target;
            }
        }
        
        /**
         * Sets the "registry-url" element
         */
        public void setRegistryUrl(java.lang.String registryUrl)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REGISTRYURL$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REGISTRYURL$2);
                }
                target.setStringValue(registryUrl);
            }
        }
        
        /**
         * Sets (as xml) the "registry-url" element
         */
        public void xsetRegistryUrl(org.apache.xmlbeans.XmlAnyURI registryUrl)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(REGISTRYURL$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(REGISTRYURL$2);
                }
                target.set(registryUrl);
            }
        }
        
        /**
         * Gets the "resource-scheduler-url" element
         */
        public java.lang.String getResourceSchedulerUrl()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESOURCESCHEDULERURL$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "resource-scheduler-url" element
         */
        public org.apache.xmlbeans.XmlString xgetResourceSchedulerUrl()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(RESOURCESCHEDULERURL$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "resource-scheduler-url" element
         */
        public boolean isSetResourceSchedulerUrl()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(RESOURCESCHEDULERURL$4) != 0;
            }
        }
        
        /**
         * Sets the "resource-scheduler-url" element
         */
        public void setResourceSchedulerUrl(java.lang.String resourceSchedulerUrl)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESOURCESCHEDULERURL$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESOURCESCHEDULERURL$4);
                }
                target.setStringValue(resourceSchedulerUrl);
            }
        }
        
        /**
         * Sets (as xml) the "resource-scheduler-url" element
         */
        public void xsetResourceSchedulerUrl(org.apache.xmlbeans.XmlString resourceSchedulerUrl)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(RESOURCESCHEDULERURL$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(RESOURCESCHEDULERURL$4);
                }
                target.set(resourceSchedulerUrl);
            }
        }
        
        /**
         * Unsets the "resource-scheduler-url" element
         */
        public void unsetResourceSchedulerUrl()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(RESOURCESCHEDULERURL$4, 0);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy