Download presentation
Presentation is loading. Please wait.
Published byGary Maurice Foster Modified over 9 years ago
1
Unified Modelling Language (UML) Software Engineering Lab. Sharif University of Technology
2
Why We Model ? ► A model is a simplification of reality. model ► We build models so that we can better understand the system we are developing ► Benefits: Models help us to visualize a system as it is or as we want it to be. Models permit us to specify the structure or behavior of a system. behavior Models give us a template that guides us in constructing a system. template Models document the decisions we have made.
3
Building Blocks of the UML Building Blocks of the UML ► The vocabulary of the UML encompasses three kinds of building blocks: ► The vocabulary of the UML encompasses three kinds of building blocks: Things Relationships Diagrams
4
Things Classes Interfaces Use Case Component Node Packages Notes
5
Relationships in the UML ► Dependency ► Association ► Generalization ► Realization
6
Diagrams in the UML Class diagram Object diagram Use case diagram Sequence diagram Collaboration diagram Statechart diagram Activity diagram Component diagram Deployment diagram
7
Use case Diagram
8
Classes
9
Class Diagram
10
Modeling Simple Collaborations
11
Modeling a Logical Database Schema
12
Generalization Among Packages
13
Modeling Groups of Elements
14
Sequence Diagrams
15
Collaboration Diagrams
16
Activity Diagrams
17
State Machines
18
Components
19
Components and Interfaces
20
Nodes and Components
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.