Create two classes, appropriate fields, getters and setters based on the wiki:
WaterSourceReport class
A user can submit this report any time they are logged in. This report consists of:
-Date and time of report (can be autogenerated by application)
-Report Number (must be autogenerated by application)
-Name of reporter (can be autogenerated from user information)
-Location of water (manually entered. using any kind of location services or gps is extra credit).
-Type of water (Bottled, Well, Stream, Lake, Spring, Other)
-Condition of water (Waste, Treatable-Clear, Treatable-Muddy, Potable)
WaterPurityReport class
A real water report would need to address multiple bacteria/virus and chemical contaminants. For our basic application, we assume that parts-per-million (PPM) is our measure and we will lump everything into two categories: Viruses and Contaminants.
-Date and time of the report (can be autogenerated by application)
-Report Number (must be autogenerated by application)
-Name of Worker (can be autogenerated from worker information)
-Location of water (manually entered. using any kind of location services or gps is extra credit).
-Overall Condition (Safe / Treatable / Unsafe)
-Virus PPM
-Contaminant PPM
Create two classes, appropriate fields, getters and setters based on the wiki:
WaterSourceReport class A user can submit this report any time they are logged in. This report consists of:
-Date and time of report (can be autogenerated by application) -Report Number (must be autogenerated by application) -Name of reporter (can be autogenerated from user information) -Location of water (manually entered. using any kind of location services or gps is extra credit). -Type of water (Bottled, Well, Stream, Lake, Spring, Other) -Condition of water (Waste, Treatable-Clear, Treatable-Muddy, Potable)
WaterPurityReport class A real water report would need to address multiple bacteria/virus and chemical contaminants. For our basic application, we assume that parts-per-million (PPM) is our measure and we will lump everything into two categories: Viruses and Contaminants.
-Date and time of the report (can be autogenerated by application) -Report Number (must be autogenerated by application) -Name of Worker (can be autogenerated from worker information) -Location of water (manually entered. using any kind of location services or gps is extra credit). -Overall Condition (Safe / Treatable / Unsafe) -Virus PPM -Contaminant PPM