/*
 * An XML document type.
 * Localname: InvalidTopicExpressionFault
 * Namespace: http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd
 * Java type: org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.notification.brokered.impl;
/**
 * A document containing one InvalidTopicExpressionFault(@http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public class InvalidTopicExpressionFaultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultDocument
{
    
    public InvalidTopicExpressionFaultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName INVALIDTOPICEXPRESSIONFAULT$0 = 
        new javax.xml.namespace.QName("http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd", "InvalidTopicExpressionFault");
    
    
    /**
     * Gets the "InvalidTopicExpressionFault" element
     */
    public org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultType getInvalidTopicExpressionFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultType target = null;
            target = (org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultType)get_store().find_element_user(INVALIDTOPICEXPRESSIONFAULT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "InvalidTopicExpressionFault" element
     */
    public void setInvalidTopicExpressionFault(org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultType invalidTopicExpressionFault)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultType target = null;
            target = (org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultType)get_store().find_element_user(INVALIDTOPICEXPRESSIONFAULT$0, 0);
            if (target == null)
            {
                target = (org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultType)get_store().add_element_user(INVALIDTOPICEXPRESSIONFAULT$0);
            }
            target.set(invalidTopicExpressionFault);
        }
    }
    
    /**
     * Appends and returns a new empty "InvalidTopicExpressionFault" element
     */
    public org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultType addNewInvalidTopicExpressionFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultType target = null;
            target = (org.activemq.ws.xmlbeans.notification.brokered.InvalidTopicExpressionFaultType)get_store().add_element_user(INVALIDTOPICEXPRESSIONFAULT$0);
            return target;
        }
    }
}
