SlideShare a Scribd company logo
1 of 16
UNIFIED MODELLING LANGUAGE
Subject presented by:

Dr. Trần Khánh Dung
Department of Software Engineering
Email: khanhdung218@yahoo.com

01- 2014
Outline
● Goals
● Model & Modelling
● UML?
● Tools?
● UML Diagrams
● Review

2
Goals
•

Equipes IT students with knowledge about

•

•

basic elements and diagrams of the UML

Helps IT students

•
•
•

to use the UML elements

to model and design information systems by UML
to build software effectively

3
Model?
●A

model is a simplified representation of a certain
reality.
There can be many different
maps of the same territory,
depending on the purpose:
- riding a bike,
- visiting museums,
- analyzing votes,
- etc.

4
Model?
● Each

model captures a certain aspect/view of the
system

5
Model?
● A model is focused in one particular aspect of a system:

● A model is not intended to capture all the aspects of a
system, but mainly to abstract out only some of these
characteristics.
● A system is usually represented by a set of different
models, each one capturing some specific aspects.
● Which aspects to capture depends on the purpose of
the model.
● A model must not represent the system with absolute
preciseness.
● A model is useful because it is a simplified copy.

6
Modelling?

●Modeling

is the cost-effective use of
something in place of something else for
some cognitive purpose. It allows us to use
something that is simpler, safer or cheaper
than reality instead of reality for some
purpose
●Modelling allows us to deal with the world
in a simplified manner, avoiding the
complexity, danger and irreversibility of
reality
7
Modelling?
● The representation relationship

A model should be able to answer a given set of questions in
the same way the system would answer these same
questions.
You can ask the map certain questions, but not others.
(+) What is the distance from Madrid to Warsaw?
(-) How many whales are there in the oceans?
8
Modelling?
● A model is a partial analogy of a system

●
●

The analogy between the model and the represented reality is
partial.
The properties of the model are not identical to the properties of
the reality.

I can’t smoke with this pipe!

9
Modelling?
● The conformance relationship
●A

model is a simplified representation of a certain
reality, according to the rules of a certain modeling
language

The map conforms to its
legend.
The legend defines the
language to read the map.

10
UML?
● Unified

Modeling Language (UML) is a standardized ,
general-purpose modeling language in the field of software
engineering. The UML includes a set of graphic notation
techniques to create visual models of object-oriented
software-intensive systems.

●
●
●

●

