SlideShare a Scribd company logo
Presenters:
Iqra Azam(10-arid-300)
Ayesha Saeed(10-arid-282)
BSIT(7-A)
Define Domain Model
 How to develop Domain Model
 Features of Domain Model
 Example of Domain Model
 Reference



Structural model of basic domain concepts and their
relationships



It may show:
 domain objects or conceptual classes
 associations between conceptual classes
 attributes
Also called conceptual models, domain object
models, and analysis object models.


Identify conceptual classes



Draw them as in a UML domain model



Add associations necessary to record relationship



Add the attributes necessary to fulfill the information
requirements
Domain classes
 Attributes
 Associations
 Multiplicity
 Aggregation
 Composition
 Generalization
 Roles

Each domain class denotes a type of object
 Consider a use case description



Attributes refer to properties that define the class.
For Example
A class Client will have attributes name, id and address.

Sale
date
startTim e : Tim e

attrib utes




public level
protected level
private level

+
#
-

Circle
- centreX:Int
+ centreY:Int=0

9
A link between two classes
 A Person works for a Company.


Association

Company

Person
works for
Association Name

10
Derived association
 Qualified Association
 Association classes

Derived association exist automatically once we have
implement the main association
 / in front of its name
 Black triangle indicate direction


Company

Person
/ works for


Contain index , array
1

9

Board

Board

Square

1
Row:{1,2,3}
Col:{1,2,3 }

1

Square


Describes how many instances of one concept can be
associated with one instance of the related concept.
A Student can take up to five Courses.
 Student has to be enrolled in at least one course.
 Up to 300 students can enroll in a course.
 A class should have at least 10 students.


Student
10..300

takes

Course
1..5

16
“Has a”
 A special form of association that models a whole-part
relationship
 Weak association


Part

Whole

Schedule

Student
Aggregation
“Own a”
 A strong form of aggregation where components cannot
exist without the aggregate.
 The parts cannot survive the whole/aggregate


Part

Whole

Schedule

Student
Composition
Button

CancelButton

Zone Button

The children classes inherit the attributes of the parent
class.
 Eliminating redundancy.
 Generalize/specialize



Each end of an association is called a role.



Roles may have:
Name
multiplicity expression
Navigability




Show who is dominant
 Put an arrow on one end of association


Is taking

Student
1..*

Module
6
We first analyze the stated domain model requirements and then
present the domain model.
 The system must be able to keep track of which movie videos have
been bought/rented and by whom.
classes & associations: customer Buys movie video;
customer Rents movie video
 For videos bought, the system must record the quantity bought; for
videos rented, the system must record which copy of the video has
been rented and when it is due back.
classes & associations: customer Rents movie video;
–> movie video Has rental copy;
customer Rents rental copy;
Attributes : Buys –> quantity;
Rentalcopy -> copyNumber, dateDue
 The system must keep track of overdue rental videos and allow notices
to be sent to customers who have videos overdue.
functional requirement: no new domain model requirements in this
statement
 The video shop will have a customer membership option for an annual
fee, which will entitle the member to discounts (10%) on video sales
and rentals.
generalization: Member is a kind of Customer
Member Specializes Customer


Members should be able to make reservations for movie video
rentals either in person at the store, by telephone or via the Web.
◦ classes & associations: Member Reserves Rentalcopy



A member can reserve at most five movie videos at any one time, but
there is no limit on how many movie videos a member or nonmember
can rent at any one time.
◦ constraint: max-card(rental copy, Reserves) = 5
◦ max-card(rental copy, Rents) = *
 As an added feature, the video shop would like to allow customers
(either members or nonmembers) to input, via the Web, mini-reviews
(up to 100 words) and a rating (from 1, lowest, to 5, highest) of
movies they have rented.
classes & associations: Customer Provides review IsFor Movie Video
–> Customer Provides Review;
MovieVideo Has Review
attributes: Review –> review text, rating


These reviews should be anonymous if the customer so wishes (i.e.,
the customer can specify whether or not he wants his name to be
made known when other customers browse the reviews).
Attributes: Review –> anonymous



