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

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

The newest version!
/*
 * An XML document type.
 * Localname: getInputResponse
 * Namespace: http://www.example.org/WS-HT/api/xsd
 * Java type: org.example.wsHT.api.xsd.XMLGetInputResponseDocument
 *
 * Automatically generated - do not modify.
 */
package org.example.wsHT.api.xsd.impl;
/**
 * A document containing one getInputResponse(@http://www.example.org/WS-HT/api/xsd) element.
 *
 * This is a complex type.
 */
public class XMLGetInputResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetInputResponseDocument
{
    private static final long serialVersionUID = 1L;
    
    public XMLGetInputResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETINPUTRESPONSE$0 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "getInputResponse");
    
    
    /**
     * Gets the "getInputResponse" element
     */
    public org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse getGetInputResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse target = null;
            target = (org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse)get_store().find_element_user(GETINPUTRESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "getInputResponse" element
     */
    public void setGetInputResponse(org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse getInputResponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse target = null;
            target = (org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse)get_store().find_element_user(GETINPUTRESPONSE$0, 0);
            if (target == null)
            {
                target = (org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse)get_store().add_element_user(GETINPUTRESPONSE$0);
            }
            target.set(getInputResponse);
        }
    }
    
    /**
     * Appends and returns a new empty "getInputResponse" element
     */
    public org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse addNewGetInputResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse target = null;
            target = (org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse)get_store().add_element_user(GETINPUTRESPONSE$0);
            return target;
        }
    }
    /**
     * An XML getInputResponse(@http://www.example.org/WS-HT/api/xsd).
     *
     * This is a complex type.
     */
    public static class GetInputResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetInputResponseDocument.GetInputResponse
    {
        private static final long serialVersionUID = 1L;
        
        public GetInputResponseImpl(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