org.example.wsHT.api.xsd.impl.XMLSetFaultDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: setFault
* Namespace: http://www.example.org/WS-HT/api/xsd
* Java type: org.example.wsHT.api.xsd.XMLSetFaultDocument
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.api.xsd.impl;
/**
* A document containing one setFault(@http://www.example.org/WS-HT/api/xsd) element.
*
* This is a complex type.
*/
public class XMLSetFaultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLSetFaultDocument
{
private static final long serialVersionUID = 1L;
public XMLSetFaultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SETFAULT$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "setFault");
/**
* Gets the "setFault" element
*/
public org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault getSetFault()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault target = null;
target = (org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault)get_store().find_element_user(SETFAULT$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "setFault" element
*/
public void setSetFault(org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault setFault)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault target = null;
target = (org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault)get_store().find_element_user(SETFAULT$0, 0);
if (target == null)
{
target = (org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault)get_store().add_element_user(SETFAULT$0);
}
target.set(setFault);
}
}
/**
* Appends and returns a new empty "setFault" element
*/
public org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault addNewSetFault()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault target = null;
target = (org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault)get_store().add_element_user(SETFAULT$0);
return target;
}
}
/**
* An XML setFault(@http://www.example.org/WS-HT/api/xsd).
*
* This is a complex type.
*/
public static class SetFaultImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLSetFaultDocument.SetFault
{
private static final long serialVersionUID = 1L;
public SetFaultImpl(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 FAULTNAME$2 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "faultName");
private static final javax.xml.namespace.QName FAULTDATA$4 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "faultData");
/**
* 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 "faultName" element
*/
public java.lang.String getFaultName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FAULTNAME$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "faultName" element
*/
public org.apache.xmlbeans.XmlNCName xgetFaultName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_element_user(FAULTNAME$2, 0);
return target;
}
}
/**
* Sets the "faultName" element
*/
public void setFaultName(java.lang.String faultName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FAULTNAME$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FAULTNAME$2);
}
target.setStringValue(faultName);
}
}
/**
* Sets (as xml) the "faultName" element
*/
public void xsetFaultName(org.apache.xmlbeans.XmlNCName faultName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlNCName target = null;
target = (org.apache.xmlbeans.XmlNCName)get_store().find_element_user(FAULTNAME$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_element_user(FAULTNAME$2);
}
target.set(faultName);
}
}
/**
* Gets the "faultData" element
*/
public org.apache.xmlbeans.XmlObject getFaultData()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(FAULTDATA$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "faultData" element
*/
public void setFaultData(org.apache.xmlbeans.XmlObject faultData)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(FAULTDATA$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(FAULTDATA$4);
}
target.set(faultData);
}
}
/**
* Appends and returns a new empty "faultData" element
*/
public org.apache.xmlbeans.XmlObject addNewFaultData()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(FAULTDATA$4);
return target;
}
}
}
}