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