Package org.hl7.v3

Class QTY

Direct Known Subclasses:
INT, MO, PQ, REAL, RTOMOPQ, RTOPQPQ, RTOQTYQTY, TS

public abstract class QTY extends ANY
is an abstract generalization for all data types (1) whose value set has an order relation (less-or-equal) and (2) where difference is defined in all of the data type's totally ordered value subsets. The quantity type abstraction is needed in defining certain other types, such as the interval and the probability distribution.

Java class for QTY complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="QTY">
   <complexContent>
     <extension base="{urn:hl7-org:v3}ANY">
     </extension>
   </complexContent>
 </complexType>
 
  • Constructor Details

    • QTY

      public QTY()
  • Method Details

    • withNullFlavor

      public QTY withNullFlavor(String... values)
      Overrides:
      withNullFlavor in class ANY
    • withNullFlavor

      public QTY withNullFlavor(Collection<String> values)
      Overrides:
      withNullFlavor in class ANY
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class ANY
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ANY
    • toString

      public String toString()
      Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
      Overrides:
      toString in class ANY