com.smartbear.readyapi.junit.impl.PropertyImpl 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: property
* Namespace: http://smartbear.com/readyapi/junit
* Java type: com.smartbear.readyapi.junit.Property
*
* Automatically generated - do not modify.
*/
package com.smartbear.readyapi.junit.impl;
/**
* An XML property(@http://smartbear.com/readyapi/junit).
*
* This is a complex type.
*/
public class PropertyImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.smartbear.readyapi.junit.Property
{
private static final long serialVersionUID = 1L;
public PropertyImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName NAME$0 =
new javax.xml.namespace.QName("", "name");
private static final javax.xml.namespace.QName VALUE$2 =
new javax.xml.namespace.QName("", "value");
/**
* Gets the "name" attribute
*/
public java.lang.String getName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "name" attribute
*/
public org.apache.xmlbeans.XmlString xgetName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$0);
return target;
}
}
/**
* True if has "name" attribute
*/
public boolean isSetName()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(NAME$0) != null;
}
}
/**
* Sets the "name" attribute
*/
public void setName(java.lang.String name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$0);
}
target.setStringValue(name);
}
}
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlString name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(NAME$0);
}
target.set(name);
}
}
/**
* Unsets the "name" attribute
*/
public void unsetName()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(NAME$0);
}
}
/**
* Gets the "value" attribute
*/
public java.lang.String getValue()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VALUE$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "value" attribute
*/
public org.apache.xmlbeans.XmlString xgetValue()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VALUE$2);
return target;
}
}
/**
* True if has "value" attribute
*/
public boolean isSetValue()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(VALUE$2) != null;
}
}
/**
* Sets the "value" attribute
*/
public void setValue(java.lang.String value)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VALUE$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VALUE$2);
}
target.setStringValue(value);
}
}
/**
* Sets (as xml) the "value" attribute
*/
public void xsetValue(org.apache.xmlbeans.XmlString value)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VALUE$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(VALUE$2);
}
target.set(value);
}
}
/**
* Unsets the "value" attribute
*/
public void unsetValue()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(VALUE$2);
}
}
}