/*
 * An XML document type.
 * Localname: InvalidQueryExpressionFault
 * 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.InvalidQueryExpressionFaultDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.resource.properties.impl;
/**
 * A document containing one InvalidQueryExpressionFault(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public class InvalidQueryExpressionFaultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultDocument
{
    
    public InvalidQueryExpressionFaultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName INVALIDQUERYEXPRESSIONFAULT$0 = 
        new javax.xml.namespace.QName("http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd", "InvalidQueryExpressionFault");
    
    
    /**
     * Gets the "InvalidQueryExpressionFault" element
     */
    public org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultType getInvalidQueryExpressionFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultType target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultType)get_store().find_element_user(INVALIDQUERYEXPRESSIONFAULT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "InvalidQueryExpressionFault" element
     */
    public void setInvalidQueryExpressionFault(org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultType invalidQueryExpressionFault)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultType target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultType)get_store().find_element_user(INVALIDQUERYEXPRESSIONFAULT$0, 0);
            if (target == null)
            {
                target = (org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultType)get_store().add_element_user(INVALIDQUERYEXPRESSIONFAULT$0);
            }
            target.set(invalidQueryExpressionFault);
        }
    }
    
    /**
     * Appends and returns a new empty "InvalidQueryExpressionFault" element
     */
    public org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultType addNewInvalidQueryExpressionFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultType target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.InvalidQueryExpressionFaultType)get_store().add_element_user(INVALIDQUERYEXPRESSIONFAULT$0);
            return target;
        }
    }
}
