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