org.wso2.carbon.humantask.impl.TRenderingsImpl Maven / Gradle / Ivy
/*
* XML Type: tRenderings
* Namespace: http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803
* Java type: org.wso2.carbon.humantask.TRenderings
*
* Automatically generated - do not modify.
*/
package org.wso2.carbon.humantask.impl;
/**
* An XML tRenderings(@http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803).
*
* This is a complex type.
*/
public class TRenderingsImpl extends org.wso2.carbon.humantask.impl.TExtensibleElementsImpl implements org.wso2.carbon.humantask.TRenderings
{
private static final long serialVersionUID = 1L;
public TRenderingsImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName RENDERING$0 =
new javax.xml.namespace.QName("http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803", "rendering");
/**
* Gets array of all "rendering" elements
*/
public org.wso2.carbon.humantask.TRendering[] getRenderingArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(RENDERING$0, targetList);
org.wso2.carbon.humantask.TRendering[] result = new org.wso2.carbon.humantask.TRendering[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "rendering" element
*/
public org.wso2.carbon.humantask.TRendering getRenderingArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TRendering target = null;
target = (org.wso2.carbon.humantask.TRendering)get_store().find_element_user(RENDERING$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "rendering" element
*/
public int sizeOfRenderingArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(RENDERING$0);
}
}
/**
* Sets array of all "rendering" element
*/
public void setRenderingArray(org.wso2.carbon.humantask.TRendering[] renderingArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(renderingArray, RENDERING$0);
}
}
/**
* Sets ith "rendering" element
*/
public void setRenderingArray(int i, org.wso2.carbon.humantask.TRendering rendering)
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TRendering target = null;
target = (org.wso2.carbon.humantask.TRendering)get_store().find_element_user(RENDERING$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(rendering);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "rendering" element
*/
public org.wso2.carbon.humantask.TRendering insertNewRendering(int i)
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TRendering target = null;
target = (org.wso2.carbon.humantask.TRendering)get_store().insert_element_user(RENDERING$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "rendering" element
*/
public org.wso2.carbon.humantask.TRendering addNewRendering()
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TRendering target = null;
target = (org.wso2.carbon.humantask.TRendering)get_store().add_element_user(RENDERING$0);
return target;
}
}
/**
* Removes the ith "rendering" element
*/
public void removeRendering(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(RENDERING$0, i);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy