Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions