SlideShare a Scribd company logo
1 of 20
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

Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagramsSwathy T
 
Uml package diagram
Uml package  diagramUml package  diagram
Uml package diagramVedaraj M
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Ramakant Soni
 
1. introduction to uml
1. introduction to uml1. introduction to uml
1. introduction to umlPRABU M
 
Collaboration Diagram
Collaboration DiagramCollaboration Diagram
Collaboration Diagramfahad_uaar
 
Uml deployment diagram
Uml deployment diagramUml deployment diagram
Uml deployment diagramAsraa Batool
 
SAD11 - Sequence Diagrams
SAD11 - Sequence DiagramsSAD11 - Sequence Diagrams
SAD11 - Sequence DiagramsMichael Heron
 
5.state diagrams
5.state diagrams5.state diagrams
5.state diagramsAPU
 
Component diagram
Component diagramComponent diagram
Component diagramAbdul Manan
 
CS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IICS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IIpkaviya
 
Class diagram presentation
Class diagram presentationClass diagram presentation
Class diagram presentationSayedFarhan110
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagramsbarney92
 

What's hot (20)

UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
 
Uml package diagram
Uml package  diagramUml package  diagram
Uml package diagram
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram
 
Deployment Diagram
Deployment DiagramDeployment Diagram
Deployment Diagram
 
1. introduction to uml
1. introduction to uml1. introduction to uml
1. introduction to uml
 
Grasp
GraspGrasp
Grasp
 
Uml
UmlUml
Uml
 
Collaboration Diagram
Collaboration DiagramCollaboration Diagram
Collaboration Diagram
 
Gof design patterns
Gof design patternsGof design patterns
Gof design patterns
 
Class Diagram
Class DiagramClass Diagram
Class Diagram
 
Uml deployment diagram
Uml deployment diagramUml deployment diagram
Uml deployment diagram
 
SAD11 - Sequence Diagrams
SAD11 - Sequence DiagramsSAD11 - Sequence Diagrams
SAD11 - Sequence Diagrams
 
5.state diagrams
5.state diagrams5.state diagrams
5.state diagrams
 
Component diagram
Component diagramComponent diagram
Component diagram
 
Class diagrams
Class diagramsClass diagrams
Class diagrams
 
CS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IICS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT II
 
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
 
Class diagram presentation
Class diagram presentationClass diagram presentation
Class diagram presentation
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 

Similar to Package Diagram

Object oriented system design
Object oriented system designObject oriented system design
Object oriented system designMitesh Jalan
 
Domain model Refinement
Domain model RefinementDomain model Refinement
Domain model RefinementAnjan Kumar
 
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
 
Domain model Refinement
Domain model RefinementDomain model Refinement
Domain model Refinement
 
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
 

Recently uploaded

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
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
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
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
 
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
 
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
 
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
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
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
 
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
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 

Recently uploaded (20)

Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
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
 
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
 
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 ...
 
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
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
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
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 

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.