org.openehr.schemas.v1.impl.IMPORTEDVERSIONImpl Maven / Gradle / Ivy
/*
* XML Type: IMPORTED_VERSION
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.IMPORTEDVERSION
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML IMPORTED_VERSION(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class IMPORTEDVERSIONImpl extends org.openehr.schemas.v1.impl.VERSIONImpl implements org.openehr.schemas.v1.IMPORTEDVERSION
{
private static final long serialVersionUID = 1L;
public IMPORTEDVERSIONImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ITEM$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "item");
/**
* Gets the "item" element
*/
public org.openehr.schemas.v1.ORIGINALVERSION getItem()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ORIGINALVERSION target = null;
target = (org.openehr.schemas.v1.ORIGINALVERSION)get_store().find_element_user(ITEM$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "item" element
*/
public void setItem(org.openehr.schemas.v1.ORIGINALVERSION item)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ORIGINALVERSION target = null;
target = (org.openehr.schemas.v1.ORIGINALVERSION)get_store().find_element_user(ITEM$0, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.ORIGINALVERSION)get_store().add_element_user(ITEM$0);
}
target.set(item);
}
}
/**
* Appends and returns a new empty "item" element
*/
public org.openehr.schemas.v1.ORIGINALVERSION addNewItem()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ORIGINALVERSION target = null;
target = (org.openehr.schemas.v1.ORIGINALVERSION)get_store().add_element_user(ITEM$0);
return target;
}
}
}