FileDocCategorySizeDatePackage
CDRelease.javaAPI DocExample1378Thu Oct 13 14:58:02 BST 2005com.samscdrental.model

CDRelease

public class CDRelease extends Object implements Serializable

Title: Sams CD Rental Store

Description:

Copyright: Copyright (c) 2004

Company:

author
Ken Pugh
version
1.0

Fields Summary
private static final long
serialVersionUID
private CDCategory
theCDCategory
private Name
theTitle
private UPCCode
theUPCCode
private static final CDCategoryValues
theCDCategoryValues
Constructors Summary
public CDRelease(CDCategory aCDCategory, Name aTitle, UPCCode aUPCCode)

		theCDCategory = aCDCategory;
		theTitle = aTitle;
		theUPCCode = aUPCCode;
	
Methods Summary
intgetBaseRentalPeriodDays()

		return theCDCategoryValues.getBaseRentalPeriodDays( theCDCategory );
	
public CDCategorygetCdCategory()

 

	/*
	public void setCdCategory( CDCategory aCDCategory )
	{
		theCDCategory = aCDCategory;
	}

	public void setTitle( Name title )
	{
		theTitle = title;
	}

	public void setUPCCode( UPCCode aUPCCode )
	{
		theUPCCode = aUPCCode;
	}
*/
	  
	
		return theCDCategory;
	
DollargetRentalFee()

		return theCDCategoryValues.getRentalFee( theCDCategory );
	
public NamegetTitle()

		return theTitle;
	
public UPCCodegetUPCCode()

		return theUPCCode;