The most important elements are the class
names, the types, and the relationships.
This basic class diagram can be elaborated with the operations and attributes as described
in the use case specification to an elaborated class diagram (Figure 8).
Figure 9 shows a simple sequence diagram that indicates a basic flow of the use case, Determining
the client??™s financial status: Data evaluation. Messages corresponding to operations
on the classes are drawn to correspond to the main narrative text alongside the scenario.
Figure 8. Elaborated analysis model elements
Figure 9. Basic sequence diagram
+dataEvaluat on()
+selectBalanceSheet ()
+selectIncomeStatement()
DATA EVALUATION
+getAssets()
+getL ab l t es()
+computeNetWorth()
BUILD BALANCE SHEET
+getIncome()
+getExpenses ()
+computeSav ngsContr but ons ()
BUILD INCOME STATEMENT
+updateValue ()
+name
-value
ASSET
+updateValue ()
+name
-value
LIABILITY
+updateValue ()
+name
-value
INCOME
+updateValue ()
+name
-value
EXPENSE
F nanc al Planner System
Select "Data evaluat on"
The F nanc al Planner beg ns by
select ng ???Data evaluat on??? .
The system responds w th the poss b l ty
to construct a balance sheet or an
ncome statement.
Pages:
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278