SlideShare a Scribd company logo
1 of 13
UML
Inheritance
Association
Week Dependency
- By – Md. Nadimozzaman Pappo
- ID - 132014031
6/6/2016Depertment of Computer Science & Engineering
1
What is Inheritance?
 Getting characteristics from parent
 Real life examples
 Child get properties of Parents
 Generalize an idea
 Usage in problem & solution design makes perfect logical sense
6/6/2016Depertment of Computer Science & Engineering
2
Inheritance in OOP
 One of the core concepts of OOP
 Sub Class, Super Class relation
 Sub Class inherits from Supper Class
 Inherits properties & operations
 Simplify the codes
6/6/2016Depertment of Computer Science & Engineering
3
UML Notation - Inheritance
 Solid line with a closed arrowhead
 From sub Class to super Class(Child
to Parent)
 Arrowhead is closed but not filled
 Can be tree structured
6/6/2016Depertment of Computer Science & Engineering
4
Why its important?
 Generalize the Design
 Makes easier map to OOP
 Logical parts creation of whole project
 Visualize relations among objects
 Create abstraction
6/6/2016Depertment of Computer Science & Engineering
5
What is Association?
 The relation among things
 Denotes how its related
 Family of links
6/6/2016Depertment of Computer Science & Engineering
6
Association in OOP
 Objects may be linked or combined
 May be logically or Physically
 Binary, N-Ary
 Order of the ends
6/6/2016Depertment of Computer Science & Engineering
7
UML Notation - Association
 Normally denoted by line
 May have any number of links
 Four different types of association:
bi-directional, uni-directional,
aggregation and reflexive
 Also denote relations – One to one,
one to many, many to many etc.
6/6/2016Depertment of Computer Science & Engineering
8
Why its important?
 Get grouped or linked objects
 Relations among Classes
 Get DB relations
 How Classes are related
6/6/2016Depertment of Computer Science & Engineering
9
What is Dependency?
 A relationship among things
 Provides client-supplier visualization
 Create abstraction of solution & problem
6/6/2016Depertment of Computer Science & Engineering
10
Dependency in OOP
 Separates dependent & independent Classes
 Clarify the deployment of Classes on situations
 Creates abstractions in terms of usage
6/6/2016Depertment of Computer Science & Engineering
11
UML Notation – Week Dependency
 Denoted by a dashed arrow
 From client to supplier
 Arrow is not filled
 Also denote usage, create etc.
operation
6/6/2016Depertment of Computer Science & Engineering
12
Why its important?
 Simplify the relationship among models or classes
 Shows usages dependency
 Shows usages abstraction of whole project
6/6/2016Depertment of Computer Science & Engineering
13

More Related Content

Similar to Uml Class Diagram

SADP PPTs of all modules - Shanthi D.L.pdf
SADP PPTs of all modules - Shanthi D.L.pdfSADP PPTs of all modules - Shanthi D.L.pdf
SADP PPTs of all modules - Shanthi D.L.pdf
B.T.L.I.T
 
Structured organization of Engineering Objects in the information content of ...
Structured organization of Engineering Objects in the information content of ...Structured organization of Engineering Objects in the information content of ...
Structured organization of Engineering Objects in the information content of ...
Yatish Bathla
 
Creating a Use Case
Creating a Use Case                                               Creating a Use Case
Creating a Use Case
CruzIbarra161
 

Similar to Uml Class Diagram (20)

Introduction to Design Pattern
Introduction to Design  PatternIntroduction to Design  Pattern
Introduction to Design Pattern
 
ODSC West 2021 – Composition in ML
ODSC West 2021 – Composition in MLODSC West 2021 – Composition in ML
ODSC West 2021 – Composition in ML
 
Clean coding in plsql and sql, v2
Clean coding in plsql and sql, v2Clean coding in plsql and sql, v2
Clean coding in plsql and sql, v2
 
Sakai11 la assessmentportfolio
Sakai11 la assessmentportfolioSakai11 la assessmentportfolio
Sakai11 la assessmentportfolio
 
SiriusCon17 - A Graphical Approach to Modularization and Layering of Metamodels
SiriusCon17 - A Graphical Approach to Modularization and Layering of MetamodelsSiriusCon17 - A Graphical Approach to Modularization and Layering of Metamodels
SiriusCon17 - A Graphical Approach to Modularization and Layering of Metamodels
 
OO Design Principles
OO Design PrinciplesOO Design Principles
OO Design Principles
 
Clean coding in plsql and sql
Clean coding in plsql and sqlClean coding in plsql and sql
Clean coding in plsql and sql
 
Elaboration and domain model
Elaboration and domain modelElaboration and domain model
Elaboration and domain model
 
with C++ seventh Edition.pdf by walter Savitch
with C++ seventh Edition.pdf by walter Savitchwith C++ seventh Edition.pdf by walter Savitch
with C++ seventh Edition.pdf by walter Savitch
 
Oop obj c
Oop obj cOop obj c
Oop obj c
 
Slide Presentasi Teknik OO pada Desain Software
Slide Presentasi Teknik OO pada Desain SoftwareSlide Presentasi Teknik OO pada Desain Software
Slide Presentasi Teknik OO pada Desain Software
 
Introduction to design patterns
Introduction to design patternsIntroduction to design patterns
Introduction to design patterns
 
SADP PPTs of all modules - Shanthi D.L.pdf
SADP PPTs of all modules - Shanthi D.L.pdfSADP PPTs of all modules - Shanthi D.L.pdf
SADP PPTs of all modules - Shanthi D.L.pdf
 
DRESD Project Presentation - December 2006
DRESD Project Presentation - December 2006DRESD Project Presentation - December 2006
DRESD Project Presentation - December 2006
 
Lecture-7.ppt
Lecture-7.pptLecture-7.ppt
Lecture-7.ppt
 
PATTERNS01 - An Introduction to Design Patterns
PATTERNS01 - An Introduction to Design PatternsPATTERNS01 - An Introduction to Design Patterns
PATTERNS01 - An Introduction to Design Patterns
 
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
[Undergraduate Thesis] Final Defense presentation on Cloud Publish/Subscribe ...
 
Structured organization of Engineering Objects in the information content of ...
Structured organization of Engineering Objects in the information content of ...Structured organization of Engineering Objects in the information content of ...
Structured organization of Engineering Objects in the information content of ...
 
Development of Computer Aided Learning Software for Use in Electric Circuit A...
Development of Computer Aided Learning Software for Use in Electric Circuit A...Development of Computer Aided Learning Software for Use in Electric Circuit A...
Development of Computer Aided Learning Software for Use in Electric Circuit A...
 
Creating a Use Case
Creating a Use Case                                               Creating a Use Case
Creating a Use Case
 

Recently uploaded

Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
BalamuruganV28
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
drjose256
 

Recently uploaded (20)

"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
Software Engineering Practical File Front Pages.pdf
Software Engineering Practical File Front Pages.pdfSoftware Engineering Practical File Front Pages.pdf
Software Engineering Practical File Front Pages.pdf
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdf
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdf
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
 

Uml Class Diagram

  • 1. UML Inheritance Association Week Dependency - By – Md. Nadimozzaman Pappo - ID - 132014031 6/6/2016Depertment of Computer Science & Engineering 1
  • 2. What is Inheritance?  Getting characteristics from parent  Real life examples  Child get properties of Parents  Generalize an idea  Usage in problem & solution design makes perfect logical sense 6/6/2016Depertment of Computer Science & Engineering 2
  • 3. Inheritance in OOP  One of the core concepts of OOP  Sub Class, Super Class relation  Sub Class inherits from Supper Class  Inherits properties & operations  Simplify the codes 6/6/2016Depertment of Computer Science & Engineering 3
  • 4. UML Notation - Inheritance  Solid line with a closed arrowhead  From sub Class to super Class(Child to Parent)  Arrowhead is closed but not filled  Can be tree structured 6/6/2016Depertment of Computer Science & Engineering 4
  • 5. Why its important?  Generalize the Design  Makes easier map to OOP  Logical parts creation of whole project  Visualize relations among objects  Create abstraction 6/6/2016Depertment of Computer Science & Engineering 5
  • 6. What is Association?  The relation among things  Denotes how its related  Family of links 6/6/2016Depertment of Computer Science & Engineering 6
  • 7. Association in OOP  Objects may be linked or combined  May be logically or Physically  Binary, N-Ary  Order of the ends 6/6/2016Depertment of Computer Science & Engineering 7
  • 8. UML Notation - Association  Normally denoted by line  May have any number of links  Four different types of association: bi-directional, uni-directional, aggregation and reflexive  Also denote relations – One to one, one to many, many to many etc. 6/6/2016Depertment of Computer Science & Engineering 8
  • 9. Why its important?  Get grouped or linked objects  Relations among Classes  Get DB relations  How Classes are related 6/6/2016Depertment of Computer Science & Engineering 9
  • 10. What is Dependency?  A relationship among things  Provides client-supplier visualization  Create abstraction of solution & problem 6/6/2016Depertment of Computer Science & Engineering 10
  • 11. Dependency in OOP  Separates dependent & independent Classes  Clarify the deployment of Classes on situations  Creates abstractions in terms of usage 6/6/2016Depertment of Computer Science & Engineering 11
  • 12. UML Notation – Week Dependency  Denoted by a dashed arrow  From client to supplier  Arrow is not filled  Also denote usage, create etc. operation 6/6/2016Depertment of Computer Science & Engineering 12
  • 13. Why its important?  Simplify the relationship among models or classes  Shows usages dependency  Shows usages abstraction of whole project 6/6/2016Depertment of Computer Science & Engineering 13