/*
 * An XML document type.
 * Localname: TaskUpdateXML
 * Namespace: http://www.bea.com/wli/worklist/xml
 * Java type: com.bea.wli.worklist.xml.TaskUpdateXMLDocument
 *
 * Automatically generated - do not modify.
 */
package com.bea.wli.worklist.xml.impl;
/**
 * A document containing one TaskUpdateXML(@http://www.bea.com/wli/worklist/xml) element.
 *
 * This is a complex type.
 */
public class TaskUpdateXMLDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.wli.worklist.xml.TaskUpdateXMLDocument
{
    
    public TaskUpdateXMLDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TASKUPDATEXML$0 = 
        new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "TaskUpdateXML");
    
    
    /**
     * Gets the "TaskUpdateXML" element
     */
    public com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML getTaskUpdateXML()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML target = null;
            target = (com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML)get_store().find_element_user(TASKUPDATEXML$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "TaskUpdateXML" element
     */
    public void setTaskUpdateXML(com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML taskUpdateXML)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML target = null;
            target = (com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML)get_store().find_element_user(TASKUPDATEXML$0, 0);
            if (target == null)
            {
                target = (com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML)get_store().add_element_user(TASKUPDATEXML$0);
            }
            target.set(taskUpdateXML);
        }
    }
    
    /**
     * Appends and returns a new empty "TaskUpdateXML" element
     */
    public com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML addNewTaskUpdateXML()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML target = null;
            target = (com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML)get_store().add_element_user(TASKUPDATEXML$0);
            return target;
        }
    }
    /**
     * An XML TaskUpdateXML(@http://www.bea.com/wli/worklist/xml).
     *
     * This is a complex type.
     */
    public static class TaskUpdateXMLImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.wli.worklist.xml.TaskUpdateXMLDocument.TaskUpdateXML
    {
        
        public TaskUpdateXMLImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName COMMENT$0 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "comment");
        private static final javax.xml.namespace.QName PRIORITY$2 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "priority");
        private static final javax.xml.namespace.QName CLAIMDUEDATE$4 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "claimDueDate");
        private static final javax.xml.namespace.QName CLAIMDUEBUSINESSDATE$6 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "claimDueBusinessDate");
        private static final javax.xml.namespace.QName COMPLETIONDUEDATE$8 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "completionDueDate");
        private static final javax.xml.namespace.QName COMPLETIONDUEBUSINESSDATE$10 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "completionDueBusinessDate");
        private static final javax.xml.namespace.QName OWNER$12 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "owner");
        private static final javax.xml.namespace.QName CANBEREASSIGNED$14 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "canBeReassigned");
        private static final javax.xml.namespace.QName CANBEABORTED$16 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "canBeAborted");
        private static final javax.xml.namespace.QName CANBERETURNED$18 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "canBeReturned");
        private static final javax.xml.namespace.QName ASSIGNEE$20 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "assignee");
        private static final javax.xml.namespace.QName REQUEST$22 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "request");
        private static final javax.xml.namespace.QName RESPONSE$24 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/worklist/xml", "response");
        
        
        /**
         * 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$0, 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$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "comment" element
         */
        public boolean isSetComment()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(COMMENT$0) != 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$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COMMENT$0);
                }
                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$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(COMMENT$0);
                }
                target.set(comment);
            }
        }
        
        /**
         * Unsets the "comment" element
         */
        public void unsetComment()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(COMMENT$0, 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$2, 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$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "priority" element
         */
        public boolean isSetPriority()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PRIORITY$2) != 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$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PRIORITY$2);
                }
                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$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(PRIORITY$2);
                }
                target.set(priority);
            }
        }
        
        /**
         * Unsets the "priority" element
         */
        public void unsetPriority()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PRIORITY$2, 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$4, 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$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "claimDueDate" element
         */
        public boolean isSetClaimDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CLAIMDUEDATE$4) != 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$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CLAIMDUEDATE$4);
                }
                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$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(CLAIMDUEDATE$4);
                }
                target.set(claimDueDate);
            }
        }
        
        /**
         * Unsets the "claimDueDate" element
         */
        public void unsetClaimDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CLAIMDUEDATE$4, 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$6, 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$6) != 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$6, 0);
                if (target == null)
                {
                    target = (com.bea.wli.worklist.xml.BusinessDateType)get_store().add_element_user(CLAIMDUEBUSINESSDATE$6);
                }
                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$6);
                return target;
            }
        }
        
        /**
         * Unsets the "claimDueBusinessDate" element
         */
        public void unsetClaimDueBusinessDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CLAIMDUEBUSINESSDATE$6, 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$8, 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$8, 0);
                return target;
            }
        }
        
        /**
         * True if has "completionDueDate" element
         */
        public boolean isSetCompletionDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(COMPLETIONDUEDATE$8) != 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$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(COMPLETIONDUEDATE$8);
                }
                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$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(COMPLETIONDUEDATE$8);
                }
                target.set(completionDueDate);
            }
        }
        
        /**
         * Unsets the "completionDueDate" element
         */
        public void unsetCompletionDueDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(COMPLETIONDUEDATE$8, 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$10, 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$10) != 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$10, 0);
                if (target == null)
                {
                    target = (com.bea.wli.worklist.xml.BusinessDateType)get_store().add_element_user(COMPLETIONDUEBUSINESSDATE$10);
                }
                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$10);
                return target;
            }
        }
        
        /**
         * Unsets the "completionDueBusinessDate" element
         */
        public void unsetCompletionDueBusinessDate()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(COMPLETIONDUEBUSINESSDATE$10, 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$12, 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$12, 0);
                return target;
            }
        }
        
        /**
         * True if has "owner" element
         */
        public boolean isSetOwner()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(OWNER$12) != 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$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OWNER$12);
                }
                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$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(OWNER$12);
                }
                target.set(owner);
            }
        }
        
        /**
         * Unsets the "owner" element
         */
        public void unsetOwner()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(OWNER$12, 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$14, 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$14, 0);
                return target;
            }
        }
        
        /**
         * True if has "canBeReassigned" element
         */
        public boolean isSetCanBeReassigned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CANBEREASSIGNED$14) != 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$14, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CANBEREASSIGNED$14);
                }
                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$14, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(CANBEREASSIGNED$14);
                }
                target.set(canBeReassigned);
            }
        }
        
        /**
         * Unsets the "canBeReassigned" element
         */
        public void unsetCanBeReassigned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CANBEREASSIGNED$14, 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$16, 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$16, 0);
                return target;
            }
        }
        
        /**
         * True if has "canBeAborted" element
         */
        public boolean isSetCanBeAborted()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CANBEABORTED$16) != 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$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CANBEABORTED$16);
                }
                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$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(CANBEABORTED$16);
                }
                target.set(canBeAborted);
            }
        }
        
        /**
         * Unsets the "canBeAborted" element
         */
        public void unsetCanBeAborted()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CANBEABORTED$16, 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$18, 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$18, 0);
                return target;
            }
        }
        
        /**
         * True if has "canBeReturned" element
         */
        public boolean isSetCanBeReturned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(CANBERETURNED$18) != 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$18, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CANBERETURNED$18);
                }
                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$18, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(CANBERETURNED$18);
                }
                target.set(canBeReturned);
            }
        }
        
        /**
         * Unsets the "canBeReturned" element
         */
        public void unsetCanBeReturned()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(CANBERETURNED$18, 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$20, 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$20) != 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$20, 0);
                if (target == null)
                {
                    target = (com.bea.wli.worklist.xml.AssigneeType)get_store().add_element_user(ASSIGNEE$20);
                }
                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$20);
                return target;
            }
        }
        
        /**
         * Unsets the "assignee" element
         */
        public void unsetAssignee()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(ASSIGNEE$20, 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$22, 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$22) != 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$22, 0);
                if (target == null)
                {
                    target = (com.bea.wli.worklist.xml.MessageType)get_store().add_element_user(REQUEST$22);
                }
                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$22);
                return target;
            }
        }
        
        /**
         * Unsets the "request" element
         */
        public void unsetRequest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(REQUEST$22, 0);
            }
        }
        
        /**
         * Gets the "response" element
         */
        public com.bea.wli.worklist.xml.MessageType getResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.MessageType target = null;
                target = (com.bea.wli.worklist.xml.MessageType)get_store().find_element_user(RESPONSE$24, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "response" element
         */
        public boolean isSetResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(RESPONSE$24) != 0;
            }
        }
        
        /**
         * Sets the "response" element
         */
        public void setResponse(com.bea.wli.worklist.xml.MessageType response)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.MessageType target = null;
                target = (com.bea.wli.worklist.xml.MessageType)get_store().find_element_user(RESPONSE$24, 0);
                if (target == null)
                {
                    target = (com.bea.wli.worklist.xml.MessageType)get_store().add_element_user(RESPONSE$24);
                }
                target.set(response);
            }
        }
        
        /**
         * Appends and returns a new empty "response" element
         */
        public com.bea.wli.worklist.xml.MessageType addNewResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.worklist.xml.MessageType target = null;
                target = (com.bea.wli.worklist.xml.MessageType)get_store().add_element_user(RESPONSE$24);
                return target;
            }
        }
        
        /**
         * Unsets the "response" element
         */
        public void unsetResponse()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(RESPONSE$24, 0);
            }
        }
    }
}
