public class PQ extends QTY
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:hl7-org:v3}QTY">
<sequence>
<element name="translation" type="{urn:hl7-org:v3}PQR" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="value" type="{urn:hl7-org:v3}real" />
<attribute name="unit" type="{urn:hl7-org:v3}cs" default="1" />
</extension>
</complexContent>
</complexType>
| Constructor and Description |
|---|
PQ() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PQR> |
getTranslation()
Gets the value of the translation property.
|
java.lang.String |
getUnit()
Gets the value of the unit property.
|
java.lang.String |
getValue()
Gets the value of the value property.
|
void |
setUnit(java.lang.String value)
Sets the value of the unit property.
|
void |
setValue(java.lang.String value)
Sets the value of the value property.
|
getContent, getNullFlavor, setContentpublic java.util.List<PQR> getTranslation()
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
PQR
public java.lang.String getValue()
Stringpublic void setValue(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getUnit()
Stringpublic void setUnit(java.lang.String value)
value - allowed object is
String