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

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

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

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


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

    /**
     * Sets the "CreateSequence" element
     */
    public void setCreateSequence(org.xmlsoap.schemas.ws.x2004.x03.rm.CreateSequenceDocument.CreateSequence createSequence) {
        synchronized (monitor()) {
            check_orphaned();
            org.xmlsoap.schemas.ws.x2004.x03.rm.CreateSequenceDocument.CreateSequence target = null;
            target = (org.xmlsoap.schemas.ws.x2004.x03.rm.CreateSequenceDocument.CreateSequence) get_store().find_element_user(CREATESEQUENCE$0, 0);
            if (target == null) {
                target = (org.xmlsoap.schemas.ws.x2004.x03.rm.CreateSequenceDocument.CreateSequence) get_store().add_element_user(CREATESEQUENCE$0);
            }
            target.set(createSequence);
        }
    }

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

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

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


    }
}
