. , . , , .
. .
.
Ϲ:
.
, .
.
.
takeCard.
1: takeCard
takeCard(studentID:integer)
:
.
- card Card ( ).
- card.timeOfBegin time ( ).
- card CardDescriptor () ( ).
- pickCount CardDescriptor, card, ( ).
- card Student ( ).
(. 4).
4 -
: .
: . , UML: . . . " " ( , ).
- (responsibility-driven design - RDD). GRASP (General Responsibility Assignment Software Patterns - ).
|
|
GRASP :
1. Information Expert ( ).
2. Creator ().
3. Controller ().
4. Low Coupling ( ).
5. High Cohesion ( ).
6. Polymorphism ().
7. Pure Fabrication ( ).
8. Indirection ().
9. Protected Variations ( ).
, - .