Page 65 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 65

Unit 5: Advanced Class Modelling – II




          Figure 5.10 describes the TravelAwards package. A customer may have multiple frequent flyer  Notes
          accounts. Airlines identify each account with an account number. An account may receive
          numerous frequent flyer credits. Some frequent flyer credits pertain to flights; others (indicated
          by creditType) concern adjustments, redemption, long distance mileage, credit card mileage,
          hotel stays, car rental, and other kinds of inducements to patronize a business.
                         Figure 5.10: An  Object  Model for the TravelAwards  Package















          Source:  http://www.pearsonhighered.com/assets/hip/us/hip_us_pearsonhighered/samplechapter/
          0131238299.pdf
          Figure 5.11 describes the BaggageHandling package. A customer may check multiple bags for a
          trip and receives a claim ticket for each bag. Sometimes a bag is lost, damaged, or delayed, in
          which case the customer completes a baggage complaint form for each problem bag.
                       Figure 5.11: An  Object  Model for the BaggageHandling Package

















          Source: http://www.pearsonhighered.com/assets/hip/us/hip_us_pearsonhighered/samplechapter/
          0131238299.pdf

          Self Assessment

          Fill in the blanks:
          11.  A ........................ is a group of elements (classes, associations, generalizations, and lesser
               packages) with a common theme.
          12.  The notation for a package is a box with the addition of a ........................
          13.  The ........................ of a class is the set of classes reachable by one or more paths terminating
               in a combined multiplicity of “one” or “zero or one.”
          14.  A ........................ is a sequence of consecutive associations and generalization levels.
          15.  The purpose of the logical horizon is to compute the ........................ that can be inferred
               from some starting object.




                                           LOVELY PROFESSIONAL UNIVERSITY                                   59
   60   61   62   63   64   65   66   67   68   69   70