Template CRC Cards Class Responsibility Collaboration - G

October 12, 2022 | Author: Anonymous | Category: N/A
Share Embed Donate


Short Description

Download Template CRC Cards Class Responsibility Collaboration - G...

Description

 

  CRC Class Responsibility Collaboration Why CRC cards? To document the essential properties of a class. One CRC for each class  Pretending that classes have human characteristics Anthropomorphism: Pretending Anthropomorphism: Analysts/development team role–play an instance of the class being analyzed: Ask questions:   Who are you?   What do you know? (attributes)   What can you do? (methods) 





CRC card (front side) Class Name:  Name:  Brief Description:

UC#

ID:  ID: 

Responsibilities

CRC card (back side) Attributes

Class Type (Abstract, Type (Abstract, Concrete, Domain): Associated Use Cases:

Collaborators (classes) Collaborators  (classes)  

Relationships  with other classes  Relationships  (is a):  a):  Generalization (is Generalization

 (has parts):  parts):  Aggregation/Composition (has Aggregation/Composition

Association:   Association:

 

  Example: CRC Class Responsibility Collaboration Why CRC cards? To document the essential properties of a class.

CRC card (front side) Class Name: Patient Name: Patient

ID:  ID: 

Brief Description: A person that receives/received medical care UC# 3 3 5 2 4

Class Type (Abstract, Type (Abstract, Concrete, Domain): Concrete, Domain Associated Use Cases:

Responsibilities Make appointment Get last visit

Collaborators  (classes)   Collaborators (classes) Appointment

Change Provide status medical history

Medical history Medical fees

CRC card (back side) Attributes   Attributes

Relationships  with other classes  Relationships   (is a):  a):  Generalization (is Generalization Person Aggregation/Composition  (has parts):  Aggregation/Composition (has parts):  Medical history: Composition Association:   Association:  Appointment

 

  Class Association Matrix ( TBD next)

Class 1 1 2 3 4     s     s     a       l       C

5 6 7 8 9

2

3

4

5

6

7

8

9

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF