Organize your project into packages to reflect the different components and stages of development of your business.
The first step in modeling Use Cases is to define the scope of your project. The next step is to categorize the components of your business that you want to model. These categories are called packages. For example, in a hotel business, the Use Cases involved with making a reservation should not be mixed with Use Cases involved with paying the employees, which should not be mixed with those involved in maintaining the hotel. Instead, you might categorize them as separate packages:
•Reservations
•Human Resources
•Building Maintenance
In addition to packages that involve the role of employees, you might want to categorize your project in terms of the stages of development. For example, create packages for the Business Use Case View, the Logical View, the Physical Component View, and the Physical Deployment View. In modeling this way, a Customer class in the Business Use Case View will be a different class than a Customer class in the Logical View. Examples of these appropriate packages would be:
•Business Use Case View
•Logical View
•Physical Component View
•Physical Deployment View
To create a Business Use Case View package:
1 Open the Tutorial encyclopedia. (Select File > Open Encyclopedia > Existing. Select your Connection name, then highlight the Tutorial encyclopedia, click OK.)
2 In Explorer, select the UML tab. Right-click New . The Select New Type for UML dialog opens.
3 In the Select New Type for UML dialog, select a specific type such as class and so on . The Dictionary Object - Package dialog box opens.
4 Type in the name of the new package, Business Use Case View. Click OK. Another Dictionary Object - Package dialog box opens, this time enabling you to specify the parent package.
5 Since you want to create this package at the highest level, you can leave the Parent Package - (Package) field empty (the Packages folder that it falls under does not count). Click OK to close the second dialog. The new package is created, and is placed in alphabetical order under the Packages folder.
Now you can further define what part of the business you want to model with Use Cases.
6 Right-click the Business Use Case View > New. The Select new type for UML dialog opens.
7 In the Select New Type for UML dialog, select a specific type such as class and so on. The Dictionary Object - Package dialog opens.
8 Type in the name of the new package, Reservations. Click OK. Another Dictionary Object - Package dialog opens, this time enabling you to specify the parent package.
9 Click Choices next to the Parent Package - (Package). From the list of packages, drag Business Use Case View into the Parent Package field. Click OK to close the dialog.