org.apache.airavata.schemas.wec.impl.ContextHeaderDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: context-header
* Namespace: http://schemas.airavata.apache.org/workflow-execution-context
* Java type: org.apache.airavata.schemas.wec.ContextHeaderDocument
*
* Automatically generated - do not modify.
*/
package org.apache.airavata.schemas.wec.impl;
/**
* A document containing one context-header(@http://schemas.airavata.apache.org/workflow-execution-context) element.
*
* This is a complex type.
*/
public class ContextHeaderDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.ContextHeaderDocument
{
private static final long serialVersionUID = 1L;
public ContextHeaderDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName CONTEXTHEADER$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "context-header");
/**
* Gets the "context-header" element
*/
public org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader getContextHeader()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader target = null;
target = (org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader)get_store().find_element_user(CONTEXTHEADER$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "context-header" element
*/
public void setContextHeader(org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader contextHeader)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader target = null;
target = (org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader)get_store().find_element_user(CONTEXTHEADER$0, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader)get_store().add_element_user(CONTEXTHEADER$0);
}
target.set(contextHeader);
}
}
/**
* Appends and returns a new empty "context-header" element
*/
public org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader addNewContextHeader()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader target = null;
target = (org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader)get_store().add_element_user(CONTEXTHEADER$0);
return target;
}
}
/**
* An XML context-header(@http://schemas.airavata.apache.org/workflow-execution-context).
*
* This is a complex type.
*/
public static class ContextHeaderImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.ContextHeaderDocument.ContextHeader
{
private static final long serialVersionUID = 1L;
public ContextHeaderImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName USERIDENTIFIER$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "user-identifier");
private static final javax.xml.namespace.QName SOASERVICEEPRS$2 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "soa-service-eprs");
private static final javax.xml.namespace.QName WORKFLOWMONITORINGCONTEXT$4 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "workflow-monitoring-context");
private static final javax.xml.namespace.QName WORKFLOWSCHEDULINGCONTEXT$6 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "workflow-scheduling-context");
private static final javax.xml.namespace.QName WORKFLOWOUTPUTDATAHANDLING$8 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "workflow-output-data-handling");
private static final javax.xml.namespace.QName SECURITYCONTEXT$10 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "security-context");
/**
* Gets the "user-identifier" element
*/
public java.lang.String getUserIdentifier()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(USERIDENTIFIER$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "user-identifier" element
*/
public org.apache.xmlbeans.XmlString xgetUserIdentifier()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(USERIDENTIFIER$0, 0);
return target;
}
}
/**
* True if has "user-identifier" element
*/
public boolean isSetUserIdentifier()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(USERIDENTIFIER$0) != 0;
}
}
/**
* Sets the "user-identifier" element
*/
public void setUserIdentifier(java.lang.String userIdentifier)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(USERIDENTIFIER$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(USERIDENTIFIER$0);
}
target.setStringValue(userIdentifier);
}
}
/**
* Sets (as xml) the "user-identifier" element
*/
public void xsetUserIdentifier(org.apache.xmlbeans.XmlString userIdentifier)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(USERIDENTIFIER$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(USERIDENTIFIER$0);
}
target.set(userIdentifier);
}
}
/**
* Unsets the "user-identifier" element
*/
public void unsetUserIdentifier()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(USERIDENTIFIER$0, 0);
}
}
/**
* Gets the "soa-service-eprs" element
*/
public org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs getSoaServiceEprs()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs target = null;
target = (org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs)get_store().find_element_user(SOASERVICEEPRS$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "soa-service-eprs" element
*/
public void setSoaServiceEprs(org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs soaServiceEprs)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs target = null;
target = (org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs)get_store().find_element_user(SOASERVICEEPRS$2, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs)get_store().add_element_user(SOASERVICEEPRS$2);
}
target.set(soaServiceEprs);
}
}
/**
* Appends and returns a new empty "soa-service-eprs" element
*/
public org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs addNewSoaServiceEprs()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs target = null;
target = (org.apache.airavata.schemas.wec.SoaServiceEprsDocument.SoaServiceEprs)get_store().add_element_user(SOASERVICEEPRS$2);
return target;
}
}
/**
* Gets the "workflow-monitoring-context" element
*/
public org.apache.airavata.schemas.wec.WorkflowMonitoringContextDocument.WorkflowMonitoringContext getWorkflowMonitoringContext()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.WorkflowMonitoringContextDocument.WorkflowMonitoringContext target = null;
target = (org.apache.airavata.schemas.wec.WorkflowMonitoringContextDocument.WorkflowMonitoringContext)get_store().find_element_user(WORKFLOWMONITORINGCONTEXT$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "workflow-monitoring-context" element
*/
public void setWorkflowMonitoringContext(org.apache.airavata.schemas.wec.WorkflowMonitoringContextDocument.WorkflowMonitoringContext workflowMonitoringContext)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.WorkflowMonitoringContextDocument.WorkflowMonitoringContext target = null;
target = (org.apache.airavata.schemas.wec.WorkflowMonitoringContextDocument.WorkflowMonitoringContext)get_store().find_element_user(WORKFLOWMONITORINGCONTEXT$4, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.WorkflowMonitoringContextDocument.WorkflowMonitoringContext)get_store().add_element_user(WORKFLOWMONITORINGCONTEXT$4);
}
target.set(workflowMonitoringContext);
}
}
/**
* Appends and returns a new empty "workflow-monitoring-context" element
*/
public org.apache.airavata.schemas.wec.WorkflowMonitoringContextDocument.WorkflowMonitoringContext addNewWorkflowMonitoringContext()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.WorkflowMonitoringContextDocument.WorkflowMonitoringContext target = null;
target = (org.apache.airavata.schemas.wec.WorkflowMonitoringContextDocument.WorkflowMonitoringContext)get_store().add_element_user(WORKFLOWMONITORINGCONTEXT$4);
return target;
}
}
/**
* Gets the "workflow-scheduling-context" element
*/
public org.apache.airavata.schemas.wec.WorkflowSchedulingContextDocument.WorkflowSchedulingContext getWorkflowSchedulingContext()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.WorkflowSchedulingContextDocument.WorkflowSchedulingContext target = null;
target = (org.apache.airavata.schemas.wec.WorkflowSchedulingContextDocument.WorkflowSchedulingContext)get_store().find_element_user(WORKFLOWSCHEDULINGCONTEXT$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "workflow-scheduling-context" element
*/
public boolean isSetWorkflowSchedulingContext()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(WORKFLOWSCHEDULINGCONTEXT$6) != 0;
}
}
/**
* Sets the "workflow-scheduling-context" element
*/
public void setWorkflowSchedulingContext(org.apache.airavata.schemas.wec.WorkflowSchedulingContextDocument.WorkflowSchedulingContext workflowSchedulingContext)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.WorkflowSchedulingContextDocument.WorkflowSchedulingContext target = null;
target = (org.apache.airavata.schemas.wec.WorkflowSchedulingContextDocument.WorkflowSchedulingContext)get_store().find_element_user(WORKFLOWSCHEDULINGCONTEXT$6, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.WorkflowSchedulingContextDocument.WorkflowSchedulingContext)get_store().add_element_user(WORKFLOWSCHEDULINGCONTEXT$6);
}
target.set(workflowSchedulingContext);
}
}
/**
* Appends and returns a new empty "workflow-scheduling-context" element
*/
public org.apache.airavata.schemas.wec.WorkflowSchedulingContextDocument.WorkflowSchedulingContext addNewWorkflowSchedulingContext()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.WorkflowSchedulingContextDocument.WorkflowSchedulingContext target = null;
target = (org.apache.airavata.schemas.wec.WorkflowSchedulingContextDocument.WorkflowSchedulingContext)get_store().add_element_user(WORKFLOWSCHEDULINGCONTEXT$6);
return target;
}
}
/**
* Unsets the "workflow-scheduling-context" element
*/
public void unsetWorkflowSchedulingContext()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(WORKFLOWSCHEDULINGCONTEXT$6, 0);
}
}
/**
* 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$8, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "workflow-output-data-handling" element
*/
public boolean isSetWorkflowOutputDataHandling()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(WORKFLOWOUTPUTDATAHANDLING$8) != 0;
}
}
/**
* 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$8, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.WorkflowOutputDataHandlingDocument.WorkflowOutputDataHandling)get_store().add_element_user(WORKFLOWOUTPUTDATAHANDLING$8);
}
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$8);
return target;
}
}
/**
* Unsets the "workflow-output-data-handling" element
*/
public void unsetWorkflowOutputDataHandling()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(WORKFLOWOUTPUTDATAHANDLING$8, 0);
}
}
/**
* Gets the "security-context" element
*/
public org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext getSecurityContext()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext)get_store().find_element_user(SECURITYCONTEXT$10, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "security-context" element
*/
public boolean isSetSecurityContext()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(SECURITYCONTEXT$10) != 0;
}
}
/**
* Sets the "security-context" element
*/
public void setSecurityContext(org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext securityContext)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext)get_store().find_element_user(SECURITYCONTEXT$10, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext)get_store().add_element_user(SECURITYCONTEXT$10);
}
target.set(securityContext);
}
}
/**
* Appends and returns a new empty "security-context" element
*/
public org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext addNewSecurityContext()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext)get_store().add_element_user(SECURITYCONTEXT$10);
return target;
}
}
/**
* Unsets the "security-context" element
*/
public void unsetSecurityContext()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(SECURITYCONTEXT$10, 0);
}
}
}
}