All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.edu.icm.unity.saml.xmlbeans.soap.impl.FaultDocumentImpl Maven / Gradle / Ivy

There is a newer version: 4.0.4
Show newest version
/*
 * An XML document type.
 * Localname: Fault
 * Namespace: http://schemas.xmlsoap.org/soap/envelope/
 * Java type: pl.edu.icm.unity.saml.xmlbeans.soap.FaultDocument
 *
 * Automatically generated - do not modify.
 */
package pl.edu.icm.unity.saml.xmlbeans.soap.impl;
/**
 * A document containing one Fault(@http://schemas.xmlsoap.org/soap/envelope/) element.
 *
 * This is a complex type.
 */
public class FaultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements pl.edu.icm.unity.saml.xmlbeans.soap.FaultDocument
{
    private static final long serialVersionUID = 1L;
    
    public FaultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName FAULT$0 = 
        new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/envelope/", "Fault");
    
    
    /**
     * Gets the "Fault" element
     */
    public pl.edu.icm.unity.saml.xmlbeans.soap.Fault getFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            pl.edu.icm.unity.saml.xmlbeans.soap.Fault target = null;
            target = (pl.edu.icm.unity.saml.xmlbeans.soap.Fault)get_store().find_element_user(FAULT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Fault" element
     */
    public void setFault(pl.edu.icm.unity.saml.xmlbeans.soap.Fault fault)
    {
        synchronized (monitor())
        {
            check_orphaned();
            pl.edu.icm.unity.saml.xmlbeans.soap.Fault target = null;
            target = (pl.edu.icm.unity.saml.xmlbeans.soap.Fault)get_store().find_element_user(FAULT$0, 0);
            if (target == null)
            {
                target = (pl.edu.icm.unity.saml.xmlbeans.soap.Fault)get_store().add_element_user(FAULT$0);
            }
            target.set(fault);
        }
    }
    
    /**
     * Appends and returns a new empty "Fault" element
     */
    public pl.edu.icm.unity.saml.xmlbeans.soap.Fault addNewFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            pl.edu.icm.unity.saml.xmlbeans.soap.Fault target = null;
            target = (pl.edu.icm.unity.saml.xmlbeans.soap.Fault)get_store().add_element_user(FAULT$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy