org.openehr.schemas.v1.impl.GENERICENTRYImpl 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!
/*
* XML Type: GENERIC_ENTRY
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.GENERICENTRY
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML GENERIC_ENTRY(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class GENERICENTRYImpl extends org.openehr.schemas.v1.impl.CONTENTITEMImpl implements org.openehr.schemas.v1.GENERICENTRY
{
private static final long serialVersionUID = 1L;
public GENERICENTRYImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DATA$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "data");
/**
* Gets the "data" element
*/
public org.openehr.schemas.v1.ITEMTREE getData()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ITEMTREE target = null;
target = (org.openehr.schemas.v1.ITEMTREE)get_store().find_element_user(DATA$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "data" element
*/
public void setData(org.openehr.schemas.v1.ITEMTREE data)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ITEMTREE target = null;
target = (org.openehr.schemas.v1.ITEMTREE)get_store().find_element_user(DATA$0, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.ITEMTREE)get_store().add_element_user(DATA$0);
}
target.set(data);
}
}
/**
* Appends and returns a new empty "data" element
*/
public org.openehr.schemas.v1.ITEMTREE addNewData()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ITEMTREE target = null;
target = (org.openehr.schemas.v1.ITEMTREE)get_store().add_element_user(DATA$0);
return target;
}
}
}