/*
 * An XML document type.
 * Localname: GetStatus
 * Namespace: http://schemas.xmlsoap.org/ws/2004/08/eventing
 * Java type: org.activemq.ws.xmlbeans.eventing.GetStatusDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.eventing.impl;
/**
 * A document containing one GetStatus(@http://schemas.xmlsoap.org/ws/2004/08/eventing) element.
 *
 * This is a complex type.
 */
public class GetStatusDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.eventing.GetStatusDocument
{
    
    public GetStatusDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETSTATUS$0 = 
        new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2004/08/eventing", "GetStatus");
    
    
    /**
     * Gets the "GetStatus" element
     */
    public org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus getGetStatus()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus target = null;
            target = (org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus)get_store().find_element_user(GETSTATUS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "GetStatus" element
     */
    public void setGetStatus(org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus getStatus)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus target = null;
            target = (org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus)get_store().find_element_user(GETSTATUS$0, 0);
            if (target == null)
            {
                target = (org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus)get_store().add_element_user(GETSTATUS$0);
            }
            target.set(getStatus);
        }
    }
    
    /**
     * Appends and returns a new empty "GetStatus" element
     */
    public org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus addNewGetStatus()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus target = null;
            target = (org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus)get_store().add_element_user(GETSTATUS$0);
            return target;
        }
    }
    /**
     * An XML GetStatus(@http://schemas.xmlsoap.org/ws/2004/08/eventing).
     *
     * This is a complex type.
     */
    public static class GetStatusImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.eventing.GetStatusDocument.GetStatus
    {
        
        public GetStatusImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        
    }
}
