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