org.apache.airavata.schemas.wec.impl.UserIdentifierDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: user-identifier
* Namespace: http://schemas.airavata.apache.org/workflow-execution-context
* Java type: org.apache.airavata.schemas.wec.UserIdentifierDocument
*
* Automatically generated - do not modify.
*/
package org.apache.airavata.schemas.wec.impl;
/**
* A document containing one user-identifier(@http://schemas.airavata.apache.org/workflow-execution-context) element.
*
* This is a complex type.
*/
public class UserIdentifierDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.schemas.wec.UserIdentifierDocument
{
private static final long serialVersionUID = 1L;
public UserIdentifierDocumentImpl(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");
/**
* 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;
}
}
/**
* 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);
}
}
}