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

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

The newest version!
/*
 * XML Type:  DV_TIME_SPECIFICATION
 * Namespace: http://schemas.openehr.org/v1
 * Java type: org.openehr.schemas.v1.DVTIMESPECIFICATION
 *
 * Automatically generated - do not modify.
 */
package org.openehr.schemas.v1.impl;
/**
 * An XML DV_TIME_SPECIFICATION(@http://schemas.openehr.org/v1).
 *
 * This is a complex type.
 */
public class DVTIMESPECIFICATIONImpl extends org.openehr.schemas.v1.impl.DATAVALUEImpl implements org.openehr.schemas.v1.DVTIMESPECIFICATION
{
    private static final long serialVersionUID = 1L;
    
    public DVTIMESPECIFICATIONImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName VALUE$0 = 
        new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "value");
    
    
    /**
     * Gets the "value" element
     */
    public org.openehr.schemas.v1.DVPARSABLE getValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openehr.schemas.v1.DVPARSABLE target = null;
            target = (org.openehr.schemas.v1.DVPARSABLE)get_store().find_element_user(VALUE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "value" element
     */
    public void setValue(org.openehr.schemas.v1.DVPARSABLE value)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openehr.schemas.v1.DVPARSABLE target = null;
            target = (org.openehr.schemas.v1.DVPARSABLE)get_store().find_element_user(VALUE$0, 0);
            if (target == null)
            {
                target = (org.openehr.schemas.v1.DVPARSABLE)get_store().add_element_user(VALUE$0);
            }
            target.set(value);
        }
    }
    
    /**
     * Appends and returns a new empty "value" element
     */
    public org.openehr.schemas.v1.DVPARSABLE addNewValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openehr.schemas.v1.DVPARSABLE target = null;
            target = (org.openehr.schemas.v1.DVPARSABLE)get_store().add_element_user(VALUE$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy