UML diagrams for dynamic analysis

They form part of the final project documentation. Perform a detailed dynamic analysis of the selected use case using an activity and interaction (sequence) diagram. The state diagram will usually describe a wider context - the changing state of an object throughout the entire business process, consisting of multiple use cases.

Dynamic analysis, like the entire design phase (which results in design documentation), should be done before starting the implementation of the selected use case of the final project.

Based on the detailed activity diagram, you can design a user interface for a given use case.

Activity diagram for a use case

Exercise

Draw an activity diagram for the following requirements:

The company “Prof. Edker” deals in running the auction site smoking ovens *. One of the system’s functionalities is creating a new auction.

In order to start creating a new auction, the registered user selects the appropriate function in the menu. The auction can be created based on one of the user’s previous auctions (if present), or created from scratch. If the user creates an auction based on an existing one, the user should first select it from the list, after which the form for creating the auction will be filled with data from the existing auction. Otherwise, a blank form will be displayed. The form data includes: name of the furnace, type (electric or wood-fired), capacity, year of manufacture (cannot be from the future), condition of the device, additional description. After entering the data and the system validating successfully, the user selects the available delivery options for an auction. Delivery options are: courier delivery, personal pickup, and for sellers with a premium account also pickup at the “Prof. Edker” headquarters. After selection delivery options user should pick available payment options. Payments can be made by prepayment to the account, online payment or on delivery. In the case of prepayment or online payment, the user should choose one of his bank accounts saved in the system, or add a new account. After that the data is saved in the database. The seller can publish the auction immediately or save it as a draft.

*Smoking ovens are devices for conducting food processing at moderate temperatures with high smoke of organic origin :-)

//: # (For the “Create Auction” use case described above, draw a sequence diagram. Include the main use case scenario.)

State diagram

Exercise

Suggest a state diagram for the “Auction” class in the auctioning system. Include use cases other than those described above.

Back