110 likes | 244 Views
Case Study : A bit of Banner. 1. Look at use case diagrams 2. Examine the detail in use case templates 3. Identify preliminary entity classes and relationships 4. Draw communication or robustness diagrams to show what classes collaborate to realise each use case.
E N D
1. Look at use case diagrams 2. Examine the detail in use case templates 3. Identify preliminary entity classes and relationships 4. Draw communication or robustness diagrams to show what classes collaborate to realise each use case.
Student Registration Subsystem View module details <<include>> Register student <<include>> Assign student to module Administrator Produce class lists Lecturer <<extend>>
Programme Management Subsystem Create program delivery Assign lecturer to subject <<include>> Head of Department Module Manager? Create Program Add module to Program <<extend>> Create Module Lecturer
Register Student Use Case outlinePrecondition : Student has had an offer of a place and an offer number • Student provides offer number • Offer information is displayed on the screen. • Modules that are mandatory for their programme are displayed and also electives • A student record is recorded in the registration table • Student is automatically registered on mandatory modules • Student is given the choice of specifying electives and registering on them • Students are given a college id • Student card is printed
Print Class List Use Case OutlinePrecondition : lecturer is logged onto banner • Staff member specifies programme and year • Staff member specifies details and format required • Class list [CRN and a list of student numbers and names] are displayed on screen in chosen format
Identify some entity classes 0..* 0..* 1 0..* 1 Is enrolled on .. 0..* 0..* 1 1 0..* 0..* 1 1
Identify operations • Note that an operation changes the state of an object. • Remember the ones we don’t need to write • Constructors • Destructors • Get (query) operations • Set (modify) operations Note that our diagram will be refined as we go on.
Look at each use case.. See what classes collaborate to realise that use case (boundary and control needed). • Display Progamme Information • Register student on programme • Assign student to modules • Produce class lists • Create delivery of module
Exercise 1 • Draw collaboration or robustness diagrams for each use case, creating any classes you think might need created. • Exercise 2 • Use class collaboration cards and role-play each use case. One person per class. Use this walkthrough to ensure that you have all the functionality required to enable each use case, specified as the responsibility of some class.
Use class collaboration cards to ensure that you have all the functionality required for each use case