0% found this document useful (0 votes)
17 views17 pages

ch1 (2) UML by DNNNK

UML is a modeling language used to design software systems. It includes various diagrams and model elements to describe different views of a system, such as use case, design, process, and deployment views. UML models present abstract representations, while implementation adds detail to make models executable. Design models document a system's structure, while source code contains implementation details. UML is not a development process itself, but is often used with processes like the Unified Process.

Uploaded by

nu nu kyi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views17 pages

ch1 (2) UML by DNNNK

UML is a modeling language used to design software systems. It includes various diagrams and model elements to describe different views of a system, such as use case, design, process, and deployment views. UML models present abstract representations, while implementation adds detail to make models executable. Design models document a system's structure, while source code contains implementation details. UML is not a development process itself, but is often used with processes like the Unified Process.

Uploaded by

nu nu kyi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

University of Computer Studies

Unified Modeling Language (UML)


Introduction to UML

Daw Nan Nu Nu Kyi


Lecturer
Faculty of Information Science
Introduction to UML Unified Modeling Language

Model and Modeling

Methodology

Unified Modeling Language

Design Models And Code

The Software Development Process


2

17
Introduction to UML Unified Modeling Language

The Unified Modeling Language

• A unification of a number of earlier object-oriented modelling languages

• UML is a language for expressing object-oriented design models

• No description or recommendations relating to the process of development

3

17
Introduction to UML Unified Modeling Language

Views

• 4+1 View Model


 UML is informed by a vision of the structure of software systems
• Use Case view, has a special role to play in integrating the contents of the other
four views

4

17
Figure 1.3 : The 4+1 view model
Introduction to UML Unified Modeling Language

Views Cont’d

•Use Case View


Defines the system’s external behavior
Useful for end users, analysts and testers
Defines the requirements of the system
•Design View
Describes logical structure
Useful for programmers
•Implementation View
Describes the physical components
5

17
Useful for configuration management and system integration
Introduction to UML Unified Modeling Language

Views Cont’d

• Process View
 Deals with issues of concurrency within the system
• Deployment View
 Describes how physical components are distributed across the physical
environment,
 such as a network of computers, that the system runs in
• Process and deployment views address non-functional requirements of the
system
6

17
Introduction to UML Unified Modeling Language

Models and Model Elements

• The information relevant to each view is recorded in the various types of


model defined by UML
• Models
 produced at different levels of abstraction
 Produced at different stages of the development process
• A model consists of a collection of model elements
 UML defines a wide range of different types of model element
• A model is a structure built up of a number of interrelated model elements
7

17
Introduction to UML Unified Modeling Language

Diagrams

•A model is normally presented to a designer as a set of diagrams


•Diagrams are graphical representations of collections of model elements
•Different types of diagram present different information
 Either the structure or the behavior of the model elements
•Each diagram type has rules
 What kinds of model elements can appear in diagrams of that type, and
 How they are to be shown

8

17
Introduction to UML Unified Modeling Language

Types of UML Diagram

Table 1.1 : UML’s diagram types

9
ㅡ UML defines nine distinct diagram types.
17
Introduction to UML Unified Modeling Language

Model and Modeling

Methodology

Unified Modeling Language

Design Models And Code

The Software Development Process


10

17
Introduction to UML Unified Modeling Language

Design Models and Code

• The models used in the design of a system present an abstract view


• An implementation adds enough detail to make these models executable

11

17 Figure 1.4 Relationships between models and codes
Introduction to UML Unified Modeling Language

Design Models and Code Cont’d

• Both design documentation and source code can be described as compile-time artefacts.
• Once it is compiled and executed, a program has a variety of run-time properties.
• Object structures are abstractions of what really happens when a program runs.
• Design diagram is an abstraction of the information contained in a source program.
• The diagrams defined in UML are not just pictures, but have a definite meaning .
• UML and object-oriented languages have the same semantic foundations.

12

17
Introduction to UML Unified Modeling Language

Model and Modeling

Methodology

Unified Modeling Language

Design Models And Code

The Software Development Process


13

17
Introduction to UML Unified Modeling Language

The Software Development Process

• UML is a modelling language, not a process.


• A project using UML has also to decide what development process to use with it.
• Each project should begin
 by defining a suitable process
 Taking into account the nature of the system being developed
 the size and experience of the development team and other factors
• A process model, the Unified Software Development Process, was developed in parallel
with UML, by the same group of methodologists.

14

17
Introduction to UML Unified Modeling Language

Chapter Summary

• UML is ‘a general-purpose visual modeling language that is used to specify, visualize,


construct and document the architecture of a software system’.
• This chapter explains how models are used in the software development process, and the role
of a language such as UML.
• The informal account of its semantics and the relationship between design notations and code
is described.

15

17
Introduction to UML Unified Modeling Language

Reference Text Book

• Mark Priestley , Practical Object-


Oriented Design with UML ,
Second Edition

16

17
Introduction to UML Unified Modeling Language

Next Lecture

Chapter(2) Modeling with


Objects

17

17

You might also like