/*
 * An XML document type.
 * Localname: GetResourceProperty
 * 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.GetResourcePropertyDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.resource.properties.impl;
/**
 * A document containing one GetResourceProperty(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public class GetResourcePropertyDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.resource.properties.GetResourcePropertyDocument
{
    
    public GetResourcePropertyDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETRESOURCEPROPERTY$0 = 
        new javax.xml.namespace.QName("http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd", "GetResourceProperty");
    
    
    /**
     * Gets the "GetResourceProperty" element
     */
    public javax.xml.namespace.QName getGetResourceProperty()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GETRESOURCEPROPERTY$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getQNameValue();
        }
    }
    
    /**
     * Gets (as xml) the "GetResourceProperty" element
     */
    public org.apache.xmlbeans.XmlQName xgetGetResourceProperty()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlQName target = null;
            target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(GETRESOURCEPROPERTY$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "GetResourceProperty" element
     */
    public void setGetResourceProperty(javax.xml.namespace.QName getResourceProperty)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GETRESOURCEPROPERTY$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GETRESOURCEPROPERTY$0);
            }
            target.setQNameValue(getResourceProperty);
        }
    }
    
    /**
     * Sets (as xml) the "GetResourceProperty" element
     */
    public void xsetGetResourceProperty(org.apache.xmlbeans.XmlQName getResourceProperty)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlQName target = null;
            target = (org.apache.xmlbeans.XmlQName)get_store().find_element_user(GETRESOURCEPROPERTY$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlQName)get_store().add_element_user(GETRESOURCEPROPERTY$0);
            }
            target.set(getResourceProperty);
        }
    }
}
