org.openehr.schemas.v1.impl.ExtractDocumentImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oet-parser Show documentation
Show all versions of oet-parser Show documentation
Java implementation of openEHR OET Template Parser and Flattener
The newest version!
/*
* An XML document type.
* Localname: extract
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.ExtractDocument
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* A document containing one extract(@http://schemas.openehr.org/v1) element.
*
* This is a complex type.
*/
public class ExtractDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.ExtractDocument
{
private static final long serialVersionUID = 1L;
public ExtractDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName EXTRACT$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "extract");
/**
* Gets the "extract" element
*/
public org.openehr.schemas.v1.EXTRACT getExtract()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXTRACT target = null;
target = (org.openehr.schemas.v1.EXTRACT)get_store().find_element_user(EXTRACT$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "extract" element
*/
public void setExtract(org.openehr.schemas.v1.EXTRACT extract)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXTRACT target = null;
target = (org.openehr.schemas.v1.EXTRACT)get_store().find_element_user(EXTRACT$0, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.EXTRACT)get_store().add_element_user(EXTRACT$0);
}
target.set(extract);
}
}
/**
* Appends and returns a new empty "extract" element
*/
public org.openehr.schemas.v1.EXTRACT addNewExtract()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXTRACT target = null;
target = (org.openehr.schemas.v1.EXTRACT)get_store().add_element_user(EXTRACT$0);
return target;
}
}
}