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

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

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: DoNotificationResponse
 * Namespace: http://www.opengis.net/wns/0.0
 * Java type: net.opengis.wns.x00.DoNotificationResponseDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.wns.x00.impl;
/**
 * A document containing one DoNotificationResponse(@http://www.opengis.net/wns/0.0) element.
 *
 * This is a complex type.
 */
public class DoNotificationResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.wns.x00.DoNotificationResponseDocument
{
    private static final long serialVersionUID = 1L;
    
    public DoNotificationResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName DONOTIFICATIONRESPONSE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/wns/0.0", "DoNotificationResponse");
    
    
    /**
     * Gets the "DoNotificationResponse" element
     */
    public net.opengis.wns.x00.DoNotificationResponseType getDoNotificationResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.wns.x00.DoNotificationResponseType target = null;
            target = (net.opengis.wns.x00.DoNotificationResponseType)get_store().find_element_user(DONOTIFICATIONRESPONSE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "DoNotificationResponse" element
     */
    public void setDoNotificationResponse(net.opengis.wns.x00.DoNotificationResponseType doNotificationResponse)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.wns.x00.DoNotificationResponseType target = null;
            target = (net.opengis.wns.x00.DoNotificationResponseType)get_store().find_element_user(DONOTIFICATIONRESPONSE$0, 0);
            if (target == null)
            {
                target = (net.opengis.wns.x00.DoNotificationResponseType)get_store().add_element_user(DONOTIFICATIONRESPONSE$0);
            }
            target.set(doNotificationResponse);
        }
    }
    
    /**
     * Appends and returns a new empty "DoNotificationResponse" element
     */
    public net.opengis.wns.x00.DoNotificationResponseType addNewDoNotificationResponse()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.wns.x00.DoNotificationResponseType target = null;
            target = (net.opengis.wns.x00.DoNotificationResponseType)get_store().add_element_user(DONOTIFICATIONRESPONSE$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy