riv.ehr.patientsummary._1.REAL Maven / Gradle / Ivy
package riv.ehr.patientsummary._1;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for REAL complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="REAL">
* <complexContent>
* <extension base="{urn:riv:ehr:patientsummary:1}QTY">
* <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}double" />
* <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "REAL")
public class REAL
extends QTY
{
@XmlAttribute(name = "value")
protected Double value;
@XmlAttribute(name = "precision")
protected Integer precision;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setValue(Double value) {
this.value = value;
}
/**
* Gets the value of the precision property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getPrecision() {
if (precision == null) {
return 0;
} else {
return precision;
}
}
/**
* Sets the value of the precision property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPrecision(Integer value) {
this.precision = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy