org.example.wsHT.api.xsd.impl.XMLCompleteDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: complete
* Namespace: http://www.example.org/WS-HT/api/xsd
* Java type: org.example.wsHT.api.xsd.XMLCompleteDocument
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.api.xsd.impl;
/**
* A document containing one complete(@http://www.example.org/WS-HT/api/xsd) element.
*
* This is a complex type.
*/
public class XMLCompleteDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLCompleteDocument
{
private static final long serialVersionUID = 1L;
public XMLCompleteDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName COMPLETE$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "complete");
/**
* Gets the "complete" element
*/
public org.example.wsHT.api.xsd.XMLCompleteDocument.Complete getComplete()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLCompleteDocument.Complete target = null;
target = (org.example.wsHT.api.xsd.XMLCompleteDocument.Complete)get_store().find_element_user(COMPLETE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "complete" element
*/
public void setComplete(org.example.wsHT.api.xsd.XMLCompleteDocument.Complete complete)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLCompleteDocument.Complete target = null;
target = (org.example.wsHT.api.xsd.XMLCompleteDocument.Complete)get_store().find_element_user(COMPLETE$0, 0);
if (target == null)
{
target = (org.example.wsHT.api.xsd.XMLCompleteDocument.Complete)get_store().add_element_user(COMPLETE$0);
}
target.set(complete);
}
}
/**
* Appends and returns a new empty "complete" element
*/
public org.example.wsHT.api.xsd.XMLCompleteDocument.Complete addNewComplete()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLCompleteDocument.Complete target = null;
target = (org.example.wsHT.api.xsd.XMLCompleteDocument.Complete)get_store().add_element_user(COMPLETE$0);
return target;
}
}
/**
* An XML complete(@http://www.example.org/WS-HT/api/xsd).
*
* This is a complex type.
*/
public static class CompleteImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLCompleteDocument.Complete
{
private static final long serialVersionUID = 1L;
public CompleteImpl(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 TASKDATA$2 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "taskData");
/**
* 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 "taskData" element
*/
public org.apache.xmlbeans.XmlObject getTaskData()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(TASKDATA$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "taskData" element
*/
public boolean isSetTaskData()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TASKDATA$2) != 0;
}
}
/**
* Sets the "taskData" element
*/
public void setTaskData(org.apache.xmlbeans.XmlObject taskData)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(TASKDATA$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(TASKDATA$2);
}
target.set(taskData);
}
}
/**
* Appends and returns a new empty "taskData" element
*/
public org.apache.xmlbeans.XmlObject addNewTaskData()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(TASKDATA$2);
return target;
}
}
/**
* Unsets the "taskData" element
*/
public void unsetTaskData()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TASKDATA$2, 0);
}
}
}
}