/*
 * An XML document type.
 * Localname: TaskCreationXML
 * Namespace: http://www.bea.com/wli/worklist/xml
 * Java type: com.bea.wli.worklist.xml.TaskCreationXMLDocument
 *
 * Automatically generated - do not modify.
 */
package com.bea.wli.worklist.xml.impl;
/**
 * A document containing one TaskCreationXML(@http://www.bea.com/wli/worklist/xml) element.
 *
 * This is a complex type.
 */
public class TaskCreationXMLDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.wli.worklist.xml.TaskCreationXMLDocument
{
    
    public TaskCreationXMLDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TASKCREATIONXML$0 = 
        new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "TaskCreationXML");
    
    
    /**
     * Gets the "TaskCreationXML" element
     */
    public com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML getTaskCreationXML()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML target = null;
            target = (com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML)get_store().find_element_user(TASKCREATIONXML$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "TaskCreationXML" element
     */
    public void setTaskCreationXML(com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML taskCreationXML)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML target = null;
            target = (com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML)get_store().find_element_user(TASKCREATIONXML$0, 0);
            if (target == null)
            {
                target = (com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML)get_store().add_element_user(TASKCREATIONXML$0);
            }
            target.set(taskCreationXML);
        }
    }
    
    /**
     * Appends and returns a new empty "TaskCreationXML" element
     */
    public com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML addNewTaskCreationXML()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML target = null;
            target = (com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML)get_store().add_element_user(TASKCREATIONXML$0);
            return target;
        }
    }
    /**
     * An XML TaskCreationXML(@http://www.bea.com/wli/worklist/xml).
     *
     * This is a complex type.
     */
    public static class TaskCreationXMLImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.wli.worklist.xml.TaskCreationXMLDocument.TaskCreationXML
    {
        
        public TaskCreationXMLImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName NAME$0 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "name");
        private static final javax.xml.namespace.QName DESCRIPTION$2 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "description");
        private static final javax.xml.namespace.QName COMMENT$4 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "comment");
        private static final javax.xml.namespace.QName PRIORITY$6 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "priority");
        private static final javax.xml.namespace.QName CLAIMDUEDATE$8 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "claimDueDate");
        private static final javax.xml.namespace.QName CLAIMDUEBUSINESSDATE$10 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "claimDueBusinessDate");
        private static final javax.xml.namespace.QName COMPLETIONDUEDATE$12 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "completionDueDate");
        private static final javax.xml.namespace.QName COMPLETIONDUEBUSINESSDATE$14 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "completionDueBusinessDate");
        private static final javax.xml.namespace.QName OWNER$16 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "owner");
        private static final javax.xml.namespace.QName CANBEREASSIGNED$18 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "canBeReassigned");
        private static final javax.xml.namespace.QName CANBEABORTED$20 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "canBeAborted");
        private static final javax.xml.namespace.QName CANBERETURNED$22 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "canBeReturned");
        private static final javax.xml.namespace.QName ASSIGNEE$24 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "assignee");
        private static final javax.xml.namespace.QName REQUEST$26 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "request");
        
        
        /**
         * Gets the "name" element
         */
        public java.lang.String getName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "name" element
         */
        public org.apache.xmlbeans.XmlString xgetName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "name" element
         */
        public boolean isSetName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(NAME$0) != 0;
            }
        }
        
        /**
         * Sets the "name" element
         */
        public void setName(java.lang.String name)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAME$0);
                }
                target.setStringValue(name);
            }
        }
        
        /**
         * Sets (as xml) the "name" element
         */
        public void xsetName(org.apache.xmlbeans.XmlString name)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(NAME$0);
                }
                target.set(name);
            }
        }
        
        /**
         * Unsets the "name" element
         */
        public void unsetName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(NAME$0, 0);
            }
        }
        
        /**
         * Gets the "description" element
         */
        public java.lang.String getDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DESCRIPTION$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "description" element
         */
        public org.apache.xmlbeans.XmlString xgetDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(DESCRIPTION$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "description" element
         */
        public boolean isSetDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(DESCRIPTION$2) != 0;
            }
        }
        
        /**
         * Sets the "description" element
         */
        public void setDescription(java.lang.String description)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DESCRIPTION$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DESCRIPTION$2);
                }
                target.setStringValue(description);
            }
        }
        
        /**
         * Sets (as xml) the "description" element
         */
        public void xsetDescription(org.apache.xmlbeans.XmlString description)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(DESCRIPTION$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(DESCRIPTION$2);
                }
                target.set(description);
            }
        }
        
        /**
         * Unsets the "description" element
         */
        public void unsetDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(DESCRIPTION$2, 0);
            }
        }
        
        /**
         * Gets the "comment" element
         */
        public java.lang.String getComment()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMENT$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "comment" element
         */
        public org.apache.xmlbeans.XmlString xgetComment()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMENT$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "comment" element
         */
        public boolean isSetComment()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(COMMENT$4) != 0;
            }
        }
        
        /**
         * Sets the "comment" element
         */
        public void setComment(java.lang.String comment)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMMENT$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COMMENT$4);
                }
                target.setStringValue(comment);
            }
        }
        
        /**
         * Sets (as xml) the "comment" element
         */
        public void xsetComment(org.apache.xmlbeans.XmlString comment)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(COMMENT$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(COMMENT$4);
                }
                target.set(comment);
            }
        }
        
        /**
         * Unsets the "comment" element
         */
        public void unsetComment()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(COMMENT$4, 0);
            }
        }
        
        /**
         * Gets the "priority" element
         */
        public int getPriority()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PRIORITY$6, 0);
                if (target == null)
                {
                    return 0;
                }
                return target.getIntValue();
            }
        }
        
        /**
         * Gets (as xml) the "priority" element
         */
        public org.apache.xmlbeans.XmlInt xgetPriority()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PRIORITY$6, 0);
                return target;
            }
        }
        
        /**
         * True if has "priority" element
         */
        public boolean isSetPriority()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PRIORITY$6) != 0;
            }
        }
        
        /**
         * Sets the "priority" element
         */
        public void setPriority(int priority)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PRIORITY$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PRIORITY$6);
                }
                target.setIntValue(priority);
            }
        }
        
        /**
         * Sets (as xml) the "priority" element
         */
        public void xsetPriority(org.apache.xmlbeans.XmlInt priority)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlInt target = null;
                target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(PRIORITY$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(PRIORITY$6);
                }
                target.set(priority);
            }
        }
        
        /**
         * Unsets the "priority" element
         */
        public void unsetPriority()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PRIORITY$6, 0);
            }
        }
        
        /**
         * Gets the "claimDueDate" element
         */
        public java.util.Calendar getClaimDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CLAIMDUEDATE$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getCalendarValue();
            }
        }
        
        /**
         * Gets (as xml) the "claimDueDate" element
         */
        public org.apache.xmlbeans.XmlDateTime xgetClaimDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDateTime target = null;
                target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(CLAIMDUEDATE$8, 0);
                return target;
            }
        }
        
        /**
         * True if has "claimDueDate" element
         */
        public boolean isSetClaimDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CLAIMDUEDATE$8) != 0;
            }
        }
        
        /**
         * Sets the "claimDueDate" element
         */
        public void setClaimDueDate(java.util.Calendar claimDueDate)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CLAIMDUEDATE$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CLAIMDUEDATE$8);
                }
                target.setCalendarValue(claimDueDate);
            }
        }
        
        /**
         * Sets (as xml) the "claimDueDate" element
         */
        public void xsetClaimDueDate(org.apache.xmlbeans.XmlDateTime claimDueDate)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDateTime target = null;
                target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(CLAIMDUEDATE$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(CLAIMDUEDATE$8);
                }
                target.set(claimDueDate);
            }
        }
        
        /**
         * Unsets the "claimDueDate" element
         */
        public void unsetClaimDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CLAIMDUEDATE$8, 0);
            }
        }
        
        /**
         * Gets the "claimDueBusinessDate" element
         */
        public com.bea.wli.worklist.xml.BusinessDateType getClaimDueBusinessDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.BusinessDateType target = null;
                target = (com.bea.wli.worklist.xml.BusinessDateType)get_store().find_element_user(CLAIMDUEBUSINESSDATE$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "claimDueBusinessDate" element
         */
        public boolean isSetClaimDueBusinessDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CLAIMDUEBUSINESSDATE$10) != 0;
            }
        }
        
        /**
         * Sets the "claimDueBusinessDate" element
         */
        public void setClaimDueBusinessDate(com.bea.wli.worklist.xml.BusinessDateType claimDueBusinessDate)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.BusinessDateType target = null;
                target = (com.bea.wli.worklist.xml.BusinessDateType)get_store().find_element_user(CLAIMDUEBUSINESSDATE$10, 0);
                if (target == null)
                {
                    target = (com.bea.wli.worklist.xml.BusinessDateType)get_store().add_element_user(CLAIMDUEBUSINESSDATE$10);
                }
                target.set(claimDueBusinessDate);
            }
        }
        
        /**
         * Appends and returns a new empty "claimDueBusinessDate" element
         */
        public com.bea.wli.worklist.xml.BusinessDateType addNewClaimDueBusinessDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.BusinessDateType target = null;
                target = (com.bea.wli.worklist.xml.BusinessDateType)get_store().add_element_user(CLAIMDUEBUSINESSDATE$10);
                return target;
            }
        }
        
        /**
         * Unsets the "claimDueBusinessDate" element
         */
        public void unsetClaimDueBusinessDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CLAIMDUEBUSINESSDATE$10, 0);
            }
        }
        
        /**
         * Gets the "completionDueDate" element
         */
        public java.util.Calendar getCompletionDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMPLETIONDUEDATE$12, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getCalendarValue();
            }
        }
        
        /**
         * Gets (as xml) the "completionDueDate" element
         */
        public org.apache.xmlbeans.XmlDateTime xgetCompletionDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDateTime target = null;
                target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(COMPLETIONDUEDATE$12, 0);
                return target;
            }
        }
        
        /**
         * True if has "completionDueDate" element
         */
        public boolean isSetCompletionDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(COMPLETIONDUEDATE$12) != 0;
            }
        }
        
        /**
         * Sets the "completionDueDate" element
         */
        public void setCompletionDueDate(java.util.Calendar completionDueDate)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(COMPLETIONDUEDATE$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COMPLETIONDUEDATE$12);
                }
                target.setCalendarValue(completionDueDate);
            }
        }
        
        /**
         * Sets (as xml) the "completionDueDate" element
         */
        public void xsetCompletionDueDate(org.apache.xmlbeans.XmlDateTime completionDueDate)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDateTime target = null;
                target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(COMPLETIONDUEDATE$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(COMPLETIONDUEDATE$12);
                }
                target.set(completionDueDate);
            }
        }
        
        /**
         * Unsets the "completionDueDate" element
         */
        public void unsetCompletionDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(COMPLETIONDUEDATE$12, 0);
            }
        }
        
        /**
         * Gets the "completionDueBusinessDate" element
         */
        public com.bea.wli.worklist.xml.BusinessDateType getCompletionDueBusinessDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.BusinessDateType target = null;
                target = (com.bea.wli.worklist.xml.BusinessDateType)get_store().find_element_user(COMPLETIONDUEBUSINESSDATE$14, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "completionDueBusinessDate" element
         */
        public boolean isSetCompletionDueBusinessDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(COMPLETIONDUEBUSINESSDATE$14) != 0;
            }
        }
        
        /**
         * Sets the "completionDueBusinessDate" element
         */
        public void setCompletionDueBusinessDate(com.bea.wli.worklist.xml.BusinessDateType completionDueBusinessDate)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.BusinessDateType target = null;
                target = (com.bea.wli.worklist.xml.BusinessDateType)get_store().find_element_user(COMPLETIONDUEBUSINESSDATE$14, 0);
                if (target == null)
                {
                    target = (com.bea.wli.worklist.xml.BusinessDateType)get_store().add_element_user(COMPLETIONDUEBUSINESSDATE$14);
                }
                target.set(completionDueBusinessDate);
            }
        }
        
        /**
         * Appends and returns a new empty "completionDueBusinessDate" element
         */
        public com.bea.wli.worklist.xml.BusinessDateType addNewCompletionDueBusinessDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.BusinessDateType target = null;
                target = (com.bea.wli.worklist.xml.BusinessDateType)get_store().add_element_user(COMPLETIONDUEBUSINESSDATE$14);
                return target;
            }
        }
        
        /**
         * Unsets the "completionDueBusinessDate" element
         */
        public void unsetCompletionDueBusinessDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(COMPLETIONDUEBUSINESSDATE$14, 0);
            }
        }
        
        /**
         * Gets the "owner" element
         */
        public java.lang.String getOwner()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OWNER$16, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "owner" element
         */
        public org.apache.xmlbeans.XmlString xgetOwner()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(OWNER$16, 0);
                return target;
            }
        }
        
        /**
         * True if has "owner" element
         */
        public boolean isSetOwner()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(OWNER$16) != 0;
            }
        }
        
        /**
         * Sets the "owner" element
         */
        public void setOwner(java.lang.String owner)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OWNER$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OWNER$16);
                }
                target.setStringValue(owner);
            }
        }
        
        /**
         * Sets (as xml) the "owner" element
         */
        public void xsetOwner(org.apache.xmlbeans.XmlString owner)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(OWNER$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(OWNER$16);
                }
                target.set(owner);
            }
        }
        
        /**
         * Unsets the "owner" element
         */
        public void unsetOwner()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(OWNER$16, 0);
            }
        }
        
        /**
         * Gets the "canBeReassigned" element
         */
        public boolean getCanBeReassigned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CANBEREASSIGNED$18, 0);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "canBeReassigned" element
         */
        public org.apache.xmlbeans.XmlBoolean xgetCanBeReassigned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(CANBEREASSIGNED$18, 0);
                return target;
            }
        }
        
        /**
         * True if has "canBeReassigned" element
         */
        public boolean isSetCanBeReassigned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CANBEREASSIGNED$18) != 0;
            }
        }
        
        /**
         * Sets the "canBeReassigned" element
         */
        public void setCanBeReassigned(boolean canBeReassigned)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CANBEREASSIGNED$18, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CANBEREASSIGNED$18);
                }
                target.setBooleanValue(canBeReassigned);
            }
        }
        
        /**
         * Sets (as xml) the "canBeReassigned" element
         */
        public void xsetCanBeReassigned(org.apache.xmlbeans.XmlBoolean canBeReassigned)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(CANBEREASSIGNED$18, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(CANBEREASSIGNED$18);
                }
                target.set(canBeReassigned);
            }
        }
        
        /**
         * Unsets the "canBeReassigned" element
         */
        public void unsetCanBeReassigned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CANBEREASSIGNED$18, 0);
            }
        }
        
        /**
         * Gets the "canBeAborted" element
         */
        public boolean getCanBeAborted()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CANBEABORTED$20, 0);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "canBeAborted" element
         */
        public org.apache.xmlbeans.XmlBoolean xgetCanBeAborted()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(CANBEABORTED$20, 0);
                return target;
            }
        }
        
        /**
         * True if has "canBeAborted" element
         */
        public boolean isSetCanBeAborted()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CANBEABORTED$20) != 0;
            }
        }
        
        /**
         * Sets the "canBeAborted" element
         */
        public void setCanBeAborted(boolean canBeAborted)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CANBEABORTED$20, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CANBEABORTED$20);
                }
                target.setBooleanValue(canBeAborted);
            }
        }
        
        /**
         * Sets (as xml) the "canBeAborted" element
         */
        public void xsetCanBeAborted(org.apache.xmlbeans.XmlBoolean canBeAborted)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(CANBEABORTED$20, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(CANBEABORTED$20);
                }
                target.set(canBeAborted);
            }
        }
        
        /**
         * Unsets the "canBeAborted" element
         */
        public void unsetCanBeAborted()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CANBEABORTED$20, 0);
            }
        }
        
        /**
         * Gets the "canBeReturned" element
         */
        public boolean getCanBeReturned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CANBERETURNED$22, 0);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "canBeReturned" element
         */
        public org.apache.xmlbeans.XmlBoolean xgetCanBeReturned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(CANBERETURNED$22, 0);
                return target;
            }
        }
        
        /**
         * True if has "canBeReturned" element
         */
        public boolean isSetCanBeReturned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CANBERETURNED$22) != 0;
            }
        }
        
        /**
         * Sets the "canBeReturned" element
         */
        public void setCanBeReturned(boolean canBeReturned)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CANBERETURNED$22, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CANBERETURNED$22);
                }
                target.setBooleanValue(canBeReturned);
            }
        }
        
        /**
         * Sets (as xml) the "canBeReturned" element
         */
        public void xsetCanBeReturned(org.apache.xmlbeans.XmlBoolean canBeReturned)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(CANBERETURNED$22, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(CANBERETURNED$22);
                }
                target.set(canBeReturned);
            }
        }
        
        /**
         * Unsets the "canBeReturned" element
         */
        public void unsetCanBeReturned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CANBERETURNED$22, 0);
            }
        }
        
        /**
         * Gets the "assignee" element
         */
        public com.bea.wli.worklist.xml.AssigneeType getAssignee()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.AssigneeType target = null;
                target = (com.bea.wli.worklist.xml.AssigneeType)get_store().find_element_user(ASSIGNEE$24, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "assignee" element
         */
        public boolean isSetAssignee()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(ASSIGNEE$24) != 0;
            }
        }
        
        /**
         * Sets the "assignee" element
         */
        public void setAssignee(com.bea.wli.worklist.xml.AssigneeType assignee)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.AssigneeType target = null;
                target = (com.bea.wli.worklist.xml.AssigneeType)get_store().find_element_user(ASSIGNEE$24, 0);
                if (target == null)
                {
                    target = (com.bea.wli.worklist.xml.AssigneeType)get_store().add_element_user(ASSIGNEE$24);
                }
                target.set(assignee);
            }
        }
        
        /**
         * Appends and returns a new empty "assignee" element
         */
        public com.bea.wli.worklist.xml.AssigneeType addNewAssignee()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.AssigneeType target = null;
                target = (com.bea.wli.worklist.xml.AssigneeType)get_store().add_element_user(ASSIGNEE$24);
                return target;
            }
        }
        
        /**
         * Unsets the "assignee" element
         */
        public void unsetAssignee()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ASSIGNEE$24, 0);
            }
        }
        
        /**
         * Gets the "request" element
         */
        public com.bea.wli.worklist.xml.MessageType getRequest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.MessageType target = null;
                target = (com.bea.wli.worklist.xml.MessageType)get_store().find_element_user(REQUEST$26, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "request" element
         */
        public boolean isSetRequest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(REQUEST$26) != 0;
            }
        }
        
        /**
         * Sets the "request" element
         */
        public void setRequest(com.bea.wli.worklist.xml.MessageType request)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.MessageType target = null;
                target = (com.bea.wli.worklist.xml.MessageType)get_store().find_element_user(REQUEST$26, 0);
                if (target == null)
                {
                    target = (com.bea.wli.worklist.xml.MessageType)get_store().add_element_user(REQUEST$26);
                }
                target.set(request);
            }
        }
        
        /**
         * Appends and returns a new empty "request" element
         */
        public com.bea.wli.worklist.xml.MessageType addNewRequest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.MessageType target = null;
                target = (com.bea.wli.worklist.xml.MessageType)get_store().add_element_user(REQUEST$26);
                return target;
            }
        }
        
        /**
         * Unsets the "request" element
         */
        public void unsetRequest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(REQUEST$26, 0);
            }
        }
    }
}
