Prefactoring: Extreme Abstraction, Extreme Separation, Extreme Readability

 <  Day Day Up  >  

To complete the picture, this section describes the remaining classes in the packages that have not been discussed in this chapter. In the com.samscdrental.display.adt package are the two display widgets that are tied to the corresponding ADTs:

CustomerIDTextField.java PhysicalIDTextField.java

The com.samscdrental.display package contains the GUI classes:

CheckinDialog.java CheckoutDialog.java DisplayHelper.java Main.java MainFrame.java

The StringHelper class in com.samscdrental.helper contains string utility functions:

StringHelper.java

In the com.samscdrental.migration package is the main program for the migration of files into the system:

MigrateMain.java

The com.samscdrental.model.dto package contains the Data Transfer Objects (DTOs) for the reports :

CDDiscInventoryDTO.java CDDiscInventoryItem.java OverdueRentalDTO.java RentalContractDTO.java

The classes representing the model of Sam's system are in com.samscdrental.model . These classes, which represent the business model, were discussed in detail in the previous chapters.

CDCategory.java CDCategoryValues.java CDDisc.java CDRelease.java Customer.java Rental.java

Lastly, the com.samscdrental.reports package contains the reports produced by the system:

CDDiscInventoryMain.java CDDiscInventoryReportPlainTextFormat.java ContractReportPlainTextFormat.java OverdueRentalReportPlainTextFormat.java ReportPlainTextFormat.java Reports.java

 <  Day Day Up  >  

Категории