com.smartbear.readyapi.junit.impl.TestsuiteDocumentImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testserver-maven-plugin
Show all versions of testserver-maven-plugin
Maven plugin for executing test recipes against Ready!API TestServer
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;
}
}
}