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