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