The video shop maintains the following information about all
customers (members or nonmembers): name, address, phone
number, fax number, age, sex, and email address
◦ Attributes : Customer–> name, address,
◦ phoneNumber, faxNumber, age, gender, email;


In addition, members are assigned a membership number by the
video shop when they become members and a password, which
allows them to access the member's only area of the video
shop's web site, including accessing and changing their personal
information.
attributes:
Member –>memberNumber, password

 An employee must be able to enter the basic information about a
movie video (i.e., title, leading actor(s), director, producer, genre,
synopsis, release year, running time, selling price, and rental
price).
attributes: MovieVideo –> title, leadingActor[0..*], director,
producer, genre, synopsis, releaseYear, runningTime,
sellingPrice, rentalPrice
*

Has

1

MovieVideo

0..*

RentalCopy

1

*

HasReview

0..5

Rents
Reserves

*

Review

*

Provides

1
1

Customer
*

Buys
quantity

Member

0..1
MovieVideo

*

title
leadingActor [0..*]
director
producer
genre
synopsis
releaseYear
runningTime
sellingPrice
rentalPrice

RentalCopy
1

Has

0..*

copyNumber
dateDue

0..5

*

Rents

1
1

HasReview

Customer

*

name
address
phoneNumber
faxNumber
age
gender
email

Review
reviewText
rating
anonymous

*

Provides

1

Reserves

*

Buys
quantity

Member
memberNumber
password

0..1
 http://users.encs.concordia.ca/~gregb/home/PPT/0035-

domain-modeling1.ppt
 http://cse.spsu.edu/sduggins/classes/Spring
%202013/SWE%204743/Documents/Chapter%209.ppt
 http://teacher.buet.ac.bd/shahin/INFORMATION
%20SYSTEM%20ANALYSIS%20AND
%20DESIGN/Larman%20Chapter%2010.ppt
 http://www.comptechdoc.org/independent/uml/begin/um
ldomainmodel.html
Domain model
Domain model

More Related Content

What's hot

Interaction Modeling
Interaction ModelingInteraction Modeling
Interaction Modeling
Hemant Sharma
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
Sudarsun Santhiappan
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
Rahul Pola
 
Object Oriented Analysis (Coad-Yourdon)
Object Oriented Analysis (Coad-Yourdon)Object Oriented Analysis (Coad-Yourdon)
Object Oriented Analysis (Coad-Yourdon)
Subash Khatiwada
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
VivekChaudhary93
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationmewaseem
 
State chart diagram
State chart diagramState chart diagram
State chart diagram
Preeti Mishra
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
LOKENDRA PRAJAPATI
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering conceptsKomal Singh
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
Babeetha Muruganantham
 
Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineering
Mubashir Jutt
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)
Manoj Reddy
 
Basic Structural Modeling
Basic Structural ModelingBasic Structural Modeling
Basic Structural Modeling
AMITJain879
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
Manoj Reddy
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
Kumar
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
Haris Jamil
 
CS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IICS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT II
pkaviya
 
Design Concept software engineering
Design Concept software engineeringDesign Concept software engineering
Design Concept software engineering
Darshit Metaliya
 
Component based software engineering
Component based software engineeringComponent based software engineering
Component based software engineering
Charotar University Of Science And Technology,Gujrat
 

What's hot (20)

Interaction Modeling
Interaction ModelingInteraction Modeling
Interaction Modeling
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
 
Object Oriented Analysis (Coad-Yourdon)
Object Oriented Analysis (Coad-Yourdon)Object Oriented Analysis (Coad-Yourdon)
Object Oriented Analysis (Coad-Yourdon)
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
State chart diagram
State chart diagramState chart diagram
State chart diagram
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Object oriented software engineering concepts
Object oriented software engineering conceptsObject oriented software engineering concepts
Object oriented software engineering concepts
 
Use Case Modeling
Use Case ModelingUse Case Modeling
Use Case Modeling
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
 
Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineering
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)
 
Basic Structural Modeling
Basic Structural ModelingBasic Structural Modeling
Basic Structural Modeling
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
CS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT IICS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT II
 
Design Concept software engineering
Design Concept software engineeringDesign Concept software engineering
Design Concept software engineering
 
Component based software engineering
Component based software engineeringComponent based software engineering
Component based software engineering
 

Viewers also liked

The Art of Domaining
The Art of DomainingThe Art of Domaining
The Art of Domaining
Ezhil Raja
 
B2B Public Relations
B2B Public RelationsB2B Public Relations
B2B Public Relations
Ezhil Raja
 
Sequence Diagram of Hotel Management System
Sequence Diagram of Hotel Management SystemSequence Diagram of Hotel Management System
Sequence Diagram of Hotel Management System
Sushil Mishra
 
Hotel management or reservation system document
Hotel management or reservation system document Hotel management or reservation system document
Hotel management or reservation system document
prabhat kumar
 
Software engineering
Software engineeringSoftware engineering
Software engineering
Hitesh Mohapatra
 
Hotel Management System SRS
Hotel Management System SRS Hotel Management System SRS
Hotel Management System SRS
Paras
 
SRS document for Hotel Management System
SRS document for Hotel Management SystemSRS document for Hotel Management System
SRS document for Hotel Management System
Charitha Gamage
 
Documentation Hotel Management System
Documentation Hotel Management SystemDocumentation Hotel Management System
Documentation Hotel Management System
Salman Dayal
 
Software project management
Software project managementSoftware project management
Software project managementR A Akerkar
 
Software engineering presentation
Software engineering presentationSoftware engineering presentation
Software engineering presentationMJ Ferdous
 

Viewers also liked (10)

The Art of Domaining
The Art of DomainingThe Art of Domaining
The Art of Domaining
 
B2B Public Relations
B2B Public RelationsB2B Public Relations
B2B Public Relations
 
Sequence Diagram of Hotel Management System
Sequence Diagram of Hotel Management SystemSequence Diagram of Hotel Management System
Sequence Diagram of Hotel Management System
 
Hotel management or reservation system document
Hotel management or reservation system document Hotel management or reservation system document
Hotel management or reservation system document
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Hotel Management System SRS
Hotel Management System SRS Hotel Management System SRS
Hotel Management System SRS
 
SRS document for Hotel Management System
SRS document for Hotel Management SystemSRS document for Hotel Management System
SRS document for Hotel Management System
 
Documentation Hotel Management System
Documentation Hotel Management SystemDocumentation Hotel Management System
Documentation Hotel Management System
 
Software project management
Software project managementSoftware project management
Software project management
 
Software engineering presentation
Software engineering presentationSoftware engineering presentation
Software engineering presentation
 

Similar to Domain model

Movie rental company (mrc) is a startup company providing dvd ki
Movie rental company (mrc) is a startup company providing dvd kiMovie rental company (mrc) is a startup company providing dvd ki
Movie rental company (mrc) is a startup company providing dvd ki
JUST36
 
Srs
SrsSrs
Zimmertwins Presentation
Zimmertwins PresentationZimmertwins Presentation
Zimmertwins PresentationAshok Modi
 
Cyberoam ssl vpn_management_guide
Cyberoam ssl vpn_management_guideCyberoam ssl vpn_management_guide
Cyberoam ssl vpn_management_guidesupport_cyberoam
 
VOCI Final Presentation
VOCI Final PresentationVOCI Final Presentation
VOCI Final Presentation
Elisabeth Brooks
 
User Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh VaradharajanUser Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh Varadharajan
Agile Testing Alliance
 
The Whole Story of The User Story
The Whole Story of The User StoryThe Whole Story of The User Story
The Whole Story of The User Story
XPDays
 
KronoDesk Overview Presentation (2021)
KronoDesk Overview Presentation (2021)KronoDesk Overview Presentation (2021)
KronoDesk Overview Presentation (2021)
Inflectra
 
Saravana cv
Saravana cvSaravana cv
Saravana cv
Saravana J
 
Saravana_CV
Saravana_CVSaravana_CV
Saravana_CV
Saravana J
 
Must read
Must readMust read
Must read
Bhavanislide2
 
OOAD U1.pptx
OOAD U1.pptxOOAD U1.pptx
OOAD U1.pptx
anguraju1
 
Setting up Security in Your Salesforce Instance
Setting up Security in Your Salesforce InstanceSetting up Security in Your Salesforce Instance
Setting up Security in Your Salesforce Instance
Salesforce Developers
 
Aligning Business Models And Technology Architectures Ore Dev Conferenc...
Aligning  Business  Models And  Technology  Architectures  Ore Dev  Conferenc...Aligning  Business  Models And  Technology  Architectures  Ore Dev  Conferenc...
Aligning Business Models And Technology Architectures Ore Dev Conferenc...
Enthiosys Inc
 
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddelCHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
mohamed khalaf alla mohamedain
 
KronoDesk Overview Presentation (2019)
KronoDesk Overview Presentation (2019)KronoDesk Overview Presentation (2019)
KronoDesk Overview Presentation (2019)
Inflectra
 
Security
SecuritySecurity

Similar to Domain model (20)

Movie rental company (mrc) is a startup company providing dvd ki
Movie rental company (mrc) is a startup company providing dvd kiMovie rental company (mrc) is a startup company providing dvd ki
Movie rental company (mrc) is a startup company providing dvd ki
 
Srs
SrsSrs
Srs
 
Zimmertwins Presentation
Zimmertwins PresentationZimmertwins Presentation
Zimmertwins Presentation
 
Anil Raja Mateti CV
Anil Raja Mateti CVAnil Raja Mateti CV
Anil Raja Mateti CV
 
Anil Raja Mateti CV
Anil Raja Mateti CVAnil Raja Mateti CV
Anil Raja Mateti CV
 
Cyberoam ssl vpn_management_guide
Cyberoam ssl vpn_management_guideCyberoam ssl vpn_management_guide
Cyberoam ssl vpn_management_guide
 
Video Rental System
 Video Rental System Video Rental System
Video Rental System
 
VOCI Final Presentation
VOCI Final PresentationVOCI Final Presentation
VOCI Final Presentation
 
User Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh VaradharajanUser Story Writing & Estimation For Testers By Mahesh Varadharajan
User Story Writing & Estimation For Testers By Mahesh Varadharajan
 
The Whole Story of The User Story
The Whole Story of The User StoryThe Whole Story of The User Story
The Whole Story of The User Story
 
KronoDesk Overview Presentation (2021)
KronoDesk Overview Presentation (2021)KronoDesk Overview Presentation (2021)
KronoDesk Overview Presentation (2021)
 
Saravana cv
Saravana cvSaravana cv
Saravana cv
 
Saravana_CV
Saravana_CVSaravana_CV
Saravana_CV
 
Must read
Must readMust read
Must read
 
OOAD U1.pptx
OOAD U1.pptxOOAD U1.pptx
OOAD U1.pptx
 
Setting up Security in Your Salesforce Instance
Setting up Security in Your Salesforce InstanceSetting up Security in Your Salesforce Instance
Setting up Security in Your Salesforce Instance
 
Aligning Business Models And Technology Architectures Ore Dev Conferenc...
Aligning  Business  Models And  Technology  Architectures  Ore Dev  Conferenc...Aligning  Business  Models And  Technology  Architectures  Ore Dev  Conferenc...
Aligning Business Models And Technology Architectures Ore Dev Conferenc...
 
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddelCHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
CHAPTER 6 REQUIREMENTS MODELING: SCENARIO based Model , Class based moddel
 
KronoDesk Overview Presentation (2019)
KronoDesk Overview Presentation (2019)KronoDesk Overview Presentation (2019)
KronoDesk Overview Presentation (2019)
 
Security
SecuritySecurity
Security
 

More from Eagle Eyes

User guide
User guideUser guide
User guide
Eagle Eyes
 
Html 5 tags
Html  5 tagsHtml  5 tags
Html 5 tags
Eagle Eyes
 
