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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy