All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HXITPQ, IVXBPQ, PPDPQ, SXCMPQ

public class PQ extends QTY implements Serializable
Description of the class PQ.
See Also:
  • Field Details

    • translation

      public List<PQR> translation
      An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value. .
    • unit

      public String unit
      The unit of measure specified in the Unified Code for Units of Measure (UCUM) [http://aurora.rg.iupui.edu/UCUM]. .
    • value

      public Double value
      The magnitude of the quantity measured in terms of the unit. .
  • Constructor Details

    • PQ

      public PQ()
  • Method Details

    • getTranslation

      public List<PQR> getTranslation()
      Return translation.
      Returns:
      translation : An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value.
    • setTranslation

      public void setTranslation(List<PQR> translation)
      Set a value to attribute translation.
      Parameters:
      translation - : An alternative representation of the same physical quantity expressed in a different unit, of a different unit code system and possibly with a different value.
    • addTranslation

      public void addTranslation(PQR translation_elt)
      Add a translation to the translation collection.
      Parameters:
      translation_elt - Element to add.
    • removeTranslation

      public void removeTranslation(PQR translation_elt)
      Remove a translation to the translation collection.
      Parameters:
      translation_elt - Element to remove
    • getUnit

      public String getUnit()
      Return unit.
      Returns:
      unit : The unit of measure specified in the Unified Code for Units of Measure (UCUM) [http://aurora.rg.iupui.edu/UCUM].
    • setUnit

      public void setUnit(String unit)
      Set a value to attribute unit.
      Parameters:
      unit - : The unit of measure specified in the Unified Code for Units of Measure (UCUM) [http://aurora.rg.iupui.edu/UCUM].
    • getValue

      public Double getValue()
      Return value.
      Returns:
      value : The magnitude of the quantity measured in terms of the unit.
    • setValue

      public void setValue(Double value)
      Set a value to attribute value.
      Parameters:
      value - : The magnitude of the quantity measured in terms of the unit.
    • get_xmlNodePresentation

      public Node get_xmlNodePresentation()
      Overrides:
      get_xmlNodePresentation in class QTY
    • set_xmlNodePresentation

      public void set_xmlNodePresentation(Node _xmlNodePresentation)
      Overrides:
      set_xmlNodePresentation in class QTY
    • validateByModule

      public static void validateByModule(PQ pQ, String _location, ConstraintValidatorModule cvm, List<Notification> diagnostic)
      validate by a module of validation