Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Java expert please help me design the program below. No need any code, just need

ID: 3815233 • Letter: J

Question

Java expert please help me design the program below. No need any code, just need a document. Please just focus on question relate to Animal Record Designer role.

General description The theme of this project will be to provide an inventory system for the (non-human) animals of the NC Zoo (nczoo.org). We are only interested in the animals that are (or might be) on exhibit. We certainly can't actually store every animal, so in the course of developing your program, provide a system that could be extended to store everything, even though it will have only a token number of actual animal records We also can't fully design or implement everything we'd like. Be severe, and state what you'll try to accomplish. Organize your work so that if you can't accomplish everything you're trying to do, you have a way to mit some tasks and still have a useful product. Also list things that you aren't going to attempt, but know how you'd approach them. For example, we decided we didn't have time to include an animal's color, but if we could, we'd put that information in class Abcd and create a method in class Efgh to display it, and class likl to sort by it

Explanation / Answer

Hi,

The first part is the Animal Record / Inventory for the Zoo. UI would be a .jsp page that captures the below details of each of the animal species existing and data would be stored in an Animal table (any backend SQL Server / Oracle etc).

AnimalRecord would be the table with the fields - Id (Identification number of the Animal), SpeciesName (What Kind of Animal it is, Eg- Bear, Lion etc), Date of Arrival / Birth (Date when the animal is brought to zoo or born in zoo), CageId (Cage where the animal is placed), type (Carnivore, Herbivore etc), sex (Male or Female) and Date of Disposal / Death (Date when the animal died or is moved to any other place).

The screen that has the .jsp file will have the Add , Update and Delete buttons.

Add button takes all the entered Animal details and saves it to the Animal table in DB. Similarly Update button manipulates the details of the Animals and Delete button removes Animal details.

This would also enable to add the animals in the zoo accordingly.

For listing the animals, have a select query on the AnimalRecord table. "Select * from AnimalRecord". You can alos get the animals of a particular species by the query "Select * from AnimalRecord where speciesName = 'Lion'". You can retrieve an Animal by it Id also.

For the Behaviour of the Animals, we can have the AnimalInterface that suppots the behaviours and the AnimalClass that implements the behaviour according to the animals.

public class AnimalClass implements AnimalInterface {

Overrides all the above methods based on the Animal.

}

Eg - public class Lion implements AnimalInterface {

public void move() {

System.out.println (" Sprints / Runs ");

}

public String color() {

return (" Brown ");

}

public void sound() {

System.out.println(" Roars ");

}

public void diet() {

System.out.println(" Meat ");

}

}

Animal Record Class id String speciesName String DoB String - (DDMMYYYY format) cageId String type String sex String DoD String - (DDMMYYYY format) getId() setId(String) getSpeciesName() setSpeciesName(String) getDoB() setDoB(String) getCageId() setCageId(String) getType() setType(String) getDoD() setDoD(String) getSex() setSex(String)
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote