riv.ehr.patientsummary._1.PQ Maven / Gradle / Ivy
package riv.ehr.patientsummary._1;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PQ complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PQ">
* <complexContent>
* <extension base="{urn:riv:ehr:patientsummary:1}PQV">
* <sequence>
* <element name="translation" type="{urn:riv:ehr:patientsummary:1}PQR" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="unit" type="{urn:riv:ehr:patientsummary:1}Code" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PQ", propOrder = {
"translation"
})
@XmlSeeAlso({
PQTIME.class
})
public class PQ
extends PQV
{
protected List translation;
@XmlAttribute(name = "unit")
protected String unit;
/**
* Gets the value of the translation property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the translation property.
*
*
* For example, to add a new item, do as follows:
*
* getTranslation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PQR }
*
*
*/
public List getTranslation() {
if (translation == null) {
translation = new ArrayList();
}
return this.translation;
}
/**
* Gets the value of the unit property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnit() {
return unit;
}
/**
* Sets the value of the unit property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUnit(String value) {
this.unit = value;
}
}