/*
 * XML Type:  input-data-type
 * Namespace: http://www.bea.com/Worklist_Sample/InputData.xsd
 * Java type: com.bea.worklistSample.inputData.InputDataType
 *
 * Automatically generated - do not modify.
 */
package com.bea.worklistSample.inputData.impl;
/**
 * An XML input-data-type(@http://www.bea.com/Worklist_Sample/InputData.xsd).
 *
 * This is a complex type.
 */
public class InputDataTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.worklistSample.inputData.InputDataType
{
    
    public InputDataTypeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TASKNAME$0 = 
        new javax.xml.namespace.QName("http://www.bea.com/Worklist_Sample/InputData.xsd", "task-name");
    private static final javax.xml.namespace.QName DESCRIPTION$2 = 
        new javax.xml.namespace.QName("http://www.bea.com/Worklist_Sample/InputData.xsd", "description");
    private static final javax.xml.namespace.QName ASSIGNTO$4 = 
        new javax.xml.namespace.QName("http://www.bea.com/Worklist_Sample/InputData.xsd", "assign-to");
    private static final javax.xml.namespace.QName LIFETIMEINMINS$6 = 
        new javax.xml.namespace.QName("http://www.bea.com/Worklist_Sample/InputData.xsd", "lifetime-in-mins");
    private static final javax.xml.namespace.QName INSTRUCTIONSTOASSIGNEE$8 = 
        new javax.xml.namespace.QName("http://www.bea.com/Worklist_Sample/InputData.xsd", "instructions-to-assignee");
    private static final javax.xml.namespace.QName BUSINESSRULES$10 = 
        new javax.xml.namespace.QName("http://www.bea.com/Worklist_Sample/InputData.xsd", "business-rules");
    
    
    /**
     * Gets the "task-name" element
     */
    public java.lang.String getTaskName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TASKNAME$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "task-name" element
     */
    public org.apache.xmlbeans.XmlString xgetTaskName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TASKNAME$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "task-name" element
     */
    public void setTaskName(java.lang.String taskName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TASKNAME$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TASKNAME$0);
            }
            target.setStringValue(taskName);
        }
    }
    
    /**
     * Sets (as xml) the "task-name" element
     */
    public void xsetTaskName(org.apache.xmlbeans.XmlString taskName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TASKNAME$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TASKNAME$0);
            }
            target.set(taskName);
        }
    }
    
    /**
     * 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;
        }
    }
    
    /**
     * 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);
        }
    }
    
    /**
     * Gets the "assign-to" element
     */
    public java.lang.String getAssignTo()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ASSIGNTO$4, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "assign-to" element
     */
    public org.apache.xmlbeans.XmlString xgetAssignTo()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ASSIGNTO$4, 0);
            return target;
        }
    }
    
    /**
     * Sets the "assign-to" element
     */
    public void setAssignTo(java.lang.String assignTo)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ASSIGNTO$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ASSIGNTO$4);
            }
            target.setStringValue(assignTo);
        }
    }
    
    /**
     * Sets (as xml) the "assign-to" element
     */
    public void xsetAssignTo(org.apache.xmlbeans.XmlString assignTo)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ASSIGNTO$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ASSIGNTO$4);
            }
            target.set(assignTo);
        }
    }
    
    /**
     * Gets the "lifetime-in-mins" element
     */
    public int getLifetimeInMins()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LIFETIMEINMINS$6, 0);
            if (target == null)
            {
                return 0;
            }
            return target.getIntValue();
        }
    }
    
    /**
     * Gets (as xml) the "lifetime-in-mins" element
     */
    public org.apache.xmlbeans.XmlInt xgetLifetimeInMins()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInt target = null;
            target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(LIFETIMEINMINS$6, 0);
            return target;
        }
    }
    
    /**
     * Sets the "lifetime-in-mins" element
     */
    public void setLifetimeInMins(int lifetimeInMins)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LIFETIMEINMINS$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LIFETIMEINMINS$6);
            }
            target.setIntValue(lifetimeInMins);
        }
    }
    
    /**
     * Sets (as xml) the "lifetime-in-mins" element
     */
    public void xsetLifetimeInMins(org.apache.xmlbeans.XmlInt lifetimeInMins)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInt target = null;
            target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(LIFETIMEINMINS$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(LIFETIMEINMINS$6);
            }
            target.set(lifetimeInMins);
        }
    }
    
    /**
     * Gets the "instructions-to-assignee" element
     */
    public java.lang.String getInstructionsToAssignee()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INSTRUCTIONSTOASSIGNEE$8, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "instructions-to-assignee" element
     */
    public org.apache.xmlbeans.XmlString xgetInstructionsToAssignee()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INSTRUCTIONSTOASSIGNEE$8, 0);
            return target;
        }
    }
    
    /**
     * Sets the "instructions-to-assignee" element
     */
    public void setInstructionsToAssignee(java.lang.String instructionsToAssignee)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INSTRUCTIONSTOASSIGNEE$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INSTRUCTIONSTOASSIGNEE$8);
            }
            target.setStringValue(instructionsToAssignee);
        }
    }
    
    /**
     * Sets (as xml) the "instructions-to-assignee" element
     */
    public void xsetInstructionsToAssignee(org.apache.xmlbeans.XmlString instructionsToAssignee)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INSTRUCTIONSTOASSIGNEE$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(INSTRUCTIONSTOASSIGNEE$8);
            }
            target.set(instructionsToAssignee);
        }
    }
    
    /**
     * Gets the "business-rules" element
     */
    public java.lang.String getBusinessRules()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUSINESSRULES$10, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "business-rules" element
     */
    public org.apache.xmlbeans.XmlString xgetBusinessRules()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(BUSINESSRULES$10, 0);
            return target;
        }
    }
    
    /**
     * Sets the "business-rules" element
     */
    public void setBusinessRules(java.lang.String businessRules)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUSINESSRULES$10, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUSINESSRULES$10);
            }
            target.setStringValue(businessRules);
        }
    }
    
    /**
     * Sets (as xml) the "business-rules" element
     */
    public void xsetBusinessRules(org.apache.xmlbeans.XmlString businessRules)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(BUSINESSRULES$10, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(BUSINESSRULES$10);
            }
            target.set(businessRules);
        }
    }
}
