net.firstpartners.nounit.report
Class ReportPicker

java.lang.Object
  |
  +--net.firstpartners.nounit.report.ReportPicker

public class ReportPicker
extends java.lang.Object

Creates the Report Class , as requested by the user , to generate the report


Constructor Summary
ReportPicker()
           
 
Method Summary
static IReport getReportMaker(CommandPackage inCommandPackage)
          Return the Appropriate Report to handle this user request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportPicker

public ReportPicker()
Method Detail

getReportMaker

public static IReport getReportMaker(CommandPackage inCommandPackage)
                              throws NoUnitException
Return the Appropriate Report to handle this user request
Parameters:
inCommandPackage - containing the request details
Returns:
IReport Object , Class to generate class
Throws:
NoUnitException - thrown if any page names are invalid
java.lang.IllegalAccessException - Thrown when there's a problem retrieving the concrete reports's class
java.lang.InstantiationException - Thrown when there's a problem creating an instance of the report bean from it's class.