![JAR search and dependency download from the Maven repository](/logo.png)
org.openehr.schemas.v1.impl.CompositionDocumentImpl 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: composition
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.CompositionDocument
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* A document containing one composition(@http://schemas.openehr.org/v1) element.
*
* This is a complex type.
*/
public class CompositionDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.CompositionDocument
{
private static final long serialVersionUID = 1L;
public CompositionDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName COMPOSITION$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "composition");
/**
* Gets the "composition" element
*/
public org.openehr.schemas.v1.COMPOSITION getComposition()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.COMPOSITION target = null;
target = (org.openehr.schemas.v1.COMPOSITION)get_store().find_element_user(COMPOSITION$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "composition" element
*/
public void setComposition(org.openehr.schemas.v1.COMPOSITION composition)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.COMPOSITION target = null;
target = (org.openehr.schemas.v1.COMPOSITION)get_store().find_element_user(COMPOSITION$0, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.COMPOSITION)get_store().add_element_user(COMPOSITION$0);
}
target.set(composition);
}
}
/**
* Appends and returns a new empty "composition" element
*/
public org.openehr.schemas.v1.COMPOSITION addNewComposition()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.COMPOSITION target = null;
target = (org.openehr.schemas.v1.COMPOSITION)get_store().add_element_user(COMPOSITION$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy