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