/*
 * An XML document type.
 * Localname: Acknowledgment
 * Namespace: http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd
 * Java type: org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument
 *
 * Automatically generated - do not modify.
 */
package org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.impl;
/**
 * A document containing one Acknowledgment(@http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd) element.
 *
 * This is a complex type.
 */
public class AcknowledgmentDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument
{
    
    public AcknowledgmentDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ACKNOWLEDGMENT$0 = 
        new javax.xml.namespace.QName("http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd", "Acknowledgment");
    
    
    /**
     * Gets the "Acknowledgment" element
     */
    public org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment getAcknowledgment()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment target = null;
            target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment)get_store().find_element_user(ACKNOWLEDGMENT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Acknowledgment" element
     */
    public void setAcknowledgment(org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment acknowledgment)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment target = null;
            target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment)get_store().find_element_user(ACKNOWLEDGMENT$0, 0);
            if (target == null)
            {
                target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment)get_store().add_element_user(ACKNOWLEDGMENT$0);
            }
            target.set(acknowledgment);
        }
    }
    
    /**
     * Appends and returns a new empty "Acknowledgment" element
     */
    public org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment addNewAcknowledgment()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment target = null;
            target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment)get_store().add_element_user(ACKNOWLEDGMENT$0);
            return target;
        }
    }
    /**
     * An XML Acknowledgment(@http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd).
     *
     * This is a complex type.
     */
    public static class AcknowledgmentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment
    {
        
        public AcknowledgmentImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName TIMESTAMP$0 = 
            new javax.xml.namespace.QName("http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd", "Timestamp");
        private static final javax.xml.namespace.QName REFTOMESSAGEID$2 = 
            new javax.xml.namespace.QName("http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd", "RefToMessageId");
        private static final javax.xml.namespace.QName FROM$4 = 
            new javax.xml.namespace.QName("http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd", "From");
        private static final javax.xml.namespace.QName REFERENCE$6 = 
            new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "Reference");
        private static final javax.xml.namespace.QName ID$8 = 
            new javax.xml.namespace.QName("http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd", "id");
        private static final javax.xml.namespace.QName VERSION$10 = 
            new javax.xml.namespace.QName("http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd", "version");
        private static final javax.xml.namespace.QName MUSTUNDERSTAND$12 = 
            new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/envelope/", "mustUnderstand");
        private static final javax.xml.namespace.QName ACTOR$14 = 
            new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/envelope/", "actor");
        
        
        /**
         * Gets the "Timestamp" element
         */
        public java.util.Calendar getTimestamp()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TIMESTAMP$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getCalendarValue();
            }
        }
        
        /**
         * Gets (as xml) the "Timestamp" element
         */
        public org.apache.xmlbeans.XmlDateTime xgetTimestamp()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDateTime target = null;
                target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(TIMESTAMP$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "Timestamp" element
         */
        public void setTimestamp(java.util.Calendar timestamp)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TIMESTAMP$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TIMESTAMP$0);
                }
                target.setCalendarValue(timestamp);
            }
        }
        
        /**
         * Sets (as xml) the "Timestamp" element
         */
        public void xsetTimestamp(org.apache.xmlbeans.XmlDateTime timestamp)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlDateTime target = null;
                target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(TIMESTAMP$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(TIMESTAMP$0);
                }
                target.set(timestamp);
            }
        }
        
        /**
         * Gets the "RefToMessageId" element
         */
        public java.lang.String getRefToMessageId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFTOMESSAGEID$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "RefToMessageId" element
         */
        public org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString xgetRefToMessageId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString target = null;
                target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString)get_store().find_element_user(REFTOMESSAGEID$2, 0);
                return target;
            }
        }
        
        /**
         * Sets the "RefToMessageId" element
         */
        public void setRefToMessageId(java.lang.String refToMessageId)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFTOMESSAGEID$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REFTOMESSAGEID$2);
                }
                target.setStringValue(refToMessageId);
            }
        }
        
        /**
         * Sets (as xml) the "RefToMessageId" element
         */
        public void xsetRefToMessageId(org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString refToMessageId)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString target = null;
                target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString)get_store().find_element_user(REFTOMESSAGEID$2, 0);
                if (target == null)
                {
                    target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString)get_store().add_element_user(REFTOMESSAGEID$2);
                }
                target.set(refToMessageId);
            }
        }
        
        /**
         * Gets the "From" element
         */
        public org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From getFrom()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From target = null;
                target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From)get_store().find_element_user(FROM$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "From" element
         */
        public boolean isSetFrom()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(FROM$4) != 0;
            }
        }
        
        /**
         * Sets the "From" element
         */
        public void setFrom(org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From from)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From target = null;
                target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From)get_store().find_element_user(FROM$4, 0);
                if (target == null)
                {
                    target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From)get_store().add_element_user(FROM$4);
                }
                target.set(from);
            }
        }
        
        /**
         * Appends and returns a new empty "From" element
         */
        public org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From addNewFrom()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From target = null;
                target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From)get_store().add_element_user(FROM$4);
                return target;
            }
        }
        
        /**
         * Unsets the "From" element
         */
        public void unsetFrom()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(FROM$4, 0);
            }
        }
        
        /**
         * Gets a List of "Reference" elements
         */
        public java.util.List<org.w3.x2000.x09.xmldsig.ReferenceType> getReferenceList()
        {
            final class ReferenceList extends java.util.AbstractList<org.w3.x2000.x09.xmldsig.ReferenceType>
            {
                public org.w3.x2000.x09.xmldsig.ReferenceType get(int i)
                    { return AcknowledgmentImpl.this.getReferenceArray(i); }
                
                public org.w3.x2000.x09.xmldsig.ReferenceType set(int i, org.w3.x2000.x09.xmldsig.ReferenceType o)
                {
                    org.w3.x2000.x09.xmldsig.ReferenceType old = AcknowledgmentImpl.this.getReferenceArray(i);
                    AcknowledgmentImpl.this.setReferenceArray(i, o);
                    return old;
                }
                
                public void add(int i, org.w3.x2000.x09.xmldsig.ReferenceType o)
                    { AcknowledgmentImpl.this.insertNewReference(i).set(o); }
                
                public org.w3.x2000.x09.xmldsig.ReferenceType remove(int i)
                {
                    org.w3.x2000.x09.xmldsig.ReferenceType old = AcknowledgmentImpl.this.getReferenceArray(i);
                    AcknowledgmentImpl.this.removeReference(i);
                    return old;
                }
                
                public int size()
                    { return AcknowledgmentImpl.this.sizeOfReferenceArray(); }
                
            }
            
            synchronized (monitor())
            {
                check_orphaned();
                return new ReferenceList();
            }
        }
        
        /**
         * Gets array of all "Reference" elements
         */
        public org.w3.x2000.x09.xmldsig.ReferenceType[] getReferenceArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                java.util.List targetList = new java.util.ArrayList();
                get_store().find_all_element_users(REFERENCE$6, targetList);
                org.w3.x2000.x09.xmldsig.ReferenceType[] result = new org.w3.x2000.x09.xmldsig.ReferenceType[targetList.size()];
                targetList.toArray(result);
                return result;
            }
        }
        
        /**
         * Gets ith "Reference" element
         */
        public org.w3.x2000.x09.xmldsig.ReferenceType getReferenceArray(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x2000.x09.xmldsig.ReferenceType target = null;
                target = (org.w3.x2000.x09.xmldsig.ReferenceType)get_store().find_element_user(REFERENCE$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                return target;
            }
        }
        
        /**
         * Returns number of "Reference" element
         */
        public int sizeOfReferenceArray()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(REFERENCE$6);
            }
        }
        
        /**
         * Sets array of all "Reference" element
         */
        public void setReferenceArray(org.w3.x2000.x09.xmldsig.ReferenceType[] referenceArray)
        {
            synchronized (monitor())
            {
                check_orphaned();
                arraySetterHelper(referenceArray, REFERENCE$6);
            }
        }
        
        /**
         * Sets ith "Reference" element
         */
        public void setReferenceArray(int i, org.w3.x2000.x09.xmldsig.ReferenceType reference)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x2000.x09.xmldsig.ReferenceType target = null;
                target = (org.w3.x2000.x09.xmldsig.ReferenceType)get_store().find_element_user(REFERENCE$6, i);
                if (target == null)
                {
                    throw new IndexOutOfBoundsException();
                }
                target.set(reference);
            }
        }
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "Reference" element
         */
        public org.w3.x2000.x09.xmldsig.ReferenceType insertNewReference(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x2000.x09.xmldsig.ReferenceType target = null;
                target = (org.w3.x2000.x09.xmldsig.ReferenceType)get_store().insert_element_user(REFERENCE$6, i);
                return target;
            }
        }
        
        /**
         * Appends and returns a new empty value (as xml) as the last "Reference" element
         */
        public org.w3.x2000.x09.xmldsig.ReferenceType addNewReference()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.w3.x2000.x09.xmldsig.ReferenceType target = null;
                target = (org.w3.x2000.x09.xmldsig.ReferenceType)get_store().add_element_user(REFERENCE$6);
                return target;
            }
        }
        
        /**
         * Removes the ith "Reference" element
         */
        public void removeReference(int i)
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(REFERENCE$6, i);
            }
        }
        
        /**
         * Gets the "id" attribute
         */
        public java.lang.String getId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$8);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "id" attribute
         */
        public org.apache.xmlbeans.XmlID xgetId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlID target = null;
                target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$8);
                return target;
            }
        }
        
        /**
         * True if has "id" attribute
         */
        public boolean isSetId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ID$8) != null;
            }
        }
        
        /**
         * Sets the "id" attribute
         */
        public void setId(java.lang.String id)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$8);
                }
                target.setStringValue(id);
            }
        }
        
        /**
         * Sets (as xml) the "id" attribute
         */
        public void xsetId(org.apache.xmlbeans.XmlID id)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlID target = null;
                target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlID)get_store().add_attribute_user(ID$8);
                }
                target.set(id);
            }
        }
        
        /**
         * Unsets the "id" attribute
         */
        public void unsetId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ID$8);
            }
        }
        
        /**
         * Gets the "version" attribute
         */
        public java.lang.String getVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VERSION$10);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "version" attribute
         */
        public org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString xgetVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString target = null;
                target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString)get_store().find_attribute_user(VERSION$10);
                return target;
            }
        }
        
        /**
         * Sets the "version" attribute
         */
        public void setVersion(java.lang.String version)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VERSION$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VERSION$10);
                }
                target.setStringValue(version);
            }
        }
        
        /**
         * Sets (as xml) the "version" attribute
         */
        public void xsetVersion(org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString version)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString target = null;
                target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString)get_store().find_attribute_user(VERSION$10);
                if (target == null)
                {
                    target = (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString)get_store().add_attribute_user(VERSION$10);
                }
                target.set(version);
            }
        }
        
        /**
         * Gets the "mustUnderstand" attribute
         */
        public boolean getMustUnderstand()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MUSTUNDERSTAND$12);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "mustUnderstand" attribute
         */
        public org.xmlsoap.schemas.soap.envelope.MustUnderstandAttribute.MustUnderstand xgetMustUnderstand()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.xmlsoap.schemas.soap.envelope.MustUnderstandAttribute.MustUnderstand target = null;
                target = (org.xmlsoap.schemas.soap.envelope.MustUnderstandAttribute.MustUnderstand)get_store().find_attribute_user(MUSTUNDERSTAND$12);
                return target;
            }
        }
        
        /**
         * Sets the "mustUnderstand" attribute
         */
        public void setMustUnderstand(boolean mustUnderstand)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MUSTUNDERSTAND$12);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(MUSTUNDERSTAND$12);
                }
                target.setBooleanValue(mustUnderstand);
            }
        }
        
        /**
         * Sets (as xml) the "mustUnderstand" attribute
         */
        public void xsetMustUnderstand(org.xmlsoap.schemas.soap.envelope.MustUnderstandAttribute.MustUnderstand mustUnderstand)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.xmlsoap.schemas.soap.envelope.MustUnderstandAttribute.MustUnderstand target = null;
                target = (org.xmlsoap.schemas.soap.envelope.MustUnderstandAttribute.MustUnderstand)get_store().find_attribute_user(MUSTUNDERSTAND$12);
                if (target == null)
                {
                    target = (org.xmlsoap.schemas.soap.envelope.MustUnderstandAttribute.MustUnderstand)get_store().add_attribute_user(MUSTUNDERSTAND$12);
                }
                target.set(mustUnderstand);
            }
        }
        
        /**
         * Gets the "actor" attribute
         */
        public java.lang.String getActor()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTOR$14);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "actor" attribute
         */
        public org.apache.xmlbeans.XmlAnyURI xgetActor()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(ACTOR$14);
                return target;
            }
        }
        
        /**
         * True if has "actor" attribute
         */
        public boolean isSetActor()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ACTOR$14) != null;
            }
        }
        
        /**
         * Sets the "actor" attribute
         */
        public void setActor(java.lang.String actor)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTOR$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ACTOR$14);
                }
                target.setStringValue(actor);
            }
        }
        
        /**
         * Sets (as xml) the "actor" attribute
         */
        public void xsetActor(org.apache.xmlbeans.XmlAnyURI actor)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(ACTOR$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(ACTOR$14);
                }
                target.set(actor);
            }
        }
        
        /**
         * Unsets the "actor" attribute
         */
        public void unsetActor()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ACTOR$14);
            }
        }
    }
}
