org.openehr.schemas.v1.impl.DEFAULTDVSTATEImpl 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_DV_STATE
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.DEFAULTDVSTATE
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML DEFAULT_DV_STATE(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class DEFAULTDVSTATEImpl extends org.openehr.schemas.v1.impl.DEFAULTVALUEImpl implements org.openehr.schemas.v1.DEFAULTDVSTATE
{
private static final long serialVersionUID = 1L;
public DEFAULTDVSTATEImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName VALUE$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "value");
/**
* Gets the "value" element
*/
public org.openehr.schemas.v1.DVSTATE getValue()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVSTATE target = null;
target = (org.openehr.schemas.v1.DVSTATE)get_store().find_element_user(VALUE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "value" element
*/
public void setValue(org.openehr.schemas.v1.DVSTATE value)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVSTATE target = null;
target = (org.openehr.schemas.v1.DVSTATE)get_store().find_element_user(VALUE$0, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.DVSTATE)get_store().add_element_user(VALUE$0);
}
target.set(value);
}
}
/**
* Appends and returns a new empty "value" element
*/
public org.openehr.schemas.v1.DVSTATE addNewValue()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVSTATE target = null;
target = (org.openehr.schemas.v1.DVSTATE)get_store().add_element_user(VALUE$0);
return target;
}
}
}