org.example.wsHT.impl.XMLGroupDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: group
* Namespace: http://www.example.org/WS-HT
* Java type: org.example.wsHT.XMLGroupDocument
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.impl;
/**
* A document containing one group(@http://www.example.org/WS-HT) element.
*
* This is a complex type.
*/
public class XMLGroupDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.XMLGroupDocument
{
private static final long serialVersionUID = 1L;
public XMLGroupDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName GROUP$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT", "group");
/**
* Gets the "group" element
*/
public java.lang.String getGroup()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GROUP$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "group" element
*/
public org.example.wsHT.XMLTGroup xgetGroup()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTGroup target = null;
target = (org.example.wsHT.XMLTGroup)get_store().find_element_user(GROUP$0, 0);
return target;
}
}
/**
* Sets the "group" element
*/
public void setGroup(java.lang.String group)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GROUP$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GROUP$0);
}
target.setStringValue(group);
}
}
/**
* Sets (as xml) the "group" element
*/
public void xsetGroup(org.example.wsHT.XMLTGroup group)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTGroup target = null;
target = (org.example.wsHT.XMLTGroup)get_store().find_element_user(GROUP$0, 0);
if (target == null)
{
target = (org.example.wsHT.XMLTGroup)get_store().add_element_user(GROUP$0);
}
target.set(group);
}
}
}