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

org.example.wsHT.api.xsd.impl.XMLGetOutputResponseDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: getOutputResponse
 * Namespace: http://www.example.org/WS-HT/api/xsd
 * Java type: org.example.wsHT.api.xsd.XMLGetOutputResponseDocument
 *
 * Automatically generated - do not modify.
 */
package org.example.wsHT.api.xsd.impl;
/**
 * A document containing one getOutputResponse(@http://www.example.org/WS-HT/api/xsd) element.
 *
 * This is a complex type.
 */
public class XMLGetOutputResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetOutputResponseDocument
{
    private static final long serialVersionUID = 1L;
    
    public XMLGetOutputResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETOUTPUTRESPONSE$0 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "getOutputResponse");
    
    
    /**
     * Gets the "getOutputResponse" element
     */
    public org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse getGetOutputResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse target = null;
            target = (org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse)get_store().find_element_user(GETOUTPUTRESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "getOutputResponse" element
     */
    public void setGetOutputResponse(org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse getOutputResponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse target = null;
            target = (org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse)get_store().find_element_user(GETOUTPUTRESPONSE$0, 0);
            if (target == null)
            {
                target = (org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse)get_store().add_element_user(GETOUTPUTRESPONSE$0);
            }
            target.set(getOutputResponse);
        }
    }
    
    /**
     * Appends and returns a new empty "getOutputResponse" element
     */
    public org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse addNewGetOutputResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse target = null;
            target = (org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse)get_store().add_element_user(GETOUTPUTRESPONSE$0);
            return target;
        }
    }
    /**
     * An XML getOutputResponse(@http://www.example.org/WS-HT/api/xsd).
     *
     * This is a complex type.
     */
    public static class GetOutputResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetOutputResponseDocument.GetOutputResponse
    {
        private static final long serialVersionUID = 1L;
        
        public GetOutputResponseImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName TASKDATA$0 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "taskData");
        
        
        /**
         * Gets the "taskData" element
         */
        public org.apache.xmlbeans.XmlObject getTaskData()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(TASKDATA$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "taskData" element
         */
        public void setTaskData(org.apache.xmlbeans.XmlObject taskData)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(TASKDATA$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(TASKDATA$0);
                }
                target.set(taskData);
            }
        }
        
        /**
         * Appends and returns a new empty "taskData" element
         */
        public org.apache.xmlbeans.XmlObject addNewTaskData()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(TASKDATA$0);
                return target;
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy