~/ learn/ comp-410/ cards/ CRC modelling
1 of 7

Type the ToolCopy CRC card. Keep the two columns aligned — the layout is the notation.

Type the ToolCopy CRC card. Keep the two columns aligned — the layout is the notation.

Answer

Class: ToolCopy (entity) --------------------------------------------- Responsibility Collaborator --------------------------------------------- Know its asset tag - Know its condition grade - Know where it is now Locker Go out on loan Reservation Be inspected on return DamageReport

Typing the card is the point: two columns, responsibilities left, collaborating classes right, a dash where the class needs nobody. The taxonomy label in the header (entity / boundary / controller) is optional but it forces you to say what kind of class this is before you list what it owes.

Pressman 9e ch8 §8.3.4

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/ecd71a56-f01d-419f-81df-5aea9ec8fbb5/flashcard utf-8 LF