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