SlideShare a Scribd company logo
Package Diagram
GROUP MEMBRS:
WASI ALI 14005065029
M. YASEEN 14005065046
SYED BILAL 14005065008
PACKAGE DIAGRAM
• The PACKAGE DIAGRAM in the UML (unified Modeling Language)
shows the dependencies between the packages that make up a
model.
• Package Diagram show the arrangement and organization of model
elements.
• It can also show structure and dependencies between sub-system or
modules.
UML PACKAGE SYMBOLS
UML PACKAGE SYMBOLS
• ACCESS: It is defined as directed relationship between an importing
namespace and a package able element.
• DEPENDENCY: Dependency relationship signifies that a single or set of
model elements requires other model elements for implementation.
• IMPORT; It is defined as a directed relationship that identifies a package
whose members are to be imported by a namespace.
• MERGE; It indicates that the contents of two packages are to be combined.
PACKAGE
• Package is used to group elements and provides a namespace for the
grouped elements. A package is a namespace for its members and may
contain other packages.
• Package can also merge with other package, thus provide the hierarchical
organization of the package.
• Different types of elements are allow to have the same name.
• Members of the package may be shown within the boundaries of the
package.
MEMBERS OF PACKAGE
• Member of the package not shown inside the package.
• Member of the package shown inside the package.
• Member of the package may e shown outside of the
package by branching lines.
RELATIONSHIPS
• There are three types of relationship in Package diagram.
• DEPENDENCY:
• GENERALIZATION:
• REFINEMENT:
DEPENDENCY
• One package depend on other package.
• Fish depend on water.
GENERALIZATIONS
• Generalization show the main branch and its kinds.
REFINEMENT
• Refinement show different kind of relationship between packages.
• One package refines another package, if it contain same elements but
offers more details about those elements.
PACKAGE IMPORT
• The keyword <<import>> is a indicated relationship between an
importing namespace and imported package.
• The keyword <<access>> is shown to indicate private visibility.
• The visibility of a package import could be either public or private.
PACKAGE IMPORT
• Private import of Presentation package and public import of Domain
package.
PACKAGE MERGE
• Package Merge indicates that content of one package is extended by
the content of another package.
• Package merge used when elements defined in different packages
have the same name and are intended to represent the same
concept.
• Package merge is shown using a dashed line with an open arrowhead
pointing from the receiving package to the merged package.
PACKAGE MERGE
• UML packages constructs and primitive types are merged by UML
Kernel package.
PACKAGE RELATIONSHIP
• A relationship between two packages is called a package dependency.
• The dependency relationship between packages is consistent with the
associative relationship between classes.
• EX: If changing the content of a package P2, affects the content of
another package P1, We can say that P1 has a Package Dependency
on P2.
PACKAGE RELATIONSHIP
• There are two types of Relationship:
• Unidirectional relationship.
• Bidirectional relationship.
PACKAGE RELATIONSHIP
• Unidirectional Relationship: one package have only one direction in
the diagram.
PACKAGE RELATIONSHIP
• Bidirectional Relationship: one package have two
direction and one package directed by two packages.
Class package diagram
THANK
YOU

More Related Content

What's hot

Introduction to Design Pattern
Introduction to Design  PatternIntroduction to Design  Pattern
Introduction to Design PatternSanae BEKKAR
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and DesignHaitham El-Ghareeb
 
Component diagram
Component diagramComponent diagram
Component diagramAbdul Manan
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGERaval Chirag
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction DiagramNiloy Rocker
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewRajiv Kumar
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram Rahul Pola
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagramsBaskarkncet
 
Architectural Modeling
Architectural ModelingArchitectural Modeling
Architectural ModelingAMITJain879
 
State Machine Diagram
State Machine DiagramState Machine Diagram
State Machine DiagramNiloy Rocker
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML DiagramsManish Kumar
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagramRahul Pola
 
Unit 2(advanced class modeling & state diagram)
Unit  2(advanced class modeling & state diagram)Unit  2(advanced class modeling & state diagram)
Unit 2(advanced class modeling & state diagram)Manoj Reddy
 

