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

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

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

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


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

    /**
     * Sets the "CreateSequenceResponse" element
     */
    public void setCreateSequenceResponse(org.xmlsoap.schemas.ws.x2004.x03.rm.HandshakeType createSequenceResponse) {
        synchronized (monitor()) {
            check_orphaned();
            org.xmlsoap.schemas.ws.x2004.x03.rm.HandshakeType target = null;
            target = (org.xmlsoap.schemas.ws.x2004.x03.rm.HandshakeType) get_store().find_element_user(CREATESEQUENCERESPONSE$0, 0);
            if (target == null) {
                target = (org.xmlsoap.schemas.ws.x2004.x03.rm.HandshakeType) get_store().add_element_user(CREATESEQUENCERESPONSE$0);
            }
            target.set(createSequenceResponse);
        }
    }

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