org.example.wsHT.impl.XMLTParameterImpl Maven / Gradle / Ivy
The newest version!
/*
* XML Type: tParameter
* Namespace: http://www.example.org/WS-HT
* Java type: org.example.wsHT.XMLTParameter
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.impl;
/**
* An XML tParameter(@http://www.example.org/WS-HT).
*
* This is a complex type.
*/
public class XMLTParameterImpl extends org.example.wsHT.impl.XMLTExtensibleMixedContentElementsImpl implements org.example.wsHT.XMLTParameter
{
private static final long serialVersionUID = 1L;
public XMLTParameterImpl(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 TYPE$2 =
new javax.xml.namespace.QName("", "type");
/**
* 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.XmlNCName xgetName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)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.XmlNCName name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$0);
}
target.set(name);
}
}
/**
* Gets the "type" attribute
*/
public javax.xml.namespace.QName getType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
return null;
}
return target.getQNameValue();
}
}
/**
* Gets (as xml) the "type" attribute
*/
public org.apache.xmlbeans.XmlQName xgetType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlQName target = null;
target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(TYPE$2);
return target;
}
}
/**
* Sets the "type" attribute
*/
public void setType(javax.xml.namespace.QName type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$2);
}
target.setQNameValue(type);
}
}
/**
* Sets (as xml) the "type" attribute
*/
public void xsetType(org.apache.xmlbeans.XmlQName type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlQName target = null;
target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(TYPE$2);
}
target.set(type);
}
}
}