11
Case Study : A bit of Banner...

Case Study : A bit of Banner

Embed Size (px)

DESCRIPTION

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. - PowerPoint PPT Presentation

Citation preview

Page 1: Case Study : A bit of Banner

Case Study : A bit of Banner...

Page 2: Case Study : A bit of Banner

1. Look at use case diagrams2. Examine the detail in use case templates3. Identify preliminary entity classes and

relationships4. Draw communication or robustness diagrams

to show what classes collaborate to realise each use case.

Page 3: Case Study : A bit of Banner

Student Registration Subsystem

AdministratorProduce class lists

Register student

View moduledetails

Assign student to

module

<<include>>

<<include>>

<<extend>>Lecturer

Page 4: Case Study : A bit of Banner

Programme Management Subsystem

Head of Department

Create program delivery

Create Program Add

module to Program

Assign lecturer to

subject<<include>>

<<extend>>

Lecturer Create

Module

Module Manager?

Page 5: Case Study : A bit of Banner

Register Student Use Case outlinePrecondition : Student has had an offer of a place and an offer number

1. Student provides offer number2. Offer information is displayed on the screen. 3. Modules that are mandatory for their programme are

displayed and also electives4. A student record is recorded in the registration table5. Student is automatically registered on mandatory

modules6. Student is given the choice of specifying electives and

registering on them7. Students are given a college id 8. Student card is printed

Page 6: Case Study : A bit of Banner

Print Class List Use Case OutlinePrecondition : lecturer is logged onto banner

1. Staff member specifies programme and year2. Staff member specifies details and format

required3. Class list [CRN and a list of student numbers

and names] are displayed on screen in chosen format

Page 7: Case Study : A bit of Banner

Identify some entity classes<entity>

Student/module enrolment

Student id

CRN

<entity>

Student

Id#

Name

Address

Mobile

Phone

Email

Registeronprogram ()

Registeronmodule()

1

0..*

Is enrolled on ..

<entity>

Module delivery

CRN

Module id

Lecturer id

Academic year/semester

1

0..*

<entity>

Lecturer

Id#

Name

Address

Mobile

Phone

Email

Assigntomodule()

1

<entity>

Module

Module id

.....

<entity>

Programme

Programmeid

<entity>

progrmodule

Progid

Moduleid

Status(mandatory/elective)

Year

0..* 0..*

0..*

0..*

1

11

0..*

Page 8: Case Study : A bit of Banner

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.

Page 9: Case Study : A bit of Banner

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

Page 10: Case Study : A bit of Banner

• 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.

Page 11: Case Study : A bit of Banner

Use class collaboration cards to ensure that you have all the functionality

required for each use case