Hanny Tails Pet Store wants to create an online syste

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
The Happy Tails Pet Store wants to create an online system for their
customers, so they can buy a pet through their system. The customer can
create an account, search pet kinds, choose a pet and pay for their pet that
he/she chose.
Each Pet has an ID, name, type, gender and colour. Each pet can be either b
cat, a dog or a rabbit. The customer can buy one pet or more. The supplier
provides the store with the pets. Each supplier has a name, phone number
company address. The pet store deals with several suppliers. However, eve
supplier must provide one type of pet. The supplier adds the provided pet t-
the system.
The customer must fill the required pet type, colour and gender, then the
system will display all available pets based on the customer choice. The
customer must pay for the system online through her/his visa card or the pe
will not be delivered to the customer. After paying for the pet, the system w
display a thank you message. The functions supported by the system:
• Create an account.
• Pay for a pet.
• Choose a pet.
• Search for a pet kind.
Supplier (add pets to the store system).
Analyze the above scenario and model a full class diagram showing
attributes and methods considering meeting the three SOLID principles
(SRP, OCP & LSP). (Hint: you should mention only three SOLID principle
and point each addressed principle in the class diagram).
Transcribed Image Text:The Happy Tails Pet Store wants to create an online system for their customers, so they can buy a pet through their system. The customer can create an account, search pet kinds, choose a pet and pay for their pet that he/she chose. Each Pet has an ID, name, type, gender and colour. Each pet can be either b cat, a dog or a rabbit. The customer can buy one pet or more. The supplier provides the store with the pets. Each supplier has a name, phone number company address. The pet store deals with several suppliers. However, eve supplier must provide one type of pet. The supplier adds the provided pet t- the system. The customer must fill the required pet type, colour and gender, then the system will display all available pets based on the customer choice. The customer must pay for the system online through her/his visa card or the pe will not be delivered to the customer. After paying for the pet, the system w display a thank you message. The functions supported by the system: • Create an account. • Pay for a pet. • Choose a pet. • Search for a pet kind. Supplier (add pets to the store system). Analyze the above scenario and model a full class diagram showing attributes and methods considering meeting the three SOLID principles (SRP, OCP & LSP). (Hint: you should mention only three SOLID principle and point each addressed principle in the class diagram).
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Applications of CRM
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education