Page 176 -
P. 176

DOMAIN  MODELING  OF  OBJECT-ORIENTED  INFORMATION  SYSTEMS     161
                    Figure 9.6  Another Domain Model for the Gymnastics System: With Minimum Number
                             of Classes


                                                                            Assign
                                     Team               Event              Judge to
                                                                            Event






                                                                               Qualified
                                             Competition  Competition            for
                        Club          Meet                           Event Type          Judge
                                                        Type





                      Gymnast        Member


                                                                          Award
                                                                           score

                    A Typical Procedure of Text Analysis Method

                    The following is a summary of the description of the text analysis method given in Rumbaugh
                    and colleagues (1990, p. 153). It is a typical procedure and has been adopted by various other
                    authors. It consists of the following steps:

                      •  Extract the nouns and noun phrases from the problem statement.
                      •  Make a list of candidate classes.
                      •  Separate the good classes from the bad ones. Eliminate the following: (1) Redundant classes,
                        (2) Irrelevant classes, (3) Vague classes, (4) Attributes, (5) Operations, (6) Roles, and (7)
                        Implementation constructs.

                    How the Procedure Would Perform in Practice

                    Upon reflection, it can be seen that the procedure is based on the following premises:

                      •  Premise 1: The classes for the analysis model can be found among the nouns and noun phrases
                        contained in the problem statement.
                      •  Premise 2: The nouns and noun phrases contained in the problem statement can be a valid
                        or an invalid candidate class. The way to distinguish between them is to apply a number of
                        criteria (such as the ones in the procedure above).

                      The first premise places a lot of responsibility on the problem statement. How should the
                    problem statement be written so that it can fulfill these responsibilities—that is, to ensure that it
   171   172   173   174   175   176   177   178   179   180   181