org.example.wsHT.impl.XMLTaskInitiatorDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: taskInitiator
* Namespace: http://www.example.org/WS-HT
* Java type: org.example.wsHT.XMLTaskInitiatorDocument
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.impl;
/**
* A document containing one taskInitiator(@http://www.example.org/WS-HT) element.
*
* This is a complex type.
*/
public class XMLTaskInitiatorDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.XMLTaskInitiatorDocument
{
private static final long serialVersionUID = 1L;
public XMLTaskInitiatorDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TASKINITIATOR$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT", "taskInitiator");
/**
* Gets the "taskInitiator" element
*/
public org.example.wsHT.XMLTGenericHumanRole getTaskInitiator()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTGenericHumanRole target = null;
target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(TASKINITIATOR$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "taskInitiator" element
*/
public void setTaskInitiator(org.example.wsHT.XMLTGenericHumanRole taskInitiator)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTGenericHumanRole target = null;
target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(TASKINITIATOR$0, 0);
if (target == null)
{
target = (org.example.wsHT.XMLTGenericHumanRole)get_store().add_element_user(TASKINITIATOR$0);
}
target.set(taskInitiator);
}
}
/**
* Appends and returns a new empty "taskInitiator" element
*/
public org.example.wsHT.XMLTGenericHumanRole addNewTaskInitiator()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTGenericHumanRole target = null;
target = (org.example.wsHT.XMLTGenericHumanRole)get_store().add_element_user(TASKINITIATOR$0);
return target;
}
}
}