org.example.wsHT.api.xsd.impl.XMLGetFaultResponseDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: getFaultResponse
* Namespace: http://www.example.org/WS-HT/api/xsd
* Java type: org.example.wsHT.api.xsd.XMLGetFaultResponseDocument
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.api.xsd.impl;
/**
* A document containing one getFaultResponse(@http://www.example.org/WS-HT/api/xsd) element.
*
* This is a complex type.
*/
public class XMLGetFaultResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetFaultResponseDocument
{
private static final long serialVersionUID = 1L;
public XMLGetFaultResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName GETFAULTRESPONSE$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "getFaultResponse");
/**
* Gets the "getFaultResponse" element
*/
public org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse getGetFaultResponse()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse target = null;
target = (org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse)get_store().find_element_user(GETFAULTRESPONSE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "getFaultResponse" element
*/
public void setGetFaultResponse(org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse getFaultResponse)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse target = null;
target = (org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse)get_store().find_element_user(GETFAULTRESPONSE$0, 0);
if (target == null)
{
target = (org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse)get_store().add_element_user(GETFAULTRESPONSE$0);
}
target.set(getFaultResponse);
}
}
/**
* Appends and returns a new empty "getFaultResponse" element
*/
public org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse addNewGetFaultResponse()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse target = null;
target = (org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse)get_store().add_element_user(GETFAULTRESPONSE$0);
return target;
}
}
/**
* An XML getFaultResponse(@http://www.example.org/WS-HT/api/xsd).
*
* This is a complex type.
*/
public static class GetFaultResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetFaultResponseDocument.GetFaultResponse
{
private static final long serialVersionUID = 1L;
public GetFaultResponseImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName FAULTNAME$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "faultName");
private static final javax.xml.namespace.QName FAULTDATA$2 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "faultData");
/**
* 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$0, 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$0, 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$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FAULTNAME$0);
}
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$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlNCName)get_store().add_element_user(FAULTNAME$0);
}
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$2, 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$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(FAULTDATA$2);
}
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$2);
return target;
}
}
}
}