/*
 * An XML document type.
 * Localname: TopicNotSupportedFault
 * 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.TopicNotSupportedFaultDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.notification.brokered.impl;
/**
 * A document containing one TopicNotSupportedFault(@http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public class TopicNotSupportedFaultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultDocument
{
    
    public TopicNotSupportedFaultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TOPICNOTSUPPORTEDFAULT$0 = 
        new javax.xml.namespace.QName("http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd", "TopicNotSupportedFault");
    
    
    /**
     * Gets the "TopicNotSupportedFault" element
     */
    public org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultType getTopicNotSupportedFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultType target = null;
            target = (org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultType)get_store().find_element_user(TOPICNOTSUPPORTEDFAULT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "TopicNotSupportedFault" element
     */
    public void setTopicNotSupportedFault(org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultType topicNotSupportedFault)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultType target = null;
            target = (org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultType)get_store().find_element_user(TOPICNOTSUPPORTEDFAULT$0, 0);
            if (target == null)
            {
                target = (org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultType)get_store().add_element_user(TOPICNOTSUPPORTEDFAULT$0);
            }
            target.set(topicNotSupportedFault);
        }
    }
    
    /**
     * Appends and returns a new empty "TopicNotSupportedFault" element
     */
    public org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultType addNewTopicNotSupportedFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultType target = null;
            target = (org.activemq.ws.xmlbeans.notification.brokered.TopicNotSupportedFaultType)get_store().add_element_user(TOPICNOTSUPPORTEDFAULT$0);
            return target;
        }
    }
}
