Exercise 2.1: Creating a new analysis model

In this exercise, you create a new analysis model by using the built-in analysis model template. The analysis model template provides an example of a properly structured analysis model which you can use to quickly create your own analysis model by using the existing RUP® stereotypes and stub diagrams.

Rational® Software Architect provides a built-in analysis model template to help you quickly create your properly structured analysis model. The template contains prenamed packages and diagrams stubs, as well Rational Unified Process® analysis elements that you can use to build a domain model of your system.

Creating the analysis model

  1. In the Model Explorer view, right-click the PiggyBank project; then click New > UML Model.
  2. In the New UML Model wizard, in the Templates list, click Analysis Model.
  3. Accept the default file name and click Finish.

You have created a new UML model by using the analysis model template. To explore the new model, in the Model Explorer view, double-click the Analysis Model.emx file and navigate through the model hierarchy.

The analysis model template

The analysis model template is structured according to the Rational UML model structure guidelines. The analysis model template organizes the model around internally cohesive, loosely coupled, functional groupings that help you to quickly create a complete, logical analysis model. You already identified the main functional area in the use case model called Account Operations. The analysis model builds on the same structure, but adds use case realizations and domain diagrams to describe the static and dynamic structure of the PiggyBank system.

The use case model template contains the following packages:

Package Description
«perspective» Overviews: This package contains diagrams and RUP analysis model elements that are used describe the domain model. The RUP analysis elements define the domain level classes into one of three categories: boundary, controller, or entity.
«ModelLibrary» Analysis Building Blocks This package contains the raw functional area structure that you can use to organize your model. This package contains the ${functional.area} Analysis Elements building block, and the ${functional.area} Analysis-Level Use Case Realizations building block. These building blocks store the RUP analysis elements and the PiggyBank use case realizations.

You can use the existing template structure and accompanying documentation to guide you as you define your functional areas and organize them into a proper use case model.

To continue, proceed to Exercise 2.2: Identifying classes.

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.