Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.airavata.schemas.wec.impl.SecurityContextDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: security-context
* Namespace: http://schemas.airavata.apache.org/workflow-execution-context
* Java type: org.apache.airavata.schemas.wec.SecurityContextDocument
*
* Automatically generated - do not modify.
*/
package org.apache.airavata.schemas.wec.impl;
/**
* A document containing one security-context(@http://schemas.airavata.apache.org/workflow-execution-context) element.
*
* This is a complex type.
*/
public class SecurityContextDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.SecurityContextDocument
{
private static final long serialVersionUID = 1L;
public SecurityContextDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SECURITYCONTEXT$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "security-context");
/**
* 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$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* 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$0, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext)get_store().add_element_user(SECURITYCONTEXT$0);
}
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$0);
return target;
}
}
/**
* An XML security-context(@http://schemas.airavata.apache.org/workflow-execution-context).
*
* This is a complex type.
*/
public static class SecurityContextImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext
{
private static final long serialVersionUID = 1L;
public SecurityContextImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName GRIDPROXY$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "grid-proxy");
private static final javax.xml.namespace.QName GRIDMYPROXYREPOSITORY$2 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "grid-myproxy-repository");
private static final javax.xml.namespace.QName SSHAUTHENTICATION$4 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "ssh-authentication");
private static final javax.xml.namespace.QName CREDENTIALMANAGEMENTSERVICE$6 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "credential-management-service");
private static final javax.xml.namespace.QName AMAZONWEBSERVICES$8 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "amazon-webservices");
/**
* Gets the "grid-proxy" element
*/
public byte[] getGridProxy()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GRIDPROXY$0, 0);
if (target == null)
{
return null;
}
return target.getByteArrayValue();
}
}
/**
* Gets (as xml) the "grid-proxy" element
*/
public org.apache.xmlbeans.XmlBase64Binary xgetGridProxy()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBase64Binary target = null;
target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_element_user(GRIDPROXY$0, 0);
return target;
}
}
/**
* Sets the "grid-proxy" element
*/
public void setGridProxy(byte[] gridProxy)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GRIDPROXY$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GRIDPROXY$0);
}
target.setByteArrayValue(gridProxy);
}
}
/**
* Sets (as xml) the "grid-proxy" element
*/
public void xsetGridProxy(org.apache.xmlbeans.XmlBase64Binary gridProxy)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBase64Binary target = null;
target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_element_user(GRIDPROXY$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBase64Binary)get_store().add_element_user(GRIDPROXY$0);
}
target.set(gridProxy);
}
}
/**
* Gets the "grid-myproxy-repository" element
*/
public org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository getGridMyproxyRepository()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository)get_store().find_element_user(GRIDMYPROXYREPOSITORY$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "grid-myproxy-repository" element
*/
public void setGridMyproxyRepository(org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository gridMyproxyRepository)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository)get_store().find_element_user(GRIDMYPROXYREPOSITORY$2, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository)get_store().add_element_user(GRIDMYPROXYREPOSITORY$2);
}
target.set(gridMyproxyRepository);
}
}
/**
* Appends and returns a new empty "grid-myproxy-repository" element
*/
public org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository addNewGridMyproxyRepository()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository)get_store().add_element_user(GRIDMYPROXYREPOSITORY$2);
return target;
}
}
/**
* Gets the "ssh-authentication" element
*/
public org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication getSshAuthentication()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication)get_store().find_element_user(SSHAUTHENTICATION$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "ssh-authentication" element
*/
public void setSshAuthentication(org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication sshAuthentication)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication)get_store().find_element_user(SSHAUTHENTICATION$4, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication)get_store().add_element_user(SSHAUTHENTICATION$4);
}
target.set(sshAuthentication);
}
}
/**
* Appends and returns a new empty "ssh-authentication" element
*/
public org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication addNewSshAuthentication()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication)get_store().add_element_user(SSHAUTHENTICATION$4);
return target;
}
}
/**
* Gets the "credential-management-service" element
*/
public org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService getCredentialManagementService()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService)get_store().find_element_user(CREDENTIALMANAGEMENTSERVICE$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "credential-management-service" element
*/
public void setCredentialManagementService(org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService credentialManagementService)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService)get_store().find_element_user(CREDENTIALMANAGEMENTSERVICE$6, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService)get_store().add_element_user(CREDENTIALMANAGEMENTSERVICE$6);
}
target.set(credentialManagementService);
}
}
/**
* Appends and returns a new empty "credential-management-service" element
*/
public org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService addNewCredentialManagementService()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService)get_store().add_element_user(CREDENTIALMANAGEMENTSERVICE$6);
return target;
}
}
/**
* Gets the "amazon-webservices" element
*/
public org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices getAmazonWebservices()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices)get_store().find_element_user(AMAZONWEBSERVICES$8, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "amazon-webservices" element
*/
public void setAmazonWebservices(org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices amazonWebservices)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices)get_store().find_element_user(AMAZONWEBSERVICES$8, 0);
if (target == null)
{
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices)get_store().add_element_user(AMAZONWEBSERVICES$8);
}
target.set(amazonWebservices);
}
}
/**
* Appends and returns a new empty "amazon-webservices" element
*/
public org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices addNewAmazonWebservices()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices target = null;
target = (org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices)get_store().add_element_user(AMAZONWEBSERVICES$8);
return target;
}
}
/**
* An XML grid-myproxy-repository(@http://schemas.airavata.apache.org/workflow-execution-context).
*
* This is a complex type.
*/
public static class GridMyproxyRepositoryImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.GridMyproxyRepository
{
private static final long serialVersionUID = 1L;
public GridMyproxyRepositoryImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName MYPROXYSERVER$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "myproxy-server");
private static final javax.xml.namespace.QName USERNAME$2 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "username");
private static final javax.xml.namespace.QName PASSWORD$4 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "password");
private static final javax.xml.namespace.QName LIFETIMEINHOURS$6 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "life-time-inhours");
/**
* Gets the "myproxy-server" element
*/
public java.lang.String getMyproxyServer()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MYPROXYSERVER$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "myproxy-server" element
*/
public org.apache.xmlbeans.XmlString xgetMyproxyServer()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MYPROXYSERVER$0, 0);
return target;
}
}
/**
* Sets the "myproxy-server" element
*/
public void setMyproxyServer(java.lang.String myproxyServer)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MYPROXYSERVER$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MYPROXYSERVER$0);
}
target.setStringValue(myproxyServer);
}
}
/**
* Sets (as xml) the "myproxy-server" element
*/
public void xsetMyproxyServer(org.apache.xmlbeans.XmlString myproxyServer)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MYPROXYSERVER$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MYPROXYSERVER$0);
}
target.set(myproxyServer);
}
}
/**
* Gets the "username" element
*/
public java.lang.String getUsername()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(USERNAME$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "username" element
*/
public org.apache.xmlbeans.XmlString xgetUsername()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(USERNAME$2, 0);
return target;
}
}
/**
* Sets the "username" element
*/
public void setUsername(java.lang.String username)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(USERNAME$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(USERNAME$2);
}
target.setStringValue(username);
}
}
/**
* Sets (as xml) the "username" element
*/
public void xsetUsername(org.apache.xmlbeans.XmlString username)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(USERNAME$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(USERNAME$2);
}
target.set(username);
}
}
/**
* Gets the "password" element
*/
public java.lang.String getPassword()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PASSWORD$4, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "password" element
*/
public org.apache.xmlbeans.XmlString xgetPassword()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PASSWORD$4, 0);
return target;
}
}
/**
* Sets the "password" element
*/
public void setPassword(java.lang.String password)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PASSWORD$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PASSWORD$4);
}
target.setStringValue(password);
}
}
/**
* Sets (as xml) the "password" element
*/
public void xsetPassword(org.apache.xmlbeans.XmlString password)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PASSWORD$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PASSWORD$4);
}
target.set(password);
}
}
/**
* Gets the "life-time-inhours" element
*/
public int getLifeTimeInhours()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LIFETIMEINHOURS$6, 0);
if (target == null)
{
return 0;
}
return target.getIntValue();
}
}
/**
* Gets (as xml) the "life-time-inhours" element
*/
public org.apache.xmlbeans.XmlInt xgetLifeTimeInhours()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlInt target = null;
target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(LIFETIMEINHOURS$6, 0);
return target;
}
}
/**
* Sets the "life-time-inhours" element
*/
public void setLifeTimeInhours(int lifeTimeInhours)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LIFETIMEINHOURS$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LIFETIMEINHOURS$6);
}
target.setIntValue(lifeTimeInhours);
}
}
/**
* Sets (as xml) the "life-time-inhours" element
*/
public void xsetLifeTimeInhours(org.apache.xmlbeans.XmlInt lifeTimeInhours)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlInt target = null;
target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(LIFETIMEINHOURS$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(LIFETIMEINHOURS$6);
}
target.set(lifeTimeInhours);
}
}
}
/**
* An XML ssh-authentication(@http://schemas.airavata.apache.org/workflow-execution-context).
*
* This is a complex type.
*/
public static class SshAuthenticationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.SshAuthentication
{
private static final long serialVersionUID = 1L;
public SshAuthenticationImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ACCESSKEYID$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "access-key-id");
private static final javax.xml.namespace.QName SECRETACCESSKEY$2 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "secret-access-key");
/**
* Gets the "access-key-id" element
*/
public java.lang.String getAccessKeyId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCESSKEYID$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "access-key-id" element
*/
public org.apache.xmlbeans.XmlString xgetAccessKeyId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ACCESSKEYID$0, 0);
return target;
}
}
/**
* Sets the "access-key-id" element
*/
public void setAccessKeyId(java.lang.String accessKeyId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCESSKEYID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACCESSKEYID$0);
}
target.setStringValue(accessKeyId);
}
}
/**
* Sets (as xml) the "access-key-id" element
*/
public void xsetAccessKeyId(org.apache.xmlbeans.XmlString accessKeyId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ACCESSKEYID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ACCESSKEYID$0);
}
target.set(accessKeyId);
}
}
/**
* Gets the "secret-access-key" element
*/
public java.lang.String getSecretAccessKey()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SECRETACCESSKEY$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "secret-access-key" element
*/
public org.apache.xmlbeans.XmlString xgetSecretAccessKey()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SECRETACCESSKEY$2, 0);
return target;
}
}
/**
* Sets the "secret-access-key" element
*/
public void setSecretAccessKey(java.lang.String secretAccessKey)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SECRETACCESSKEY$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SECRETACCESSKEY$2);
}
target.setStringValue(secretAccessKey);
}
}
/**
* Sets (as xml) the "secret-access-key" element
*/
public void xsetSecretAccessKey(org.apache.xmlbeans.XmlString secretAccessKey)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SECRETACCESSKEY$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SECRETACCESSKEY$2);
}
target.set(secretAccessKey);
}
}
}
/**
* An XML credential-management-service(@http://schemas.airavata.apache.org/workflow-execution-context).
*
* This is a complex type.
*/
public static class CredentialManagementServiceImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.CredentialManagementService
{
private static final long serialVersionUID = 1L;
public CredentialManagementServiceImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SCMSURL$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "scms-url");
private static final javax.xml.namespace.QName EXECUTIONSESSIONID$2 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "execution-session-id");
/**
* Gets the "scms-url" element
*/
public java.lang.String getScmsUrl()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCMSURL$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "scms-url" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetScmsUrl()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(SCMSURL$0, 0);
return target;
}
}
/**
* Sets the "scms-url" element
*/
public void setScmsUrl(java.lang.String scmsUrl)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SCMSURL$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SCMSURL$0);
}
target.setStringValue(scmsUrl);
}
}
/**
* Sets (as xml) the "scms-url" element
*/
public void xsetScmsUrl(org.apache.xmlbeans.XmlAnyURI scmsUrl)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(SCMSURL$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(SCMSURL$0);
}
target.set(scmsUrl);
}
}
/**
* Gets the "execution-session-id" element
*/
public java.lang.String getExecutionSessionId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXECUTIONSESSIONID$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "execution-session-id" element
*/
public org.apache.xmlbeans.XmlString xgetExecutionSessionId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(EXECUTIONSESSIONID$2, 0);
return target;
}
}
/**
* Sets the "execution-session-id" element
*/
public void setExecutionSessionId(java.lang.String executionSessionId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXECUTIONSESSIONID$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(EXECUTIONSESSIONID$2);
}
target.setStringValue(executionSessionId);
}
}
/**
* Sets (as xml) the "execution-session-id" element
*/
public void xsetExecutionSessionId(org.apache.xmlbeans.XmlString executionSessionId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(EXECUTIONSESSIONID$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(EXECUTIONSESSIONID$2);
}
target.set(executionSessionId);
}
}
}
/**
* An XML amazon-webservices(@http://schemas.airavata.apache.org/workflow-execution-context).
*
* This is a complex type.
*/
public static class AmazonWebservicesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.SecurityContextDocument.SecurityContext.AmazonWebservices
{
private static final long serialVersionUID = 1L;
public AmazonWebservicesImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ACCESSKEYID$0 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "access-key-id");
private static final javax.xml.namespace.QName SECRETACCESSKEY$2 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "secret-access-key");
private static final javax.xml.namespace.QName AMIID$4 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "ami-id");
private static final javax.xml.namespace.QName INSTANCEID$6 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "instance-id");
private static final javax.xml.namespace.QName INSTANCETYPE$8 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "instance-type");
private static final javax.xml.namespace.QName USERNAME$10 =
new javax.xml.namespace.QName("http://schemas.airavata.apache.org/workflow-execution-context", "username");
/**
* Gets the "access-key-id" element
*/
public java.lang.String getAccessKeyId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCESSKEYID$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "access-key-id" element
*/
public org.apache.xmlbeans.XmlString xgetAccessKeyId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ACCESSKEYID$0, 0);
return target;
}
}
/**
* Sets the "access-key-id" element
*/
public void setAccessKeyId(java.lang.String accessKeyId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCESSKEYID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACCESSKEYID$0);
}
target.setStringValue(accessKeyId);
}
}
/**
* Sets (as xml) the "access-key-id" element
*/
public void xsetAccessKeyId(org.apache.xmlbeans.XmlString accessKeyId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ACCESSKEYID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ACCESSKEYID$0);
}
target.set(accessKeyId);
}
}
/**
* Gets the "secret-access-key" element
*/
public java.lang.String getSecretAccessKey()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SECRETACCESSKEY$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "secret-access-key" element
*/
public org.apache.xmlbeans.XmlString xgetSecretAccessKey()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SECRETACCESSKEY$2, 0);
return target;
}
}
/**
* Sets the "secret-access-key" element
*/
public void setSecretAccessKey(java.lang.String secretAccessKey)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SECRETACCESSKEY$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SECRETACCESSKEY$2);
}
target.setStringValue(secretAccessKey);
}
}
/**
* Sets (as xml) the "secret-access-key" element
*/
public void xsetSecretAccessKey(org.apache.xmlbeans.XmlString secretAccessKey)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SECRETACCESSKEY$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SECRETACCESSKEY$2);
}
target.set(secretAccessKey);
}
}
/**
* Gets the "ami-id" element
*/
public java.lang.String getAmiId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AMIID$4, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ami-id" element
*/
public org.apache.xmlbeans.XmlString xgetAmiId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(AMIID$4, 0);
return target;
}
}
/**
* Sets the "ami-id" element
*/
public void setAmiId(java.lang.String amiId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AMIID$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AMIID$4);
}
target.setStringValue(amiId);
}
}
/**
* Sets (as xml) the "ami-id" element
*/
public void xsetAmiId(org.apache.xmlbeans.XmlString amiId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(AMIID$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(AMIID$4);
}
target.set(amiId);
}
}
/**
* Gets the "instance-id" element
*/
public java.lang.String getInstanceId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INSTANCEID$6, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "instance-id" element
*/
public org.apache.xmlbeans.XmlString xgetInstanceId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INSTANCEID$6, 0);
return target;
}
}
/**
* Sets the "instance-id" element
*/
public void setInstanceId(java.lang.String instanceId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INSTANCEID$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INSTANCEID$6);
}
target.setStringValue(instanceId);
}
}
/**
* Sets (as xml) the "instance-id" element
*/
public void xsetInstanceId(org.apache.xmlbeans.XmlString instanceId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INSTANCEID$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(INSTANCEID$6);
}
target.set(instanceId);
}
}
/**
* Gets the "instance-type" element
*/
public java.lang.String getInstanceType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INSTANCETYPE$8, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "instance-type" element
*/
public org.apache.xmlbeans.XmlString xgetInstanceType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INSTANCETYPE$8, 0);
return target;
}
}
/**
* Sets the "instance-type" element
*/
public void setInstanceType(java.lang.String instanceType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INSTANCETYPE$8, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INSTANCETYPE$8);
}
target.setStringValue(instanceType);
}
}
/**
* Sets (as xml) the "instance-type" element
*/
public void xsetInstanceType(org.apache.xmlbeans.XmlString instanceType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(INSTANCETYPE$8, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(INSTANCETYPE$8);
}
target.set(instanceType);
}
}
/**
* Gets the "username" element
*/
public java.lang.String getUsername()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(USERNAME$10, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "username" element
*/
public org.apache.xmlbeans.XmlString xgetUsername()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(USERNAME$10, 0);
return target;
}
}
/**
* Sets the "username" element
*/
public void setUsername(java.lang.String username)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(USERNAME$10, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(USERNAME$10);
}
target.setStringValue(username);
}
}
/**
* Sets (as xml) the "username" element
*/
public void xsetUsername(org.apache.xmlbeans.XmlString username)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(USERNAME$10, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(USERNAME$10);
}
target.set(username);
}
}
}
}
}