Download presentation
Presentation is loading. Please wait.
Published byChrystal Weaver Modified over 9 years ago
1
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
2
Organizing and grouping - package diagrams ◦ role ◦ basic concepts ◦ advanced concepts ◦ examples 2
3
Package diagram is a graphical representation of the logical structure of the system as a set of packages combined with dependencies and decomposed. These diagrams are used for grouping and organizing complex project documentation. 3
4
Package - a general-purpose mechanism that is used to organize the elements of a group. Package may include a variety of UML classifiers, complete diagrams, class libraries, subsystems, models or templates. Dependency - the basic way to combine packages into a logical structure, which results in creation of package diagrams Package nesting/decomposing – a natural way to organize packages, which can be multilevel 4
5
5 Package Dependency
6
6 Nesting/Decomposition
7
Stereotyping of packages: ◦ model stereotype ◦ subsystem stereotype ◦ template stereotype ◦ class library stereotype Stereotyping of dependencies: ◦ import ◦ merge ◦ access 7
8
Model stereotype - describes the packages that are models; common model stereotype packages represent use cases models, business models and analytical models Subsystem stereotype - is useful in modeling systems decomposed into hierarchically ordered packages Template stereotype - describes a package which is model solutions to problems in a given field Class library stereotype - describes a package which groups system components to be used by other packages 8
9
Import stereotype - describes commonly used dependency, meaning inclusion of classifiers, which are inside the target package into the source package during the operation of the system Merge stereotype - leads to merging of classifiers which are inside the target package with the classifiers included in the source package; such merging dependency means that the classifiers from the source package inherit from the target package, but only within the classifiers of the same type, identical names, with "public" visibility Access dependency - means that the source package can access the contents of the target package without physical download of data 9
10
10 Dependency stereotypes
11
11 Dependency stereotypes Subsystem stereotype
12
identification and labeling of packages classification of identified packages using appropriate stereotypes, identification of packages nesting/ decomposition, combining packages using dependencies, specification of dependencies by giving them appropriate stereotypes 12
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.