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