com.partnersoft.v3x.apps.Staker.accounting.SEDC
Class SEDCTextReportEngine

java.lang.Object
  extended by HierarchicalReportEngine
      extended by com.partnersoft.v3x.apps.Staker.accounting.SEDC.SEDCTextReportEngine

public class SEDCTextReportEngine
extends HierarchicalReportEngine

A special kludge to remove decimals from annoying SEDC reports.


Constructor Summary
SEDCTextReportEngine()
           
 
Method Summary
 java.lang.String generateReportFor(java.lang.Object source)
          Generates and returns a report based on the provided source object (presumably an SEDCJob, but you do what you think best).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SEDCTextReportEngine

public SEDCTextReportEngine()
Method Detail

generateReportFor

public java.lang.String generateReportFor(java.lang.Object source)
Generates and returns a report based on the provided source object (presumably an SEDCJob, but you do what you think best). First, it uses reflection to identify the available properties of the object. It then gets the values for those properties, puts them in a Map, turns all the doubles into ints by multiplying them by 100 and chopping the rest, then calls generateReportFor(Map).