Académique Documents
Professionnel Documents
Culture Documents
ACTOR:
What is an actor?
Customer
Manager
Cashier
ACTOR:
ACTOR:
Contd
An actor may
- input information to the system.
- receive information from the system.
- input to and out from the system.
ACTOR:
How do we find the actor?
ACTOR:
4-Categories of an actor:
USE CASE:
USE CASE:
More about USE CASE:
USE CASE:
Contd
USE CASE:
How do we find the use cases?
SYSTEM BOUNDARY:
What is System Boundary?
It is shown as a rectangle.
It helps to identify what is external verses
internal, and what the responsibilities of the
system are.
The external environment is represented only by
actors.
Catalog
Custom
er
Cancel Order
Item
Return Order
Item
Catalog Order System
RELATIONSHIP:
What is Relationship?
<<
>>
RELATIONSHIP:
<<uses>> or <<include>>:
RELATIONSHIP:
<<extends>>:
An extends relationship from use
case A to use case B indicates that
an instance of use case B may
include the behavior specified by A
<<Uses>> Relationship
Cancel Order
<<uses>>
Cancel Order
Item
<<extends>>
Relationship
Add
Customer
<<extends>>
Place Order
B extends A means
that A sometimes
<<uses>>
A B
invokes
B
<<extends>>
<<generalize>>
ralationship
Notation is
User
Customer
Administrator
Specification
- Pre condition:
Use case :
Actors
:
Purpose :
Overview :
Post condition:
If any
Name of the case.
List of actors(external agents), indicating who
initiates the use case.
Intention of the use case.
Description.
If any
24
25
Activity Diagram
Activity Diagram
Notations
Notation
Activity Name
Meaning
Activity
Work Flow /
Transition
Start
Stop
Condition
Fork
Join
Activity Diagrams
Conditional Activities
(Branching)
[ i==0
]
[ i !=0
Nested Activities
X
[ i==0
]
Y1
[ i !=0
[ i>0 ]
Y2
Repeated Activities
Parallel Activity
Y1
X
Z
Y2
Y2
Y2
Y2
Synchronization
bars
Event
Event Sent
Event
Name
Event Received
Activities in Placing
Order
1. Entering the order, which involves taking
Enter Order
[denie
d]
[abort
ed]
[committe
d]
Ship Order
[approve
Authorize Funds d]
Allocate
Inventory
Enter Order
[committe
d]
Ship Order
[denie
[approved
Authorize
Funds
d]
]
[aborte
d]
Allocate
Inventory
Enter Order
[committ
ed]
Ship Order
[denie
[approve
Authorize Funds
d]
d]
Allocate
Inventory
[abort
ed]
<<trace>>
Request
Item
:Product
Warehou
se
Item
Available
*
For each order item
Update Order
Item
[not pending]
Credit
Account
Release
Inventory
Region 2
Region 3
Region 4
Finance
Enter Order
Inventory
Management
[committe
d]
[denie
[approved
Authorize Funds]
d]
[aborte
d]
Shipping
Allocate
Inventory
Ship Order