UML Notations and Symbols: Use Case
UML Notations and Symbols: Use Case
USE CASE
An use case frequently use another uses case is modelled
using include relationship
Actor:
Staff
ATM Customer
<<include>>
Transaction verification
Add advert
Use case:
An use case is supplemented by another in a certain situation
use case is modelled using extends relationship. Situation
condition is extension point
<<include>>
Calculate Calculate
<<extend>>
payments bonus
<<extend>>
Object/Instance
Object diagram:
Attribute 1 = value
Attribute2 = value
bazl = new TSP(): bazl:TSP
ID =
Name = Sohel Rana
Class
Attributes
Operations
Provided/implemented
interface: Inteface-name Class -name
Attributes
Operations
Interface realization
<<Interface>>
dependency: Class -name
InterfaceName
Attributes
-memberName Operations
-memberName
Required Interface:
Inteface-name Class -name
Attributes
Operations
2
Package:
Package
dependency:
Package
dependency: <<Stereotype>>
Payments
Association
Inheritance/
Generalization: A B
Association:
A B
Association with
name and direction: A B
Adinisters
Association with 1 *
multiplicity: A B
Association with
navigability: A B
One way
A B
Two way
Composition:
A B
Aggregation:
A B
3
Sate chart
Initial State:
Final State:
Transition:
Idle
Call event: Event [guard-condition] /action-expression Open (code) [code ok] /showconsole()
Call-action [guard-condition] /action-expression
Active
State
Composite State:
Concurrent State:
4
Activity
Initial node:
Final node:
Activity/action:
Action name Action A
Activity flow:
Action B
[condition] [condition]
[condition]
Merge node:
Action A Action B
Action C
Action A
Decision node:
5
Fork/split:
Join:
Request order
Process order