com.smartbear.readyapi.junit.impl.TestsuitesImpl 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!
/*
* XML Type: testsuites
* Namespace: http://smartbear.com/readyapi/junit
* Java type: com.smartbear.readyapi.junit.Testsuites
*
* Automatically generated - do not modify.
*/
package com.smartbear.readyapi.junit.impl;
/**
* An XML testsuites(@http://smartbear.com/readyapi/junit).
*
* This is a complex type.
*/
public class TestsuitesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.smartbear.readyapi.junit.Testsuites
{
private static final long serialVersionUID = 1L;
public TestsuitesImpl(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;
}
}
}