Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
UML Modeling
1
Class Diagram
Describes the static structure of the system.
Sequence Diagram
Describe the dynamic behavior between objects of the system.
Consists of:
o
o
o
o
Actors
Use Cases
The boundary
The relationships between and among the actors and the use cases.
Actor
Use Case
Class Diagram
Consists of:
o Classes
o and their Relationships
10
Sequence Diagram
Class Name
Attributes
Operations
Relationship
11
12
Extend
Registration
GetHelpOnRegistration
13
Include
Exercise
User browsers the login page and enters the username &
password.
If the login is successful, the user is redirected to the main
page.
Otherwise if the user is registered, user has to re-enter the
username and password. If the user is unregistered, user
has to register.
Use case include is a directed relationship between two use cases which is
used to show that behavior of the included use case (the addition) is inserted
into the behavior of the including (the base) use case.
The include relationship could be used:
o
o
Draw the;
1. Use Case Diagram of the system.
2. Class Diagram of the system.
3. Sequence Diagram for each use case.
ScanItem
<<include>>
Calculate Total and Tax
Checkout
14
<<include>>
Payment
15
16