You are on page 1of 43

ALL SAINTS' COLLEGE OF TECHNOLOGY

GANDHINAGAR, BHOPAL.

PRESENTED BY :.
NABEELA ALI & IFFAT KHAN
UML, the Art of Software Modeling.
What is
UNIFIED MODELING LANGUAGE?
• Unified modeling language ( UML) is
standardized graphical Modeling
Language for communicating software
design.

• The UML uses mostly graphical notation


to express the OO analysis and design of
s/w system.
Motive of UML
 In early stages of model driven development, a
different people understand the notation in different
ways, there is no universal model approach.
 At the time Grady Booch, Ivar Jacobson and James
Rumbaugh gave their theories and universally accepted.
 In 1995, all three decided to build a notation language,
known as UML .
H
I
S
T
O
R
Y
Importance of
SOFTWARE MODELING
• If software is complex need of model.
• if a system is developed by hundreds of
people there is also need of model for
smooth communication and understanding
the software system.
• Manage complexity in design build and
design architecture.
• Visualise the implementation.
• Design secure, scalable and extendable
system.
Unified Modeling Language
DIAGRAMS
Class Diagram
• Class Diagram describe the structure of a
system by showing the system's classes​,
their operations, attributes and relationship
among objects.

• In Diagram each class is represented by a


rectangle, subdivided into 3 compartments.
a. Name. b. attributes. c. Operations
Basic Class Diagram Symbol&Notation

Name

Attributes

Operations

Class with its compartment


Use visibility marker to
signify who can access
the information​
contained within​ a
class.

Visibility
These symbols indicate
the no. of instance of
one class linked to
instance of other class,
they place in end of
association.

Multiciplity
Association
Association shows relationship
between instances of class. It is
a link connecting two classes.

Example :
Aggregation & Composition

Top shows composition b/w two classes : a class has exactly one
carburetor, and a carburetor has at most one car. The diagram in
bottom shows Aggregation : a pond has zero or more ducks, and a
Duck has at most one Pond.
Generalisation

it shows the relationship b/w two classes, where one class is a


specialised version of another.
Diagram shows generalisation b/w super class person and two
subclasses​ Student and Professor.
Example of Class Diagram
Component Diagram
• Component Diagram describe the
organisation of physical software
component in source code, runtime code
and executable.
• It describe the organisation and wiring of
the physical component in the system.
• They're drawn to help model
implementation details.
Basic Component Diagram Symbols
Component : Dependant :

Interface :
Port :
Component Diagram Example

Component Diagram of online Shopping


Object Diagram
• Object Diagram emphasise the relationship
b/w instancea of classes at some point in
time.

• It shows the complex relationship b/w the


classes.

• Object is shown by a rectangle with classifier


name in the center of rectangle in
underline.
Object Diagram Example
Package Diagram
• Package Diagram are the subset of class
Diagram.
• it is used to divide the complex system into
the model.
• It is used to divide the model into logical
container and their interaction.
• It shows the high level view of the system.
Package Diagram Example
Deployment Diagram
• Deployment Diagram depict the physical
resources in a system including nodes,
component & connection.

• It has node which maybe a hardware or any


device that host the s/w & maybe a s/w that
host another s/w ( ex. OS ).
Deployment Diagram Example
Activity Diagram

• Activity diagrams illustrate the dynamic


nature of a system by modeling the flow of
control from activity to activity.

• An activity represents an operation on


some class in the system that results in a
change in the state of the system.
Activity Diagram Example
State Diagram
• It shows the dynamic view of the system.

• It shows the behaviour of the system in


response to some external stimulate.

• State Diagram also known as State machine


Diagram.
State Diagram Example
Use Case Diagram
• A Use Case Diagram is an interaction b/w a
system & external stimulate, that could a
human and maybe an external system.

• It used to show a discrete unit of work .

• it used at early stage of model.This is a


simplest Diagram.
Use Case Diagram Example
Sequence Diagram
• Sequence Diagram provide graphical
representation of object interaction over
time.

• it shows the flow of message for one object


to another and as such correspondence to
the methods and event support by a
class/object.
E
X
A
M
P
l
E
Communication Diagram
• Communication diagrams model the
interactions between objects in
sequence.

• They describe both the static structure


and the dynamic behavior of a system.

• It is also called as collaboration Diagram.


E
X
A
M
P
L
E
Interaction Overview Diagram
• Interaction overview diagrams are a
combination of activity and sequence
diagrams.
• They model a sequence of actions and let you
deconstruct more complex interactions into
manageable occurrences.
Time Diagram
• A timing diagram is a type of interaction UML
diagram.

• It focuses on processes that take place


during a specific period of time.

• They're a special instance of a sequence


diagram, except time is shown to increase
from left to right instead of top down.
Time Diagram Example
Conclusion

You might also like