What's hot (20)

Component Diagram
Component DiagramComponent Diagram
Component Diagram
 
Introduction to Design Pattern
Introduction to Design  PatternIntroduction to Design  Pattern
Introduction to Design Pattern
 
Packages in java
Packages in javaPackages in java
Packages in java
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Component diagram
Component diagramComponent diagram
Component diagram
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief Overview
 
Class diagrams
Class diagramsClass diagrams
Class diagrams
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 
ADO .Net
ADO .Net ADO .Net
ADO .Net
 
Architectural Modeling
Architectural ModelingArchitectural Modeling
Architectural Modeling
 
State Machine Diagram
State Machine DiagramState Machine Diagram
State Machine Diagram
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
Unit 2(advanced class modeling & state diagram)
Unit  2(advanced class modeling & state diagram)Unit  2(advanced class modeling & state diagram)
Unit 2(advanced class modeling & state diagram)
 
Dynamic modeling
Dynamic modelingDynamic modeling
Dynamic modeling
 
Package Diagram
Package DiagramPackage Diagram
Package Diagram
 

Similar to Package Diagram

Object oriented system design
Object oriented system designObject oriented system design
Object oriented system designMitesh Jalan
 
Ooad presentation package_design
Ooad presentation package_designOoad presentation package_design
Ooad presentation package_designTania Sahito
 
Java package
Java packageJava package
Java packageCS_GDRCST
 
06 class diagrams
06 class diagrams06 class diagrams
06 class diagramsBaskarkncet
 
Packages
PackagesPackages
Packageszohnn
 
5.interface and packages
5.interface and packages5.interface and packages
5.interface and packagesDeepak Sharma
 
Chap1 packages
Chap1 packagesChap1 packages
Chap1 packagesraksharao
 
Software System Package Dependencies and Visualization of Internal Structure
Software System Package Dependencies and Visualization of Internal StructureSoftware System Package Dependencies and Visualization of Internal Structure
Software System Package Dependencies and Visualization of Internal StructureIJAAS Team
 
Unit4 java
Unit4 javaUnit4 java
Unit4 javamrecedu
 
plsql ppt.pptx
plsql ppt.pptxplsql ppt.pptx
plsql ppt.pptxArunT58
 
Class notes(week 7) on packages
Class notes(week 7) on packagesClass notes(week 7) on packages
Class notes(week 7) on packagesKuntal Bhowmick
 
Packages,interfaces and exceptions
Packages,interfaces and exceptionsPackages,interfaces and exceptions
Packages,interfaces and exceptionsMavoori Soshmitha
 

Similar to Package Diagram (20)

package diagram.pptx
package diagram.pptxpackage diagram.pptx
package diagram.pptx
 
uml reference package_diagram
uml reference package_diagramuml reference package_diagram
uml reference package_diagram
 
Object oriented system design
Object oriented system designObject oriented system design
Object oriented system design
 
Packages in java
Packages in javaPackages in java
Packages in java
 
Ooad presentation package_design
Ooad presentation package_designOoad presentation package_design
Ooad presentation package_design
 
Java package
Java packageJava package
Java package
 
Java packages oop
Java packages oopJava packages oop
Java packages oop
 
Packages
PackagesPackages
Packages
 
Uml2
Uml2Uml2
Uml2
 
Package in Java
Package in JavaPackage in Java
Package in Java
 
06 class diagrams
06 class diagrams06 class diagrams
06 class diagrams
 
Packages
PackagesPackages
Packages
 
5.interface and packages
5.interface and packages5.interface and packages
5.interface and packages
 
Chap1 packages
Chap1 packagesChap1 packages
Chap1 packages
 
Software System Package Dependencies and Visualization of Internal Structure
Software System Package Dependencies and Visualization of Internal StructureSoftware System Package Dependencies and Visualization of Internal Structure
Software System Package Dependencies and Visualization of Internal Structure
 
Unit4 java
Unit4 javaUnit4 java
Unit4 java
 
