Vous êtes sur la page 1sur 19

!

' (

&

"
# $
& )**+,

! " #$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ %
'
()
*
# $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ +
%#
%
----------------------------------------------------------------------- .
/ 0
1 ------------------------------------------------------------------------ +
2
1 &*3 &
-------------------------------------------------------- 4
&
'
,)
# $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ %
&
!
--------------------------------------------------------- 5
2
"
---------------------------------------------------------- 6
2
--------------------------------------------------------------------- 7*
2
1 &7 3 &
------------------------------------------------------- 7*
&
'
%) .
/
0
# $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ ,,
8
%(
%
------------------------------------------------------------- 7)
9
:( &
----------------------------------------------------------------- 7)
2
1 &) 3 &
------------------------------------------------------- 7.
&
'
+)
1 "
.
# $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ ,2
!
#
$;
0
---------------------------------------------- 7<
(
$;
0
------------------------------------------- 7=
2
1 &. 3 &
------------------------------------------------------- 74
&
'
3.
/
/
#$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ ,4
$;
>
& ---------------------------------------------------------------- 74
2
1 &+ 3 &
------------------------------------------------------- 75
*
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ ,5
&

(
(

&

&

(
&

&
%

"

&
&
?(
&
"
"
"

#
#
#
&

&

?(
#7
(
(
&
(
& &
#
#@

088 &

?(

&
#
(&

&
#

(&
# ; (
(

&
#
(
&
#
&
&
&
&
# (

(&
(&
&
#
&
#
'

B #2

"

!
! $AA$0"!3$ $C/! $8$ "%

% &D
E

&
#
#
#

(
&
#
(
&
#9
(
( #

&
#(
#(

&## (
(
(
#(

?(
@
(

?(
(

#(

#(

!
#(

?(

( #(
?(
&
&
#
#
?(
&

&
&
#

&
&

&
&

(&

)
0
&/
;(
;(
&
;'

#
&

&
#

#
&
#
:
(
#

(
(

&

#(

"

( (
2
2
2
2
2

1
1
1
1
1

?(
&*
&7
&)
&.
&+

&
&

9
9
>
9
>

&#

(
&

&.

&
#
#!
/
(

&*

&

&
( D
#

(&
(
(&
&
#

%
H
9
H
" #: !H
$& 0 (& >
H
9
&9
"
H
&

' "

(
0
&

D
9

9
;

&#
&

&(
&
&

&
&
9
#

&

(
&#
( (

'

&
(
(

&

&

&

&
&%
(

(
(

"

/
0
765* >
%
$
/
0
J
0
(

#(

F( &
& &
&
(
#( (
&#

&
!

&
+

&
I

0
&
#

&
0
)**) I &

&
&

#&
(&
( @J
9
B(

&

&)
&
&

(
(
766) "
$
/
I

0> 2"$ 7 9 !"! : $AA$0"!3$ /%$ 0 %$%

"

&
0
(

&

&
&,

#
#

(
0

&

3&
#
(

&
,K
&

(
&

K
&
&

&

(
(&

&

K
(

&
&
&
&

&K

&

(&
&
#

(
#(

&
#
&

System Scope
"
%#
(
9
>
9 #
A

( >
!"

%
'
( &
&

&
&
&

9
(
?(

&
&

H
&
(

E(&

(
' "

(&
&

&

#
3

%#

%#

&
&

# $

A
9

>(
( E(& D %( &
# >E%,
?(
&
&(
&
& &
#
#>E% &
"
>E%.L
!
(
&
"
9&
&
& (
(
&
&
#
/ &
"
&'
( 2
(
9&
&
&
#
#
&
&
#
L >(
( E(& D %( &
#% & %#

(&

$
>(
%#
&
&
(

( E(& %( &
#
>E%., "
#
(&
(

"
&

&

9
&
( ;
&
# &

&
-

&
&

(
# (&
#

&
#

>(
(

( E(& %( &
#% &
#
&
&
(&
&
#
( >E% &

(& D
#
&
(
( &
-&
( (
&
#

&

"

!
! $AA$0"!3$ $C/! $8$ "%

Use Case List


(
&
&

&

#
& E

&
(

&
&
&

!
9
9

#
#(

!
(

& #(
(
(
(
H
(
H

"

(
& (

D
&
&
#, 9

Actors and Goals


"

&

&
&

'

(
(

&

%&

&9
0(

(
!

'

Levels and Types


A
"

&

&
D &

&

&

: &M
/ 0
%#

!
/ '
0
#

&N
; N

&
(&, N
#
&
&
&
&
&
&

!
(
& &# (
(&
#
& &
"#

&
&

( N
&M
(

9
"

&

&
3
!
& ' &

#'
1
'
(

; &

#(
0

0&

& (

&
&

&

&

'
&
&
&

&
'
&0(

&
%&

&

%
(

&

&
'

(
(

: &M
/ 0
%#
(&, N
&
&
0
%(
#N
&
&
%(
#(
&
# "#
&(
A
;
&
%(
P
&
D (
&
( '
& 0(
(
-

&
&
9
&

&
G
#
8

/
0(
( '
8
"
/

0(
( '
0 /
0
( #
G '
& # "
(
!
#

& E#
&
(

'
(
(

'
(
O'

8
O'
( '
# 0(
(& &
# ( (&
& , (

&
&

$;
/
H % ( #H 9
(
#
:

(
&
( '
& H

&

0> 2"$ 7 9 !"! : $AA$0"!3$ /%$ 0 %$%

&
(
"
& N
(&
&
#
&
%&

>

&

(
&
$;

&
(&

#
QQQ
K
0
1(
!

:
D

!
#

&

&

(
'
%&
2&
(

>E%.

'

>E%. #
%&
/
& #/ 0
0
/ 0

(
0

#& !

'(
(
&

&
&

(
#"

(
(

(&
D

Customer

Manage Sales Order

Customer

Create Sales Order

Customer

Modify Sales Order

System

Customer

Cancel Sales Order

System

Sales

Pay Up Front

Internal

Delivery Use Cases


Actor
Goal (Use Case)
Warehouse

Manage Delivery

Warehouse

Schedule Delivery

Warehouse

Modify Delivery Date


or Location
Arrange for Drop
Shipment
View Pending
Deliveries
View Inventory

Warehouse

(
?(
( #

&0

%(
#' (
&
&
(

"
&

Level &
Types
System
Summary
System

Warehouse

A(

&
&

&

Sales Order Use Cases


Actor
Goal (Use Case)

Warehouse

&
QQQ
!
1
!

Credit Use Cases

Level &
Types
System
Summary
System
System
System
System
Internal

Use Case Summary


Includes all the use cases below. Can
be thought of as a Category
Customer creates a Sales Order, saves
it in the System
Customer modifies the Sales Order as
needed, saves changes in the System
Customer cancels the Sales Order,
possibly paying a penalty
Sales enters information that Sales
Order has been paid for
Use Case Summary
Includes all the Delivery use cases.
Can be thought of as a Category
Warehouse schedules actual delivery in
system
Warehouse alters delivery based on
discussions with Customer
Warehouse modifies delivery to support
rd
drop shipment by 3 party
Allows the Warehouse to view the
current and future status of deliveries
Allows the Warehouse to view the
current and future status of inventory in
order to predict deliveries

'

'

"

!
! $AA$0"!3$ $C/! $8$ "%

Actor

Goal (Use Case)

Credit Dept

Manage Customer
Account

Level &
Types
System
Summary

Credit Dept

Arrange for Credit

System

Credit Dept

Process Credit
Payment

System

Credit Dept

View Customer
Credit History

System

Other Use Cases


Actor
Goal (Use Case)

Use Case Summary


Perform all the management tasks for
Customer accounts, like Create, Delete,
Update, View, etc.
Allows a Customer to pay for a Sales
Order on Credit; part of Manage
Customer Account
Process a payment on a Customers
credit account; part of Manage
Customer Account
Allows the Credit Department to publish
a Customers credit history; probably a
part of Manage Customer Account

Customer

Build a House

Level &
Types
Context

User

Login to System

Internal

Hacker

Steal Customer
Information

System
Summary,
Abuse

"

&

Use Case Summary


Includes Customer buying building
supplies from HBS includes buying,
delivery, return.
Provides appropriate permissions to
use functions of the system. Note that
the User includes everybody
Hacker uses customer-facing feature to
steal privacy act info, credit card
numbers, etc.

&
&
#
#

(& &

&

&

( ?( ( /
(

!# ( (

&
&
("

(
(
(

(
N

(
&
(

(
&

!&

#(

(
@ (

&
&

0(

&
&

&
#

(
&

&

&
& &
#
>

E(
&
&
#&

#D

(&
&
#
@

&
#!

&

(
#
!
@

"

&

( &
#

&

>

(
#

&

&

&

&

#D

&
;
(

&
#(

( (
(

?(
&

# ( /81

&
& ! ;

0> 2"$ 7 9 !"! : $AA$0"!3$ /%$ 0 %$%

(
&

#(
! #J
#
(

&

&

?(
J E( (
&
&

&
&

&

<< context >>

Build A House
<<include>>

HBS3

<<

summary >>

Use The HBS3


<<include>>

User

Sales Order Management

<< internal >>

<<

Login

summary >>

Manage Sales Orders


<<include>>

<<include>>

Modify Sales Order


Create Sales Order

Sales
Customer

<<include>>

<<include>>

Cancel Sales Order

Delivery Management
<<
<< summary >>

internal >>

Pay Up Front

Manage Deliveries

Warehouse

<<include>>

<< internal >>

<<include>>

View Inventory

Credit Department
<<

summary >>

Manage Customer Account

<<include>>

Credit Department

<<include>>

<<include>>

<<include>>

Modify Delivery

View Credit History

<<include>>

Arrange for Credit


<<include>>
<< bad

Arrange Drop Shipment

<<include>>

Schedule Delivery

actor >>

Process Credit Payment


View Pending Deliveries

<<

abuse >>

Steal Customer Info


Hacker

Precision Level 0 Validation


#(
&
( "

&
&

&

&
& &
&
& &

&
#(
" &
&
;

#
&#

#(
#(

(
2
&
&

#(
&
&
(
&

#(

& ;
#(
#(
# (
(

"
&

(
&
&

&#

&

" &
&
(

& #(
"

(&

&

"
#

&
&

"

!
! $AA$0"!3$ $C/! $8$ "%

"

#(
(&
(

"

&
&
"

"
&
&

@
&
#
2

& #
&
&&
#(

&# #
&
&

"
&
&

"

#(
#

&

(
G

(
"
#(

# (@
&
&
#(

&

&

&
&
#

+
(

&

&

, $
0
%&
-$$ . 0(
. $ >E%.
/
0(
>
N

'
21*

(
&
#

%&

9
(

%&

&
&

'

&%
>

&
(
&
&

9
9
9

&
(

#
H
(&
&
#

&
H

Stakeholders and Interests


%

&

,
(

; (

&

D
#
&

!
#( #

(
&
& $;

#
&

( (

(
&
"
N
& (
'.
D

A
( (
!
, $
0
0
2

#
#@
% ( #!
"!
! (

( %

(
&

&
(& #
(

(
(

#
&
1

&
&

?(
,

&

&
&

&
9
&
#

?(
?(
(

; (
%
#
&
#
(&
&
# (&
(
&
#
0

&

%&

'

&
&

%&

'

&

0> 2"$ 7 9 !"! : $AA$0"!3$ /%$ 0 %$%

2
"

(
(
)9
(
K
.6* 7
)9

&

)9
)9

-$
&

"

(
'

(&
&
#

&

& &

&

(
"

/2,
&(
(
;& &
#

(
(

&
#
(
(

&

&

&

%B/
"
/

K
(

&

&
&

(
#

&
(

&
&
&(

&&
&
&
&

&
#

&
Preconditions and Trigger
&
#

&
D

2
(

#
"

#
@
&
# (

"

N
( ?(

( 0

, $
0

&

%&

0
(

&

#
(
( (

(
#
&
&

0(

"

>E%.

&

%&
8

'

#
#

&&

(
(#H,

&
D
1

0
(

(
( (
&; #
( (
"
&
#G
/
(
#(
& &. "
&
(

&
#

?(

&
( &

( &

H,

&

&
(

(
&

4/5 .
(
#
(
"
0(
(
"
%& !

%&

0(

"

&
& (

"
;

(
(

&
"

9 D
&

(
&"
?(

&

&

&
&

(
&
@
J
9

$&
;

#'
&
#
#
0 (& >

"
J

"

!
! $AA$0"!3$ $C/! $8$ "%

Post conditions
&
(
(
&

# ;
(
(

!
&

&
&
'
"

%(

N
&

&
&

&

#D

(&
;

&
&

N
(
2
#( &
&
8
( N
(

&

(
8

(
"

&
&
-

& "

&
#
(

&
&
&

(
& 9
(&

&

#
#
#

'

(
(

A
( (
, $
0
%&
0
(
*
)%&
&
(
?(
&
8
)"

#(
&

&
&
#

(& &
(
O "
#
& @

&

(&
&
#

(
(

'
(&

"

&
#
(
&
#G O

&

%& !
& #

&

&

(
(

2
&
(

Precision Level 1 Validation


A&
&

&
#(

&
#(

&

&

&

&

# (@
" &
&

# (@

#(
&

(
&
9
(
&
, $
0
%&
-$$ . 0(
. $ >E%.
/
0(
2
(
(
"
)9
(
K
.6* 7
)9

&
%&

&

&

(
(

&

++

0> 2"$ 7 9 !"! : $AA$0"!3$ /%$ 0 %$%

)9
&
'
(&
&
#
K
%B/
"
/
)9
&
& &
(
0(
1
>E%.
!
0(
&
%&
'
(
(
*
)%&
&
%& !
&
(
?(
& #
2
&
8
)"
&
&
&
(
F(

&
#

(
!
(

#
#(
#(

&
&

&
&
&

#(
#(

"

"

('

(
B

&

"
&
&

&
(

(
&'
&
-

&
B

#(

(
&
(

&

&
#

&
&
(

&
(

A( (

(
(

& ' !
H "
&
(

&

&
&
&'

&
(

&

(
(

&
(

&

.8

& &
(&
&
& &&
#( &
&
(
&
& &
&
&

&)
(
& &
#

(
# A( (

21)
&

7 53 !

&
&
(

&

&
(

&
(
3&

N (

&

(
(
( # (D
(

&

%&
(

&
0

#
(

&
#

"

&

&
#

&

"

&

&
&

9
(

(
(

&

&
&
&
#

#(
&
& ( (
(
(
&
#
2

(
#(

&

(
(

&
&

3 $

#(

(
,

&
(

"

!
! $AA$0"!3$ $C/! $8$ "%

Main Success Scenario


#(

&

(
%#
#'

(
%(

&
#(

(
(
& #

!
(

(&

& #
"
(
(

( #
; (

&
#

&
#

(
& (
(
(

!
(

"

;
& (

"

(
(
&#

Writing Guidelines
/

;( &

(
#

#
&

&

&
#
(

9 &
!#(

&G

8
+9 :

%(

#
!#(

9:

#& # ( &

(
(
&

#( &
(&
P D(
/

RS

J
"

& (

& !
,

&

N
N

(
(
& &
#(

&

&9

9 D&
&
1 &.
(' N
D&
&
!

&

&

#(
#
#
&
&
&&
(

#
"
#
(#

&(&
P(

D
"

&

N(
"

.
,

&

%9 :

&
7*

&
(

"

!
3&
!

&
&

#((

(
#

RS

&
(&

(
& $

# (@
&
&

#(

&

9:

&
&

& (&

(
;

RS

!
#
&
#,

&

&

%(

"

/
('
(

(& (

&

&
&

#
( &

&
&
#
;;;

(O
;;;
D
('

(
' N
& O' (
('
#
&

;
&

;;;

0> 2"$ 7 9 !"! : $AA$0"!3$ /%$ 0 %$%

#( (

&

Q-F( &T'
)-+ ( &
%

0(

&

2&#

P; D'

#9

;' (

#
&

&

2
"

&
'

:
"
"

&

&

&
*

! (

&(&

'

'

(
0&* *

&

&
'

'
(

&

'

(
"

"

& 9

&

&(&

&#

&#

&

&#

<

<

'
,

Precision Level 2 Validation


A

( (
N
(
-

(
# #(
8%%

(
8%%

O
N

#(

, $
0
%&
-$$ . 0(
. $ >E%.
$ ./
0(

%&

2
"

(
(
)9
(
K
.6* 7
)9

&

&

&

)9
&
'
(&
&
#
K
%B/
"
/
)9
&
& &
(
0(
1
>E%.
!
0(
&
%&
'
(
(
*
)%&
&
%& !
&
(
?(
& #
2
&
8
)"
&
&
&
(
;
9

8**

;
*<!

#
(
#

(
(

+%

"

!
! $AA$0"!3$ $C/! $8$ "%

>
>

@
>E%.
&#
%
.-<
"
(
&
#&
+ "
#
&
!
#%#
<
< "
#
&(&
& #
; ,
= "
(
4 "
#
&
;
5 "
(
#

7
)
.

#(
(
&

"

:>

?
&

( &
&

&
&

&

&

&

&)

&

#&

&
#

&

&

&

#
&
(

"

( #

.
'
&#

;
H

$
#

&
&

&

H!
N

&

(
C

#
(

&#

(
&
#

&

&

(
(&
H

5
(
&#

&

&

"- ( "

( &
&

# (

&
%9

( &

?(
(

"

"

(&

&

&
(
N

2
&

&

#
&
&&

#
#

(
"

&

(
# ( (&
&
(

(
&

&
;

H 0

GH

&
# (
&

!$

&
(

&

?(

'

&(&
&

&

&

+9 3

&

%B/ ?(

&

(
&

(& &
&
(
,

(
,
(

&
(

&
$

(&
H

&
(

&
#

(
#(
& F(
(
& #( (
/
&
% # 9
?( &
#

-(

&

(
#

#(
&
#( (
( "
&

&#

?(
#
:
(
(

(&
(

+&

0> 2"$ 7 9 !"! : $AA$0"!3$ /%$ 0 %$%

"
(

#(

&(
(

&

;
$

?(
#(
(
#

(
(#

&
"

!
(
#
&

&

-(7
%

&

&

&
&
#
(

(&

%(
H

%
D

&
#G
(

#'

O
&

N
;

$;

&
#(
&
&

( (
&
#

%(
(

%
;
(

&

&

&

Identifying the Extension Conditions


A

D&
& (
& "
8%%
#
(

(' ;

(
&

#' N
(&
&
#

&
;
(

"
(

&
+9 6

(
&
;
&

-"

(&

$
#
#
! #(
&
&#

&
&

9/
(

D
#

#(

%9 !
#
;
&9

/
&
#

&
&
(

H A

#(
#
&
#(

&

<

(
8%%
8%%
(

! (
(

<

.- "
#(
(

(
(
O
# &

- "

- "

&
#
!

( !# ( #
& #
&#
&

&
&
#

&
;
&
;

&
&
(
(

&

.
#

$ - "
%

%
(

# (

(
#
" # &
0
&
'
&
&
#

F(
#
#(&
&

+'

"

!
! $AA$0"!3$ $C/! $8$ "%

#
"

(&

'9 /"

$
(

&

& &
(

; (

&
(

&#
&

E&

(O

- "

(&
&
# (

#
&
& (&
&
;
&
(
(&
&
#

(
"

&

Documenting the Extension Conditions


%
(

?(

&

(&

"
"
;
8%% "
"

(&
&

&
&
&

#
#(
(

) %
)

(
#

#
;
.

)
)

;
(
#

(
;

!
7 #(

&
&
(

(
8%%
8%%

&
#
&

H'
(
#

"
;

(
#(

;
*O

&

L'

"
;
"

&

#
(

$
#

&
&

&
(

D
?(

E(

#(
#(

O
0
! O

O>
;
9

)
=

8**

%&

)
>

@
>E%.
&#
%
.-<
"
(
&
#&
+ "
#
&
!
#%#
<
< "
#
&(&
& #
; ,
= "
(
4 "
#
&
;
5 "
(
#

7
)
.

:
>

;
*<!
:>

?
&

( &
&

&
&

&

&
(

,
(

&

%B/ ?(

&

'

#&

&

&
(

&(&
&

&

(& &
&
(
,

&

(
&

&
(

&
(
&
#

+)

0> 2"$ 7 9 !"! : $AA$0"!3$ /%$ 0 %$%

=
L
L
.
.

"
0(
"
0(
%B/
(
"
0(
9 )8
&
9 )8 :
%
9 )

+
+

!
9

0
#

&

=
4
4
5

%B/
:$
#0(
"
(
0

#
&
A
(
:

<

&#

#
!
(&
9 ) ':
#+
0(
(
9 )
& #1
2
& #
"
0(

<

&
' (

;
%#*

:
M

C
A

&

(
&

&

Precision Level 3 Validation


"

8
( #
&
%(
%
#
1

(
8
%

& #(

#(
# ( &

# (D

!
!

!
;

#(

&

#
;
(

&

%
#(

#( (
& &
(
;
(

&
&
#(

#(
(

;
#(

& #(

;
&

%
# (@

%>7 5 3
A

%(
(

(
# ( ! # (D
#(

#(
(
&

#
#(
&

&
(

Extension Handling
A

$;
0
&
F(
0& / 8
,

# (&
E & ( 0/8 E , N
;
&
!
8%%
/ 0
#

(
(& &
(
(
(

&

&# (

;
#

+*

"

"

!
! $AA$0"!3$ $C/! $8$ "%

#(

&
#

&
&
&(
&
#

%
%

(
$;

& !

1 D

#(

&
&

(
&

&
&# (
D
&
&
# (( ;

&
&

0(

(&

&
&
&
#

&

"

#(
0

%B/

1 D
#
& (
(&
&
#

(
#

(
"
(

(
(

(
(

(&
&
&

&

;
.
.

%B/
(
O
"
0(
7 "
0(
) "
%#
. "
0(
+ "
< "

&
(
&,
&#
&
#0(

%#
0(
&

%B/
! '
0(

%
&

'
!
(
&

(&
(

"

&
(

6,

"
+
<

(
"

0(

+
"
"
%
(

A
(
.

&

&

%B/
O
"
0(
"
0(
(
&

&

'

(
%B/
(
#0(

(
&
#

;
?(

&

&
#G
& (
,
&

&
&
;

;
$

&

/
&
& (

Precision Level 4 Validation


3&
;

&

&
&

(
(

&

&

8%%
(

&
(

& "
(

+1

0> 2"$ 7 9 !"! : $AA$0"!3$ /%$ 0 %$%

&

&

&
(

&
#

9
(
9

&

&
(

&

&
(

-$$

(
&

& &
?(

&
&

21*

217

21)

>

21.

21+

>

&

(
(

;
&
&

#:

!H

$& 0 (& >


9

(
&

9
"

( &

&

&9

H
"

&
!

&N

&
&
&
#G

&
#

&

;
(

&

$
-/
&
(

&

(
(

Vous aimerez peut-être aussi