org.openehr.schemas.v1.impl.LINKImpl Maven / Gradle / Ivy
/*
* XML Type: LINK
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.LINK
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML LINK(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class LINKImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.LINK
{
private static final long serialVersionUID = 1L;
public LINKImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName MEANING$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "meaning");
private static final javax.xml.namespace.QName TYPE$2 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "type");
private static final javax.xml.namespace.QName TARGET$4 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "target");
/**
* Gets the "meaning" element
*/
public org.openehr.schemas.v1.DVTEXT getMeaning()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVTEXT target = null;
target = (org.openehr.schemas.v1.DVTEXT)get_store().find_element_user(MEANING$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "meaning" element
*/
public void setMeaning(org.openehr.schemas.v1.DVTEXT meaning)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVTEXT target = null;
target = (org.openehr.schemas.v1.DVTEXT)get_store().find_element_user(MEANING$0, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.DVTEXT)get_store().add_element_user(MEANING$0);
}
target.set(meaning);
}
}
/**
* Appends and returns a new empty "meaning" element
*/
public org.openehr.schemas.v1.DVTEXT addNewMeaning()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVTEXT target = null;
target = (org.openehr.schemas.v1.DVTEXT)get_store().add_element_user(MEANING$0);
return target;
}
}
/**
* Gets the "type" element
*/
public org.openehr.schemas.v1.DVTEXT getType()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVTEXT target = null;
target = (org.openehr.schemas.v1.DVTEXT)get_store().find_element_user(TYPE$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "type" element
*/
public void setType(org.openehr.schemas.v1.DVTEXT type)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVTEXT target = null;
target = (org.openehr.schemas.v1.DVTEXT)get_store().find_element_user(TYPE$2, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.DVTEXT)get_store().add_element_user(TYPE$2);
}
target.set(type);
}
}
/**
* Appends and returns a new empty "type" element
*/
public org.openehr.schemas.v1.DVTEXT addNewType()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVTEXT target = null;
target = (org.openehr.schemas.v1.DVTEXT)get_store().add_element_user(TYPE$2);
return target;
}
}
/**
* Gets the "target" element
*/
public org.openehr.schemas.v1.DVEHRURI getTarget()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVEHRURI target = null;
target = (org.openehr.schemas.v1.DVEHRURI)get_store().find_element_user(TARGET$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "target" element
*/
public void setTarget(org.openehr.schemas.v1.DVEHRURI targetValue)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVEHRURI target = null;
target = (org.openehr.schemas.v1.DVEHRURI)get_store().find_element_user(TARGET$4, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.DVEHRURI)get_store().add_element_user(TARGET$4);
}
target.set(targetValue);
}
}
/**
* Appends and returns a new empty "target" element
*/
public org.openehr.schemas.v1.DVEHRURI addNewTarget()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVEHRURI target = null;
target = (org.openehr.schemas.v1.DVEHRURI)get_store().add_element_user(TARGET$4);
return target;
}
}
}