Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

complaint management system, Assignments of Object Oriented Analysis and Design

sequence diagram for complaint management system

Typology: Assignments

2019/2020

Uploaded on 10/26/2020

unknown user
unknown user 🇮🇳

1 document

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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
pf3
pf4
pf5

Partial preview of the text

Download complaint management system and more Assignments Object Oriented Analysis and Design in PDF only on Docsity!

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

  • Any number from 0 to infinity 0..1 Either 0 or 1 n..m Any number in the range n to m inclusive 1..* Any positive integer Three types of associations

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.