Question: Draw a class diagram according to the information presented in the sequence diagram for this very first use case. Please add comments to your UML
Draw a class diagram according to the information presented in the sequence diagram for this very first use case.
Please add comments to your UML diagram
![Data Base Assert [confirmed = true] Assert [user_id > 0] 1 -X](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2023/10/652a2290e750d_1697260170218.jpg)
Data Base Assert [confirmed = true] Assert [user_id > 0] 1 -X Alt Customer loginButton_Click() loginDialog: GUI getFullName: SQL query(name) :MainWindow matchCredentials: SQUquery(name, passwd) Send a message if login failed, Otherwise, update status and enable/update buttons. message: String LoginDialog okButton Click(): Boolean cancelButton_Click(): Boolean < > X confirmed: Bool... logged in: Boolean K validateUser(Boolean logged in) KE userlogin(String name, String passwd): Boolean For invalid user, the value of 'user_id is -1. UserData user_id: Integer GUI has two slots for user to provide credentials, which sets the string values of name and passwd. getUserInfo(ref String full name): Integer user_id: Integer userLogin(String name, String passwd): Integer X DALUserInfo full name: String < matched: Boolean ---> getFulName(String name): String full name: String ----> X
Step by Step Solution
3.45 Rating (148 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
