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

org.example.wsHT.api.xsd.impl.XMLGetMyTasksDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: getMyTasks
 * Namespace: http://www.example.org/WS-HT/api/xsd
 * Java type: org.example.wsHT.api.xsd.XMLGetMyTasksDocument
 *
 * Automatically generated - do not modify.
 */
package org.example.wsHT.api.xsd.impl;
/**
 * A document containing one getMyTasks(@http://www.example.org/WS-HT/api/xsd) element.
 *
 * This is a complex type.
 */
public class XMLGetMyTasksDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetMyTasksDocument
{
    private static final long serialVersionUID = 1L;
    
    public XMLGetMyTasksDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETMYTASKS$0 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "getMyTasks");
    
    
    /**
     * Gets the "getMyTasks" element
     */
    public org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks getGetMyTasks()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks target = null;
            target = (org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks)get_store().find_element_user(GETMYTASKS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "getMyTasks" element
     */
    public void setGetMyTasks(org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks getMyTasks)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks target = null;
            target = (org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks)get_store().find_element_user(GETMYTASKS$0, 0);
            if (target == null)
            {
                target = (org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks)get_store().add_element_user(GETMYTASKS$0);
            }
            target.set(getMyTasks);
        }
    }
    
    /**
     * Appends and returns a new empty "getMyTasks" element
     */
    public org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks addNewGetMyTasks()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks target = null;
            target = (org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks)get_store().add_element_user(GETMYTASKS$0);
            return target;
        }
    }
    /**
     * An XML getMyTasks(@http://www.example.org/WS-HT/api/xsd).
     *
     * This is a complex type.
     */
    public static class GetMyTasksImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetMyTasksDocument.GetMyTasks
    {
        private static final long serialVersionUID = 1L;
        
        public GetMyTasksImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName TASKTYPE$0 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "taskType");
        private static final javax.xml.namespace.QName GENERICHUMANROLE$2 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "genericHumanRole");
        private static final javax.xml.namespace.QName WORKQUEUE$4 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "workQueue");
        private static final javax.xml.namespace.QName STATUS$6 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "status");
        private static final javax.xml.namespace.QName WHERECLAUSE$8 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "whereClause");
        private static final javax.xml.namespace.QName CREATEDONCLAUSE$10 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "createdOnClause");
        private static final javax.xml.namespace.QName MAXTASKS$12 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "maxTasks");
        
        
        /**
         * Gets the "taskType" element
         */
        public java.lang.String getTaskType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TASKTYPE$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "taskType" element
         */
        public org.apache.xmlbeans.XmlString xgetTaskType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TASKTYPE$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "taskType" element
         */
        public void setTaskType(java.lang.String taskType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TASKTYPE$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TASKTYPE$0);
                }
                target.setStringValue(taskType);
            }
        }
        
        /**
         * Sets (as xml) the "taskType" element
         */
        public void xsetTaskType(org.apache.xmlbeans.XmlString taskType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TASKTYPE$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TASKTYPE$0);
                }
                target.set(taskType);
            }
        }
        
        /**
         * Gets the "genericHumanRole" element
         */
        public org.example.wsHT.api.XMLTGenericHumanRoleType.Enum getGenericHumanRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GENERICHUMANROLE$2, 0);
                if (target == null)
                {
                    return null;
                }
                return (org.example.wsHT.api.XMLTGenericHumanRoleType.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "genericHumanRole" element
         */
        public org.example.wsHT.api.XMLTGenericHumanRoleType xgetGenericHumanRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.example.wsHT.api.XMLTGenericHumanRoleType target = null;
                target = (org.example.wsHT.api.XMLTGenericHumanRoleType)get_store().find_element_user(GENERICHUMANROLE$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "genericHumanRole" element
         */
        public boolean isSetGenericHumanRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(GENERICHUMANROLE$2) != 0;
            }
        }
        
        /**
         * Sets the "genericHumanRole" element
         */
        public void setGenericHumanRole(org.example.wsHT.api.XMLTGenericHumanRoleType.Enum genericHumanRole)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GENERICHUMANROLE$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GENERICHUMANROLE$2);
                }
                target.setEnumValue(genericHumanRole);
            }
        }
        
        /**
         * Sets (as xml) the "genericHumanRole" element
         */
        public void xsetGenericHumanRole(org.example.wsHT.api.XMLTGenericHumanRoleType genericHumanRole)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.example.wsHT.api.XMLTGenericHumanRoleType target = null;
                target = (org.example.wsHT.api.XMLTGenericHumanRoleType)get_store().find_element_user(GENERICHUMANROLE$2, 0);
                if (target == null)
                {
                    target = (org.example.wsHT.api.XMLTGenericHumanRoleType)get_store().add_element_user(GENERICHUMANROLE$2);
                }
                target.set(genericHumanRole);
            }
        }
        
        /**
         * Unsets the "genericHumanRole" element
         */
        public void unsetGenericHumanRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(GENERICHUMANROLE$2, 0);
            }
        }
        
        /**
         * Gets the "workQueue" element
         */
        public java.lang.String getWorkQueue()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WORKQUEUE$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "workQueue" element
         */
        public org.apache.xmlbeans.XmlString xgetWorkQueue()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(WORKQUEUE$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "workQueue" element
         */
        public boolean isSetWorkQueue()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(WORKQUEUE$4) != 0;
            }
        }
        
        /**
         * Sets the "workQueue" element
         */
        public void setWorkQueue(java.lang.String workQueue)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WORKQUEUE$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(WORKQUEUE$4);
                }
                target.setStringValue(workQueue);
            }
        }
        
        /**
         * Sets (as xml) the "workQueue" element
         */
        public void xsetWorkQueue(org.apache.xmlbeans.XmlString workQueue)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(WORKQUEUE$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(WORKQUEUE$4);
                }
                target.set(workQueue);
            }
        }
        
        /**
         * Unsets the "workQueue" element
         */
        public void unsetWorkQueue()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(WORKQUEUE$4, 0);
            }
        }
        
        /**
         * Gets a List of "status" elements
         */
        public java.util.List getStatusList()
        {
            final class StatusList extends java.util.AbstractList
            {
                public org.example.wsHT.api.XMLTStatus.Enum get(int i)
                    { return GetMyTasksImpl.this.getStatusArray(i); }
                
                public org.example.wsHT.api.XMLTStatus.Enum set(int i, org.example.wsHT.api.XMLTStatus.Enum o)
                {
                    org.example.wsHT.api.XMLTStatus.Enum old = GetMyTasksImpl.this.getStatusArray(i);
                    GetMyTasksImpl.this.setStatusArray(i, o);
                    return old;
                }
                
                public void add(int i, org.example.wsHT.api.XMLTStatus.Enum o)
                    { GetMyTasksImpl.this.insertStatus(i, o); }
                
                public org.example.wsHT.api.XMLTStatus.Enum remove(int i)
                {
                    org.example.wsHT.api.XMLTStatus.Enum old = GetMyTasksImpl.this.getStatusArray(i);
                    GetMyTasksImpl.this.removeStatus(i);
                    return old;
                }
                
                public int size()
                    { return GetMyTasksImpl.this.sizeOfStatusArray(); }
                
            }
            
            synchronized (monitor())
            {
                check_orphaned();
                return new StatusList();
            }
        }
        
        /**
         * Gets array of all "status" elements
         * @deprecated
         */
        public org.example.wsHT.api.XMLTStatus.Enum[] getStatusArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(STATUS$6, targetList);
                org.example.wsHT.api.XMLTStatus.Enum[] result = new org.example.wsHT.api.XMLTStatus.Enum[targetList.size()];
                for (int i = 0, len = targetList.size() ; i < len ; i++)
                    result[i] = (org.example.wsHT.api.XMLTStatus.Enum)((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getEnumValue();
                return result;
            }
        }
        
        /**
         * Gets ith "status" element
         */
        public org.example.wsHT.api.XMLTStatus.Enum getStatusArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return (org.example.wsHT.api.XMLTStatus.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) a List of "status" elements
         */
        public java.util.List xgetStatusList()
        {
            final class StatusList extends java.util.AbstractList
            {
                public org.example.wsHT.api.XMLTStatus get(int i)
                    { return GetMyTasksImpl.this.xgetStatusArray(i); }
                
                public org.example.wsHT.api.XMLTStatus set(int i, org.example.wsHT.api.XMLTStatus o)
                {
                    org.example.wsHT.api.XMLTStatus old = GetMyTasksImpl.this.xgetStatusArray(i);
                    GetMyTasksImpl.this.xsetStatusArray(i, o);
                    return old;
                }
                
                public void add(int i, org.example.wsHT.api.XMLTStatus o)
                    { GetMyTasksImpl.this.insertNewStatus(i).set(o); }
                
                public org.example.wsHT.api.XMLTStatus remove(int i)
                {
                    org.example.wsHT.api.XMLTStatus old = GetMyTasksImpl.this.xgetStatusArray(i);
                    GetMyTasksImpl.this.removeStatus(i);
                    return old;
                }
                
                public int size()
                    { return GetMyTasksImpl.this.sizeOfStatusArray(); }
                
            }
            
            synchronized (monitor())
            {
                check_orphaned();
                return new StatusList();
            }
        }
        
        /**
         * Gets array of all "status" elements
         * @deprecated
         */
        public org.example.wsHT.api.XMLTStatus[] xgetStatusArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(STATUS$6, targetList);
                org.example.wsHT.api.XMLTStatus[] result = new org.example.wsHT.api.XMLTStatus[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets (as xml) ith "status" element
         */
        public org.example.wsHT.api.XMLTStatus xgetStatusArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.example.wsHT.api.XMLTStatus target = null;
                target = (org.example.wsHT.api.XMLTStatus)get_store().find_element_user(STATUS$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return (org.example.wsHT.api.XMLTStatus)target;
            }
        }
        
        /**
         * Returns number of "status" element
         */
        public int sizeOfStatusArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(STATUS$6);
            }
        }
        
        /**
         * Sets array of all "status" element
         */
        public void setStatusArray(org.example.wsHT.api.XMLTStatus.Enum[] statusArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(statusArray, STATUS$6);
            }
        }
        
        /**
         * Sets ith "status" element
         */
        public void setStatusArray(int i, org.example.wsHT.api.XMLTStatus.Enum status)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STATUS$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.setEnumValue(status);
            }
        }
        
        /**
         * Sets (as xml) array of all "status" element
         */
        public void xsetStatusArray(org.example.wsHT.api.XMLTStatus[]statusArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(statusArray, STATUS$6);
            }
        }
        
        /**
         * Sets (as xml) ith "status" element
         */
        public void xsetStatusArray(int i, org.example.wsHT.api.XMLTStatus status)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.example.wsHT.api.XMLTStatus target = null;
                target = (org.example.wsHT.api.XMLTStatus)get_store().find_element_user(STATUS$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(status);
            }
        }
        
        /**
         * Inserts the value as the ith "status" element
         */
        public void insertStatus(int i, org.example.wsHT.api.XMLTStatus.Enum status)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = 
                    (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(STATUS$6, i);
                target.setEnumValue(status);
            }
        }
        
        /**
         * Appends the value as the last "status" element
         */
        public void addStatus(org.example.wsHT.api.XMLTStatus.Enum status)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STATUS$6);
                target.setEnumValue(status);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "status" element
         */
        public org.example.wsHT.api.XMLTStatus insertNewStatus(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.example.wsHT.api.XMLTStatus target = null;
                target = (org.example.wsHT.api.XMLTStatus)get_store().insert_element_user(STATUS$6, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "status" element
         */
        public org.example.wsHT.api.XMLTStatus addNewStatus()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.example.wsHT.api.XMLTStatus target = null;
                target = (org.example.wsHT.api.XMLTStatus)get_store().add_element_user(STATUS$6);
                return target;
            }
        }
        
        /**
         * Removes the ith "status" element
         */
        public void removeStatus(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(STATUS$6, i);
            }
        }
        
        /**
         * Gets the "whereClause" element
         */
        public java.lang.String getWhereClause()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WHERECLAUSE$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "whereClause" element
         */
        public org.apache.xmlbeans.XmlString xgetWhereClause()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(WHERECLAUSE$8, 0);
                return target;
            }
        }
        
        /**
         * True if has "whereClause" element
         */
        public boolean isSetWhereClause()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(WHERECLAUSE$8) != 0;
            }
        }
        
        /**
         * Sets the "whereClause" element
         */
        public void setWhereClause(java.lang.String whereClause)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(WHERECLAUSE$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(WHERECLAUSE$8);
                }
                target.setStringValue(whereClause);
            }
        }
        
        /**
         * Sets (as xml) the "whereClause" element
         */
        public void xsetWhereClause(org.apache.xmlbeans.XmlString whereClause)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(WHERECLAUSE$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(WHERECLAUSE$8);
                }
                target.set(whereClause);
            }
        }
        
        /**
         * Unsets the "whereClause" element
         */
        public void unsetWhereClause()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(WHERECLAUSE$8, 0);
            }
        }
        
        /**
         * Gets the "createdOnClause" element
         */
        public java.lang.String getCreatedOnClause()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CREATEDONCLAUSE$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "createdOnClause" element
         */
        public org.apache.xmlbeans.XmlString xgetCreatedOnClause()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CREATEDONCLAUSE$10, 0);
                return target;
            }
        }
        
        /**
         * True if has "createdOnClause" element
         */
        public boolean isSetCreatedOnClause()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CREATEDONCLAUSE$10) != 0;
            }
        }
        
        /**
         * Sets the "createdOnClause" element
         */
        public void setCreatedOnClause(java.lang.String createdOnClause)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CREATEDONCLAUSE$10, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CREATEDONCLAUSE$10);
                }
                target.setStringValue(createdOnClause);
            }
        }
        
        /**
         * Sets (as xml) the "createdOnClause" element
         */
        public void xsetCreatedOnClause(org.apache.xmlbeans.XmlString createdOnClause)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CREATEDONCLAUSE$10, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(CREATEDONCLAUSE$10);
                }
                target.set(createdOnClause);
            }
        }
        
        /**
         * Unsets the "createdOnClause" element
         */
        public void unsetCreatedOnClause()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CREATEDONCLAUSE$10, 0);
            }
        }
        
        /**
         * Gets the "maxTasks" element
         */
        public int getMaxTasks()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAXTASKS$12, 0);
                if (target == null)
                {
                    return 0;
                }
                return target.getIntValue();
            }
        }
        
        /**
         * Gets (as xml) the "maxTasks" element
         */
        public org.apache.xmlbeans.XmlInt xgetMaxTasks()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(MAXTASKS$12, 0);
                return target;
            }
        }
        
        /**
         * True if has "maxTasks" element
         */
        public boolean isSetMaxTasks()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(MAXTASKS$12) != 0;
            }
        }
        
        /**
         * Sets the "maxTasks" element
         */
        public void setMaxTasks(int maxTasks)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAXTASKS$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MAXTASKS$12);
                }
                target.setIntValue(maxTasks);
            }
        }
        
        /**
         * Sets (as xml) the "maxTasks" element
         */
        public void xsetMaxTasks(org.apache.xmlbeans.XmlInt maxTasks)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(MAXTASKS$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(MAXTASKS$12);
                }
                target.set(maxTasks);
            }
        }
        
        /**
         * Unsets the "maxTasks" element
         */
        public void unsetMaxTasks()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(MAXTASKS$12, 0);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy