import

A directed relationship that adds the names of elements to a namespace.

See access, qualified name, visibility.

Semantics

The names of elements defined within a package (or other namespace) may be used within textual expressions (such as OCL constraints) found in the package. Elements from other packages can be referenced using their qualified names, that is, the sequence of names of the nested namespaces containing the element starting from the system root. In many cases, a modeler wishes to treat an element or group of element as if they had been defined locally, so that simple names can be used instead of qualified names. A package (the client) that imports an element from another package (the supplier) may use the simple name of the ...

Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.