Samba server installation and File sharing
Samba server installation and File sharingSamba server installation and File sharing
Samba server installation and File sharingEagle Eyes
 
Project proposal templates
Project proposal templatesProject proposal templates
Project proposal templatesEagle Eyes
 
Working of stock exchange
Working of stock exchangeWorking of stock exchange
Working of stock exchangeEagle Eyes
 
Emotional intelligence theory
Emotional intelligence theoryEmotional intelligence theory
Emotional intelligence theoryEagle Eyes
 
Propsal of online voting system
Propsal of online voting systemPropsal of online voting system
Propsal of online voting systemEagle Eyes
 

More from Eagle Eyes (7)

User guide
User guideUser guide
User guide
 
Html 5 tags
Html  5 tagsHtml  5 tags
Html 5 tags
 
Samba server installation and File sharing
Samba server installation and File sharingSamba server installation and File sharing
Samba server installation and File sharing
 
Project proposal templates
Project proposal templatesProject proposal templates
Project proposal templates
 
Working of stock exchange
Working of stock exchangeWorking of stock exchange
Working of stock exchange
 
Emotional intelligence theory
Emotional intelligence theoryEmotional intelligence theory
Emotional intelligence theory
 
Propsal of online voting system
Propsal of online voting systemPropsal of online voting system
Propsal of online voting system
 

Recently uploaded

The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 

Recently uploaded (20)

The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 

Domain model

  • 2. Define Domain Model  How to develop Domain Model  Features of Domain Model  Example of Domain Model  Reference 
  • 3.  Structural model of basic domain concepts and their relationships  It may show:  domain objects or conceptual classes  associations between conceptual classes  attributes Also called conceptual models, domain object models, and analysis object models.
  • 4.
  • 5.  Identify conceptual classes  Draw them as in a UML domain model  Add associations necessary to record relationship  Add the attributes necessary to fulfill the information requirements
  • 6. Domain classes  Attributes  Associations  Multiplicity  Aggregation  Composition  Generalization  Roles 
  • 7. Each domain class denotes a type of object  Consider a use case description 
  • 8.  Attributes refer to properties that define the class. For Example A class Client will have attributes name, id and address. Sale date startTim e : Tim e attrib utes
  • 9.    public level protected level private level + # - Circle - centreX:Int + centreY:Int=0 9
  • 10. A link between two classes  A Person works for a Company.  Association Company Person works for Association Name 10
  • 11. Derived association  Qualified Association  Association classes 
  • 12. Derived association exist automatically once we have implement the main association  / in front of its name  Black triangle indicate direction  Company Person / works for
  • 13.  Contain index , array 1 9 Board Board Square 1 Row:{1,2,3} Col:{1,2,3 } 1 Square
  • 14.
  • 15.  Describes how many instances of one concept can be associated with one instance of the related concept.
  • 16. A Student can take up to five Courses.  Student has to be enrolled in at least one course.  Up to 300 students can enroll in a course.  A class should have at least 10 students.  Student 10..300 takes Course 1..5 16
  • 17. “Has a”  A special form of association that models a whole-part relationship  Weak association  Part Whole Schedule Student Aggregation
  • 18. “Own a”  A strong form of aggregation where components cannot exist without the aggregate.  The parts cannot survive the whole/aggregate  Part Whole Schedule Student Composition
  • 19. Button CancelButton Zone Button The children classes inherit the attributes of the parent class.  Eliminating redundancy.  Generalize/specialize 
  • 20.  Each end of an association is called a role.  Roles may have: Name multiplicity expression Navigability   
  • 21. Show who is dominant  Put an arrow on one end of association  Is taking Student 1..* Module 6
  • 22.
  • 23. We first analyze the stated domain model requirements and then present the domain model.  The system must be able to keep track of which movie videos have been bought/rented and by whom. classes & associations: customer Buys movie video; customer Rents movie video  For videos bought, the system must record the quantity bought; for videos rented, the system must record which copy of the video has been rented and when it is due back. classes & associations: customer Rents movie video; –> movie video Has rental copy; customer Rents rental copy; Attributes : Buys –> quantity; Rentalcopy -> copyNumber, dateDue
  • 24.  The system must keep track of overdue rental videos and allow notices to be sent to customers who have videos overdue. functional requirement: no new domain model requirements in this statement  The video shop will have a customer membership option for an annual fee, which will entitle the member to discounts (10%) on video sales and rentals. generalization: Member is a kind of Customer Member Specializes Customer
  • 25.  Members should be able to make reservations for movie video rentals either in person at the store, by telephone or via the Web. ◦ classes & associations: Member Reserves Rentalcopy  A member can reserve at most five movie videos at any one time, but there is no limit on how many movie videos a member or nonmember can rent at any one time. ◦ constraint: max-card(rental copy, Reserves) = 5 ◦ max-card(rental copy, Rents) = *
  • 26.  As an added feature, the video shop would like to allow customers (either members or nonmembers) to input, via the Web, mini-reviews (up to 100 words) and a rating (from 1, lowest, to 5, highest) of movies they have rented. classes & associations: Customer Provides review IsFor Movie Video –> Customer Provides Review; MovieVideo Has Review attributes: Review –> review text, rating
  • 27.  These reviews should be anonymous if the customer so wishes (i.e., the customer can specify whether or not he wants his name to be made known when other customers browse the reviews). Attributes: Review –> anonymous  The video shop maintains the following information about all customers (members or nonmembers): name, address, phone number, fax number, age, sex, and email address ◦ Attributes : Customer–> name, address, ◦ phoneNumber, faxNumber, age, gender, email;
  • 28.  In addition, members are assigned a membership number by the video shop when they become members and a password, which allows them to access the member's only area of the video shop's web site, including accessing and changing their personal information. attributes: Member –>memberNumber, password  An employee must be able to enter the basic information about a movie video (i.e., title, leading actor(s), director, producer, genre, synopsis, release year, running time, selling price, and rental price). attributes: MovieVideo –> title, leadingActor[0..*], director, producer, genre, synopsis, releaseYear, runningTime, sellingPrice, rentalPrice
  • 29.
  • 32.  http://users.encs.concordia.ca/~gregb/home/PPT/0035- domain-modeling1.ppt  http://cse.spsu.edu/sduggins/classes/Spring %202013/SWE%204743/Documents/Chapter%209.ppt  http://teacher.buet.ac.bd/shahin/INFORMATION %20SYSTEM%20ANALYSIS%20AND %20DESIGN/Larman%20Chapter%2010.ppt  http://www.comptechdoc.org/independent/uml/begin/um ldomainmodel.html

