org.openehr.schemas.v1.impl.REFERENCERANGEImpl 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: REFERENCE_RANGE
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.REFERENCERANGE
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML REFERENCE_RANGE(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class REFERENCERANGEImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.REFERENCERANGE
{
private static final long serialVersionUID = 1L;
public REFERENCERANGEImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName MEANING$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "meaning");
private static final javax.xml.namespace.QName RANGE$2 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "range");
/**
* Gets the "meaning" element
*/
public org.openehr.schemas.v1.DVTEXT getMeaning()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVTEXT target = null;
target = (org.openehr.schemas.v1.DVTEXT)get_store().find_element_user(MEANING$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "meaning" element
*/
public void setMeaning(org.openehr.schemas.v1.DVTEXT meaning)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVTEXT target = null;
target = (org.openehr.schemas.v1.DVTEXT)get_store().find_element_user(MEANING$0, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.DVTEXT)get_store().add_element_user(MEANING$0);
}
target.set(meaning);
}
}
/**
* Appends and returns a new empty "meaning" element
*/
public org.openehr.schemas.v1.DVTEXT addNewMeaning()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVTEXT target = null;
target = (org.openehr.schemas.v1.DVTEXT)get_store().add_element_user(MEANING$0);
return target;
}
}
/**
* Gets the "range" element
*/
public org.openehr.schemas.v1.DVINTERVAL getRange()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVINTERVAL target = null;
target = (org.openehr.schemas.v1.DVINTERVAL)get_store().find_element_user(RANGE$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "range" element
*/
public void setRange(org.openehr.schemas.v1.DVINTERVAL range)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVINTERVAL target = null;
target = (org.openehr.schemas.v1.DVINTERVAL)get_store().find_element_user(RANGE$2, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.DVINTERVAL)get_store().add_element_user(RANGE$2);
}
target.set(range);
}
}
/**
* Appends and returns a new empty "range" element
*/
public org.openehr.schemas.v1.DVINTERVAL addNewRange()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVINTERVAL target = null;
target = (org.openehr.schemas.v1.DVINTERVAL)get_store().add_element_user(RANGE$2);
return target;
}
}
}