com.smartbear.readyapi.junit.impl.PropertiesDocumentImpl 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: properties
* Namespace: http://smartbear.com/readyapi/junit
* Java type: com.smartbear.readyapi.junit.PropertiesDocument
*
* Automatically generated - do not modify.
*/
package com.smartbear.readyapi.junit.impl;
/**
* A document containing one properties(@http://smartbear.com/readyapi/junit) element.
*
* This is a complex type.
*/
public class PropertiesDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.smartbear.readyapi.junit.PropertiesDocument
{
private static final long serialVersionUID = 1L;
public PropertiesDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PROPERTIES$0 =
new javax.xml.namespace.QName("http://smartbear.com/readyapi/junit", "properties");
/**
* Gets the "properties" element
*/
public com.smartbear.readyapi.junit.Properties getProperties()
{
synchronized (monitor())
{
check_orphaned();
com.smartbear.readyapi.junit.Properties target = null;
target = (com.smartbear.readyapi.junit.Properties)get_store().find_element_user(PROPERTIES$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "properties" element
*/
public void setProperties(com.smartbear.readyapi.junit.Properties properties)
{
synchronized (monitor())
{
check_orphaned();
com.smartbear.readyapi.junit.Properties target = null;
target = (com.smartbear.readyapi.junit.Properties)get_store().find_element_user(PROPERTIES$0, 0);
if (target == null)
{
target = (com.smartbear.readyapi.junit.Properties)get_store().add_element_user(PROPERTIES$0);
}
target.set(properties);
}
}
/**
* Appends and returns a new empty "properties" element
*/
public com.smartbear.readyapi.junit.Properties addNewProperties()
{
synchronized (monitor())
{
check_orphaned();
com.smartbear.readyapi.junit.Properties target = null;
target = (com.smartbear.readyapi.junit.Properties)get_store().add_element_user(PROPERTIES$0);
return target;
}
}
}