Presentation is loading. Please wait.

Presentation is loading. Please wait.

OBJECT ORIENTED METHODOLOGIES Week04. Agenda… © Jerry Kotuba SYST39409-Object Oriented Methodologies 2  This week  Quiz 1  Take up ICE-01  Check “Grade.

Similar presentations


Presentation on theme: "OBJECT ORIENTED METHODOLOGIES Week04. Agenda… © Jerry Kotuba SYST39409-Object Oriented Methodologies 2  This week  Quiz 1  Take up ICE-01  Check “Grade."— Presentation transcript:

1 OBJECT ORIENTED METHODOLOGIES Week04

2 Agenda… © Jerry Kotuba SYST39409-Object Oriented Methodologies 2  This week  Quiz 1  Take up ICE-01  Check “Grade Book”  Use Case Narratives  Use Case “Adornments”  Activity Diagrams a.k.a. Workflow Diagrams

3 Learning Outcomes © Jerry Kotuba SYST39409-Object Oriented Methodologies 3  Know what “use case scenarios” are  Learn how to identify and show relationships between Use Cases. [Includes & Extends]  Learn how to build a use case narrative for each use case and why the narratives are important.  Understand what use case Pre-conditions/Post- conditions are and why they are important.  Learn how to describe a use case with an activity or workflow diagram.

4 Use Cases J.N.Kotuba SYST39409 - Object Oriented Methodologies 4  Analysts define use cases at three levels  Brief  Intermediate  Fully developed

5 Use Case Narrative: Fill Prescription J.N.Kotuba SYST39409 - Object Oriented Methodologies 5 Step 1.Pharmacist inputs Patient ID Step 2.System displays patient medical record Step 3.Pharmacist verifies dosage, potential allergic reactions and/or interaction with other medications. Step 4.The Pharmacist fills the prescription and updates the patient’s medical record on the system with details of the new prescription. Step 5. The system prints a label which is sent to the nurses station and the Billing Dept is given Patient and Prescription details. Alt Step 3. If the pharmacist determines a possible negative condition exists, then the Doctor is contacted Alt Step 4. The prescription is held for disposition.

6 J.N.Kotuba SYST39409 - Object Oriented Methodologies 6 Brief Description of Create New Order Use Case

7 J.N.Kotuba SYST39409 - Object Oriented Methodologies 7 Intermediate Description of Telephone Order Scenario for Create New Order Use Case

8 J.N.Kotuba SYST39409 - Object Oriented Methodologies 8 Fully Developed Description of Telephone Order Scenario for Create New Order Use Case

9 Use Case Narrative:  Do’s  Use complete sentences  How is the use case initiated and how does it end  What the initial and final actions and state of the system look like  Don’ts  Use abbreviations or sentence fragments J.N.Kotuba 9 SYST39409 - Object Oriented Methodologies

10 J.N.Kotuba SYST39409 - Object Oriented Methodologies 10

11 Components of the Use Case Diagram J.N.Kotuba SYST39409 - Object Oriented Methodologies 11  Use Case  Actor  System Boundary

12 Use Case Diagrams © Jerry Kotuba SYST39409-Object Oriented Methodologies 12  How use case diagrams show relationships  Between actors and use cases  Between use cases

13 ATM Example  Use Case: Withdraw Money  Flow of events  The user inserts an ATM card  The system prompts the user to enter a password  The user enters the password.  The system validates the password  Use Case: Deposit Money  Flow of events  The user inserts an ATM card  The system prompts the user to enter a password  The user enters the password.  The system validates the password 13 Common Behaviours

14 ATM Example  Use Case: Withdraw Money  Flow of Events  Include [login]  Use Case: Deposit Money  Flow of Events  Include [login] 14 Use Case: Login Flow of events The user inserts an ATM card The system prompts the user to enter a password The user enters the password. The system validates the password

15 © Jerry Kotuba SYST39409-Object Oriented Methodologies 15 Withdraw Money Deposit Money Login >

16 Use Case Relationships © Jerry Kotuba SYST39409-Object Oriented Methodologies 16  Includes  Case In Point – “Stop Payment”  Extends  Case In Point – “Register Student”

17 © Jerry Kotuba SYST39409-Object Oriented Methodologies 17 Example

18 Comments on Include & Extend © Jerry Kotuba SYST39409-Object Oriented Methodologies 18  Tend to see more includes.  Extends are fewer.

19 More About Actors © Jerry Kotuba SYST39409-Object Oriented Methodologies 19  People  External Systems  Time

20 Exercise…your turn © Jerry Kotuba SYST39409-Object Oriented Methodologies 20  Interpret and explain the use case diagram  Explain the various roles of those using the inventory system and the functions that each role requires.  Explain the relationships and the ways the use cases are related to each other.

21 © Jerry Kotuba 21 SYST39409-Object Oriented Methodologies

22 Use Case Narratives- Preconditions & Post Conditions © Jerry Kotuba SYST39409-Object Oriented Methodologies 22  Hospital Pharmacy Case Study

23 Use case scenarios… © Jerry Kotuba SYST39409-Object Oriented Methodologies 23  Case In Point

24 Use Cases © Jerry Kotuba SYST39409-Object Oriented Methodologies 24  Use cases tell;  the customer what to expect  the developer what to code  the technical writer what to document  and the tester what to test.

25

26 Activity Diagram J.N.Kotuba SYST39409 - Object Oriented Methodologies 26  A type of workflow diagram that describes the user activities and their sequential flow.  Illustration:  The following slide summarizes the workflow of how a customer request for a quotation to modify a computer system is handled.

27 Jerry Kotuba Object Oriented Methodologies 27

28 Notation

29 Your Turn… Activity Diagrams –ICE-02 © Jerry Kotuba SYST39409-Object Oriented Methodologies 29

30 Next Class © Jerry Kotuba SYST39409-Object Oriented Methodologies 30  Introduce Objects & Class Diagrams


Download ppt "OBJECT ORIENTED METHODOLOGIES Week04. Agenda… © Jerry Kotuba SYST39409-Object Oriented Methodologies 2  This week  Quiz 1  Take up ICE-01  Check “Grade."

Similar presentations


Ads by Google