
org.openehr.schemas.v1.impl.EXPRUNARYOPERATORImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xml-binding Show documentation
Show all versions of xml-binding Show documentation
Java implementation of openEHR RM XML Data Binding Component
The newest version!
/*
* XML Type: EXPR_UNARY_OPERATOR
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.EXPRUNARYOPERATOR
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML EXPR_UNARY_OPERATOR(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class EXPRUNARYOPERATORImpl extends org.openehr.schemas.v1.impl.EXPROPERATORImpl implements org.openehr.schemas.v1.EXPRUNARYOPERATOR
{
private static final long serialVersionUID = 1L;
public EXPRUNARYOPERATORImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName OPERAND$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "operand");
/**
* Gets the "operand" element
*/
public org.openehr.schemas.v1.EXPRITEM getOperand()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXPRITEM target = null;
target = (org.openehr.schemas.v1.EXPRITEM)get_store().find_element_user(OPERAND$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "operand" element
*/
public void setOperand(org.openehr.schemas.v1.EXPRITEM operand)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXPRITEM target = null;
target = (org.openehr.schemas.v1.EXPRITEM)get_store().find_element_user(OPERAND$0, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.EXPRITEM)get_store().add_element_user(OPERAND$0);
}
target.set(operand);
}
}
/**
* Appends and returns a new empty "operand" element
*/
public org.openehr.schemas.v1.EXPRITEM addNewOperand()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXPRITEM target = null;
target = (org.openehr.schemas.v1.EXPRITEM)get_store().add_element_user(OPERAND$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy