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