QUESTION 8: UML Provide a UML class diagram of the Facade Design Pattern applied to the following problem. Your employer currently has two client applications: A Mobileclient and a Web- Client that make use of the extensive subsystem classes created for their food ordering system. The mobile client must be able to order basic meals as well as bundles of meals. The web client must be able to order basic and bundle meals but as well as make orders of cus- tom meals. They want to improve the maintainability of the system by applying the Facade Design Pattern to their existing systems. Given the provided classes for BasicMealHand- ler, BundleMea1Handler, and CustomMealHandler along with their provided operations, show how the structure of the system can be simplified.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Hi please assist.

thanks

1| public class BasicMealHandler{
public String getBasicMeals ();
public void orderBasicMeal(String meal);
4 }
5 public class BundleMealHandler{
public String getBundleMeals();
public void orderBundleMeal(String meal, int number);
3
7
9 public class CustomMealHandler{
public String getCustomMeals();
public void orderCustomMeal(String meal, String[] options);
10
11
12
Transcribed Image Text:1| public class BasicMealHandler{ public String getBasicMeals (); public void orderBasicMeal(String meal); 4 } 5 public class BundleMealHandler{ public String getBundleMeals(); public void orderBundleMeal(String meal, int number); 3 7 9 public class CustomMealHandler{ public String getCustomMeals(); public void orderCustomMeal(String meal, String[] options); 10 11 12
QUESTION 8: UML
Provide a UML class diagram of the Facade Design Pattern applied to the following
problem. Your employer currently has two client applications: A MobileClient and a Web-
Client that make use of the extensive subsystem classes created for their food ordering
system. The mobile client must be able to order basic meals as well as bundles of meals. The
web client must be able to order basic and bundle meals but as well as make orders of cus-
tom meals. They want to improve the maintainability of the system by applying the Facade
Design Pattern to their existing systems. Given the provided classes for BasicMealHand-
ler, BundleMealHandler, and CustomMealHandler along with their provided operations,
show how the structure of the system can be simplified.
Transcribed Image Text:QUESTION 8: UML Provide a UML class diagram of the Facade Design Pattern applied to the following problem. Your employer currently has two client applications: A MobileClient and a Web- Client that make use of the extensive subsystem classes created for their food ordering system. The mobile client must be able to order basic meals as well as bundles of meals. The web client must be able to order basic and bundle meals but as well as make orders of cus- tom meals. They want to improve the maintainability of the system by applying the Facade Design Pattern to their existing systems. Given the provided classes for BasicMealHand- ler, BundleMealHandler, and CustomMealHandler along with their provided operations, show how the structure of the system can be simplified.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY