org.openehr.schemas.v1.impl.LOCATABLEREFImpl 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: LOCATABLE_REF
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.LOCATABLEREF
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML LOCATABLE_REF(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class LOCATABLEREFImpl extends org.openehr.schemas.v1.impl.OBJECTREFImpl implements org.openehr.schemas.v1.LOCATABLEREF
{
private static final long serialVersionUID = 1L;
public LOCATABLEREFImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PATH$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "path");
/**
* Gets the "path" element
*/
public java.lang.String getPath()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PATH$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "path" element
*/
public org.apache.xmlbeans.XmlString xgetPath()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PATH$0, 0);
return target;
}
}
/**
* True if has "path" element
*/
public boolean isSetPath()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PATH$0) != 0;
}
}
/**
* Sets the "path" element
*/
public void setPath(java.lang.String path)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PATH$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PATH$0);
}
target.setStringValue(path);
}
}
/**
* Sets (as xml) the "path" element
*/
public void xsetPath(org.apache.xmlbeans.XmlString path)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PATH$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PATH$0);
}
target.set(path);
}
}
/**
* Unsets the "path" element
*/
public void unsetPath()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PATH$0, 0);
}
}
}