All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smartbear.readyapi.junit.impl.TestsuiteDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: testsuite
 * Namespace: http://smartbear.com/readyapi/junit
 * Java type: com.smartbear.readyapi.junit.TestsuiteDocument
 *
 * Automatically generated - do not modify.
 */
package com.smartbear.readyapi.junit.impl;
/**
 * A document containing one testsuite(@http://smartbear.com/readyapi/junit) element.
 *
 * This is a complex type.
 */
public class TestsuiteDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.smartbear.readyapi.junit.TestsuiteDocument
{
    private static final long serialVersionUID = 1L;
    
    public TestsuiteDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TESTSUITE$0 = 
        new javax.xml.namespace.QName("http://smartbear.com/readyapi/junit", "testsuite");
    
    
    /**
     * Gets the "testsuite" element
     */
    public com.smartbear.readyapi.junit.Testsuite getTestsuite()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.smartbear.readyapi.junit.Testsuite target = null;
            target = (com.smartbear.readyapi.junit.Testsuite)get_store().find_element_user(TESTSUITE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "testsuite" element
     */
    public void setTestsuite(com.smartbear.readyapi.junit.Testsuite testsuite)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.smartbear.readyapi.junit.Testsuite target = null;
            target = (com.smartbear.readyapi.junit.Testsuite)get_store().find_element_user(TESTSUITE$0, 0);
            if (target == null)
            {
                target = (com.smartbear.readyapi.junit.Testsuite)get_store().add_element_user(TESTSUITE$0);
            }
            target.set(testsuite);
        }
    }
    
    /**
     * Appends and returns a new empty "testsuite" element
     */
    public com.smartbear.readyapi.junit.Testsuite addNewTestsuite()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.smartbear.readyapi.junit.Testsuite target = null;
            target = (com.smartbear.readyapi.junit.Testsuite)get_store().add_element_user(TESTSUITE$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy