org.example.wsHT.impl.XMLTGenericHumanRoleImpl Maven / Gradle / Ivy
The newest version!
/*
* XML Type: tGenericHumanRole
* Namespace: http://www.example.org/WS-HT
* Java type: org.example.wsHT.XMLTGenericHumanRole
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.impl;
/**
* An XML tGenericHumanRole(@http://www.example.org/WS-HT).
*
* This is a complex type.
*/
public class XMLTGenericHumanRoleImpl extends org.example.wsHT.impl.XMLTExtensibleElementsImpl implements org.example.wsHT.XMLTGenericHumanRole
{
private static final long serialVersionUID = 1L;
public XMLTGenericHumanRoleImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName FROM$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT", "from");
/**
* Gets the "from" element
*/
public org.example.wsHT.XMLTFrom getFrom()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTFrom target = null;
target = (org.example.wsHT.XMLTFrom)get_store().find_element_user(FROM$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "from" element
*/
public void setFrom(org.example.wsHT.XMLTFrom from)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTFrom target = null;
target = (org.example.wsHT.XMLTFrom)get_store().find_element_user(FROM$0, 0);
if (target == null)
{
target = (org.example.wsHT.XMLTFrom)get_store().add_element_user(FROM$0);
}
target.set(from);
}
}
/**
* Appends and returns a new empty "from" element
*/
public org.example.wsHT.XMLTFrom addNewFrom()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTFrom target = null;
target = (org.example.wsHT.XMLTFrom)get_store().add_element_user(FROM$0);
return target;
}
}
}