< Previous | Next >

Lesson 2.1: Create a new PiggyBank analysis model

In this lesson, 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 that you can use to quickly create your own analysis model by using the existing Rational® Unified Process® (RUP) stereotypes and template diagrams.

About this task

Rational® modeling products provide a built-in analysis-model template to help you quickly create a properly structured analysis model. The template contains prenamed packages and diagram templates, as well as RUP® analysis elements that you can use to build a domain model of your system.

To create the analysis model

Procedure

  1. In the Project Explorer view, right-click the PiggyBank project; then click New > UML Model.
  2. In the New UML Model wizard, select Standard template and click Next.
  3. From the Categories list, select Analysis and Design.
  4. From the Templates list, select RUP Analysis Package.
  5. Accept the default file name and click Finish.

Results

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

What to do next

Analysis-model template

The analysis-model template is structured according to the Rational UML model structure guidelines. The analysis-model template organizes the model into internally cohesive, loosely coupled, functional groupings that help you 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 following table lists the packages that the use-case model template contains:

Package Description
«perspective» Overviews This package contains diagrams and RUP analysis model elements that describe the domain model. The RUP analysis elements divide 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 functional areas and organize them into a proper use-case model.

< Previous | Next >

Feedback