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