When you create a model, it always includes a default package,
called "Default," where model elements are saved unless you specify
a different package.
Packages divide the system into functional
domains, or subsystems, which can consist of objects,
object types, functions, variables, and other logical artifacts. Packages
do not have direct responsibilities or behavior; they are simply containers
for other objects. They can be organized into hierarchies, providing
the system under development with a high level of partitioning.
When creating packages, follow these basic guidelines:
- Do not allow packages to become unmanageably large.
Break them into subpackages.
- Limit dependencies across packages. One way to
limit dependencies is to use interfaces in their own packages.