org.wso2.carbon.humantask.impl.TDefaultCompletionImpl Maven / Gradle / Ivy
/*
* XML Type: tDefaultCompletion
* Namespace: http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803
* Java type: org.wso2.carbon.humantask.TDefaultCompletion
*
* Automatically generated - do not modify.
*/
package org.wso2.carbon.humantask.impl;
/**
* An XML tDefaultCompletion(@http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803).
*
* This is a complex type.
*/
public class TDefaultCompletionImpl extends org.wso2.carbon.humantask.impl.TExtensibleElementsImpl implements org.wso2.carbon.humantask.TDefaultCompletion
{
private static final long serialVersionUID = 1L;
public TDefaultCompletionImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName RESULT$0 =
new javax.xml.namespace.QName("http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803", "result");
/**
* Gets the "result" element
*/
public org.wso2.carbon.humantask.TResult getResult()
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TResult target = null;
target = (org.wso2.carbon.humantask.TResult)get_store().find_element_user(RESULT$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "result" element
*/
public void setResult(org.wso2.carbon.humantask.TResult result)
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TResult target = null;
target = (org.wso2.carbon.humantask.TResult)get_store().find_element_user(RESULT$0, 0);
if (target == null)
{
target = (org.wso2.carbon.humantask.TResult)get_store().add_element_user(RESULT$0);
}
target.set(result);
}
}
/**
* Appends and returns a new empty "result" element
*/
public org.wso2.carbon.humantask.TResult addNewResult()
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TResult target = null;
target = (org.wso2.carbon.humantask.TResult)get_store().add_element_user(RESULT$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy