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