These are flashcards an notes made by students on topics like 'nondistinguishable', 'package' and 'elements', 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 nondistinguishable, package, elements

UML Packages and computer directories are Namespaces.

These require?
These require unique and DISTINGUISHABLE names for their contents.
Report
Your computer’s operating system will not allow you to have two files with identical names within the same directory/folder.

  A Package will not allow ....?
A Package will not allow two Elements (of the same type) with the same name inside the Package.

As in any VIEW, if an Element appears twice in a Package, each occurrence is just a representation of the same thing


Likewise, if Elements of the same name and type appear in different Packages, they are different Elements.
Report
UML supports other Namespaces witch can contain ....?
Elements.
Report
Most people do not realize it, but the compartments of Class are also Namespaces.

A particular Class cannot have nondistinguishable
......., or nondistinguishable ...... just as a Package cannot have nondistinguishable ......

A particular Class cannot have nondistinguishable
attributes, or nondistinguishable operations  just as a Package cannot have nondistinguishable Elements
Report
What are the rules for nondistinguishable names?

For Operations?
Operations: Two operations within a Namespace cannot have the same signature (operation name, number, order, direction, and types of arguments).
Report
In the context of the rules for nondistinguishable names,
In this context, two types neither of which is a kind of the other are unRELATED TYPES.

That is, there  cannot be generalization relationships between them.
Report
These nondistinguishable name rules allow modelers, what?
These rules allow modelers some leeway in naming, primarily for purposes such as overloading operations.

Taking advantage of them too often can produce unreadable models and code despite being technically correct.
Report
  • Higher grades + faster learning
  • Don't study anything twice
  • 100% sure, 100% understanding
Discover Study Smart