org.apache.airavata.schemas.wec.impl.WorkflowOutputDataHandlingDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: workflow-output-data-handling
* Namespace: http://schemas.airavata.apache.org/workflow-execution-context
* Java type: org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument
*
* Automatically generated - do not modify.
*/
package org.apache.airavata.schemas.wec.impl;
/**
* A document containing one workflow-output-data-handling(@http://schemas.airavata.apache.org/workflow-execution-context) element.
*
* This is a complex type.
*/
public class WorkflowOutputDataHandlingDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument
{
private static final long serialVersionUID = 1L;
public WorkflowOutputDataHandlingDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName WORKFLOWOUTPUTDATAHANDLING$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "workflow-output-data-handling");
/**
* Gets the "workflow-output-data-handling" element
*/
public org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling getWorkflowOutputDataHandling()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling target = null;
target = (org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling)get_store().find_element_user(WORKFLOWOUTPUTDATAHANDLING$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "workflow-output-data-handling" element
*/
public void setWorkflowOutputDataHandling(org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling workflowOutputDataHandling)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling target = null;
target = (org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling)get_store().find_element_user(WORKFLOWOUTPUTDATAHANDLING$0, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling)get_store().add_element_user(WORKFLOWOUTPUTDATAHANDLING$0);
}
target.set(workflowOutputDataHandling);
}
}
/**
* Appends and returns a new empty "workflow-output-data-handling" element
*/
public org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling addNewWorkflowOutputDataHandling()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling target = null;
target = (org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling)get_store().add_element_user(WORKFLOWOUTPUTDATAHANDLING$0);
return target;
}
}
/**
* An XML workflow-output-data-handling(@http://schemas.airavata.apache.org/workflow-execution-context).
*
* This is a complex type.
*/
public static class WorkflowOutputDataHandlingImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling
{
private static final long serialVersionUID = 1L;
public WorkflowOutputDataHandlingImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName APPLICATIONOUTPUTDATAHANDLING$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "application-output-data-handling");
/**
* Gets array of all "application-output-data-handling" elements
*/
public org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling[] getApplicationOutputDataHandlingArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(APPLICATIONOUTPUTDATAHANDLING$0, targetList);
org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling[] result = new org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "application-output-data-handling" element
*/
public org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling getApplicationOutputDataHandlingArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling target = null;
target = (org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling)get_store().find_element_user(APPLICATIONOUTPUTDATAHANDLING$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "application-output-data-handling" element
*/
public int sizeOfApplicationOutputDataHandlingArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(APPLICATIONOUTPUTDATAHANDLING$0);
}
}
/**
* Sets array of all "application-output-data-handling" element
*/
public void setApplicationOutputDataHandlingArray(org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling[] applicationOutputDataHandlingArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(applicationOutputDataHandlingArray, APPLICATIONOUTPUTDATAHANDLING$0);
}
}
/**
* Sets ith "application-output-data-handling" element
*/
public void setApplicationOutputDataHandlingArray(int i, org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling applicationOutputDataHandling)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling target = null;
target = (org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling)get_store().find_element_user(APPLICATIONOUTPUTDATAHANDLING$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(applicationOutputDataHandling);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "application-output-data-handling" element
*/
public org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling insertNewApplicationOutputDataHandling(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling target = null;
target = (org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling)get_store().insert_element_user(APPLICATIONOUTPUTDATAHANDLING$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "application-output-data-handling" element
*/
public org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling addNewApplicationOutputDataHandling()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling target = null;
target = (org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling)get_store().add_element_user(APPLICATIONOUTPUTDATAHANDLING$0);
return target;
}
}
/**
* Removes the ith "application-output-data-handling" element
*/
public void removeApplicationOutputDataHandling(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(APPLICATIONOUTPUTDATAHANDLING$0, i);
}
}
}
}