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