org.wso2.carbon.humantask.impl.TasksDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: tasks
* Namespace: http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803
* Java type: org.wso2.carbon.humantask.TasksDocument
*
* Automatically generated - do not modify.
*/
package org.wso2.carbon.humantask.impl;
/**
* A document containing one tasks(@http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803) element.
*
* This is a complex type.
*/
public class TasksDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.wso2.carbon.humantask.TasksDocument
{
private static final long serialVersionUID = 1L;
public TasksDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TASKS$0 =
new javax.xml.namespace.QName("http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803", "tasks");
/**
* Gets the "tasks" element
*/
public org.wso2.carbon.humantask.TTasks getTasks()
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TTasks target = null;
target = (org.wso2.carbon.humantask.TTasks)get_store().find_element_user(TASKS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "tasks" element
*/
public void setTasks(org.wso2.carbon.humantask.TTasks tasks)
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TTasks target = null;
target = (org.wso2.carbon.humantask.TTasks)get_store().find_element_user(TASKS$0, 0);
if (target == null)
{
target = (org.wso2.carbon.humantask.TTasks)get_store().add_element_user(TASKS$0);
}
target.set(tasks);
}
}
/**
* Appends and returns a new empty "tasks" element
*/
public org.wso2.carbon.humantask.TTasks addNewTasks()
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TTasks target = null;
target = (org.wso2.carbon.humantask.TTasks)get_store().add_element_user(TASKS$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy