These are flashcards an notes made by students on topics like 'package', 'uri' and 'diagram', originating from:

- Michael Jesse Chonoles
ISBN-10 0128096403 ISBN-13 9780128096406
1335 Flashcards & Notes
  • This + 400k other summaries, also in PDF!
  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo

Study Cards on package, uri, diagram

What is the common way to show a Package?
The shape is a rectangular body with a tab in the upper left

If we do not wish to show any contents, we put the name of the Package in the center, see Fig. 8.1.
Report
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.
We show the diagram approach in Fig. 8.5

Above 8.5 .

Here 8. 2  
Report
Why is this diagram a Package Diagram?
This figure is a Package Diagram (because it shows Packages in the diagram) that shows the contents of the Package MyPackage. If we did not show the YourPackage member in the diagram, we might
classify the figure as a Class Diagram that depicts the content of MyPackage Package.
Report
A Package may have an optional URI (UNIFORM RESOURCE IDENTIFIER  ) associated with it.

What is the URI?
This URI is any string but is intended to be a unique nonchanging string identifying the location and access   protocol for the Package.
Report
However, the URI is optional, and even when used, it need not be...?
However, the URI is optional, and even when used, it need not be dereferenceable, (ontkoppelbaar) though it should be unique and nonchangeable.

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.
Report
  • Higher grades + faster learning
  • Don't study anything twice
  • 100% sure, 100% understanding
Discover Study Smart