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