org.workjournal
Class Report

java.lang.Object
  |
  +--org.workjournal.Report
Direct Known Subclasses:
JournalReport, TimeReport

public abstract class Report
extends java.lang.Object

Report is the base class for reports.


Constructor Summary
protected Report(java.lang.String title)
          Create a new report.
 
Method Summary
 java.lang.String getTitle()
          Get title.
abstract  void run(Journal journal, java.util.Hashtable criteria, java.io.PrintWriter writer)
          Run report.
protected  void setTitle(java.lang.String title)
          Set title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Report

protected Report(java.lang.String title)
Create a new report.
Method Detail

getTitle

public java.lang.String getTitle()
Get title.

setTitle

protected void setTitle(java.lang.String title)
Set title.

run

public abstract void run(Journal journal,
                         java.util.Hashtable criteria,
                         java.io.PrintWriter writer)
                  throws java.io.IOException
Run report.