/*
 * An XML document type.
 * Localname: QueryResourcePropertiesResponse
 * Namespace: http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd
 * Java type: org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.resource.properties.impl;
/**
 * A document containing one QueryResourcePropertiesResponse(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public class QueryResourcePropertiesResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument
{
    
    public QueryResourcePropertiesResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName QUERYRESOURCEPROPERTIESRESPONSE$0 = 
        new javax.xml.namespace.QName("http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd", "QueryResourcePropertiesResponse");
    
    
    /**
     * Gets the "QueryResourcePropertiesResponse" element
     */
    public org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse getQueryResourcePropertiesResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse)get_store().find_element_user(QUERYRESOURCEPROPERTIESRESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "QueryResourcePropertiesResponse" element
     */
    public void setQueryResourcePropertiesResponse(org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse queryResourcePropertiesResponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse)get_store().find_element_user(QUERYRESOURCEPROPERTIESRESPONSE$0, 0);
            if (target == null)
            {
                target = (org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse)get_store().add_element_user(QUERYRESOURCEPROPERTIESRESPONSE$0);
            }
            target.set(queryResourcePropertiesResponse);
        }
    }
    
    /**
     * Appends and returns a new empty "QueryResourcePropertiesResponse" element
     */
    public org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse addNewQueryResourcePropertiesResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse)get_store().add_element_user(QUERYRESOURCEPROPERTIESRESPONSE$0);
            return target;
        }
    }
    /**
     * An XML QueryResourcePropertiesResponse(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd).
     *
     * This is a complex type.
     */
    public static class QueryResourcePropertiesResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.resource.properties.QueryResourcePropertiesResponseDocument.QueryResourcePropertiesResponse
    {
        
        public QueryResourcePropertiesResponseImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        
    }
}
