Artifact:
|
| A design package is a collection of classes, relationships, design use-case realizations, diagrams, and other packages. It is used to structure the design model by dividing it into smaller parts. | |
Other Relationships: |
Part Of Design Model
| |
---|---|---|
Role: | Designer | |
Optionality/Occurrence: | Required. Elaboration and Construction phases. | |
Templates and Reports: |
| |
Examples: |
| |
UML Representation: | Package in the design model. | |
More Information: |
| |
|
Input to Activities:
| Output from Activities:
|
Design packages are used to group related Design Model elements together for organizational purposes, and often for configuration management. Unlike the Artifact: Design Subsystem, a design package does not offer a formal interface, though it may expose some of its contents (marked as 'public') which offer behavior. Design packages should be used primarily as a model organizational tool, to group related things together; if behavioral semantics are needed, use Design Subsystems.
A design package and its contents are the responsibility of a single Role: Designer. Elements within the package may be dependent on the elements contained by other packages; this gives rise to dependencies between packages. Package dependencies can be used as a tool to analyze the resiliency of the design model: a model with cross-dependent packages is less resilient to change.
Property Name | Brief Description | UML Representation |
---|---|---|
Name | The name of the package. | The attribute "Name" on model element. |
Brief Description | A brief description of the role and purpose, or the "theme" of the package. | Tagged value, of type "short text". |
Classes | The classes directly contained in the package. | Owned via the aggregation "owns" |
Relationships | The relationships directly contained in the package. | - " - |
Design Use-Case Realizations | The design use-case realizations directly contained in the package. | - " - |
Diagrams | The diagrams directly contained in the package. | - " - |
Design Packages | The packages directly contained in the package. | - " - |
Import Dependencies | The import dependencies from the package to other packages. | Owned by an enclosing package, via the aggregation "owns". |
Packaging is done primarily during the Elaboration Phase, but minor adjustments to packaging will occur during the Construction phase, especially to re-allocate work or to restructure dependencies between packages.
A designer is responsible for the integrity of the package, ensuring that:
It is recommended that the designer responsible for a design package is also responsible for its contained classes; for more information refer to Artifact: Design Class.
Note that the designer is not responsible for the contained design use-case realizations and their related diagrams; instead, these are under the corresponding use-case designer's responsibilities.
Packages are used in the models to group similar model elements, improving the organization of the model and making it easier to understand. Packaging in large models is essential. Even in smaller models, appropriate packaging can dramatically improve the comprehensibility of the model. Some packaging is almost always useful. For more information, see Guidelines: Design Package.
Rational Unified Process
|