plsql ppt.pptx
plsql ppt.pptxplsql ppt.pptx
plsql ppt.pptx
 
Class notes(week 7) on packages
Class notes(week 7) on packagesClass notes(week 7) on packages
Class notes(week 7) on packages
 
Packages,interfaces and exceptions
Packages,interfaces and exceptionsPackages,interfaces and exceptions
Packages,interfaces and exceptions
 
packages.ppt
packages.pptpackages.ppt
packages.ppt
 

Recently uploaded

Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chipsGeoBlogs
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePedroFerreira53928
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleCeline George
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsCol Mukteshwar Prasad
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfDr. M. Kumaresan Hort.
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...Nguyen Thanh Tu Collection
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXMIRIAMSALINAS13
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxssuserbdd3e8
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxShibin Azad
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersPedroFerreira53928
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesRased Khan
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxbennyroshan06
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...Denish Jangid
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringDenish Jangid
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfYibeltalNibretu
 

Recently uploaded (20)

Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 

Package Diagram

  • 1. Package Diagram GROUP MEMBRS: WASI ALI 14005065029 M. YASEEN 14005065046 SYED BILAL 14005065008
  • 2. PACKAGE DIAGRAM • The PACKAGE DIAGRAM in the UML (unified Modeling Language) shows the dependencies between the packages that make up a model. • Package Diagram show the arrangement and organization of model elements. • It can also show structure and dependencies between sub-system or modules.
  • 4. UML PACKAGE SYMBOLS • ACCESS: It is defined as directed relationship between an importing namespace and a package able element. • DEPENDENCY: Dependency relationship signifies that a single or set of model elements requires other model elements for implementation. • IMPORT; It is defined as a directed relationship that identifies a package whose members are to be imported by a namespace. • MERGE; It indicates that the contents of two packages are to be combined.
  • 5. PACKAGE • Package is used to group elements and provides a namespace for the grouped elements. A package is a namespace for its members and may contain other packages. • Package can also merge with other package, thus provide the hierarchical organization of the package. • Different types of elements are allow to have the same name. • Members of the package may be shown within the boundaries of the package.
  • 6. MEMBERS OF PACKAGE • Member of the package not shown inside the package. • Member of the package shown inside the package. • Member of the package may e shown outside of the package by branching lines.
  • 7. RELATIONSHIPS • There are three types of relationship in Package diagram. • DEPENDENCY: • GENERALIZATION: • REFINEMENT:
  • 8. DEPENDENCY • One package depend on other package. • Fish depend on water.
  • 9. GENERALIZATIONS • Generalization show the main branch and its kinds.
  • 10. REFINEMENT • Refinement show different kind of relationship between packages. • One package refines another package, if it contain same elements but offers more details about those elements.
  • 11. PACKAGE IMPORT • The keyword <<import>> is a indicated relationship between an importing namespace and imported package. • The keyword <<access>> is shown to indicate private visibility. • The visibility of a package import could be either public or private.
  • 12. PACKAGE IMPORT • Private import of Presentation package and public import of Domain package.
  • 13. PACKAGE MERGE • Package Merge indicates that content of one package is extended by the content of another package. • Package merge used when elements defined in different packages have the same name and are intended to represent the same concept. • Package merge is shown using a dashed line with an open arrowhead pointing from the receiving package to the merged package.
  • 14. PACKAGE MERGE • UML packages constructs and primitive types are merged by UML Kernel package.
  • 15. PACKAGE RELATIONSHIP • A relationship between two packages is called a package dependency. • The dependency relationship between packages is consistent with the associative relationship between classes. • EX: If changing the content of a package P2, affects the content of another package P1, We can say that P1 has a Package Dependency on P2.
  • 16. PACKAGE RELATIONSHIP • There are two types of Relationship: • Unidirectional relationship. • Bidirectional relationship.
  • 17. PACKAGE RELATIONSHIP • Unidirectional Relationship: one package have only one direction in the diagram.
  • 18. PACKAGE RELATIONSHIP • Bidirectional Relationship: one package have two direction and one package directed by two packages.