/*
 * XML Type:  DeleteType
 * Namespace: http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd
 * Java type: org.activemq.ws.xmlbeans.resource.properties.DeleteType
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.resource.properties.impl;
/**
 * An XML DeleteType(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd).
 *
 * This is a complex type.
 */
public class DeleteTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.resource.properties.DeleteType
{
    
    public DeleteTypeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName RESOURCEPROPERTY$0 = 
        new javax.xml.namespace.QName("", "ResourceProperty");
    
    
    /**
     * Gets the "ResourceProperty" attribute
     */
    public javax.xml.namespace.QName getResourceProperty()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RESOURCEPROPERTY$0);
            if (target == null)
            {
                return null;
            }
            return target.getQNameValue();
        }
    }
    
    /**
     * Gets (as xml) the "ResourceProperty" attribute
     */
    public org.apache.xmlbeans.XmlQName xgetResourceProperty()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlQName target = null;
            target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(RESOURCEPROPERTY$0);
            return target;
        }
    }
    
    /**
     * Sets the "ResourceProperty" attribute
     */
    public void setResourceProperty(javax.xml.namespace.QName resourceProperty)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RESOURCEPROPERTY$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RESOURCEPROPERTY$0);
            }
            target.setQNameValue(resourceProperty);
        }
    }
    
    /**
     * Sets (as xml) the "ResourceProperty" attribute
     */
    public void xsetResourceProperty(org.apache.xmlbeans.XmlQName resourceProperty)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlQName target = null;
            target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(RESOURCEPROPERTY$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(RESOURCEPROPERTY$0);
            }
            target.set(resourceProperty);
        }
    }
}
