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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy