/*
 * An XML document type.
 * Localname: JmsEventGenerator
 * Namespace: http://www.bea.com/wli/eventGenerator
 * Java type: com.bea.wli.eventGenerator.JmsEventGeneratorDocument
 *
 * Automatically generated - do not modify.
 */
package com.bea.wli.eventGenerator.impl;
/**
 * A document containing one JmsEventGenerator(@http://www.bea.com/wli/eventGenerator) element.
 *
 * This is a complex type.
 */
public class JmsEventGeneratorDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.wli.eventGenerator.JmsEventGeneratorDocument
{
    
    public JmsEventGeneratorDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName JMSEVENTGENERATOR$0 = 
        new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JmsEventGenerator");
    
    
    /**
     * Gets the "JmsEventGenerator" element
     */
    public com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator getJmsEventGenerator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator target = null;
            target = (com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator)get_store().find_element_user(JMSEVENTGENERATOR$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "JmsEventGenerator" element
     */
    public void setJmsEventGenerator(com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator jmsEventGenerator)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator target = null;
            target = (com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator)get_store().find_element_user(JMSEVENTGENERATOR$0, 0);
            if (target == null)
            {
                target = (com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator)get_store().add_element_user(JMSEVENTGENERATOR$0);
            }
            target.set(jmsEventGenerator);
        }
    }
    
    /**
     * Appends and returns a new empty "JmsEventGenerator" element
     */
    public com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator addNewJmsEventGenerator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator target = null;
            target = (com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator)get_store().add_element_user(JMSEVENTGENERATOR$0);
            return target;
        }
    }
    /**
     * An XML JmsEventGenerator(@http://www.bea.com/wli/eventGenerator).
     *
     * This is a complex type.
     */
    public static class JmsEventGeneratorImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator
    {
        
        public JmsEventGeneratorImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName PROPERTY$0 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "property");
        private static final javax.xml.namespace.QName JMSCORRELATIONID$2 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JMSCorrelationID");
        private static final javax.xml.namespace.QName JMSDELIVERYMODE$4 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JMSDeliveryMode");
        private static final javax.xml.namespace.QName JMSDESTINATION$6 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JMSDestination");
        private static final javax.xml.namespace.QName JMSEXPIRATION$8 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JMSExpiration");
        private static final javax.xml.namespace.QName JMSMESSAGEID$10 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JMSMessageID");
        private static final javax.xml.namespace.QName JMSPRIORITY$12 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JMSPriority");
        private static final javax.xml.namespace.QName JMSREDELIVERED$14 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JMSRedelivered");
        private static final javax.xml.namespace.QName JMSREPLYTO$16 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JMSReplyTo");
        private static final javax.xml.namespace.QName JMSTIMESTAMP$18 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JMSTimestamp");
        private static final javax.xml.namespace.QName JMSTYPE$20 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "JMSType");
        private static final javax.xml.namespace.QName SOURCETYPE$22 = 
            new javax.xml.namespace.QName("", "SourceType");
        private static final javax.xml.namespace.QName SOURCEJNDINAME$24 = 
            new javax.xml.namespace.QName("", "SourceJndiName");
        
        
        /**
         * Gets a List of "property" elements
         */
        public java.util.List<com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property> getPropertyList()
        {
            final class PropertyList extends java.util.AbstractList<com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property>
            {
                public com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property get(int i)
                    { return JmsEventGeneratorImpl.this.getPropertyArray(i); }
                
                public com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property set(int i, com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property o)
                {
                    com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property old = JmsEventGeneratorImpl.this.getPropertyArray(i);
                    JmsEventGeneratorImpl.this.setPropertyArray(i, o);
                    return old;
                }
                
                public void add(int i, com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property o)
                    { JmsEventGeneratorImpl.this.insertNewProperty(i).set(o); }
                
                public com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property remove(int i)
                {
                    com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property old = JmsEventGeneratorImpl.this.getPropertyArray(i);
                    JmsEventGeneratorImpl.this.removeProperty(i);
                    return old;
                }
                
                public int size()
                    { return JmsEventGeneratorImpl.this.sizeOfPropertyArray(); }
                
            }
            
            synchronized (monitor())
            {
                check_orphaned();
                return new PropertyList();
            }
        }
        
        /**
         * Gets array of all "property" elements
         */
        public com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property[] getPropertyArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(PROPERTY$0, targetList);
                com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property[] result = new com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "property" element
         */
        public com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property getPropertyArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property target = null;
                target = (com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property)get_store().find_element_user(PROPERTY$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "property" element
         */
        public int sizeOfPropertyArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PROPERTY$0);
            }
        }
        
        /**
         * Sets array of all "property" element
         */
        public void setPropertyArray(com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property[] propertyArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(propertyArray, PROPERTY$0);
            }
        }
        
        /**
         * Sets ith "property" element
         */
        public void setPropertyArray(int i, com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property property)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property target = null;
                target = (com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property)get_store().find_element_user(PROPERTY$0, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(property);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "property" element
         */
        public com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property insertNewProperty(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property target = null;
                target = (com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property)get_store().insert_element_user(PROPERTY$0, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "property" element
         */
        public com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property addNewProperty()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property target = null;
                target = (com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property)get_store().add_element_user(PROPERTY$0);
                return target;
            }
        }
        
        /**
         * Removes the ith "property" element
         */
        public void removeProperty(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PROPERTY$0, i);
            }
        }
        
        /**
         * Gets the "JMSCorrelationID" element
         */
        public java.lang.String getJMSCorrelationID()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSCORRELATIONID$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "JMSCorrelationID" element
         */
        public org.apache.xmlbeans.XmlString xgetJMSCorrelationID()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSCORRELATIONID$2, 0);
                return target;
            }
        }
        
        /**
         * Sets the "JMSCorrelationID" element
         */
        public void setJMSCorrelationID(java.lang.String jmsCorrelationID)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSCORRELATIONID$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JMSCORRELATIONID$2);
                }
                target.setStringValue(jmsCorrelationID);
            }
        }
        
        /**
         * Sets (as xml) the "JMSCorrelationID" element
         */
        public void xsetJMSCorrelationID(org.apache.xmlbeans.XmlString jmsCorrelationID)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSCORRELATIONID$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JMSCORRELATIONID$2);
                }
                target.set(jmsCorrelationID);
            }
        }
        
        /**
         * Gets the "JMSDeliveryMode" element
         */
        public java.lang.String getJMSDeliveryMode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSDELIVERYMODE$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "JMSDeliveryMode" element
         */
        public org.apache.xmlbeans.XmlString xgetJMSDeliveryMode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSDELIVERYMODE$4, 0);
                return target;
            }
        }
        
        /**
         * Sets the "JMSDeliveryMode" element
         */
        public void setJMSDeliveryMode(java.lang.String jmsDeliveryMode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSDELIVERYMODE$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JMSDELIVERYMODE$4);
                }
                target.setStringValue(jmsDeliveryMode);
            }
        }
        
        /**
         * Sets (as xml) the "JMSDeliveryMode" element
         */
        public void xsetJMSDeliveryMode(org.apache.xmlbeans.XmlString jmsDeliveryMode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSDELIVERYMODE$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JMSDELIVERYMODE$4);
                }
                target.set(jmsDeliveryMode);
            }
        }
        
        /**
         * Gets the "JMSDestination" element
         */
        public java.lang.String getJMSDestination()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSDESTINATION$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "JMSDestination" element
         */
        public org.apache.xmlbeans.XmlString xgetJMSDestination()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSDESTINATION$6, 0);
                return target;
            }
        }
        
        /**
         * Sets the "JMSDestination" element
         */
        public void setJMSDestination(java.lang.String jmsDestination)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSDESTINATION$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JMSDESTINATION$6);
                }
                target.setStringValue(jmsDestination);
            }
        }
        
        /**
         * Sets (as xml) the "JMSDestination" element
         */
        public void xsetJMSDestination(org.apache.xmlbeans.XmlString jmsDestination)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSDESTINATION$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JMSDESTINATION$6);
                }
                target.set(jmsDestination);
            }
        }
        
        /**
         * Gets the "JMSExpiration" element
         */
        public java.lang.String getJMSExpiration()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSEXPIRATION$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "JMSExpiration" element
         */
        public org.apache.xmlbeans.XmlString xgetJMSExpiration()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSEXPIRATION$8, 0);
                return target;
            }
        }
        
        /**
         * Sets the "JMSExpiration" element
         */
        public void setJMSExpiration(java.lang.String jmsExpiration)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSEXPIRATION$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JMSEXPIRATION$8);
                }
                target.setStringValue(jmsExpiration);
            }
        }
        
        /**
         * Sets (as xml) the "JMSExpiration" element
         */
        public void xsetJMSExpiration(org.apache.xmlbeans.XmlString jmsExpiration)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSEXPIRATION$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JMSEXPIRATION$8);
                }
                target.set(jmsExpiration);
            }
        }
        
        /**
         * Gets the "JMSMessageID" element
         */
        public java.lang.String getJMSMessageID()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSMESSAGEID$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "JMSMessageID" element
         */
        public org.apache.xmlbeans.XmlString xgetJMSMessageID()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSMESSAGEID$10, 0);
                return target;
            }
        }
        
        /**
         * Sets the "JMSMessageID" element
         */
        public void setJMSMessageID(java.lang.String jmsMessageID)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSMESSAGEID$10, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JMSMESSAGEID$10);
                }
                target.setStringValue(jmsMessageID);
            }
        }
        
        /**
         * Sets (as xml) the "JMSMessageID" element
         */
        public void xsetJMSMessageID(org.apache.xmlbeans.XmlString jmsMessageID)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSMESSAGEID$10, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JMSMESSAGEID$10);
                }
                target.set(jmsMessageID);
            }
        }
        
        /**
         * Gets the "JMSPriority" element
         */
        public java.lang.String getJMSPriority()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSPRIORITY$12, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "JMSPriority" element
         */
        public org.apache.xmlbeans.XmlString xgetJMSPriority()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSPRIORITY$12, 0);
                return target;
            }
        }
        
        /**
         * Sets the "JMSPriority" element
         */
        public void setJMSPriority(java.lang.String jmsPriority)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSPRIORITY$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JMSPRIORITY$12);
                }
                target.setStringValue(jmsPriority);
            }
        }
        
        /**
         * Sets (as xml) the "JMSPriority" element
         */
        public void xsetJMSPriority(org.apache.xmlbeans.XmlString jmsPriority)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSPRIORITY$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JMSPRIORITY$12);
                }
                target.set(jmsPriority);
            }
        }
        
        /**
         * Gets the "JMSRedelivered" element
         */
        public java.lang.String getJMSRedelivered()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSREDELIVERED$14, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "JMSRedelivered" element
         */
        public org.apache.xmlbeans.XmlString xgetJMSRedelivered()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSREDELIVERED$14, 0);
                return target;
            }
        }
        
        /**
         * Sets the "JMSRedelivered" element
         */
        public void setJMSRedelivered(java.lang.String jmsRedelivered)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSREDELIVERED$14, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JMSREDELIVERED$14);
                }
                target.setStringValue(jmsRedelivered);
            }
        }
        
        /**
         * Sets (as xml) the "JMSRedelivered" element
         */
        public void xsetJMSRedelivered(org.apache.xmlbeans.XmlString jmsRedelivered)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSREDELIVERED$14, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JMSREDELIVERED$14);
                }
                target.set(jmsRedelivered);
            }
        }
        
        /**
         * Gets the "JMSReplyTo" element
         */
        public java.lang.String getJMSReplyTo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSREPLYTO$16, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "JMSReplyTo" element
         */
        public org.apache.xmlbeans.XmlString xgetJMSReplyTo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSREPLYTO$16, 0);
                return target;
            }
        }
        
        /**
         * Sets the "JMSReplyTo" element
         */
        public void setJMSReplyTo(java.lang.String jmsReplyTo)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSREPLYTO$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JMSREPLYTO$16);
                }
                target.setStringValue(jmsReplyTo);
            }
        }
        
        /**
         * Sets (as xml) the "JMSReplyTo" element
         */
        public void xsetJMSReplyTo(org.apache.xmlbeans.XmlString jmsReplyTo)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSREPLYTO$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JMSREPLYTO$16);
                }
                target.set(jmsReplyTo);
            }
        }
        
        /**
         * Gets the "JMSTimestamp" element
         */
        public java.lang.String getJMSTimestamp()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSTIMESTAMP$18, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "JMSTimestamp" element
         */
        public org.apache.xmlbeans.XmlString xgetJMSTimestamp()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSTIMESTAMP$18, 0);
                return target;
            }
        }
        
        /**
         * Sets the "JMSTimestamp" element
         */
        public void setJMSTimestamp(java.lang.String jmsTimestamp)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSTIMESTAMP$18, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JMSTIMESTAMP$18);
                }
                target.setStringValue(jmsTimestamp);
            }
        }
        
        /**
         * Sets (as xml) the "JMSTimestamp" element
         */
        public void xsetJMSTimestamp(org.apache.xmlbeans.XmlString jmsTimestamp)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSTIMESTAMP$18, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JMSTIMESTAMP$18);
                }
                target.set(jmsTimestamp);
            }
        }
        
        /**
         * Gets the "JMSType" element
         */
        public java.lang.String getJMSType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSTYPE$20, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "JMSType" element
         */
        public org.apache.xmlbeans.XmlString xgetJMSType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSTYPE$20, 0);
                return target;
            }
        }
        
        /**
         * Sets the "JMSType" element
         */
        public void setJMSType(java.lang.String jmsType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(JMSTYPE$20, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(JMSTYPE$20);
                }
                target.setStringValue(jmsType);
            }
        }
        
        /**
         * Sets (as xml) the "JMSType" element
         */
        public void xsetJMSType(org.apache.xmlbeans.XmlString jmsType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(JMSTYPE$20, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(JMSTYPE$20);
                }
                target.set(jmsType);
            }
        }
        
        /**
         * Gets the "SourceType" attribute
         */
        public java.lang.String getSourceType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SOURCETYPE$22);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "SourceType" attribute
         */
        public org.apache.xmlbeans.XmlString xgetSourceType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SOURCETYPE$22);
                return target;
            }
        }
        
        /**
         * True if has "SourceType" attribute
         */
        public boolean isSetSourceType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(SOURCETYPE$22) != null;
            }
        }
        
        /**
         * Sets the "SourceType" attribute
         */
        public void setSourceType(java.lang.String sourceType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SOURCETYPE$22);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SOURCETYPE$22);
                }
                target.setStringValue(sourceType);
            }
        }
        
        /**
         * Sets (as xml) the "SourceType" attribute
         */
        public void xsetSourceType(org.apache.xmlbeans.XmlString sourceType)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SOURCETYPE$22);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(SOURCETYPE$22);
                }
                target.set(sourceType);
            }
        }
        
        /**
         * Unsets the "SourceType" attribute
         */
        public void unsetSourceType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(SOURCETYPE$22);
            }
        }
        
        /**
         * Gets the "SourceJndiName" attribute
         */
        public java.lang.String getSourceJndiName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SOURCEJNDINAME$24);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "SourceJndiName" attribute
         */
        public org.apache.xmlbeans.XmlString xgetSourceJndiName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SOURCEJNDINAME$24);
                return target;
            }
        }
        
        /**
         * True if has "SourceJndiName" attribute
         */
        public boolean isSetSourceJndiName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(SOURCEJNDINAME$24) != null;
            }
        }
        
        /**
         * Sets the "SourceJndiName" attribute
         */
        public void setSourceJndiName(java.lang.String sourceJndiName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SOURCEJNDINAME$24);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SOURCEJNDINAME$24);
                }
                target.setStringValue(sourceJndiName);
            }
        }
        
        /**
         * Sets (as xml) the "SourceJndiName" attribute
         */
        public void xsetSourceJndiName(org.apache.xmlbeans.XmlString sourceJndiName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SOURCEJNDINAME$24);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(SOURCEJNDINAME$24);
                }
                target.set(sourceJndiName);
            }
        }
        
        /**
         * Unsets the "SourceJndiName" attribute
         */
        public void unsetSourceJndiName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(SOURCEJNDINAME$24);
            }
        }
        /**
         * An XML property(@http://www.bea.com/wli/eventGenerator).
         *
         * This is a complex type.
         */
        public static class PropertyImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.wli.eventGenerator.JmsEventGeneratorDocument.JmsEventGenerator.Property
        {
            
            public PropertyImpl(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/eventGenerator", "Name");
            private static final javax.xml.namespace.QName VALUE$2 = 
                new javax.xml.namespace.QName("http://www.bea.com/wli/eventGenerator", "Value");
            
            
            /**
             * 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;
                }
            }
            
            /**
             * 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);
                }
            }
            
            /**
             * Gets the "Value" element
             */
            public java.lang.String getValue()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$2, 0);
                    if (target == null)
                    {
                      return null;
                    }
                    return target.getStringValue();
                }
            }
            
            /**
             * Gets (as xml) the "Value" element
             */
            public org.apache.xmlbeans.XmlString xgetValue()
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VALUE$2, 0);
                    return target;
                }
            }
            
            /**
             * Sets the "Value" element
             */
            public void setValue(java.lang.String value)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.SimpleValue target = null;
                    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VALUE$2);
                    }
                    target.setStringValue(value);
                }
            }
            
            /**
             * Sets (as xml) the "Value" element
             */
            public void xsetValue(org.apache.xmlbeans.XmlString value)
            {
                synchronized (monitor())
                {
                    check_orphaned();
                    org.apache.xmlbeans.XmlString target = null;
                    target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VALUE$2, 0);
                    if (target == null)
                    {
                      target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(VALUE$2);
                    }
                    target.set(value);
                }
            }
        }
    }
}
