All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openehr.schemas.v1.impl.EXPROPERATORImpl Maven / Gradle / Ivy

/*
 * XML Type:  EXPR_OPERATOR
 * Namespace: http://schemas.openehr.org/v1
 * Java type: org.openehr.schemas.v1.EXPROPERATOR
 *
 * Automatically generated - do not modify.
 */
package org.openehr.schemas.v1.impl;
/**
 * An XML EXPR_OPERATOR(@http://schemas.openehr.org/v1).
 *
 * This is a complex type.
 */
public class EXPROPERATORImpl extends org.openehr.schemas.v1.impl.EXPRITEMImpl implements org.openehr.schemas.v1.EXPROPERATOR
{
    private static final long serialVersionUID = 1L;
    
    public EXPROPERATORImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName OPERATOR$0 = 
        new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "operator");
    private static final javax.xml.namespace.QName PRECEDENCEOVERRIDDEN$2 = 
        new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "precedence_overridden");
    
    
    /**
     * Gets the "operator" element
     */
    public java.math.BigInteger getOperator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OPERATOR$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getBigIntegerValue();
        }
    }
    
    /**
     * Gets (as xml) the "operator" element
     */
    public org.openehr.schemas.v1.OPERATORKIND xgetOperator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openehr.schemas.v1.OPERATORKIND target = null;
            target = (org.openehr.schemas.v1.OPERATORKIND)get_store().find_element_user(OPERATOR$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "operator" element
     */
    public void setOperator(java.math.BigInteger operator)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OPERATOR$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OPERATOR$0);
            }
            target.setBigIntegerValue(operator);
        }
    }
    
    /**
     * Sets (as xml) the "operator" element
     */
    public void xsetOperator(org.openehr.schemas.v1.OPERATORKIND operator)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openehr.schemas.v1.OPERATORKIND target = null;
            target = (org.openehr.schemas.v1.OPERATORKIND)get_store().find_element_user(OPERATOR$0, 0);
            if (target == null)
            {
                target = (org.openehr.schemas.v1.OPERATORKIND)get_store().add_element_user(OPERATOR$0);
            }
            target.set(operator);
        }
    }
    
    /**
     * Gets the "precedence_overridden" element
     */
    public boolean getPrecedenceOverridden()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PRECEDENCEOVERRIDDEN$2, 0);
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "precedence_overridden" element
     */
    public org.apache.xmlbeans.XmlBoolean xgetPrecedenceOverridden()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(PRECEDENCEOVERRIDDEN$2, 0);
            return target;
        }
    }
    
    /**
     * Sets the "precedence_overridden" element
     */
    public void setPrecedenceOverridden(boolean precedenceOverridden)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PRECEDENCEOVERRIDDEN$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PRECEDENCEOVERRIDDEN$2);
            }
            target.setBooleanValue(precedenceOverridden);
        }
    }
    
    /**
     * Sets (as xml) the "precedence_overridden" element
     */
    public void xsetPrecedenceOverridden(org.apache.xmlbeans.XmlBoolean precedenceOverridden)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(PRECEDENCEOVERRIDDEN$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(PRECEDENCEOVERRIDDEN$2);
            }
            target.set(precedenceOverridden);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy