/*
 * An XML document type.
 * Localname: QueryEvaluationErrorFault
 * Namespace: http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd
 * Java type: org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.resource.properties.impl;
/**
 * A document containing one QueryEvaluationErrorFault(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public class QueryEvaluationErrorFaultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultDocument
{
    
    public QueryEvaluationErrorFaultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName QUERYEVALUATIONERRORFAULT$0 = 
        new javax.xml.namespace.QName("http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd", "QueryEvaluationErrorFault");
    
    
    /**
     * Gets the "QueryEvaluationErrorFault" element
     */
    public org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultType getQueryEvaluationErrorFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultType target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultType)get_store().find_element_user(QUERYEVALUATIONERRORFAULT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "QueryEvaluationErrorFault" element
     */
    public void setQueryEvaluationErrorFault(org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultType queryEvaluationErrorFault)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultType target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultType)get_store().find_element_user(QUERYEVALUATIONERRORFAULT$0, 0);
            if (target == null)
            {
                target = (org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultType)get_store().add_element_user(QUERYEVALUATIONERRORFAULT$0);
            }
            target.set(queryEvaluationErrorFault);
        }
    }
    
    /**
     * Appends and returns a new empty "QueryEvaluationErrorFault" element
     */
    public org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultType addNewQueryEvaluationErrorFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultType target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.QueryEvaluationErrorFaultType)get_store().add_element_user(QUERYEVALUATIONERRORFAULT$0);
            return target;
        }
    }
}
