/*
 * An XML document type.
 * Localname: SetResourcePropertiesResponse
 * 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.SetResourcePropertiesResponseDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.resource.properties.impl;
/**
 * A document containing one SetResourcePropertiesResponse(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public class SetResourcePropertiesResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument
{
    
    public SetResourcePropertiesResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SETRESOURCEPROPERTIESRESPONSE$0 = 
        new javax.xml.namespace.QName("http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd", "SetResourcePropertiesResponse");
    
    
    /**
     * Gets the "SetResourcePropertiesResponse" element
     */
    public org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse getSetResourcePropertiesResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse)get_store().find_element_user(SETRESOURCEPROPERTIESRESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "SetResourcePropertiesResponse" element
     */
    public void setSetResourcePropertiesResponse(org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse setResourcePropertiesResponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse)get_store().find_element_user(SETRESOURCEPROPERTIESRESPONSE$0, 0);
            if (target == null)
            {
                target = (org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse)get_store().add_element_user(SETRESOURCEPROPERTIESRESPONSE$0);
            }
            target.set(setResourcePropertiesResponse);
        }
    }
    
    /**
     * Appends and returns a new empty "SetResourcePropertiesResponse" element
     */
    public org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse addNewSetResourcePropertiesResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse target = null;
            target = (org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse)get_store().add_element_user(SETRESOURCEPROPERTIESRESPONSE$0);
            return target;
        }
    }
    /**
     * An XML SetResourcePropertiesResponse(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd).
     *
     * This is a complex type.
     */
    public static class SetResourcePropertiesResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.resource.properties.SetResourcePropertiesResponseDocument.SetResourcePropertiesResponse
    {
        
        public SetResourcePropertiesResponseImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        
    }
}
