/*
 * An XML document type.
 * Localname: ExponentialBackoff
 * Namespace: http://schemas.xmlsoap.org/ws/2004/03/rm
 * Java type: org.xmlsoap.schemas.ws.x2004.x03.rm.ExponentialBackoffDocument
 *
 * Automatically generated - do not modify.
 */
package org.xmlsoap.schemas.ws.x2004.x03.rm.impl;

/**
 * A document containing one ExponentialBackoff(@http://schemas.xmlsoap.org/ws/2004/03/rm) element.
 * <p/>
 * This is a complex type.
 */
public class ExponentialBackoffDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.xmlsoap.schemas.ws.x2004.x03.rm.ExponentialBackoffDocument {

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

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


    /**
     * Gets the "ExponentialBackoff" element
     */
    public org.xmlsoap.schemas.ws.x2004.x03.rm.PolicyAssertionType getExponentialBackoff() {
        synchronized (monitor()) {
            check_orphaned();
            org.xmlsoap.schemas.ws.x2004.x03.rm.PolicyAssertionType target = null;
            target = (org.xmlsoap.schemas.ws.x2004.x03.rm.PolicyAssertionType) get_store().find_element_user(EXPONENTIALBACKOFF$0, 0);
            if (target == null) {
                return null;
            }
            return target;
        }
    }

    /**
     * Sets the "ExponentialBackoff" element
     */
    public void setExponentialBackoff(org.xmlsoap.schemas.ws.x2004.x03.rm.PolicyAssertionType exponentialBackoff) {
        synchronized (monitor()) {
            check_orphaned();
            org.xmlsoap.schemas.ws.x2004.x03.rm.PolicyAssertionType target = null;
            target = (org.xmlsoap.schemas.ws.x2004.x03.rm.PolicyAssertionType) get_store().find_element_user(EXPONENTIALBACKOFF$0, 0);
            if (target == null) {
                target = (org.xmlsoap.schemas.ws.x2004.x03.rm.PolicyAssertionType) get_store().add_element_user(EXPONENTIALBACKOFF$0);
            }
            target.set(exponentialBackoff);
        }
    }

    /**
     * Appends and returns a new empty "ExponentialBackoff" element
     */
    public org.xmlsoap.schemas.ws.x2004.x03.rm.PolicyAssertionType addNewExponentialBackoff() {
        synchronized (monitor()) {
            check_orphaned();
            org.xmlsoap.schemas.ws.x2004.x03.rm.PolicyAssertionType target = null;
            target = (org.xmlsoap.schemas.ws.x2004.x03.rm.PolicyAssertionType) get_store().add_element_user(EXPONENTIALBACKOFF$0);
            return target;
        }
    }
}
