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