Question
You identified use cases and considered domain classes for the State Patrol Ticket Processing System. Review descriptions for the use case Record a traffic ticket. Recall that the domain classes included Driver, Officer, Ticket, and Court.
1. Sketch a domain class diagram for the ticket-processing system based on the four classes just listed and includes attributes, association, and multiplicity.
2. List the classes that would be involved in the use cases and decide which class should be responsible for collaborating with the other classes for the use case
Record a traffic ticket. Consider some possibilities:
1) a driver object have to be responsible for recording his/her ticket;
2) The officer object should be responsible for recording the ticket that he or she writes; and
3) A ticket object has to be responsible for recording itself.
3. Generate a set of CRC cards showing these classes, responsibilities, and collaborations for the use case.
4. Sketch a first-cut design class diagram (DCD) based on your CRC cards