1990s: The UML was developed by Grady Booch, Ivar
Jacobson and James Rumbaugh at Rational Software
1997: It was adopted by the Object Management Group (OMG) and
has been managed by this organization ever since
2000: The Unified Modeling Language was accepted by
the International Organization for Standardization (ISO) as industry
standard for modeling software-intensive systems
The current version of the UML is 2.4.1 published by the OMG in
August 2011 ( http://www.omg.org/spec/UML/)

11
UML tools?
● Visual Paradigm for UML (community edition)
●

http://www.visual-paradigm.com/download/vpuml.jsp?edition=ce

● Modelio (Modeliosoft)
● StarUML (Plastic Software)
● Enterprise Architect (Sparx System)

12
UML Diagram

Diagram I
Class Diagram
● What is Class?
● Class Diagram Elements

13
Class Diagram

● Description
● A class diagram is a type of static structure
diagram. It represents static aspect of a
system by showing the its classes (their
attributes
and
operations),
interfaces,
associations and generalizations

14
Class Diagram elements

● Elements
● Class

● A class is a definition of objects that share
given structural or behavioral characteristics. A
class comprises a name, a number of attributes,
and a number of operations

15
Class Diagram elements

● Elements
● Class

● Attribute: An attribute is a typed value
attached to each instance of a class
● Operation: An operation is a function that
can be performed by instances of a class.
An operation may have return type in case it
returns a value

16

More Related Content

What's hot

Python: Object-oriented Testing
Python: Object-oriented TestingPython: Object-oriented Testing
Python: Object-oriented TestingDamian T. Gordon
 
User Interface and User Experience
User Interface and User ExperienceUser Interface and User Experience
User Interface and User ExperienceSibel Kuzgun AKIN
 
Unit 1 sepm the generic process model
Unit 1 sepm the generic process modelUnit 1 sepm the generic process model
Unit 1 sepm the generic process modelKanchanPatil34
 
Software Engineering - Spiral Model
Software Engineering - Spiral ModelSoftware Engineering - Spiral Model
Software Engineering - Spiral ModelBenedictArpon
 
Introduction of Software Engineering
Introduction of Software EngineeringIntroduction of Software Engineering
Introduction of Software EngineeringZafar Ayub
 
Introduction of Software Engineering
Introduction of Software EngineeringIntroduction of Software Engineering
Introduction of Software EngineeringMuhammadTalha436
 

What's hot (20)

Bai giang-spm-16jan14
Bai giang-spm-16jan14Bai giang-spm-16jan14
Bai giang-spm-16jan14
 
Bai giang-spm-06mar14
Bai giang-spm-06mar14Bai giang-spm-06mar14
Bai giang-spm-06mar14
 
Bai giang-se-03mar14
Bai giang-se-03mar14Bai giang-se-03mar14
Bai giang-se-03mar14
 
Bai giang-se-13jan14
Bai giang-se-13jan14Bai giang-se-13jan14
Bai giang-se-13jan14
 
Bai giang-spm-20feb14
Bai giang-spm-20feb14Bai giang-spm-20feb14
Bai giang-spm-20feb14
 
Bai giang-spm-11mar14
Bai giang-spm-11mar14Bai giang-spm-11mar14
Bai giang-spm-11mar14
 
Slides môn Công nghệ phần mềm Software Engineering
Slides môn Công nghệ phần mềm Software EngineeringSlides môn Công nghệ phần mềm Software Engineering
Slides môn Công nghệ phần mềm Software Engineering
 
Bai giang-se-06mar14
Bai giang-se-06mar14Bai giang-se-06mar14
Bai giang-se-06mar14
 
Python: Object-oriented Testing
Python: Object-oriented TestingPython: Object-oriented Testing
Python: Object-oriented Testing
 
User Interface and User Experience
User Interface and User ExperienceUser Interface and User Experience
User Interface and User Experience
 
Architectural design
Architectural designArchitectural design
Architectural design
 
Unit 1 sepm the generic process model
Unit 1 sepm the generic process modelUnit 1 sepm the generic process model
Unit 1 sepm the generic process model
 
Chap1
Chap1Chap1
Chap1
 
Software Engineering - Spiral Model
Software Engineering - Spiral ModelSoftware Engineering - Spiral Model
Software Engineering - Spiral Model
 
Spiral model
Spiral modelSpiral model
Spiral model
 
Spiral model ppt
Spiral model pptSpiral model ppt
Spiral model ppt
 
Testing Software
Testing SoftwareTesting Software
Testing Software
 
Introduction of Software Engineering
Introduction of Software EngineeringIntroduction of Software Engineering
Introduction of Software Engineering
 
Spiral model
Spiral modelSpiral model
Spiral model
 
Introduction of Software Engineering
Introduction of Software EngineeringIntroduction of Software Engineering
Introduction of Software Engineering
 

Viewers also liked (6)

Bao tri-phan-mem-for-56 pm
Bao tri-phan-mem-for-56 pmBao tri-phan-mem-for-56 pm
Bao tri-phan-mem-for-56 pm
 
Bai giang-uml-21jan14
Bai giang-uml-21jan14Bai giang-uml-21jan14
Bai giang-uml-21jan14
 
Bai giang-uml-18feb14
Bai giang-uml-18feb14Bai giang-uml-18feb14
Bai giang-uml-18feb14
 
Bai giang-se-16jan14
Bai giang-se-16jan14Bai giang-se-16jan14
Bai giang-se-16jan14
 
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀMTÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
 
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀMTÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
 

Similar to Bai giang-uml-14jan14

UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)Shamsunder Malgikar
 
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdfPhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdfJAYANTHIKANNAN8
 
Agile Modeling with Uml and Visual Studio 2010
Agile Modeling with Uml and Visual Studio 2010Agile Modeling with Uml and Visual Studio 2010
Agile Modeling with Uml and Visual Studio 2010Ogren Paunović
 
What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?Eliza Wright
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationanasz3z3
 
Book of Uml
Book of UmlBook of Uml
Book of UmlNiit
 
Unit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).pptUnit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).pptganeshkarthy
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling LanguageAMITJain879
 
SDAM a ddnd mmdmsmfkvskkejj sehfjvksxkmwnejjfjbjsnenfPRESENTATION.pptx
SDAM a ddnd mmdmsmfkvskkejj sehfjvksxkmwnejjfjbjsnenfPRESENTATION.pptxSDAM a ddnd mmdmsmfkvskkejj sehfjvksxkmwnejjfjbjsnenfPRESENTATION.pptx
SDAM a ddnd mmdmsmfkvskkejj sehfjvksxkmwnejjfjbjsnenfPRESENTATION.pptxamitdolas721
 

Similar to Bai giang-uml-14jan14 (20)

UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)
 
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdfPhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
 
Agile Modeling with Uml and Visual Studio 2010
Agile Modeling with Uml and Visual Studio 2010Agile Modeling with Uml and Visual Studio 2010
Agile Modeling with Uml and Visual Studio 2010
 
SE UML.ppt
SE UML.pptSE UML.ppt
SE UML.ppt
 
What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?
 
3.UML Diagrams.pptx
3.UML Diagrams.pptx3.UML Diagrams.pptx
3.UML Diagrams.pptx
 
Ooad with uml
Ooad with umlOoad with uml
Ooad with uml
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Book of Uml
Book of UmlBook of Uml
Book of Uml
 
Unit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).pptUnit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).ppt
 
Introduction to OOAD
Introduction to OOADIntroduction to OOAD
Introduction to OOAD
 
l1_introuml.pdf
l1_introuml.pdfl1_introuml.pdf
l1_introuml.pdf
 
UML.pdf
UML.pdfUML.pdf
UML.pdf
 
