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

net.opengis.wns.x00.impl.ReplyMessageDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: ReplyMessage
 * Namespace: http://www.opengis.net/wns/0.0
 * Java type: net.opengis.wns.x00.ReplyMessageDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.wns.x00.impl;
/**
 * A document containing one ReplyMessage(@http://www.opengis.net/wns/0.0) element.
 *
 * This is a complex type.
 */
public class ReplyMessageDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.wns.x00.ReplyMessageDocument
{
    private static final long serialVersionUID = 1L;
    
    public ReplyMessageDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName REPLYMESSAGE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/wns/0.0", "ReplyMessage");
    
    
    /**
     * Gets the "ReplyMessage" element
     */
    public net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage getReplyMessage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage target = null;
            target = (net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage)get_store().find_element_user(REPLYMESSAGE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "ReplyMessage" element
     */
    public void setReplyMessage(net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage replyMessage)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage target = null;
            target = (net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage)get_store().find_element_user(REPLYMESSAGE$0, 0);
            if (target == null)
            {
                target = (net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage)get_store().add_element_user(REPLYMESSAGE$0);
            }
            target.set(replyMessage);
        }
    }
    
    /**
     * Appends and returns a new empty "ReplyMessage" element
     */
    public net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage addNewReplyMessage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage target = null;
            target = (net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage)get_store().add_element_user(REPLYMESSAGE$0);
            return target;
        }
    }
    /**
     * An XML ReplyMessage(@http://www.opengis.net/wns/0.0).
     *
     * This is a complex type.
     */
    public static class ReplyMessageImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage
    {
        private static final long serialVersionUID = 1L;
        
        public ReplyMessageImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName CORRID$0 = 
            new javax.xml.namespace.QName("http://www.opengis.net/wns/0.0", "CorrID");
        private static final javax.xml.namespace.QName PAYLOAD$2 = 
            new javax.xml.namespace.QName("http://www.opengis.net/wns/0.0", "Payload");
        
        
        /**
         * Gets the "CorrID" element
         */
        public java.lang.String getCorrID()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CORRID$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "CorrID" element
         */
        public org.apache.xmlbeans.XmlToken xgetCorrID()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlToken target = null;
                target = (org.apache.xmlbeans.XmlToken)get_store().find_element_user(CORRID$0, 0);
                return target;
            }
        }
        
        /**
         * Sets the "CorrID" element
         */
        public void setCorrID(java.lang.String corrID)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CORRID$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CORRID$0);
                }
                target.setStringValue(corrID);
            }
        }
        
        /**
         * Sets (as xml) the "CorrID" element
         */
        public void xsetCorrID(org.apache.xmlbeans.XmlToken corrID)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlToken target = null;
                target = (org.apache.xmlbeans.XmlToken)get_store().find_element_user(CORRID$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlToken)get_store().add_element_user(CORRID$0);
                }
                target.set(corrID);
            }
        }
        
        /**
         * Gets the "Payload" element
         */
        public net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload getPayload()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload target = null;
                target = (net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload)get_store().find_element_user(PAYLOAD$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "Payload" element
         */
        public void setPayload(net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload payload)
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload target = null;
                target = (net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload)get_store().find_element_user(PAYLOAD$2, 0);
                if (target == null)
                {
                    target = (net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload)get_store().add_element_user(PAYLOAD$2);
                }
                target.set(payload);
            }
        }
        
        /**
         * Appends and returns a new empty "Payload" element
         */
        public net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload addNewPayload()
        {
            synchronized (monitor())
            {
                check_orphaned();
                net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload target = null;
                target = (net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload)get_store().add_element_user(PAYLOAD$2);
                return target;
            }
        }
        /**
         * An XML Payload(@http://www.opengis.net/wns/0.0).
         *
         * This is a complex type.
         */
        public static class PayloadImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.wns.x00.ReplyMessageDocument.ReplyMessage.Payload
        {
            private static final long serialVersionUID = 1L;
            
            public PayloadImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType);
            }
            
            
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy