FileDocCategorySizeDatePackage
ContractReportPlainTextFormat.javaAPI DocExample995Thu May 05 05:37:54 BST 2005com.samscdrental.reports

ContractReportPlainTextFormat

public class ContractReportPlainTextFormat 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 ContractReportPlainTextFormat(RentalContractDTO rentalContractDTO)

		String nl = System.getProperty( "line.separator" );
		theReportString =
			"Sam's CD Rental Store Contract" + nl +
			"Name: " + rentalContractDTO.theCustomerName + nl +
			"Date: " + rentalContractDTO.theRentalStartTime + nl +
			"DUE:  " + rentalContractDTO.theRentalDueTime + nl +
			"Title:" + rentalContractDTO.theCDReleaseTitle + nl +
			"ID:   " + rentalContractDTO.theCDDiscPhysicalID + nl +
			"Fee:  " + rentalContractDTO.theRentalFee + nl;

	
Methods Summary
public java.lang.StringgetReportString()

		return theReportString;