Lesson 2.1: Create a new PiggyBank analysis model
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
- In the Project Explorer view, right-click the PiggyBank project; then click New > UML Model.
- In the New UML Model wizard, select Standard template and click Next.
- From the Categories list, select Analysis and Design.
- From the Templates list, select RUP Analysis Package.
- Accept the default file name and click Finish.
Results
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.