ca.infoway.messagebuilder.marshalling.hl7.formatter
Class RtoPqPqPropertyFormatter

Package class diagram package RtoPqPqPropertyFormatter
java.lang.Object
  extended by ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractPropertyFormatter
      extended by ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractNullFlavorPropertyFormatter<BareRatio>
          extended by ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractRtoPropertyFormatter<PhysicalQuantity,PhysicalQuantity>
              extended by ca.infoway.messagebuilder.marshalling.hl7.formatter.RtoPqPqPropertyFormatter
All Implemented Interfaces:
PropertyFormatter

public class RtoPqPqPropertyFormatter
extends AbstractRtoPropertyFormatter<PhysicalQuantity,PhysicalQuantity>

RTO<PQ, PQ> - Ratio (physical quantity, physical quantity) Represents a Ratio of physical quantities as an element: <unitQuanity> <numerator value="1.0" xsi:type="PQ"/> <denominator value="64.0" xsi:type="/> </unitQuanity>


Constructor Summary
RtoPqPqPropertyFormatter()
           
 
Method Summary
protected  String formatDenominator(FormatContext context, PhysicalQuantity denominator, int indentLevel)
           
protected  String formatNumerator(FormatContext context, PhysicalQuantity numerator, int indentLevel)
           
 
Methods inherited from class ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractNullFlavorPropertyFormatter
createMissingMandatoryWarning, createNullFlavorAttributes, extractBareValue, format, isEmptyCollection, isMandatoryOrPopulated, toStringMap
 
Methods inherited from class ca.infoway.messagebuilder.marshalling.hl7.formatter.AbstractPropertyFormatter
addSpecializationType, createElement, createElement, createElementClosure, createSpecializationTypeAttibutesIfNecessary, createWarning, format, isNullFlavor, xmlify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtoPqPqPropertyFormatter

public RtoPqPqPropertyFormatter()
Method Detail

formatNumerator

protected String formatNumerator(FormatContext context,
                                 PhysicalQuantity numerator,
                                 int indentLevel)
Specified by:
formatNumerator in class AbstractRtoPropertyFormatter<PhysicalQuantity,PhysicalQuantity>

formatDenominator

protected String formatDenominator(FormatContext context,
                                   PhysicalQuantity denominator,
                                   int indentLevel)
Specified by:
formatDenominator in class AbstractRtoPropertyFormatter<PhysicalQuantity,PhysicalQuantity>


Copyright © 2013. All Rights Reserved.