July 2004
Intermediate to advanced
752 pages
35h 59m
English
A package may import elements from another package to add their names to its namespace (Figure 11-2). Importing does not add any modeling power, but it does simplify text expressions that appear in constraints and eventually code. An element can be imported if it is visible to the importing package. A package may also import an entire package, which is equivalent to importing all the visible elements within it.

An imported element becomes a visible element of the importing package under its imported name (which may differ from the original name, although they are usually the same). The access relationship adds ...
Read now
Unlock full access