Package org.hl7.v3

Class RTOMOPQ


public class RTOMOPQ extends QTY

Java class for RTO_MO_PQ complex type.

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

 <complexType name="RTO_MO_PQ">
   <complexContent>
     <extension base="{urn:hl7-org:v3}QTY">
       <sequence>
         <element name="numerator" type="{urn:hl7-org:v3}MO"/>
         <element name="denominator" type="{urn:hl7-org:v3}PQ"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • numerator

      protected MO numerator
    • denominator

      protected PQ denominator
  • Constructor Details

    • RTOMOPQ

      public RTOMOPQ()
  • Method Details

    • getNumerator

      public MO getNumerator()
      Gets the value of the numerator property.
      Returns:
      possible object is MO
    • setNumerator

      public void setNumerator(MO value)
      Sets the value of the numerator property.
      Parameters:
      value - allowed object is MO
    • getDenominator

      public PQ getDenominator()
      Gets the value of the denominator property.
      Returns:
      possible object is PQ
    • setDenominator

      public void setDenominator(PQ value)
      Sets the value of the denominator property.
      Parameters:
      value - allowed object is PQ
    • withNumerator

      public RTOMOPQ withNumerator(MO value)
    • withDenominator

      public RTOMOPQ withDenominator(PQ value)
    • withNullFlavor

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class QTY
    • 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 QTY