org.wso2.carbon.humantask.impl.TPresentationParametersImpl Maven / Gradle / Ivy
/*
* XML Type: tPresentationParameters
* Namespace: http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803
* Java type: org.wso2.carbon.humantask.TPresentationParameters
*
* Automatically generated - do not modify.
*/
package org.wso2.carbon.humantask.impl;
/**
* An XML tPresentationParameters(@http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803).
*
* This is a complex type.
*/
public class TPresentationParametersImpl extends org.wso2.carbon.humantask.impl.TExtensibleElementsImpl implements org.wso2.carbon.humantask.TPresentationParameters
{
private static final long serialVersionUID = 1L;
public TPresentationParametersImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PRESENTATIONPARAMETER$0 =
new javax.xml.namespace.QName("http://docs.oasis-open.org/ns/bpel4people/ws-humantask/200803", "presentationParameter");
private static final javax.xml.namespace.QName EXPRESSIONLANGUAGE$2 =
new javax.xml.namespace.QName("", "expressionLanguage");
/**
* Gets array of all "presentationParameter" elements
*/
public org.wso2.carbon.humantask.TPresentationParameter[] getPresentationParameterArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(PRESENTATIONPARAMETER$0, targetList);
org.wso2.carbon.humantask.TPresentationParameter[] result = new org.wso2.carbon.humantask.TPresentationParameter[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "presentationParameter" element
*/
public org.wso2.carbon.humantask.TPresentationParameter getPresentationParameterArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TPresentationParameter target = null;
target = (org.wso2.carbon.humantask.TPresentationParameter)get_store().find_element_user(PRESENTATIONPARAMETER$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "presentationParameter" element
*/
public int sizeOfPresentationParameterArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PRESENTATIONPARAMETER$0);
}
}
/**
* Sets array of all "presentationParameter" element
*/
public void setPresentationParameterArray(org.wso2.carbon.humantask.TPresentationParameter[] presentationParameterArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(presentationParameterArray, PRESENTATIONPARAMETER$0);
}
}
/**
* Sets ith "presentationParameter" element
*/
public void setPresentationParameterArray(int i, org.wso2.carbon.humantask.TPresentationParameter presentationParameter)
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TPresentationParameter target = null;
target = (org.wso2.carbon.humantask.TPresentationParameter)get_store().find_element_user(PRESENTATIONPARAMETER$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(presentationParameter);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "presentationParameter" element
*/
public org.wso2.carbon.humantask.TPresentationParameter insertNewPresentationParameter(int i)
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TPresentationParameter target = null;
target = (org.wso2.carbon.humantask.TPresentationParameter)get_store().insert_element_user(PRESENTATIONPARAMETER$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "presentationParameter" element
*/
public org.wso2.carbon.humantask.TPresentationParameter addNewPresentationParameter()
{
synchronized (monitor())
{
check_orphaned();
org.wso2.carbon.humantask.TPresentationParameter target = null;
target = (org.wso2.carbon.humantask.TPresentationParameter)get_store().add_element_user(PRESENTATIONPARAMETER$0);
return target;
}
}
/**
* Removes the ith "presentationParameter" element
*/
public void removePresentationParameter(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PRESENTATIONPARAMETER$0, i);
}
}
/**
* Gets the "expressionLanguage" attribute
*/
public java.lang.String getExpressionLanguage()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXPRESSIONLANGUAGE$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "expressionLanguage" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetExpressionLanguage()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(EXPRESSIONLANGUAGE$2);
return target;
}
}
/**
* True if has "expressionLanguage" attribute
*/
public boolean isSetExpressionLanguage()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(EXPRESSIONLANGUAGE$2) != null;
}
}
/**
* Sets the "expressionLanguage" attribute
*/
public void setExpressionLanguage(java.lang.String expressionLanguage)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXPRESSIONLANGUAGE$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EXPRESSIONLANGUAGE$2);
}
target.setStringValue(expressionLanguage);
}
}
/**
* Sets (as xml) the "expressionLanguage" attribute
*/
public void xsetExpressionLanguage(org.apache.xmlbeans.XmlAnyURI expressionLanguage)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(EXPRESSIONLANGUAGE$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(EXPRESSIONLANGUAGE$2);
}
target.set(expressionLanguage);
}
}
/**
* Unsets the "expressionLanguage" attribute
*/
public void unsetExpressionLanguage()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(EXPRESSIONLANGUAGE$2);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy