org.apache.airavata.schemas.wec.impl.ApplicationOutputDataHandlingDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: application-output-data-handling
* Namespace: http://schemas.airavata.apache.org/workflow-execution-context
* Java type: org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument
*
* Automatically generated - do not modify.
*/
package org.apache.airavata.schemas.wec.impl;
/**
* A document containing one application-output-data-handling(@http://schemas.airavata.apache.org/workflow-execution-context) element.
*
* This is a complex type.
*/
public class ApplicationOutputDataHandlingDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument
{
private static final long serialVersionUID = 1L;
public ApplicationOutputDataHandlingDocumentImpl(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 the "application-output-data-handling" element
*/
public org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling getApplicationOutputDataHandling()
{
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, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "application-output-data-handling" element
*/
public void setApplicationOutputDataHandling(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, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling)get_store().add_element_user(APPLICATIONOUTPUTDATAHANDLING$0);
}
target.set(applicationOutputDataHandling);
}
}
/**
* Appends and returns a new empty "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;
}
}
/**
* An XML application-output-data-handling(@http://schemas.airavata.apache.org/workflow-execution-context).
*
* This is a complex type.
*/
public static class ApplicationOutputDataHandlingImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.ApplicationOutputDataHandlingDocument.ApplicationOutputDataHandling
{
private static final long serialVersionUID = 1L;
public ApplicationOutputDataHandlingImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DATAREGISTRYURL$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "data-registry-url");
private static final javax.xml.namespace.QName OUTPUTDATADIRECTORY$2 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "output-data-directory");
private static final javax.xml.namespace.QName DATAPERSISTANCE$4 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "data-persistance");
/**
* Gets the "data-registry-url" element
*/
public java.lang.String getDataRegistryUrl()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATAREGISTRYURL$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "data-registry-url" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetDataRegistryUrl()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(DATAREGISTRYURL$0, 0);
return target;
}
}
/**
* Sets the "data-registry-url" element
*/
public void setDataRegistryUrl(java.lang.String dataRegistryUrl)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATAREGISTRYURL$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATAREGISTRYURL$0);
}
target.setStringValue(dataRegistryUrl);
}
}
/**
* Sets (as xml) the "data-registry-url" element
*/
public void xsetDataRegistryUrl(org.apache.xmlbeans.XmlAnyURI dataRegistryUrl)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(DATAREGISTRYURL$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(DATAREGISTRYURL$0);
}
target.set(dataRegistryUrl);
}
}
/**
* Gets the "output-data-directory" element
*/
public java.lang.String getOutputDataDirectory()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OUTPUTDATADIRECTORY$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "output-data-directory" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetOutputDataDirectory()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OUTPUTDATADIRECTORY$2, 0);
return target;
}
}
/**
* Sets the "output-data-directory" element
*/
public void setOutputDataDirectory(java.lang.String outputDataDirectory)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OUTPUTDATADIRECTORY$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OUTPUTDATADIRECTORY$2);
}
target.setStringValue(outputDataDirectory);
}
}
/**
* Sets (as xml) the "output-data-directory" element
*/
public void xsetOutputDataDirectory(org.apache.xmlbeans.XmlAnyURI outputDataDirectory)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(OUTPUTDATADIRECTORY$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(OUTPUTDATADIRECTORY$2);
}
target.set(outputDataDirectory);
}
}
/**
* Gets the "data-persistance" element
*/
public boolean getDataPersistance()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATAPERSISTANCE$4, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "data-persistance" element
*/
public org.apache.xmlbeans.XmlBoolean xgetDataPersistance()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(DATAPERSISTANCE$4, 0);
return target;
}
}
/**
* Sets the "data-persistance" element
*/
public void setDataPersistance(boolean dataPersistance)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATAPERSISTANCE$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATAPERSISTANCE$4);
}
target.setBooleanValue(dataPersistance);
}
}
/**
* Sets (as xml) the "data-persistance" element
*/
public void xsetDataPersistance(org.apache.xmlbeans.XmlBoolean dataPersistance)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(DATAPERSISTANCE$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(DATAPERSISTANCE$4);
}
target.set(dataPersistance);
}
}
}
}