net.bpelunit.framework.xml.config.impl.XMLPropertyImpl Maven / Gradle / Ivy
The newest version!
/*
* XML Type: Property
* Namespace: http://www.bpelunit.org/schema/testConfiguration
* Java type: net.bpelunit.framework.xml.config.XMLProperty
*
* Automatically generated - do not modify.
*/
package net.bpelunit.framework.xml.config.impl;
/**
* An XML Property(@http://www.bpelunit.org/schema/testConfiguration).
*
* This is an atomic type that is a restriction of net.bpelunit.framework.xml.config.XMLProperty.
*/
public class XMLPropertyImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements net.bpelunit.framework.xml.config.XMLProperty
{
private static final long serialVersionUID = 1L;
public XMLPropertyImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType, true);
}
protected XMLPropertyImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
{
super(sType, b);
}
private static final javax.xml.namespace.QName NAME$0 =
new javax.xml.namespace.QName("", "name");
/**
* 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;
}
}
/**
* 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);
}
}
}