Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 26

UML Diagrams

Unified Modelling
Language

UML Diagrams
The OMG specification states:
(Object Management Group)

"The Unified Modeling Language (UML) is a graphical


language for visualizing, specifying, constructing, and
documenting the artifacts of a software-intensive
system.
The UML offers a standard way to write a system's
blueprints, including conceptual things such as
business processes and system functions as well as
concrete things such as programming language
statements, database schemas, and reusable software
components."

UML Diagrams
There are FOURTEEN different types of UML
Diagrams, each used in a certain situation ,
and some of them are complex.
Fortunately, you only have to learn ONE of
them in this module ...the CLASS DIAGRAM

UML Diagrams
There are FOURTEEN different types of
UML Diagrams, each used in a certain
situation, and some of them are
complex.
Fortunately, you only have to learn ONE
of them in this module ...the CLASS
DIAGRAM
Lets take, as an example, a person

ATM Withdrawal Class


Description
User enters their card into the machine.
User enters PIN.
Security verifies if card is valid.
User selects an account, if they have more than one.
User inputs an amount to withdraw.
Security checks for sufficient funds in account.
User selects either 10 or 20.
Security issues money.
Security gives receipt.
Security returns card.
...and thats it!

Custom
er

Securit
y

Custom
er

Insert
card

Securit
y

Custom
er

Insert
card
Enter
PIN

Custom
er

Securit
y

Insert
card
Enter
PIN
Select
account

Custom
er

Securit
y

Insert
card
Enter
PIN
Select
account
Select
amount

Custom
er

Securit
y

Insert
card
Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

Securit
y

Insert
card

Securit
y

Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

Amount
is 20

Insert
card

Securit
y

Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

Amount
is 20

Give
money

Insert
card

Securit
y

Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

Amount
is 20

Give
money

Insert
card

Securit
y

Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

Amount
is 20

Give
money
Give
receipt

Insert
card

Securit
y

Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

Amount
is 20

Give
money
Give
receipt
Eject
card

Insert
card
Enter
PIN

include

include

Select
account
Select
amount

Amount
is 10

Custom
er

Amount
is 20

Give
money
Give
receipt
Eject
card

Securit
y

Insert
card
Enter
PIN

include

include

Select
account
Select
amount

Amount
is 10

Custom
er

Amount
is 20

Give
money
Give
receipt
Eject
card

Verify
card

Securit
y

Insert
card
Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

include

include

include

include

Amount
is 20

Give
money
Give
receipt
Eject
card

Verify
card

Securit
y

Insert
card
Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

include

include

include

include

Amount
is 20

Give
money
Give
receipt
Eject
card

Verify
card

Verify
funds

Securit
y

Insert
card
Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

include

include

include

include

Amount
is 20

Give
money
Give
receipt
Eject
card

Verify
card

Verify
funds

extend

Securit
y

Insert
card
Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

include

include

include

include

Amount
is 20

Give
money
Give
receipt
Eject
card

Verify
card

Verify
funds

extend

Stolen
card

Securit
y

Insert
card
Enter
PIN
Select
account
Select
amount

Amount
is 10

Custom
er

include

include

include

include

Amount
is 20

Give
money
Give
receipt
Eject
card

Verify
card

Verify
funds

extend

Stolen
card

Securit
y

You might also like