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

pl.edu.icm.unity.saml.xmlbeans.paos.impl.ResponseDocumentImpl Maven / Gradle / Ivy

There is a newer version: 4.0.4
Show newest version
/*
 * An XML document type.
 * Localname: Response
 * Namespace: urn:liberty:paos:2003-08
 * Java type: pl.edu.icm.unity.saml.xmlbeans.paos.ResponseDocument
 *
 * Automatically generated - do not modify.
 */
package pl.edu.icm.unity.saml.xmlbeans.paos.impl;
/**
 * A document containing one Response(@urn:liberty:paos:2003-08) element.
 *
 * This is a complex type.
 */
public class ResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements pl.edu.icm.unity.saml.xmlbeans.paos.ResponseDocument
{
    private static final long serialVersionUID = 1L;
    
    public ResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName RESPONSE$0 = 
        new javax.xml.namespace.QName("urn:liberty:paos:2003-08", "Response");
    
    
    /**
     * Gets the "Response" element
     */
    public pl.edu.icm.unity.saml.xmlbeans.paos.ResponseType getResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            pl.edu.icm.unity.saml.xmlbeans.paos.ResponseType target = null;
            target = (pl.edu.icm.unity.saml.xmlbeans.paos.ResponseType)get_store().find_element_user(RESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Response" element
     */
    public void setResponse(pl.edu.icm.unity.saml.xmlbeans.paos.ResponseType response)
    {
        synchronized (monitor())
        {
            check_orphaned();
            pl.edu.icm.unity.saml.xmlbeans.paos.ResponseType target = null;
            target = (pl.edu.icm.unity.saml.xmlbeans.paos.ResponseType)get_store().find_element_user(RESPONSE$0, 0);
            if (target == null)
            {
                target = (pl.edu.icm.unity.saml.xmlbeans.paos.ResponseType)get_store().add_element_user(RESPONSE$0);
            }
            target.set(response);
        }
    }
    
    /**
     * Appends and returns a new empty "Response" element
     */
    public pl.edu.icm.unity.saml.xmlbeans.paos.ResponseType addNewResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            pl.edu.icm.unity.saml.xmlbeans.paos.ResponseType target = null;
            target = (pl.edu.icm.unity.saml.xmlbeans.paos.ResponseType)get_store().add_element_user(RESPONSE$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy