org.openehr.schemas.v1.impl.EXTRACTITEMImpl 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: EXTRACT_ITEM
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.EXTRACTITEM
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML EXTRACT_ITEM(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class EXTRACTITEMImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.EXTRACTITEM
{
private static final long serialVersionUID = 1L;
public EXTRACTITEMImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName UID$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "uid");
private static final javax.xml.namespace.QName ISPRIMARY$2 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "is_primary");
private static final javax.xml.namespace.QName ISCHANGED$4 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "is_changed");
private static final javax.xml.namespace.QName ISMASKED$6 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "is_masked");
private static final javax.xml.namespace.QName ORIGINALPATH$8 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "original_path");
private static final javax.xml.namespace.QName ITEM$10 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "item");
/**
* Gets the "uid" element
*/
public org.openehr.schemas.v1.HIEROBJECTID getUid()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.HIEROBJECTID target = null;
target = (org.openehr.schemas.v1.HIEROBJECTID)get_store().find_element_user(UID$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "uid" element
*/
public void setUid(org.openehr.schemas.v1.HIEROBJECTID uid)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.HIEROBJECTID target = null;
target = (org.openehr.schemas.v1.HIEROBJECTID)get_store().find_element_user(UID$0, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.HIEROBJECTID)get_store().add_element_user(UID$0);
}
target.set(uid);
}
}
/**
* Appends and returns a new empty "uid" element
*/
public org.openehr.schemas.v1.HIEROBJECTID addNewUid()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.HIEROBJECTID target = null;
target = (org.openehr.schemas.v1.HIEROBJECTID)get_store().add_element_user(UID$0);
return target;
}
}
/**
* Gets the "is_primary" element
*/
public boolean getIsPrimary()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISPRIMARY$2, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "is_primary" element
*/
public org.apache.xmlbeans.XmlBoolean xgetIsPrimary()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(ISPRIMARY$2, 0);
return target;
}
}
/**
* Sets the "is_primary" element
*/
public void setIsPrimary(boolean isPrimary)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISPRIMARY$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISPRIMARY$2);
}
target.setBooleanValue(isPrimary);
}
}
/**
* Sets (as xml) the "is_primary" element
*/
public void xsetIsPrimary(org.apache.xmlbeans.XmlBoolean isPrimary)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(ISPRIMARY$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(ISPRIMARY$2);
}
target.set(isPrimary);
}
}
/**
* Gets the "is_changed" element
*/
public boolean getIsChanged()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCHANGED$4, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "is_changed" element
*/
public org.apache.xmlbeans.XmlBoolean xgetIsChanged()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(ISCHANGED$4, 0);
return target;
}
}
/**
* Sets the "is_changed" element
*/
public void setIsChanged(boolean isChanged)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISCHANGED$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISCHANGED$4);
}
target.setBooleanValue(isChanged);
}
}
/**
* Sets (as xml) the "is_changed" element
*/
public void xsetIsChanged(org.apache.xmlbeans.XmlBoolean isChanged)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(ISCHANGED$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(ISCHANGED$4);
}
target.set(isChanged);
}
}
/**
* Gets the "is_masked" element
*/
public boolean getIsMasked()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISMASKED$6, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "is_masked" element
*/
public org.apache.xmlbeans.XmlBoolean xgetIsMasked()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(ISMASKED$6, 0);
return target;
}
}
/**
* Sets the "is_masked" element
*/
public void setIsMasked(boolean isMasked)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ISMASKED$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ISMASKED$6);
}
target.setBooleanValue(isMasked);
}
}
/**
* Sets (as xml) the "is_masked" element
*/
public void xsetIsMasked(org.apache.xmlbeans.XmlBoolean isMasked)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(ISMASKED$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(ISMASKED$6);
}
target.set(isMasked);
}
}
/**
* Gets the "original_path" element
*/
public org.openehr.schemas.v1.DVURI getOriginalPath()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVURI target = null;
target = (org.openehr.schemas.v1.DVURI)get_store().find_element_user(ORIGINALPATH$8, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "original_path" element
*/
public boolean isSetOriginalPath()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ORIGINALPATH$8) != 0;
}
}
/**
* Sets the "original_path" element
*/
public void setOriginalPath(org.openehr.schemas.v1.DVURI originalPath)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVURI target = null;
target = (org.openehr.schemas.v1.DVURI)get_store().find_element_user(ORIGINALPATH$8, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.DVURI)get_store().add_element_user(ORIGINALPATH$8);
}
target.set(originalPath);
}
}
/**
* Appends and returns a new empty "original_path" element
*/
public org.openehr.schemas.v1.DVURI addNewOriginalPath()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVURI target = null;
target = (org.openehr.schemas.v1.DVURI)get_store().add_element_user(ORIGINALPATH$8);
return target;
}
}
/**
* Unsets the "original_path" element
*/
public void unsetOriginalPath()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ORIGINALPATH$8, 0);
}
}
/**
* Gets the "item" element
*/
public org.openehr.schemas.v1.XVERSIONEDOBJECT getItem()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.XVERSIONEDOBJECT target = null;
target = (org.openehr.schemas.v1.XVERSIONEDOBJECT)get_store().find_element_user(ITEM$10, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "item" element
*/
public boolean isSetItem()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ITEM$10) != 0;
}
}
/**
* Sets the "item" element
*/
public void setItem(org.openehr.schemas.v1.XVERSIONEDOBJECT item)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.XVERSIONEDOBJECT target = null;
target = (org.openehr.schemas.v1.XVERSIONEDOBJECT)get_store().find_element_user(ITEM$10, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.XVERSIONEDOBJECT)get_store().add_element_user(ITEM$10);
}
target.set(item);
}
}
/**
* Appends and returns a new empty "item" element
*/
public org.openehr.schemas.v1.XVERSIONEDOBJECT addNewItem()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.XVERSIONEDOBJECT target = null;
target = (org.openehr.schemas.v1.XVERSIONEDOBJECT)get_store().add_element_user(ITEM$10);
return target;
}
}
/**
* Unsets the "item" element
*/
public void unsetItem()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ITEM$10, 0);
}
}
}