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

openEHR.v1.template.impl.BindingImpl Maven / Gradle / Ivy

The newest version!
/*
 * XML Type:  binding
 * Namespace: openEHR/v1/Template
 * Java type: openEHR.v1.template.Binding
 *
 * Automatically generated - do not modify.
 */
package openEHR.v1.template.impl;
/**
 * An XML binding(@openEHR/v1/Template).
 *
 * This is a complex type.
 */
public class BindingImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements openEHR.v1.template.Binding
{
    private static final long serialVersionUID = 1L;
    
    public BindingImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TERMINOLOGYID$0 = 
        new javax.xml.namespace.QName("", "terminologyID");
    private static final javax.xml.namespace.QName TERMINOLOGYLANG$2 = 
        new javax.xml.namespace.QName("", "terminologyLang");
    private static final javax.xml.namespace.QName QUERYNAME$4 = 
        new javax.xml.namespace.QName("", "queryName");
    
    
    /**
     * Gets the "terminologyID" attribute
     */
    public java.lang.String getTerminologyID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TERMINOLOGYID$0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "terminologyID" attribute
     */
    public org.apache.xmlbeans.XmlString xgetTerminologyID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TERMINOLOGYID$0);
            return target;
        }
    }
    
    /**
     * Sets the "terminologyID" attribute
     */
    public void setTerminologyID(java.lang.String terminologyID)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TERMINOLOGYID$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TERMINOLOGYID$0);
            }
            target.setStringValue(terminologyID);
        }
    }
    
    /**
     * Sets (as xml) the "terminologyID" attribute
     */
    public void xsetTerminologyID(org.apache.xmlbeans.XmlString terminologyID)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TERMINOLOGYID$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(TERMINOLOGYID$0);
            }
            target.set(terminologyID);
        }
    }
    
    /**
     * Gets the "terminologyLang" attribute
     */
    public java.lang.String getTerminologyLang()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TERMINOLOGYLANG$2);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "terminologyLang" attribute
     */
    public org.apache.xmlbeans.XmlString xgetTerminologyLang()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TERMINOLOGYLANG$2);
            return target;
        }
    }
    
    /**
     * Sets the "terminologyLang" attribute
     */
    public void setTerminologyLang(java.lang.String terminologyLang)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TERMINOLOGYLANG$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TERMINOLOGYLANG$2);
            }
            target.setStringValue(terminologyLang);
        }
    }
    
    /**
     * Sets (as xml) the "terminologyLang" attribute
     */
    public void xsetTerminologyLang(org.apache.xmlbeans.XmlString terminologyLang)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TERMINOLOGYLANG$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(TERMINOLOGYLANG$2);
            }
            target.set(terminologyLang);
        }
    }
    
    /**
     * Gets the "queryName" attribute
     */
    public java.lang.String getQueryName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(QUERYNAME$4);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "queryName" attribute
     */
    public org.apache.xmlbeans.XmlString xgetQueryName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(QUERYNAME$4);
            return target;
        }
    }
    
    /**
     * Sets the "queryName" attribute
     */
    public void setQueryName(java.lang.String queryName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(QUERYNAME$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(QUERYNAME$4);
            }
            target.setStringValue(queryName);
        }
    }
    
    /**
     * Sets (as xml) the "queryName" attribute
     */
    public void xsetQueryName(org.apache.xmlbeans.XmlString queryName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(QUERYNAME$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(QUERYNAME$4);
            }
            target.set(queryName);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy