/*
 * An XML document type.
 * Localname: processtxndate
 * Namespace: http://www.acme.com/validationService
 * Java type: com.acme.validationService.ProcesstxndateDocument
 *
 * Automatically generated - do not modify.
 */
package com.acme.validationService.impl;
/**
 * A document containing one processtxndate(@http://www.acme.com/validationService) element.
 *
 * This is a complex type.
 */
public class ProcesstxndateDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.acme.validationService.ProcesstxndateDocument
{
    
    public ProcesstxndateDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PROCESSTXNDATE$0 = 
        new javax.xml.namespace.QName("http://www.acme.com/validationService", "processtxndate");
    
    
    /**
     * Gets the "processtxndate" element
     */
    public java.lang.String getProcesstxndate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROCESSTXNDATE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "processtxndate" element
     */
    public org.apache.xmlbeans.XmlString xgetProcesstxndate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROCESSTXNDATE$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "processtxndate" element
     */
    public void setProcesstxndate(java.lang.String processtxndate)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROCESSTXNDATE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROCESSTXNDATE$0);
            }
            target.setStringValue(processtxndate);
        }
    }
    
    /**
     * Sets (as xml) the "processtxndate" element
     */
    public void xsetProcesstxndate(org.apache.xmlbeans.XmlString processtxndate)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROCESSTXNDATE$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROCESSTXNDATE$0);
            }
            target.set(processtxndate);
        }
    }
}
