org.openehr.schemas.v1.impl.DEFAULTVALUEImpl 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: DEFAULT_VALUE
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.DEFAULTVALUE
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML DEFAULT_VALUE(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class DEFAULTVALUEImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.DEFAULTVALUE
{
private static final long serialVersionUID = 1L;
public DEFAULTVALUEImpl(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;
}
}
/**
* 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);
}
}
}