FileDocCategorySizeDatePackage
OverdueRentalReportPlainTextFormat.javaAPI DocExample1157Thu May 05 05:37:54 BST 2005com.samscdrental.reports

OverdueRentalReportPlainTextFormat

public class OverdueRentalReportPlainTextFormat extends Object implements ReportPlainTextFormat

Title: Sams CD Rental Store

Description:

Copyright: Copyright (c) 2004

Company:

author
Ken Pugh
version
1.0

Fields Summary
private String
theReportString
Constructors Summary
public OverdueRentalReportPlainTextFormat(OverdueRentalDTO aOverdueRentalContractDTO)

		String nl = System.getProperty( "line.separator" );
		theReportString =
			"LATE RETURN REPORT" + nl +
			"Name:     " + aOverdueRentalContractDTO.theCustomerName + nl +
			"Date:     " + aOverdueRentalContractDTO.theRentalStartTime + nl +
			"Due:      " + aOverdueRentalContractDTO.theRentalDueTime + nl +
			"Returned: " + aOverdueRentalContractDTO.theRentalEndTime + nl +
			"Title:    " + aOverdueRentalContractDTO.theCDReleaseTitle + nl +
			"ID:       " + aOverdueRentalContractDTO.theCDDiscPhysicalID + nl +
			"Fee:      " + aOverdueRentalContractDTO.theOverdueFee + nl;

	
Methods Summary
public java.lang.StringgetReportString()

		return theReportString;