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

Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
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
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 

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.