Prefactoring: Extreme Abstraction, Extreme Separation, Extreme Readability

 <  Day Day Up  >  

These are the Data Transfer Objects (DTOs) used in creating reports .

B.11.1. CDDiscInventoryDTO.java

public class CDDiscInventoryDTO { public CDDiscInventoryItem[] theCDDiscInventoryItems; }

B.11.2. CDDiscInventoryItem.java

public class CDDiscInventoryItem { public PhysicalID theCDDiscPhysicalID; public boolean isCDDiscRented; public CustomerID theCustomerID; }

B.11.3. OverdueRentalDTO.java

public class OverdueRentalDTO { public Timestamp theRentalStartTime; public Timestamp theRentalDueTime; public Timestamp theRentalEndTime; public Dollar theOverdueFee; public CustomerID theCustomerID; public Name theCustomerName; public Name theCDReleaseTitle; public PhysicalID theCDDiscPhysicalID; }

B.11.4. RentalContractDTO.java

public class RentalContractDTO { public Timestamp theRentalStartTime; public Timestamp theRentalDueTime; public Name theCustomerName; public Name theCDReleaseTitle; public PhysicalID theCDDiscPhysicalID; public Dollar theRentalFee; }

 <  Day Day Up  >  

Категории