Question: This is Java Program. Please give me all necessary screenshot and comments . (I use Eclipse) Thanks Methods: getReadingID(),getSiteID(),getReadingVal(),getReadingDate(),getReadingType() => setReadingID(parameter)..... A Reading Class? It

This is Java Program. Please give me all necessary screenshot and comments. (I use Eclipse) Thanks

Methods:

getReadingID(),getSiteID(),getReadingVal(),getReadingDate(),getReadingType() => setReadingID(parameter).....

A Reading Class? It would best to create a new class that can store a bunch of Site objects. In the Reading class we can have a Collection(LinkedList,ArrayList etc) of sites.

The software shall keep records for a site that has ended data collection, but will disregard new readings. **In this class we can have a separate Collection of sites that have ended data collection and we can call it archived Sites or something like that****** The software shall read and store the item ID for each entry and associate it with the specified location ID. The software shall support the following commands for each site: add reading, start site collection, and end site collection.

Variables: itemID variable that

Methods: addReading(???)

removeSite(Site aSite2Remove)

addSite(Site aSite2Add)

addReading can take in a Site object and add it to the Readings Collection

ex: LinkedList readings

addSite(Site ...) what should this method do?

removeSite(Site ..)

JSONRead Class:

A class dedicated to reading/writing JSON files.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!