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

com.smartbear.readyapi.junit.impl.PropertyDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: property
 * Namespace: http://smartbear.com/readyapi/junit
 * Java type: com.smartbear.readyapi.junit.PropertyDocument
 *
 * Automatically generated - do not modify.
 */
package com.smartbear.readyapi.junit.impl;
/**
 * A document containing one property(@http://smartbear.com/readyapi/junit) element.
 *
 * This is a complex type.
 */
public class PropertyDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.smartbear.readyapi.junit.PropertyDocument
{
    private static final long serialVersionUID = 1L;
    
    public PropertyDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PROPERTY$0 = 
        new javax.xml.namespace.QName("http://smartbear.com/readyapi/junit", "property");
    
    
    /**
     * Gets the "property" element
     */
    public com.smartbear.readyapi.junit.Property getProperty()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.smartbear.readyapi.junit.Property target = null;
            target = (com.smartbear.readyapi.junit.Property)get_store().find_element_user(PROPERTY$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "property" element
     */
    public void setProperty(com.smartbear.readyapi.junit.Property property)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.smartbear.readyapi.junit.Property target = null;
            target = (com.smartbear.readyapi.junit.Property)get_store().find_element_user(PROPERTY$0, 0);
            if (target == null)
            {
                target = (com.smartbear.readyapi.junit.Property)get_store().add_element_user(PROPERTY$0);
            }
            target.set(property);
        }
    }
    
    /**
     * Appends and returns a new empty "property" element
     */
    public com.smartbear.readyapi.junit.Property addNewProperty()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.smartbear.readyapi.junit.Property target = null;
            target = (com.smartbear.readyapi.junit.Property)get_store().add_element_user(PROPERTY$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy