/*
 * XML Type:  SequenceFaultType
 * Namespace: http://schemas.xmlsoap.org/ws/2004/03/rm
 * Java type: org.xmlsoap.schemas.ws.x2004.x03.rm.SequenceFaultType
 *
 * Automatically generated - do not modify.
 */
package org.xmlsoap.schemas.ws.x2004.x03.rm.impl;

/**
 * An XML SequenceFaultType(@http://schemas.xmlsoap.org/ws/2004/03/rm).
 * <p/>
 * This is a complex type.
 */
public class SequenceFaultTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.xmlsoap.schemas.ws.x2004.x03.rm.SequenceFaultType {

    public SequenceFaultTypeImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }

    private static final javax.xml.namespace.QName FAULTCODE$0 =
            new javax.xml.namespace.QName("http://schemas.xmlsoap.org/ws/2004/03/rm", "FaultCode");


    /**
     * Gets the "FaultCode" element
     */
    public javax.xml.namespace.QName getFaultCode() {
        synchronized (monitor()) {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue) get_store().find_element_user(FAULTCODE$0, 0);
            if (target == null) {
                return null;
            }
            return target.getQNameValue();
        }
    }

    /**
     * Gets (as xml) the "FaultCode" element
     */
    public org.apache.xmlbeans.XmlQName xgetFaultCode() {
        synchronized (monitor()) {
            check_orphaned();
            org.apache.xmlbeans.XmlQName target = null;
            target = (org.apache.xmlbeans.XmlQName) get_store().find_element_user(FAULTCODE$0, 0);
            return target;
        }
    }

    /**
     * Sets the "FaultCode" element
     */
    public void setFaultCode(javax.xml.namespace.QName faultCode) {
        synchronized (monitor()) {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue) get_store().find_element_user(FAULTCODE$0, 0);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue) get_store().add_element_user(FAULTCODE$0);
            }
            target.setQNameValue(faultCode);
        }
    }

    /**
     * Sets (as xml) the "FaultCode" element
     */
    public void xsetFaultCode(org.apache.xmlbeans.XmlQName faultCode) {
        synchronized (monitor()) {
            check_orphaned();
            org.apache.xmlbeans.XmlQName target = null;
            target = (org.apache.xmlbeans.XmlQName) get_store().find_element_user(FAULTCODE$0, 0);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlQName) get_store().add_element_user(FAULTCODE$0);
            }
            target.set(faultCode);
        }
    }
}
