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