Академический Документы
Профессиональный Документы
Культура Документы
27/11/2011
BuildingUseCaseDiagram
ElementsofUseCaseDiagram StepstoBuildUseCaseDiagram ExampleofBuildingUseCaseDiagram (POSSystem)
BuildingUseCaseNarrative IdentifyUseCaseScenario
Chapter3 1
Preparedby:IECHSetha
RoyalUniversityofLawandEconomics
27/11/2011
Example
Chapter3
Example
Chapter3
Preparedby:IECHSetha
RoyalUniversityofLawandEconomics
27/11/2011
Example
Chapter3
Example
Chapter3
Preparedby:IECHSetha
RoyalUniversityofLawandEconomics
27/11/2011
Example
Chapter3
Preparedby:IECHSetha
RoyalUniversityofLawandEconomics
27/11/2011
Chapter3
Chapter3
10
Preparedby:IECHSetha
RoyalUniversityofLawandEconomics
27/11/2011
Chapter3
11
Evaluate the actors and use cases to find opportunities for refinement
Merge Actor Rename Actor or Use Case Split Actor
Evaluate the Use Cases for dependencies Evaluate the actors and Use Cases for generalization
Chapter3 12
Preparedby:IECHSetha
RoyalUniversityofLawandEconomics
27/11/2011
Chapter3
13
Identify use case and define association between actors (users) and use case
Key functions for cashier or seller
Create Receipt Print Receipt
Chapter3 14
Preparedby:IECHSetha
RoyalUniversityofLawandEconomics
27/11/2011
Chapter3
15
Chapter3
16
Preparedby:IECHSetha
RoyalUniversityofLawandEconomics
27/11/2011
Chapter3
17
Preparedby:IECHSetha
RoyalUniversityofLawandEconomics
27/11/2011
Restore database Setup user System admin Define user privileges extends
Chapter3
19
Context: Inventory Control System will integrate with Point of Sale System which is described in Example 1 above. The purpose of this system is to calculate stock balance. It is importance when sale transactions created, because if there is not enough stock then POS system cannot process sale transactions. The way to calculate stock balance we need some relevant transactions such as enter product import, make purchase return and create stock adjustment.
Chapter3 20
Preparedby:IECHSetha
10
RoyalUniversityofLawandEconomics
27/11/2011
Example of Building Use Case Diagram Inventory Control System Identify Actor: Who will use this system?
Stock Controller System Admin POS System
Chapter3
21
System admin
(See use case in POS System above) Produce inventory reports
POS System
Create receipt (decrease stock)
Chapter3
22
Preparedby:IECHSetha
11
RoyalUniversityofLawandEconomics
27/11/2011
Chapter3
23
Evaluate the Use Cases for dependencies: just want to find the related use cases
Chapter3
24
Preparedby:IECHSetha
12
RoyalUniversityofLawandEconomics
27/11/2011
Post-condition
Chapter3
26
Preparedby:IECHSetha
13
RoyalUniversityofLawandEconomics
27/11/2011
There are 4 scenarios in this activity diagram which represented to Create Receipt Dialog Use Case. Scenario 1: (1) -> (2) -> (3) -> (5) -> (7) Scenario 2: (1) -> (2) -> (3) -> (4) -> (3) -> (5) -> (7) Scenario 3: (1) -> (2) -> (3) -> (5) -> (6) -> (5) -> (7) Scenario 4: (1) -> (2) -> (3) -> (4) -> (3) -> (5) -> (6) -> (5) -> (7)
Chapter3
28
Preparedby:IECHSetha
14