org.openehr.schemas.v1.impl.IntervalImpl 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: Interval
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.Interval
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML Interval(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class IntervalImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.Interval
{
private static final long serialVersionUID = 1L;
public IntervalImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName LOWERINCLUDED$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "lower_included");
private static final javax.xml.namespace.QName UPPERINCLUDED$2 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "upper_included");
private static final javax.xml.namespace.QName LOWERUNBOUNDED$4 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "lower_unbounded");
private static final javax.xml.namespace.QName UPPERUNBOUNDED$6 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "upper_unbounded");
/**
* Gets the "lower_included" element
*/
public boolean getLowerIncluded()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LOWERINCLUDED$0, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "lower_included" element
*/
public org.apache.xmlbeans.XmlBoolean xgetLowerIncluded()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(LOWERINCLUDED$0, 0);
return target;
}
}
/**
* True if has "lower_included" element
*/
public boolean isSetLowerIncluded()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(LOWERINCLUDED$0) != 0;
}
}
/**
* Sets the "lower_included" element
*/
public void setLowerIncluded(boolean lowerIncluded)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LOWERINCLUDED$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LOWERINCLUDED$0);
}
target.setBooleanValue(lowerIncluded);
}
}
/**
* Sets (as xml) the "lower_included" element
*/
public void xsetLowerIncluded(org.apache.xmlbeans.XmlBoolean lowerIncluded)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(LOWERINCLUDED$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(LOWERINCLUDED$0);
}
target.set(lowerIncluded);
}
}
/**
* Unsets the "lower_included" element
*/
public void unsetLowerIncluded()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(LOWERINCLUDED$0, 0);
}
}
/**
* Gets the "upper_included" element
*/
public boolean getUpperIncluded()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UPPERINCLUDED$2, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "upper_included" element
*/
public org.apache.xmlbeans.XmlBoolean xgetUpperIncluded()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(UPPERINCLUDED$2, 0);
return target;
}
}
/**
* True if has "upper_included" element
*/
public boolean isSetUpperIncluded()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(UPPERINCLUDED$2) != 0;
}
}
/**
* Sets the "upper_included" element
*/
public void setUpperIncluded(boolean upperIncluded)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UPPERINCLUDED$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(UPPERINCLUDED$2);
}
target.setBooleanValue(upperIncluded);
}
}
/**
* Sets (as xml) the "upper_included" element
*/
public void xsetUpperIncluded(org.apache.xmlbeans.XmlBoolean upperIncluded)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(UPPERINCLUDED$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(UPPERINCLUDED$2);
}
target.set(upperIncluded);
}
}
/**
* Unsets the "upper_included" element
*/
public void unsetUpperIncluded()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(UPPERINCLUDED$2, 0);
}
}
/**
* Gets the "lower_unbounded" element
*/
public boolean getLowerUnbounded()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LOWERUNBOUNDED$4, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "lower_unbounded" element
*/
public org.apache.xmlbeans.XmlBoolean xgetLowerUnbounded()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(LOWERUNBOUNDED$4, 0);
return target;
}
}
/**
* Sets the "lower_unbounded" element
*/
public void setLowerUnbounded(boolean lowerUnbounded)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LOWERUNBOUNDED$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LOWERUNBOUNDED$4);
}
target.setBooleanValue(lowerUnbounded);
}
}
/**
* Sets (as xml) the "lower_unbounded" element
*/
public void xsetLowerUnbounded(org.apache.xmlbeans.XmlBoolean lowerUnbounded)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(LOWERUNBOUNDED$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(LOWERUNBOUNDED$4);
}
target.set(lowerUnbounded);
}
}
/**
* Gets the "upper_unbounded" element
*/
public boolean getUpperUnbounded()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UPPERUNBOUNDED$6, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "upper_unbounded" element
*/
public org.apache.xmlbeans.XmlBoolean xgetUpperUnbounded()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(UPPERUNBOUNDED$6, 0);
return target;
}
}
/**
* Sets the "upper_unbounded" element
*/
public void setUpperUnbounded(boolean upperUnbounded)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UPPERUNBOUNDED$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(UPPERUNBOUNDED$6);
}
target.setBooleanValue(upperUnbounded);
}
}
/**
* Sets (as xml) the "upper_unbounded" element
*/
public void xsetUpperUnbounded(org.apache.xmlbeans.XmlBoolean upperUnbounded)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(UPPERUNBOUNDED$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(UPPERUNBOUNDED$6);
}
target.set(upperUnbounded);
}
}
}