Figure 6.1 Entity Class Boundary Class Control Class
Figure 6.2 Start Perform the initial functional modeling Perform the initial class modeling Perform the initial dynamic modeling Are the classes satisfactory? Yes End No Refine the functional modeling Refine the class modeling Refine the dynamic modeling
Figure 6.3 (Figure 4.23)
Figure 6.8 Painting Class Masterpiece Class Masterwork Class Other Painting Class
Figure 6.9 Painting Class Masterpiece Class Masterwork Class Other Painting Class
Figure 6.10 Painting Class Masterpiece Class Other Painting Class Masterwork Class
Figure 6.11 Painting Class Gallery Painting Class Auctioned Painting Class Masterpiece Class Other Painting Class Masterwork Class
Figure 6.12 Painting Class Gallery Painting Class Auctioned Painting Class Masterpiece Class Other Painting Class uses s Fashionability Class Masterwork Class
Osbert Oglesby Application Class Painting Class Figure 6.13a firstNameOfArtist lastNameOfArtist title yearOfWork height width medium subject Gallery Painting Class Auctioned Painting Class classification dateOfPurchase nameOfSeller addressOfSeller maxPurchasePrice actualPurchasePrice targetSellingPrice dateOfSale nameOfBuyer addressOfBuyer actualSellingPrice auctionDate auctionPrice
Figure 6.13b Other Painting Class Fashionability Class Masterpiece Class Other Painting Class Fashionability Class uses s firstNameOfArtist lastNameOfArtist coefficient Masterwork Class
Osbert Oglesby Application Class Figure 6.14 Painting Class Gallery Painting Class Auctioned Paintings Class uses s Masterpiece Class Other Painting Class Fashion- ability Class Masterwork Class
Figure 6.15 x quit selection Osbert Oglesby Information System Loop buy painting selection sell painting selection print report selection update fashionability selection Buying a Painting Selling a Painting Producing a Report Updating Fashionability Buy a masterpiece, masterwork, or other painting. Sell a masterpiece, masterwork, or other painting. List sold paintings, bought paintings, or trends. Update fashionability coefficient
Figure 6.16 Click on your choice: Buy a painting Sell a painting Print a report Update fashionability Quit
Modify a Fashionability Figure 6.20 Osbert Oglesby Information System Buy a Masterpiece Buy a Masterwork Seller Buy Other Painting Sell a Painting Buyer Produce a Purchases Report Osbert Produce a Sales Report Produce a Future Trends Report Modify a Fashionability Coefficient
Figure 6.21 Osbert Oglesby Information System Buy a Masterpiece Osbert Seller
Figure 6.23 The seller provides data entered by Osbert Seller Masterpiece Class User Interface Class Compute Masterpiece Price Class Osbert Auctioned Painting Class
Figure 6.25 Data that the seller provides for Osbert to enter 3: Create new object 11: Request update [new] Seller : Masterpiece Class 1: Give masterpiece details 9: Give seller 2: Transfer masterpiece details 10. Transfer seller 4: Return new object 12: Send acknowledg- ment 8: Display price 14: Display acknow- ledgment 7: Provide price 13: Send acknow- ledgment : User Interface Class : Compute Masterpiece Price Class Osbert 5: Browse auctioned paintings 6: Return auctioned painting : Auctioned Painting Class
5: Browse auctioned paintings Figure 6.27 : User Interface Class : Compute Masterpiece Price Class : Auctioned Painting Class Seller Osbert 1: Give masterpiece details 2: Transfer details : Masterpiece Class 3: Create new object Data that the seller provides for Osbert to enter 4: Return new object 5: Browse auctioned paintings 6: Return auctioned painting 7: Provide price 8: Display price 9: Give seller details 10: Transfer seller details 11: Request update 12: Send acknow- ledgment 13: Send acknow- ledgment 14: Display acknow- ledgment
Figure 6.28 The seller provides data entered by Osbert Compute Masterpiece Price Class Auctioned Painting Class Seller Osbert Compute Masterwork Price Class Masterwork Class User Interface Class
Figure 6.30 6: Browse auctioned paintings 7: Return auctioned painting : Compute Masterpiece Price Class : Auctioned Painting Class Data that the vendor provides for Osbert to enter 5: Transfer masterwork 8: Provide price Seller 1: Give masterwork details 11: Give vendor 2: Transfer masterwork details 12. Transfer vendor 3: Create new object 13: Request update 9: Adjust price 15: Send acknow- ledgment 4: Return new object 14: Send acknow- ledgment 10: Display price 16: Display acknow- ledgment Osbert : User Interface Class : Compute Masterwork Price Class : Masterwork Class
Figure 6.32 : User Interface Class : Compute Masterwork Price Class : Compute Masterpiece Price Class : Auctioned Painting Class Seller Osbert 1: Give masterwork details 2: Transfer masterwork details : Masterwork Class 3: Create new object 4: Return new object 5: Transfer masterwork Data that the seller provides for Osbert to enter 6: Browse auctioned paintings 7: Return auctioned painting 8: Provide price 9: Adjust price 10: Display price 11: Give seller details 12: Transfer seller details 13: Request update 14: Send acknow- ledgment 15: Send acknow- ledgment 16: Display acknow- ledgment
Figure 6.33 The seller provides data entered by Osbert Seller Other Painting Class Compute Other Painting Price Class Osbert User Interface Class Fashionability Class
Figure 6.34 Click on your choice: Buy a masterpiece Buy a masterwork Buy other painting Sell a painting Print a report Update fashionability Quit
Figure 6.36 The buyer provides data entered by Osbert Buyer Osbert User Interface Class Gallery Painting Class
Figure 6.37 Osbert User Interface Class Gallery Painting Class Purchases Report Class
Figure 6.38 Osbert User Interface Class Gallery Painting Class Sales Report Class
Figure 6.39 Gallery Painting Class Osbert User Interface Class Compute Future Trends Class Future Trends Report Class
Figure 6.40 Osbert User Interface Class Fashionability Class
Osbert Oglesby Figure 6.41 User Interface Class Compute Masterwork Price Class Compute Masterpiece Price Class Compute Future Trends Class Compute Other Painting Price Class Masterwork Class Masterpiece Class Auctioned Paintings Class Gallery Painting Class Other Painting Class Fashion- ability Class Sales Report Class Purchases Report Class Future Trends Report Class
Relationships in Figure 6.41 Osbert Oglesby Figure 6.42 Osbert Oglesby Application Class User Interface Class Compute Masterwork Price Class Compute Masterpiece Price Class Compute Future Trends Class Compute Other Painting Price Class Masterwork Class Masterpiece Class Auctioned Paintings Class Painting Class uses s Gallery Painting Class Other Painting Class Fashion- ability Class Sales Report Class Purchases Report Class Future Trends Report Class Relationships in Figure 6.41 Relationships in Figure 6.14