/*
 * An XML document type.
 * Localname: EntryRemovalNotification
 * Namespace: http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd
 * Java type: org.activemq.ws.xmlbeans.servicegroup.EntryRemovalNotificationDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.servicegroup.impl;
/**
 * A document containing one EntryRemovalNotification(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public class EntryRemovalNotificationDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.servicegroup.EntryRemovalNotificationDocument
{
    
    public EntryRemovalNotificationDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ENTRYREMOVALNOTIFICATION$0 = 
        new javax.xml.namespace.QName("http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ServiceGroup-1.2-draft-01.xsd", "EntryRemovalNotification");
    
    
    /**
     * Gets the "EntryRemovalNotification" element
     */
    public org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRemovalNotificationType getEntryRemovalNotification()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRemovalNotificationType target = null;
            target = (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRemovalNotificationType)get_store().find_element_user(ENTRYREMOVALNOTIFICATION$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "EntryRemovalNotification" element
     */
    public void setEntryRemovalNotification(org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRemovalNotificationType entryRemovalNotification)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRemovalNotificationType target = null;
            target = (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRemovalNotificationType)get_store().find_element_user(ENTRYREMOVALNOTIFICATION$0, 0);
            if (target == null)
            {
                target = (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRemovalNotificationType)get_store().add_element_user(ENTRYREMOVALNOTIFICATION$0);
            }
            target.set(entryRemovalNotification);
        }
    }
    
    /**
     * Appends and returns a new empty "EntryRemovalNotification" element
     */
    public org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRemovalNotificationType addNewEntryRemovalNotification()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRemovalNotificationType target = null;
            target = (org.activemq.ws.xmlbeans.servicegroup.ServiceGroupRemovalNotificationType)get_store().add_element_user(ENTRYREMOVALNOTIFICATION$0);
            return target;
        }
    }
}
