org.example.wsHT.impl.XMLGroupsDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: groups
* Namespace: http://www.example.org/WS-HT
* Java type: org.example.wsHT.XMLGroupsDocument
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.impl;
/**
* A document containing one groups(@http://www.example.org/WS-HT) element.
*
* This is a complex type.
*/
public class XMLGroupsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.XMLGroupsDocument
{
private static final long serialVersionUID = 1L;
public XMLGroupsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName GROUPS$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT", "groups");
/**
* Gets the "groups" element
*/
public org.example.wsHT.XMLTGrouplist getGroups()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTGrouplist target = null;
target = (org.example.wsHT.XMLTGrouplist)get_store().find_element_user(GROUPS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "groups" element
*/
public void setGroups(org.example.wsHT.XMLTGrouplist groups)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTGrouplist target = null;
target = (org.example.wsHT.XMLTGrouplist)get_store().find_element_user(GROUPS$0, 0);
if (target == null)
{
target = (org.example.wsHT.XMLTGrouplist)get_store().add_element_user(GROUPS$0);
}
target.set(groups);
}
}
/**
* Appends and returns a new empty "groups" element
*/
public org.example.wsHT.XMLTGrouplist addNewGroups()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTGrouplist target = null;
target = (org.example.wsHT.XMLTGrouplist)get_store().add_element_user(GROUPS$0);
return target;
}
}
}