



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
sequence diagram for complaint management system
Typology: Assignments
Uploaded on 10/26/2020
1 document
1 / 7
This page cannot be seen from the preview
Don't miss anything!
Ex. No:4 IDENTIFY THE CONCEPTUAL CLASSES AND DEVELOP A DOMAIN Date:26/09/20 MODEL AND ALSO DERIVE A CLASS DIAGRAM FOR LIBRARY AIM: To identify the conceptual classes, associations and multiplicity of classes to develop a domain model with UML Class diagram. PROCEDURE: Classes Convert actors in Use-Case diagrams in to classes applicable in domain layer. We can Also use nouns from Use-Case models to find classes. Class: A Class is represented like this: Class Attribute 1 Attribute N ………… Method A() Method B() ………… Fig. 1 Class notation The top part showing the class name, the second showing the attributes and the third showing the methods. Associations between classes
Find out the sentences from Use Case model where two or more classes mentioned above are stated. These statements give the associations between those classes. Relationships between classes are generally represented in class diagrams by a line or an arrow joining the two classes. Multiplicity The multiplicity of a relationship is indicated by a number (or *) placed at the end of an association. The following diagram indicates a one-to-one relationship between A and B: Fig. 2 Class association notation A multiplicity can also be a range of values. Some examples are shown below: 1 One and only one
1. Communication association. Bidirectional: Fig. 3 Class bi-directional association notation If there is no arrow on the line, the association is taken to be bidirectional. A unidirectional association is indicated like this:
Find out the list of attributes and operations of all classes and add them in to classes in the class diagram. Here are the main classes of our Online Complaint Management System: CLASS ATTRIBUTES OPERATION Customer Productid Name Middlename Lastname Email_id address setProductID() setName() setMiddlename() setlastname() setEmail() opname() MonitorComplaint Complaintid complainttype date status() RegisterComplaint complainttype description postcomplaint() Administrator Username password createusers() createdivisions() opname() UpdateStatus isupdated updateComplaint() CheckStauts Complaintid showComplaints() stauts() remainder()
Database Unit isloggedin isSessionOut openConnection() close() searchComplaintDetails() update() commit() sendComplaintDetails() showStatus() Login Username Password confirmpassword check() Logout sessionout logout() OUTPUT Domain model
Fig. 9 Class Diagram for Online Complaint Management System RESULT: Thus, the class diagram for the domain model of a Online Complaint management system is drawn successfully.