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