Editor's Notes

  1. 1.
  2. An aggregation is a stronger form of relationship where the relationship is between a whole and its parts. The aggregate has an aggregation association to the its constituent parts. A hollow diamond is attached to the end of an association path on the side of the aggregate (the whole) to indicate aggregation. Since aggregation is a special form of association, the use of multiplicity, roles, navigation, etc. is the same as for association. Sometimes, a class may be aggregated with itself. This does not mean that an instance of that class is composed of itself (this would be silly), it means that one instance if the class is an aggregate composed of other instances of the same class. Some situations where aggregation may be appropriate: An object is physically composed of other objects (e.g. car being physically composed of an engine and four wheels). An object is a logical collection of other objects (e.g., a family is a collection of parents and children). An object physically contains other objects (e.g., an airplane physically contains a pilot). In the above example, the relationship from Student to Schedule is modeled as an aggregation because a Schedule is inherently tied to a particular Student. A Schedule outside of the context of a Student makes no sense in a Course Registration System.
  3. Composition is a form of aggregation with strong ownership and coincident lifetimes of the part with the aggregate. The whole “owns” the part and is responsible for the creation and destruction of the part. The part is removed when the whole is removed. The part may be removed (by the whole) before the whole is removed. A solid filled diamond is attached to the end of an association path (on the “whole side”) to indicate composition. In some cases, composition can be identified as early as analysis, but more often it is not until design that such decisions can be made confidently. That is why composition is introduced here rather than in Use-Case Analysis.