org.example.wsHT.api.xsd.impl.XMLSetGenericHumanRoleDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: setGenericHumanRole
* Namespace: http://www.example.org/WS-HT/api/xsd
* Java type: org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.api.xsd.impl;
/**
* A document containing one setGenericHumanRole(@http://www.example.org/WS-HT/api/xsd) element.
*
* This is a complex type.
*/
public class XMLSetGenericHumanRoleDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument
{
private static final long serialVersionUID = 1L;
public XMLSetGenericHumanRoleDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SETGENERICHUMANROLE$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "setGenericHumanRole");
/**
* Gets the "setGenericHumanRole" element
*/
public org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole getSetGenericHumanRole()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole target = null;
target = (org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole)get_store().find_element_user(SETGENERICHUMANROLE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "setGenericHumanRole" element
*/
public void setSetGenericHumanRole(org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole setGenericHumanRole)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole target = null;
target = (org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole)get_store().find_element_user(SETGENERICHUMANROLE$0, 0);
if (target == null)
{
target = (org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole)get_store().add_element_user(SETGENERICHUMANROLE$0);
}
target.set(setGenericHumanRole);
}
}
/**
* Appends and returns a new empty "setGenericHumanRole" element
*/
public org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole addNewSetGenericHumanRole()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole target = null;
target = (org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole)get_store().add_element_user(SETGENERICHUMANROLE$0);
return target;
}
}
/**
* An XML setGenericHumanRole(@http://www.example.org/WS-HT/api/xsd).
*
* This is a complex type.
*/
public static class SetGenericHumanRoleImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLSetGenericHumanRoleDocument.SetGenericHumanRole
{
private static final long serialVersionUID = 1L;
public SetGenericHumanRoleImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName IDENTIFIER$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "identifier");
private static final javax.xml.namespace.QName GENERICHUMANROLE$2 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "genericHumanRole");
private static final javax.xml.namespace.QName ORGANIZATIONALENTITY$4 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "organizationalEntity");
/**
* Gets the "identifier" element
*/
public java.lang.String getIdentifier()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFIER$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "identifier" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetIdentifier()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(IDENTIFIER$0, 0);
return target;
}
}
/**
* Sets the "identifier" element
*/
public void setIdentifier(java.lang.String identifier)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFIER$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(IDENTIFIER$0);
}
target.setStringValue(identifier);
}
}
/**
* Sets (as xml) the "identifier" element
*/
public void xsetIdentifier(org.apache.xmlbeans.XmlAnyURI identifier)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(IDENTIFIER$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(IDENTIFIER$0);
}
target.set(identifier);
}
}
/**
* Gets the "genericHumanRole" element
*/
public org.example.wsHT.api.XMLTGenericHumanRoleType.Enum getGenericHumanRole()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GENERICHUMANROLE$2, 0);
if (target == null)
{
return null;
}
return (org.example.wsHT.api.XMLTGenericHumanRoleType.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "genericHumanRole" element
*/
public org.example.wsHT.api.XMLTGenericHumanRoleType xgetGenericHumanRole()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.XMLTGenericHumanRoleType target = null;
target = (org.example.wsHT.api.XMLTGenericHumanRoleType)get_store().find_element_user(GENERICHUMANROLE$2, 0);
return target;
}
}
/**
* Sets the "genericHumanRole" element
*/
public void setGenericHumanRole(org.example.wsHT.api.XMLTGenericHumanRoleType.Enum genericHumanRole)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GENERICHUMANROLE$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GENERICHUMANROLE$2);
}
target.setEnumValue(genericHumanRole);
}
}
/**
* Sets (as xml) the "genericHumanRole" element
*/
public void xsetGenericHumanRole(org.example.wsHT.api.XMLTGenericHumanRoleType genericHumanRole)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.XMLTGenericHumanRoleType target = null;
target = (org.example.wsHT.api.XMLTGenericHumanRoleType)get_store().find_element_user(GENERICHUMANROLE$2, 0);
if (target == null)
{
target = (org.example.wsHT.api.XMLTGenericHumanRoleType)get_store().add_element_user(GENERICHUMANROLE$2);
}
target.set(genericHumanRole);
}
}
/**
* Gets the "organizationalEntity" element
*/
public org.example.wsHT.XMLTOrganizationalEntity getOrganizationalEntity()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTOrganizationalEntity target = null;
target = (org.example.wsHT.XMLTOrganizationalEntity)get_store().find_element_user(ORGANIZATIONALENTITY$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "organizationalEntity" element
*/
public void setOrganizationalEntity(org.example.wsHT.XMLTOrganizationalEntity organizationalEntity)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTOrganizationalEntity target = null;
target = (org.example.wsHT.XMLTOrganizationalEntity)get_store().find_element_user(ORGANIZATIONALENTITY$4, 0);
if (target == null)
{
target = (org.example.wsHT.XMLTOrganizationalEntity)get_store().add_element_user(ORGANIZATIONALENTITY$4);
}
target.set(organizationalEntity);
}
}
/**
* Appends and returns a new empty "organizationalEntity" element
*/
public org.example.wsHT.XMLTOrganizationalEntity addNewOrganizationalEntity()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTOrganizationalEntity target = null;
target = (org.example.wsHT.XMLTOrganizationalEntity)get_store().add_element_user(ORGANIZATIONALENTITY$4);
return target;
}
}
}
}