Unified Modelling Language
Unified Modelling Language Unified Modelling Language
Unified Modelling Language
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling Language
 
SDAM a ddnd mmdmsmfkvskkejj sehfjvksxkmwnejjfjbjsnenfPRESENTATION.pptx
SDAM a ddnd mmdmsmfkvskkejj sehfjvksxkmwnejjfjbjsnenfPRESENTATION.pptxSDAM a ddnd mmdmsmfkvskkejj sehfjvksxkmwnejjfjbjsnenfPRESENTATION.pptx
SDAM a ddnd mmdmsmfkvskkejj sehfjvksxkmwnejjfjbjsnenfPRESENTATION.pptx
 
Chapter1
Chapter1Chapter1
Chapter1
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
 
UML Review
UML ReviewUML Review
UML Review
 
Object oriented analysis and design unit- iii
Object oriented analysis and design unit- iiiObject oriented analysis and design unit- iii
Object oriented analysis and design unit- iii
 

Recently uploaded

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 

Bai giang-uml-14jan14

  • 1. UNIFIED MODELLING LANGUAGE Subject presented by: Dr. Trần Khánh Dung Department of Software Engineering Email: khanhdung218@yahoo.com 01- 2014
  • 2. Outline ● Goals ● Model & Modelling ● UML? ● Tools? ● UML Diagrams ● Review 2
  • 3. Goals • Equipes IT students with knowledge about • • basic elements and diagrams of the UML Helps IT students • • • to use the UML elements to model and design information systems by UML to build software effectively 3
  • 4. Model? ●A model is a simplified representation of a certain reality. There can be many different maps of the same territory, depending on the purpose: - riding a bike, - visiting museums, - analyzing votes, - etc. 4
  • 5. Model? ● Each model captures a certain aspect/view of the system 5
  • 6. Model? ● A model is focused in one particular aspect of a system: ● A model is not intended to capture all the aspects of a system, but mainly to abstract out only some of these characteristics. ● A system is usually represented by a set of different models, each one capturing some specific aspects. ● Which aspects to capture depends on the purpose of the model. ● A model must not represent the system with absolute preciseness. ● A model is useful because it is a simplified copy. 6
  • 7. Modelling? ●Modeling is the cost-effective use of something in place of something else for some cognitive purpose. It allows us to use something that is simpler, safer or cheaper than reality instead of reality for some purpose ●Modelling allows us to deal with the world in a simplified manner, avoiding the complexity, danger and irreversibility of reality 7
  • 8. Modelling? ● The representation relationship A model should be able to answer a given set of questions in the same way the system would answer these same questions. You can ask the map certain questions, but not others. (+) What is the distance from Madrid to Warsaw? (-) How many whales are there in the oceans? 8
  • 9. Modelling? ● A model is a partial analogy of a system ● ● The analogy between the model and the represented reality is partial. The properties of the model are not identical to the properties of the reality. I can’t smoke with this pipe! 9
  • 10. Modelling? ● The conformance relationship ●A model is a simplified representation of a certain reality, according to the rules of a certain modeling language The map conforms to its legend. The legend defines the language to read the map. 10
  • 11. UML? ● Unified Modeling Language (UML) is a standardized , general-purpose modeling language in the field of software engineering. The UML includes a set of graphic notation techniques to create visual models of object-oriented software-intensive systems. ● ● ● ● 1990s: The UML was developed by Grady Booch, Ivar Jacobson and James Rumbaugh at Rational Software 1997: It was adopted by the Object Management Group (OMG) and has been managed by this organization ever since 2000: The Unified Modeling Language was accepted by the International Organization for Standardization (ISO) as industry standard for modeling software-intensive systems The current version of the UML is 2.4.1 published by the OMG in August 2011 ( http://www.omg.org/spec/UML/) 11
  • 12. UML tools? ● Visual Paradigm for UML (community edition) ● http://www.visual-paradigm.com/download/vpuml.jsp?edition=ce ● Modelio (Modeliosoft) ● StarUML (Plastic Software) ● Enterprise Architect (Sparx System) 12
  • 13. UML Diagram Diagram I Class Diagram ● What is Class? ● Class Diagram Elements 13
  • 14. Class Diagram ● Description ● A class diagram is a type of static structure diagram. It represents static aspect of a system by showing the its classes (their attributes and operations), interfaces, associations and generalizations 14
  • 15. Class Diagram elements ● Elements ● Class ● A class is a definition of objects that share given structural or behavioral characteristics. A class comprises a name, a number of attributes, and a number of operations 15
  • 16. Class Diagram elements ● Elements ● Class ● Attribute: An attribute is a typed value attached to each instance of a class ● Operation: An operation is a function that can be performed by instances of a class. An operation may have return type in case it returns a value 16

Editor's Notes

  1. Notation: A class is shown as a rectangle containing class name and optionallywith compartments separated by horizontal lines. The rectanglemay have three compartments: upper compartment is used to place thename of the class and optionally with a stereotype, a compartment listingthe attributes of the class is placed below the name compartment,the compartment placed below the attribute compartment is used to listthe operations of the class or other members of the class.