Java Doc comments at the start of all classes.  Aggregation Project: Design a UML class aggregation diagram using the classes below.  A class called Place.  A Place will have two attributes: city state A Place will have these methods: default constructor overloaded constructor  copy constructor setters and getters for all attributes get State initials – get the abbreviation for the state. You may use a utility or a case structure.  (FYI, you don’t have to put all 50 states in, at least have what you have in the file.  Pick a few and test. copy() equals() toString()   A FunPlace class. A FunPlace will have these attributes:   name type (Example house, amusement park, corn maze, escape room) price Place - this will be of the Place class   (Aggregation – a class is an attribute inside another class) A FunPlace will have these methods: default constructor overloaded constructor that allows name, type, price and a Place object to be passed in overloaded constructor that allows name, price Place copy constructor all getters all setters equals() copy() method toString() - this will include its Place. Create a driver that will: create an ArrayList of FunPlace objects.  The data comes from this  file Download file  You must add at least 4 records to this file of your own choice. Read all data for the FunPlaces and Places here. Display all FunPlace objects Search FunPlaces by city.  The user will be prompted to enter city.  Remember to display a message that states if no Places in the requested city. Search FunPlaces by type.  Remember to display a message that states if no Places in the requested type Search FunPlaces by price  (You may sort these OR pick a price and display all those Fun places that are less than the price) Create a menu of the above options (one should be the option to quit) options.  Code a loop around the menu so that the user may select another option or the last option to quit. Deliverables (zipped into one folder) Do NOT USE THE Collections class   the file is Entertainment,type,price,city,state The Nevermore Haunt,Haunted House,30,Baltimore,Maryland Escape Clarion Room,Escape Room,25,Clarion ,Pennsylvania Disney ,Amusement Park,109,Orlando,Florida Kennywood,Amusement Park,45,Pittsburgh,Pennsylvania 6 Flags,Amusement Park,30,Baltimore/Washington,Maryland 7 Springs,Ski Resort,91,Seven Springs,Pennsylvania

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

Java Doc comments at the start of all classes. 

Aggregation Project:

Design a UML class aggregation diagram using the classes below. 

A class called Place. 

A Place will have two attributes:

  • city
  • state

A Place will have these methods:

  • default constructor
  • overloaded constructor 
  • copy constructor
  • setters and getters for all attributes
  • get State initials – get the abbreviation for the state. You may use a utility or a case structure.  (FYI, you don’t have to put all 50 states in, at least have what you have in the file.  Pick a few and test.
  • copy()
  • equals()
  • toString()

 

A FunPlace class.

A FunPlace will have these attributes:

 

  • name
  • type (Example house, amusement park, corn maze, escape room)
  • price
  • Place - this will be of the Place class   (Aggregation – a class is an attribute inside another class)

A FunPlace will have these methods:

  • default constructor
  • overloaded constructor that allows name, type, price and a Place object to be passed in
  • overloaded constructor that allows name, price Place
  • copy constructor
  • all getters
  • all setters
  • equals()
  • copy() method
  • toString() - this will include its Place.

Create a driver that will:

  • create an ArrayList of FunPlace objects.  The data comes from this  file Download file 

You must add at least 4 records to this file of your own choice.

  • Read all data for the FunPlaces and Places here.
  • Display all FunPlace objects
  • Search FunPlaces by city.  The user will be prompted to enter city.  Remember to display a message that states if no Places in the requested city.
  • Search FunPlaces by type.  Remember to display a message that states if no Places in the requested type
  • Search FunPlaces by price  (You may sort these OR pick a price and display all those Fun places that are less than the price)
  • Create a menu of the above options (one should be the option to quit) options.  Code a loop around the menu so that the user may select another option or the last option to quit.

Deliverables (zipped into one folder)

Do NOT USE THE Collections class

  the file is

Entertainment,type,price,city,state
The Nevermore Haunt,Haunted House,30,Baltimore,Maryland
Escape Clarion Room,Escape Room,25,Clarion ,Pennsylvania
Disney ,Amusement Park,109,Orlando,Florida
Kennywood,Amusement Park,45,Pittsburgh,Pennsylvania
6 Flags,Amusement Park,30,Baltimore/Washington,Maryland
7 Springs,Ski Resort,91,Seven Springs,Pennsylvania

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.
Similar questions
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