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

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

The newest version!
/*
 * An XML document type.
 * Localname: getTaskDescriptionResponse
 * Namespace: http://www.example.org/WS-HT/api/xsd
 * Java type: org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument
 *
 * Automatically generated - do not modify.
 */
package org.example.wsHT.api.xsd.impl;
/**
 * A document containing one getTaskDescriptionResponse(@http://www.example.org/WS-HT/api/xsd) element.
 *
 * This is a complex type.
 */
public class XMLGetTaskDescriptionResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument
{
    private static final long serialVersionUID = 1L;
    
    public XMLGetTaskDescriptionResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETTASKDESCRIPTIONRESPONSE$0 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "getTaskDescriptionResponse");
    
    
    /**
     * Gets the "getTaskDescriptionResponse" element
     */
    public org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse getGetTaskDescriptionResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse target = null;
            target = (org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse)get_store().find_element_user(GETTASKDESCRIPTIONRESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "getTaskDescriptionResponse" element
     */
    public void setGetTaskDescriptionResponse(org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse getTaskDescriptionResponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse target = null;
            target = (org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse)get_store().find_element_user(GETTASKDESCRIPTIONRESPONSE$0, 0);
            if (target == null)
            {
                target = (org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse)get_store().add_element_user(GETTASKDESCRIPTIONRESPONSE$0);
            }
            target.set(getTaskDescriptionResponse);
        }
    }
    
    /**
     * Appends and returns a new empty "getTaskDescriptionResponse" element
     */
    public org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse addNewGetTaskDescriptionResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse target = null;
            target = (org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse)get_store().add_element_user(GETTASKDESCRIPTIONRESPONSE$0);
            return target;
        }
    }
    /**
     * An XML getTaskDescriptionResponse(@http://www.example.org/WS-HT/api/xsd).
     *
     * This is a complex type.
     */
    public static class GetTaskDescriptionResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLGetTaskDescriptionResponseDocument.GetTaskDescriptionResponse
    {
        private static final long serialVersionUID = 1L;
        
        public GetTaskDescriptionResponseImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName DESCRIPTION$0 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "description");
        
        
        /**
         * Gets the "description" element
         */
        public java.lang.String getDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DESCRIPTION$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "description" element
         */
        public org.apache.xmlbeans.XmlString xgetDescription()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(DESCRIPTION$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "description" element
         */
        public void setDescription(java.lang.String description)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DESCRIPTION$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DESCRIPTION$0);
                }
                target.setStringValue(description);
            }
        }
        
        /**
         * Sets (as xml) the "description" element
         */
        public void xsetDescription(org.apache.xmlbeans.XmlString description)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(DESCRIPTION$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(DESCRIPTION$0);
                }
                target.set(description);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy