I need this dome ASAP
CMPINF0401 – Fall 2020 1 Assignment 1 - MenuManager We are going to build the first stage of what will become the final project. The idea is to create a food menu manager application which allows to order remotely by taking care of food nutritional value at the same time. For this first stage, we are going to build and test some basic classes that we will need in the next stages. 1. Create an Eclipse project named [your pitt id]_MenuManager 2. Implement the following classes as represented in the class diagrams. Methods and constructors are explained below. Classes Entree, Side, Dessert and Drink are all similar, representing the parts of a menu. Class Menu contains one object of each of the previously defined classes (Entree, Side, Drink and Dessert) and a name. Methods in class Menu: CMPINF0401 – Fall 2020 2 ● totalCalories(): sums the calories of all the parts of the menu (Entree, Side, Drink and Dessert) ● totalPrice(): sums individual prices of all the parts of the menu (Entree, Side, Drink and Dessert) ● totalFat(): sums individual daily percentages of fat of all the parts of the menu (Entree, Side, Drink and Dessert) ● totalSodium(): sums individual daily percentages of sodium of all the parts of the menu (Entree, Side, Drink and Dessert) ● totalProtein(): sums individual protein content (in grams) of all the parts of the menu (Entree, Side, Drink and Dessert) ● description() : concatenates the descriptions of the parts of the menu in order. First Entree, then side, then drink and lastly, dessert. It has to separate the descriptions by new lines and add the type and the name of each part of the menu. A menu could lack some of the parts, in this case, it has to indicate that with N/A. For example: Entree: Sirloin Steak. A delicious piece of 1/2 a pound of our carefully selected meat grilled and seasoned. Side: Rice and Avocado. Premium quality Indian rice mixed with avocado. Drink: N/A Dessert: N/A TIP: you can check if an object is null: if(drink == null) { something here! } ● There are 3 constructors in class Menu setting some of the parts of the menu. All of them need the name of the menu (the name is always required). All parts that are not passed in the constructors should be set to null. For example, the first constructor Menu(String name) sets the name and then sets all other properties to null: entree = null; side = null; drink = null; dessert = null; 3. Add getters and setters for all properties in all classes. Getters and setters are not included in the diagram and they are assumed. 4. Create a class MenuTest with a main method to test the Menu class. Create, for example, 2 entrees, 2 side, 1 drink and 1 dessert and 2 Menu objects. Then fill the first menu with an entree and a side. Fill the second menu with the remaining: 1 entree, 1 side, 1 drink and 1 dessert. Print out both menus, including the menu name, the description, the total price and the total amount of calories, fat, sodium and protein. Note that this is only to test the classes, so just make sure you try all the functionalities of Menu and other classes here. CMPINF0401 – Fall 2020 3 5. Add comments to your classes. Add a comment just above the class definition (top of the file, but after imports and package lines) including your name (author) and date when created (created). Look at this example showing the JavaDoc format: /** * Class Entree * author: Jordan Barria-Pineda * created: 09/19/2020 */ Make sure you start with /** and close with */. Then every line has to begin with a *. If you write /** and then hit enter, in Eclipse, it will add automatically the closing (*/) and it will start each line with *. 6. Make sure your code is correctly indented. You can use Eclipse option to indent the code (select all your code, go to Eclipse menu Source -> Correct Indentation). Export your project and compress it in a file named [your pitt id]_Assignment1_CMPINF0401.zip. PLEASE NOTE THAT YOU MUST NAME THE ZIP AS Assignment1 (not MenuManager).