org.openehr.schemas.v1.impl.EXPRITEMImpl Maven / Gradle / Ivy
/*
* XML Type: EXPR_ITEM
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.EXPRITEM
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML EXPR_ITEM(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class EXPRITEMImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.EXPRITEM
{
private static final long serialVersionUID = 1L;
public EXPRITEMImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TYPE$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "type");
/**
* Gets the "type" element
*/
public java.lang.String getType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TYPE$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "type" element
*/
public org.apache.xmlbeans.XmlString xgetType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TYPE$0, 0);
return target;
}
}
/**
* Sets the "type" element
*/
public void setType(java.lang.String type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TYPE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TYPE$0);
}
target.setStringValue(type);
}
}
/**
* Sets (as xml) the "type" element
*/
public void xsetType(org.apache.xmlbeans.XmlString type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TYPE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TYPE$0);
}
target.set(type);
}
}
}