Package org.hl7.v3
Class PQ
java.lang.Object
org.hl7.v3.ANY
org.hl7.v3.QTY
org.hl7.v3.PQ
A dimensioned quantity expressing the result of a
measurement act.
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>
-
Field Summary
FieldsFields inherited from class org.hl7.v3.ANY
nullFlavor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the translation property.getUnit()Gets the value of the unit property.getValue()Gets the value of the value property.inthashCode()voidSets the value of the unit property.voidSets the value of the value property.toString()Generates a String representation of the contents of this type.withNullFlavor(String... values) withNullFlavor(Collection<String> values) withTranslation(Collection<PQR> values) withTranslation(PQR... values) Methods inherited from class org.hl7.v3.ANY
getNullFlavor
-
Field Details
-
translation
-
value
-
unit
-
-
Constructor Details
-
PQ
public PQ()
-
-
Method Details
-
getTranslation
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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getUnit
Gets the value of the unit property.- Returns:
- possible object is
String
-
setUnit
Sets the value of the unit property.- Parameters:
value- allowed object isString
-
withTranslation
-
withTranslation
-
withValue
-
withUnit
-
withNullFlavor
- Overrides:
withNullFlavorin classQTY
-
withNullFlavor
- Overrides:
withNullFlavorin classQTY
-
equals
-
hashCode
public int hashCode() -
toString
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-