B.11. com.samscdrental.model.dto Package

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;

    }

Get Prefactoring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.