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

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

The newest version!
/*
 * XML Type:  dvIdentifier
 * Namespace: openEHR/v1/Template
 * Java type: openEHR.v1.template.DvIdentifier
 *
 * Automatically generated - do not modify.
 */
package openEHR.v1.template.impl;
/**
 * An XML dvIdentifier(@openEHR/v1/Template).
 *
 * This is a complex type.
 */
public class DvIdentifierImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements openEHR.v1.template.DvIdentifier
{
    private static final long serialVersionUID = 1L;
    
    public DvIdentifierImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName IDENTIFERISSUER$0 = 
        new javax.xml.namespace.QName("openEHR/v1/Template", "identiferIssuer");
    private static final javax.xml.namespace.QName IDENTIFIERTYPE$2 = 
        new javax.xml.namespace.QName("openEHR/v1/Template", "identifierType");
    private static final javax.xml.namespace.QName IDENTIFERASSIGNER$4 = 
        new javax.xml.namespace.QName("openEHR/v1/Template", "identiferAssigner");
    
    
    /**
     * Gets the "identiferIssuer" element
     */
    public java.lang.String getIdentiferIssuer()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFERISSUER$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "identiferIssuer" element
     */
    public org.apache.xmlbeans.XmlString xgetIdentiferIssuer()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(IDENTIFERISSUER$0, 0);
            return target;
        }
    }
    
    /**
     * True if has "identiferIssuer" element
     */
    public boolean isSetIdentiferIssuer()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(IDENTIFERISSUER$0) != 0;
        }
    }
    
    /**
     * Sets the "identiferIssuer" element
     */
    public void setIdentiferIssuer(java.lang.String identiferIssuer)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFERISSUER$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(IDENTIFERISSUER$0);
            }
            target.setStringValue(identiferIssuer);
        }
    }
    
    /**
     * Sets (as xml) the "identiferIssuer" element
     */
    public void xsetIdentiferIssuer(org.apache.xmlbeans.XmlString identiferIssuer)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(IDENTIFERISSUER$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(IDENTIFERISSUER$0);
            }
            target.set(identiferIssuer);
        }
    }
    
    /**
     * Unsets the "identiferIssuer" element
     */
    public void unsetIdentiferIssuer()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(IDENTIFERISSUER$0, 0);
        }
    }
    
    /**
     * Gets the "identifierType" element
     */
    public java.lang.String getIdentifierType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFIERTYPE$2, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "identifierType" element
     */
    public org.apache.xmlbeans.XmlString xgetIdentifierType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(IDENTIFIERTYPE$2, 0);
            return target;
        }
    }
    
    /**
     * True if has "identifierType" element
     */
    public boolean isSetIdentifierType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(IDENTIFIERTYPE$2) != 0;
        }
    }
    
    /**
     * Sets the "identifierType" element
     */
    public void setIdentifierType(java.lang.String identifierType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFIERTYPE$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(IDENTIFIERTYPE$2);
            }
            target.setStringValue(identifierType);
        }
    }
    
    /**
     * Sets (as xml) the "identifierType" element
     */
    public void xsetIdentifierType(org.apache.xmlbeans.XmlString identifierType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(IDENTIFIERTYPE$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(IDENTIFIERTYPE$2);
            }
            target.set(identifierType);
        }
    }
    
    /**
     * Unsets the "identifierType" element
     */
    public void unsetIdentifierType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(IDENTIFIERTYPE$2, 0);
        }
    }
    
    /**
     * Gets the "identiferAssigner" element
     */
    public java.lang.String getIdentiferAssigner()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFERASSIGNER$4, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "identiferAssigner" element
     */
    public org.apache.xmlbeans.XmlString xgetIdentiferAssigner()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(IDENTIFERASSIGNER$4, 0);
            return target;
        }
    }
    
    /**
     * True if has "identiferAssigner" element
     */
    public boolean isSetIdentiferAssigner()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(IDENTIFERASSIGNER$4) != 0;
        }
    }
    
    /**
     * Sets the "identiferAssigner" element
     */
    public void setIdentiferAssigner(java.lang.String identiferAssigner)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFERASSIGNER$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(IDENTIFERASSIGNER$4);
            }
            target.setStringValue(identiferAssigner);
        }
    }
    
    /**
     * Sets (as xml) the "identiferAssigner" element
     */
    public void xsetIdentiferAssigner(org.apache.xmlbeans.XmlString identiferAssigner)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(IDENTIFERASSIGNER$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(IDENTIFERASSIGNER$4);
            }
            target.set(identiferAssigner);
        }
    }
    
    /**
     * Unsets the "identiferAssigner" element
     */
    public void unsetIdentiferAssigner()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(IDENTIFERASSIGNER$4, 0);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy