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

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

The newest version!
/*
 * An XML document type.
 * Localname: deleteOutput
 * Namespace: http://www.example.org/WS-HT/api/xsd
 * Java type: org.example.wsHT.api.xsd.XMLDeleteOutputDocument
 *
 * Automatically generated - do not modify.
 */
package org.example.wsHT.api.xsd.impl;
/**
 * A document containing one deleteOutput(@http://www.example.org/WS-HT/api/xsd) element.
 *
 * This is a complex type.
 */
public class XMLDeleteOutputDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLDeleteOutputDocument
{
    private static final long serialVersionUID = 1L;
    
    public XMLDeleteOutputDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName DELETEOUTPUT$0 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "deleteOutput");
    
    
    /**
     * Gets the "deleteOutput" element
     */
    public org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput getDeleteOutput()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput target = null;
            target = (org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput)get_store().find_element_user(DELETEOUTPUT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "deleteOutput" element
     */
    public void setDeleteOutput(org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput deleteOutput)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput target = null;
            target = (org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput)get_store().find_element_user(DELETEOUTPUT$0, 0);
            if (target == null)
            {
                target = (org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput)get_store().add_element_user(DELETEOUTPUT$0);
            }
            target.set(deleteOutput);
        }
    }
    
    /**
     * Appends and returns a new empty "deleteOutput" element
     */
    public org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput addNewDeleteOutput()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput target = null;
            target = (org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput)get_store().add_element_user(DELETEOUTPUT$0);
            return target;
        }
    }
    /**
     * An XML deleteOutput(@http://www.example.org/WS-HT/api/xsd).
     *
     * This is a complex type.
     */
    public static class DeleteOutputImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.xsd.XMLDeleteOutputDocument.DeleteOutput
    {
        private static final long serialVersionUID = 1L;
        
        public DeleteOutputImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName IDENTIFIER$0 = 
            new javax.xml.namespace.QName("http://www.example.org/WS-HT/api/xsd", "identifier");
        
        
        /**
         * Gets the "identifier" element
         */
        public java.lang.String getIdentifier()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFIER$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "identifier" element
         */
        public org.apache.xmlbeans.XmlAnyURI xgetIdentifier()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(IDENTIFIER$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "identifier" element
         */
        public void setIdentifier(java.lang.String identifier)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFIER$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(IDENTIFIER$0);
                }
                target.setStringValue(identifier);
            }
        }
        
        /**
         * Sets (as xml) the "identifier" element
         */
        public void xsetIdentifier(org.apache.xmlbeans.XmlAnyURI identifier)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnyURI target = null;
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(IDENTIFIER$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(IDENTIFIER$0);
                }
                target.set(identifier);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy