Packages and Namespaces - Package Notation
5 important questions on Packages and Namespaces - Package Notation
What is the common way to show a Package?
If we do not wish to show any contents, we put the name of the Package in the center, see Fig. 8.1.
In the above examples, we have illustrated stand-alone Packages. In UML, it is also possible to draw a diagram that depicts the same situation. ![]()
Above 8.5 .
Here 8. 2
Why is this diagram a Package Diagram?![]()
classify the figure as a Class Diagram that depicts the content of MyPackage Package.
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
A Package may have an optional URI (UNIFORM RESOURCE IDENTIFIER ) associated with it.
What is the URI?
However, the URI is optional, and even when used, it need not be...?
If two Packages have the same URI they should be the same Package.
By using the same URI, different model databases or different UML tools can share Packages, across models or versions, if the tool vendors have implemented this feature.
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding
![Trustpilot Logo](/images/design_2020/lp/clp-trustpilot-en.png)