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
 

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!