/*
 * An XML document type.
 * Localname: ContentCreationFailedFault
 * Namespace: http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd
 * Java type: org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.servicegroup.impl;
/**
 * A document containing one ContentCreationFailedFault(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public class ContentCreationFailedFaultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultDocument
{
    
    public ContentCreationFailedFaultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CONTENTCREATIONFAILEDFAULT$0 = 
        new javax.xml.namespace.QName("http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd", "ContentCreationFailedFault");
    
    
    /**
     * Gets the "ContentCreationFailedFault" element
     */
    public org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultType getContentCreationFailedFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultType target = null;
            target = (org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultType)get_store().find_element_user(CONTENTCREATIONFAILEDFAULT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "ContentCreationFailedFault" element
     */
    public void setContentCreationFailedFault(org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultType contentCreationFailedFault)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultType target = null;
            target = (org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultType)get_store().find_element_user(CONTENTCREATIONFAILEDFAULT$0, 0);
            if (target == null)
            {
                target = (org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultType)get_store().add_element_user(CONTENTCREATIONFAILEDFAULT$0);
            }
            target.set(contentCreationFailedFault);
        }
    }
    
    /**
     * Appends and returns a new empty "ContentCreationFailedFault" element
     */
    public org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultType addNewContentCreationFailedFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultType target = null;
            target = (org.activemq.ws.xmlbeans.servicegroup.ContentCreationFailedFaultType)get_store().add_element_user(CONTENTCREATIONFAILEDFAULT$0);
            return target;
        }
    }
}
