Skip to Main Content
Prefactoring
book

Prefactoring

by Ken Pugh
September 2005
Intermediate to advanced content levelIntermediate to advanced
240 pages
6h 28m
English
O'Reilly Media, Inc.
Content preview from Prefactoring

B.13. com.samscdrental.reports Package

The reports are in this package.

B.13.1. CDDiscInventoryMain.java

public class CDDiscInventoryMain
    {
    public static void main( String[] args )
    }

B.13.2. CDDiscInventoryReportPlainTextFormat.java

public class CDDiscInventoryReportPlainTextFormat
    implements ReportPlainTextFormat
    {
    public CDDiscInventoryReportPlainTextFormat(  )
    public String getReportString(  )
    public CDDiscInventoryReportPlainTextFormat( CDDiscInventoryDTO
         aCDDiscInventoryDTO )
    }

B.13.3. ContractReportPlainTextFormat.java

public class ContractReportPlainTextFormat
    implements ReportPlainTextFormat
    {
    public String getReportString(  )
    public ContractReportPlainTextFormat( RentalContractDTO rentalContractDTO )
    }

B.13.4. OverdueRentalReportPlainTextFormat.java

public class OverdueRentalReportPlainTextFormat
    implements ReportPlainTextFormat
    {
    public String getReportString(  )
    public OverdueRentalReportPlainTextFormat( OverdueRentalDTO
        aOverdueRentalContractDTO )

    }

B.13.5. ReportPlainTextFormat.java

public interface ReportPlainTextFormat
    {
    String getReportString(  );
    }

B.13.6. Reports.java

public class Reports
    {
    public static void printReport( ReportPlainTextFormat
        aReportPlainTextFormat ) throws
        PrinterFailureDeviation
    public static ContractReportPlainTextFormat createContractReport(
        RentalContractDTO aRentalContractDTO )
    }
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Understanding Unittest.Mock

Understanding Unittest.Mock

Mario Corchero
Java™ Performance

Java™ Performance

Charlie Hunt, Binu John

Publisher Resources

ISBN: 0596008740Supplemental ContentCatalog PageErrata