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

org.openehr.schemas.v1.impl.ExtractRequestDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: extract_request
 * Namespace: http://schemas.openehr.org/v1
 * Java type: org.openehr.schemas.v1.ExtractRequestDocument
 *
 * Automatically generated - do not modify.
 */
package org.openehr.schemas.v1.impl;
/**
 * A document containing one extract_request(@http://schemas.openehr.org/v1) element.
 *
 * This is a complex type.
 */
public class ExtractRequestDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.ExtractRequestDocument
{
    private static final long serialVersionUID = 1L;
    
    public ExtractRequestDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName EXTRACTREQUEST$0 = 
        new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "extract_request");
    
    
    /**
     * Gets the "extract_request" element
     */
    public org.openehr.schemas.v1.EXTRACTREQUEST getExtractRequest()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openehr.schemas.v1.EXTRACTREQUEST target = null;
            target = (org.openehr.schemas.v1.EXTRACTREQUEST)get_store().find_element_user(EXTRACTREQUEST$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "extract_request" element
     */
    public void setExtractRequest(org.openehr.schemas.v1.EXTRACTREQUEST extractRequest)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openehr.schemas.v1.EXTRACTREQUEST target = null;
            target = (org.openehr.schemas.v1.EXTRACTREQUEST)get_store().find_element_user(EXTRACTREQUEST$0, 0);
            if (target == null)
            {
                target = (org.openehr.schemas.v1.EXTRACTREQUEST)get_store().add_element_user(EXTRACTREQUEST$0);
            }
            target.set(extractRequest);
        }
    }
    
    /**
     * Appends and returns a new empty "extract_request" element
     */
    public org.openehr.schemas.v1.EXTRACTREQUEST addNewExtractRequest()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openehr.schemas.v1.EXTRACTREQUEST target = null;
            target = (org.openehr.schemas.v1.EXTRACTREQUEST)get_store().add_element_user(EXTRACTREQUEST$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy