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