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

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

/*
 * An XML document type.
 * Localname: application-scheduling-context
 * Namespace: http://schemas.airavata.apache.org/workflow-execution-context
 * Java type: org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument
 *
 * Automatically generated - do not modify.
 */
package org.apache.airavata.schemas.wec.impl;
/**
 * A document containing one application-scheduling-context(@http://schemas.airavata.apache.org/workflow-execution-context) element.
 *
 * This is a complex type.
 */
public class ApplicationSchedulingContextDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument
{
    private static final long serialVersionUID = 1L;
    
    public ApplicationSchedulingContextDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName APPLICATIONSCHEDULINGCONTEXT$0 = 
        new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "application-scheduling-context");
    
    
    /**
     * Gets the "application-scheduling-context" element
     */
    public org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext getApplicationSchedulingContext()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext target = null;
            target = (org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext)get_store().find_element_user(APPLICATIONSCHEDULINGCONTEXT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "application-scheduling-context" element
     */
    public void setApplicationSchedulingContext(org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext applicationSchedulingContext)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext target = null;
            target = (org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext)get_store().find_element_user(APPLICATIONSCHEDULINGCONTEXT$0, 0);
            if (target == null)
            {
                target = (org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext)get_store().add_element_user(APPLICATIONSCHEDULINGCONTEXT$0);
            }
            target.set(applicationSchedulingContext);
        }
    }
    
    /**
     * Appends and returns a new empty "application-scheduling-context" element
     */
    public org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext addNewApplicationSchedulingContext()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext target = null;
            target = (org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext)get_store().add_element_user(APPLICATIONSCHEDULINGCONTEXT$0);
            return target;
        }
    }
    /**
     * An XML application-scheduling-context(@http://schemas.airavata.apache.org/workflow-execution-context).
     *
     * This is an atomic type that is a restriction of org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument$ApplicationSchedulingContext.
     */
    public static class ApplicationSchedulingContextImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements org.apache.airavata.schemas.wec.ApplicationSchedulingContextDocument.ApplicationSchedulingContext
    {
        private static final long serialVersionUID = 1L;
        
        public ApplicationSchedulingContextImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType, true);
        }
        
        protected ApplicationSchedulingContextImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
        {
            super(sType, b);
        }
        
        private static final javax.xml.namespace.QName WORKFLOWNODEID$0 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "workflow-node-id");
        private static final javax.xml.namespace.QName SERVICEID$2 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "service-id");
        private static final javax.xml.namespace.QName HOSTNAME$4 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "host-name");
        private static final javax.xml.namespace.QName WSGRAMPREFERRED$6 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "wsgram-preferred");
        private static final javax.xml.namespace.QName GATEKEEPEREPR$8 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "gatekeeper-epr");
        private static final javax.xml.namespace.QName JOBMANAGER$10 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "job-manager");
        private static final javax.xml.namespace.QName CPUCOUNT$12 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "cpu-count");
        private static final javax.xml.namespace.QName NODECOUNT$14 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "node-count");
        private static final javax.xml.namespace.QName QUEUENAME$16 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "queue-name");
        private static final javax.xml.namespace.QName MAXWALLTIME$18 = 
            new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "max-wall-time");
        
        
        /**
         * Gets the "workflow-node-id" attribute
         */
        public java.lang.String getWorkflowNodeId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(WORKFLOWNODEID$0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "workflow-node-id" attribute
         */
        public org.apache.xmlbeans.XmlString xgetWorkflowNodeId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(WORKFLOWNODEID$0);
                return target;
            }
        }
        
        /**
         * True if has "workflow-node-id" attribute
         */
        public boolean isSetWorkflowNodeId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(WORKFLOWNODEID$0) != null;
            }
        }
        
        /**
         * Sets the "workflow-node-id" attribute
         */
        public void setWorkflowNodeId(java.lang.String workflowNodeId)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(WORKFLOWNODEID$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(WORKFLOWNODEID$0);
                }
                target.setStringValue(workflowNodeId);
            }
        }
        
        /**
         * Sets (as xml) the "workflow-node-id" attribute
         */
        public void xsetWorkflowNodeId(org.apache.xmlbeans.XmlString workflowNodeId)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(WORKFLOWNODEID$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(WORKFLOWNODEID$0);
                }
                target.set(workflowNodeId);
            }
        }
        
        /**
         * Unsets the "workflow-node-id" attribute
         */
        public void unsetWorkflowNodeId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(WORKFLOWNODEID$0);
            }
        }
        
        /**
         * Gets the "service-id" attribute
         */
        public java.lang.String getServiceId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SERVICEID$2);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "service-id" attribute
         */
        public org.apache.xmlbeans.XmlAnyURI xgetServiceId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(SERVICEID$2);
                return target;
            }
        }
        
        /**
         * True if has "service-id" attribute
         */
        public boolean isSetServiceId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(SERVICEID$2) != null;
            }
        }
        
        /**
         * Sets the "service-id" attribute
         */
        public void setServiceId(java.lang.String serviceId)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SERVICEID$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SERVICEID$2);
                }
                target.setStringValue(serviceId);
            }
        }
        
        /**
         * Sets (as xml) the "service-id" attribute
         */
        public void xsetServiceId(org.apache.xmlbeans.XmlAnyURI serviceId)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(SERVICEID$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(SERVICEID$2);
                }
                target.set(serviceId);
            }
        }
        
        /**
         * Unsets the "service-id" attribute
         */
        public void unsetServiceId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(SERVICEID$2);
            }
        }
        
        /**
         * Gets the "host-name" attribute
         */
        public java.lang.String getHostName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HOSTNAME$4);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "host-name" attribute
         */
        public org.apache.xmlbeans.XmlAnyURI xgetHostName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(HOSTNAME$4);
                return target;
            }
        }
        
        /**
         * True if has "host-name" attribute
         */
        public boolean isSetHostName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(HOSTNAME$4) != null;
            }
        }
        
        /**
         * Sets the "host-name" attribute
         */
        public void setHostName(java.lang.String hostName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HOSTNAME$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(HOSTNAME$4);
                }
                target.setStringValue(hostName);
            }
        }
        
        /**
         * Sets (as xml) the "host-name" attribute
         */
        public void xsetHostName(org.apache.xmlbeans.XmlAnyURI hostName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(HOSTNAME$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(HOSTNAME$4);
                }
                target.set(hostName);
            }
        }
        
        /**
         * Unsets the "host-name" attribute
         */
        public void unsetHostName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(HOSTNAME$4);
            }
        }
        
        /**
         * Gets the "wsgram-preferred" attribute
         */
        public boolean getWsgramPreferred()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(WSGRAMPREFERRED$6);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "wsgram-preferred" attribute
         */
        public org.apache.xmlbeans.XmlBoolean xgetWsgramPreferred()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(WSGRAMPREFERRED$6);
                return target;
            }
        }
        
        /**
         * True if has "wsgram-preferred" attribute
         */
        public boolean isSetWsgramPreferred()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(WSGRAMPREFERRED$6) != null;
            }
        }
        
        /**
         * Sets the "wsgram-preferred" attribute
         */
        public void setWsgramPreferred(boolean wsgramPreferred)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(WSGRAMPREFERRED$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(WSGRAMPREFERRED$6);
                }
                target.setBooleanValue(wsgramPreferred);
            }
        }
        
        /**
         * Sets (as xml) the "wsgram-preferred" attribute
         */
        public void xsetWsgramPreferred(org.apache.xmlbeans.XmlBoolean wsgramPreferred)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(WSGRAMPREFERRED$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(WSGRAMPREFERRED$6);
                }
                target.set(wsgramPreferred);
            }
        }
        
        /**
         * Unsets the "wsgram-preferred" attribute
         */
        public void unsetWsgramPreferred()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(WSGRAMPREFERRED$6);
            }
        }
        
        /**
         * Gets the "gatekeeper-epr" attribute
         */
        public java.lang.String getGatekeeperEpr()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(GATEKEEPEREPR$8);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "gatekeeper-epr" attribute
         */
        public org.apache.xmlbeans.XmlAnyURI xgetGatekeeperEpr()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(GATEKEEPEREPR$8);
                return target;
            }
        }
        
        /**
         * True if has "gatekeeper-epr" attribute
         */
        public boolean isSetGatekeeperEpr()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(GATEKEEPEREPR$8) != null;
            }
        }
        
        /**
         * Sets the "gatekeeper-epr" attribute
         */
        public void setGatekeeperEpr(java.lang.String gatekeeperEpr)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(GATEKEEPEREPR$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(GATEKEEPEREPR$8);
                }
                target.setStringValue(gatekeeperEpr);
            }
        }
        
        /**
         * Sets (as xml) the "gatekeeper-epr" attribute
         */
        public void xsetGatekeeperEpr(org.apache.xmlbeans.XmlAnyURI gatekeeperEpr)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(GATEKEEPEREPR$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(GATEKEEPEREPR$8);
                }
                target.set(gatekeeperEpr);
            }
        }
        
        /**
         * Unsets the "gatekeeper-epr" attribute
         */
        public void unsetGatekeeperEpr()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(GATEKEEPEREPR$8);
            }
        }
        
        /**
         * Gets the "job-manager" attribute
         */
        public java.lang.String getJobManager()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(JOBMANAGER$10);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "job-manager" attribute
         */
        public org.apache.xmlbeans.XmlString xgetJobManager()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(JOBMANAGER$10);
                return target;
            }
        }
        
        /**
         * True if has "job-manager" attribute
         */
        public boolean isSetJobManager()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(JOBMANAGER$10) != null;
            }
        }
        
        /**
         * Sets the "job-manager" attribute
         */
        public void setJobManager(java.lang.String jobManager)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(JOBMANAGER$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(JOBMANAGER$10);
                }
                target.setStringValue(jobManager);
            }
        }
        
        /**
         * Sets (as xml) the "job-manager" attribute
         */
        public void xsetJobManager(org.apache.xmlbeans.XmlString jobManager)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(JOBMANAGER$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(JOBMANAGER$10);
                }
                target.set(jobManager);
            }
        }
        
        /**
         * Unsets the "job-manager" attribute
         */
        public void unsetJobManager()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(JOBMANAGER$10);
            }
        }
        
        /**
         * Gets the "cpu-count" attribute
         */
        public int getCpuCount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CPUCOUNT$12);
                if (target == null)
                {
                    return 0;
                }
                return target.getIntValue();
            }
        }
        
        /**
         * Gets (as xml) the "cpu-count" attribute
         */
        public org.apache.xmlbeans.XmlInt xgetCpuCount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(CPUCOUNT$12);
                return target;
            }
        }
        
        /**
         * True if has "cpu-count" attribute
         */
        public boolean isSetCpuCount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(CPUCOUNT$12) != null;
            }
        }
        
        /**
         * Sets the "cpu-count" attribute
         */
        public void setCpuCount(int cpuCount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CPUCOUNT$12);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CPUCOUNT$12);
                }
                target.setIntValue(cpuCount);
            }
        }
        
        /**
         * Sets (as xml) the "cpu-count" attribute
         */
        public void xsetCpuCount(org.apache.xmlbeans.XmlInt cpuCount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(CPUCOUNT$12);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInt)get_store().add_attribute_user(CPUCOUNT$12);
                }
                target.set(cpuCount);
            }
        }
        
        /**
         * Unsets the "cpu-count" attribute
         */
        public void unsetCpuCount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(CPUCOUNT$12);
            }
        }
        
        /**
         * Gets the "node-count" attribute
         */
        public int getNodeCount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NODECOUNT$14);
                if (target == null)
                {
                    return 0;
                }
                return target.getIntValue();
            }
        }
        
        /**
         * Gets (as xml) the "node-count" attribute
         */
        public org.apache.xmlbeans.XmlInt xgetNodeCount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(NODECOUNT$14);
                return target;
            }
        }
        
        /**
         * True if has "node-count" attribute
         */
        public boolean isSetNodeCount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(NODECOUNT$14) != null;
            }
        }
        
        /**
         * Sets the "node-count" attribute
         */
        public void setNodeCount(int nodeCount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NODECOUNT$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NODECOUNT$14);
                }
                target.setIntValue(nodeCount);
            }
        }
        
        /**
         * Sets (as xml) the "node-count" attribute
         */
        public void xsetNodeCount(org.apache.xmlbeans.XmlInt nodeCount)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(NODECOUNT$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInt)get_store().add_attribute_user(NODECOUNT$14);
                }
                target.set(nodeCount);
            }
        }
        
        /**
         * Unsets the "node-count" attribute
         */
        public void unsetNodeCount()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(NODECOUNT$14);
            }
        }
        
        /**
         * Gets the "queue-name" attribute
         */
        public java.lang.String getQueueName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(QUEUENAME$16);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "queue-name" attribute
         */
        public org.apache.xmlbeans.XmlString xgetQueueName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(QUEUENAME$16);
                return target;
            }
        }
        
        /**
         * True if has "queue-name" attribute
         */
        public boolean isSetQueueName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(QUEUENAME$16) != null;
            }
        }
        
        /**
         * Sets the "queue-name" attribute
         */
        public void setQueueName(java.lang.String queueName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(QUEUENAME$16);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(QUEUENAME$16);
                }
                target.setStringValue(queueName);
            }
        }
        
        /**
         * Sets (as xml) the "queue-name" attribute
         */
        public void xsetQueueName(org.apache.xmlbeans.XmlString queueName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(QUEUENAME$16);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(QUEUENAME$16);
                }
                target.set(queueName);
            }
        }
        
        /**
         * Unsets the "queue-name" attribute
         */
        public void unsetQueueName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(QUEUENAME$16);
            }
        }
        
        /**
         * Gets the "max-wall-time" attribute
         */
        public int getMaxWallTime()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MAXWALLTIME$18);
                if (target == null)
                {
                    return 0;
                }
                return target.getIntValue();
            }
        }
        
        /**
         * Gets (as xml) the "max-wall-time" attribute
         */
        public org.apache.xmlbeans.XmlInt xgetMaxWallTime()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(MAXWALLTIME$18);
                return target;
            }
        }
        
        /**
         * True if has "max-wall-time" attribute
         */
        public boolean isSetMaxWallTime()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(MAXWALLTIME$18) != null;
            }
        }
        
        /**
         * Sets the "max-wall-time" attribute
         */
        public void setMaxWallTime(int maxWallTime)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MAXWALLTIME$18);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(MAXWALLTIME$18);
                }
                target.setIntValue(maxWallTime);
            }
        }
        
        /**
         * Sets (as xml) the "max-wall-time" attribute
         */
        public void xsetMaxWallTime(org.apache.xmlbeans.XmlInt maxWallTime)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(MAXWALLTIME$18);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInt)get_store().add_attribute_user(MAXWALLTIME$18);
                }
                target.set(maxWallTime);
            }
        }
        
        /**
         * Unsets the "max-wall-time" attribute
         */
        public void unsetMaxWallTime()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(MAXWALLTIME$18);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy