Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need help figuring this out. Special Note on Monkeys As we explore the use of monkeys as service animals, we want our system to support

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

need help figuring this out.

Special Note on Monkeys As we explore the use of monkeys as service animals, we want our system to support monkey tracking as well as dog tracking. We have identified the following monkey species that are eligible for our program: Capuchin Guenon Macaque Marmoset Squirrel monkey Tamarin There are important data elements for monkeys in addition to what we use for dogs. These include tail length, height, body length, species, and measurements for torso, skull, and neck. Software Requirements We desire a software application that will help us track the animals we are currently training and the animals that have been placed into service. Here are some specifics: Ability to process requests for a rescue animal: In this case, we would receive the type of animal the customer wants and the country where the customer resides. If we have an animal in training in their country, we can reserve that animal for the customer. Ability to update any information we have on our animals Ability to see what animals we have in each phase at each location, including "intake and "farm Ability to add animals (intake) Ability to transfer service animals to the farm or place in-service Ability to view which animals are in-service Ability to process and receive reports from in-service agencies on the retirement or death of their rescue animal Grazioso Salvare has provided you with a specification document detailing its software needs. Other members of the Global Rain development team have started creating the RescueAnimal.java, Dog.java, and Driver.java class files. Your team lead has asked you to modify the existing classes and create a Monkey.java class as your contribution to the team. 1. To gain a clear understanding of the client's software requirements, review the Grazioso Salvare specification document in the Supporting Materials section. As you read, pay close attention to the attributes and methods that you will need to implement into the program. 2. Open the Virtual Lab by clicking on the link in the Virtual Lab Access module. Then open your IDE. Follow the IDE tutorial in the Supporting Materials section to upload Grazioso.zip into your IDE. This zipped folder contains three class files. Once you upload the files, compile the code. Although the program is not complete, it will compile without error. 3. Read through the code for each class. This will help you understand what code has been created and what code must be modified or created to meet the software requirements. 4. Before you begin modifying and creating classes, your team lead reminds you to demonstrate industry standard your code to ensure clarity, consistency, and efficiency among all software developers working on the program. This includes ensuring the following: In-line comments denote your changes and briefly describe the functionality of each method or element of the class Appropriate variable and method naming conventions are used throughout your code 5. Once you have completed your pre-work, you are ready to begin your assigned tasks. To start, modify the RescueAnimal java class file by adding accessor and mutator methods for each instance variable. 6. Create the Monkey class, using the specification document as a guide. The Monkey class must do the following: Inherit from the RescueAnimal class o Implement all attributes with appropriate data structures Include accessors and mutators for all implemented attributes 7. Select a method from the Software Requirements section of Grazioso Salvare's specification document. Using the selected method. modify the Driver.java class file to do the following: Implement the method you have chosen 0 Add attributes, as needed, to support the required functionality Ky 15 V 1 File Help Edit Source Refactor Navigate Search Project Run Window OO- No Launch Configurations Dog.java Driver.java RescueAnimal.java X on: import java.text. SimpleDateFormat: public class RescueAnimal ( aaaaa NO CON // Instance variables private String name: private String type: private String gender; private int age: private float weight; private SimpleDateFormat acquisition Date: private SimpleDateFormat statusDate: private String acquisitionSource: private Boolean reserved; ENREPPPPP private String training Location: private SimpleDateFormat trainingStart; private SimpleDateFormat trainingend; private String trainingStatus; CONOCE private String inServiceCountry: private String in ServiceCity; private String in ServiceAgency: private String in Service POC: private String in ServiceEmail: private String in Service Phone: private String in Service Postal Address: R 30 31 32e 33 // Constructor public RescueAnimal() { // Add Accessor Methods here 36 // Add Mutator Methods here 12 Help File Edit Source Refactor Navigate 0 0 D Dog.java D river.java 3 Search Project Run Window No Launch Configurations RescueAnimaljava 3 public class Driver public static void main(String() args) { // Instance variables // Create New Dog UNES 1/ Create New Monkey 1/ Method to process request for a rescue animal 7/ Method(s) to update information on existing animals 1/ Method to display matrix of animals based on location and status/training phase // Method to add animals // Method to out process animals for the farm or in-service placement 1/ Method to display in-service animals // Process reports from in-service agencies reporting death/retirement Special Note on Monkeys As we explore the use of monkeys as service animals, we want our system to support monkey tracking as well as dog tracking. We have identified the following monkey species that are eligible for our program: Capuchin Guenon Macaque Marmoset Squirrel monkey Tamarin There are important data elements for monkeys in addition to what we use for dogs. These include tail length, height, body length, species, and measurements for torso, skull, and neck. Software Requirements We desire a software application that will help us track the animals we are currently training and the animals that have been placed into service. Here are some specifics: Ability to process requests for a rescue animal: In this case, we would receive the type of animal the customer wants and the country where the customer resides. If we have an animal in training in their country, we can reserve that animal for the customer. Ability to update any information we have on our animals Ability to see what animals we have in each phase at each location, including "intake and "farm Ability to add animals (intake) Ability to transfer service animals to the farm or place in-service Ability to view which animals are in-service Ability to process and receive reports from in-service agencies on the retirement or death of their rescue animal Grazioso Salvare has provided you with a specification document detailing its software needs. Other members of the Global Rain development team have started creating the RescueAnimal.java, Dog.java, and Driver.java class files. Your team lead has asked you to modify the existing classes and create a Monkey.java class as your contribution to the team. 1. To gain a clear understanding of the client's software requirements, review the Grazioso Salvare specification document in the Supporting Materials section. As you read, pay close attention to the attributes and methods that you will need to implement into the program. 2. Open the Virtual Lab by clicking on the link in the Virtual Lab Access module. Then open your IDE. Follow the IDE tutorial in the Supporting Materials section to upload Grazioso.zip into your IDE. This zipped folder contains three class files. Once you upload the files, compile the code. Although the program is not complete, it will compile without error. 3. Read through the code for each class. This will help you understand what code has been created and what code must be modified or created to meet the software requirements. 4. Before you begin modifying and creating classes, your team lead reminds you to demonstrate industry standard your code to ensure clarity, consistency, and efficiency among all software developers working on the program. This includes ensuring the following: In-line comments denote your changes and briefly describe the functionality of each method or element of the class Appropriate variable and method naming conventions are used throughout your code 5. Once you have completed your pre-work, you are ready to begin your assigned tasks. To start, modify the RescueAnimal java class file by adding accessor and mutator methods for each instance variable. 6. Create the Monkey class, using the specification document as a guide. The Monkey class must do the following: Inherit from the RescueAnimal class o Implement all attributes with appropriate data structures Include accessors and mutators for all implemented attributes 7. Select a method from the Software Requirements section of Grazioso Salvare's specification document. Using the selected method. modify the Driver.java class file to do the following: Implement the method you have chosen 0 Add attributes, as needed, to support the required functionality Ky 15 V 1 File Help Edit Source Refactor Navigate Search Project Run Window OO- No Launch Configurations Dog.java Driver.java RescueAnimal.java X on: import java.text. SimpleDateFormat: public class RescueAnimal ( aaaaa NO CON // Instance variables private String name: private String type: private String gender; private int age: private float weight; private SimpleDateFormat acquisition Date: private SimpleDateFormat statusDate: private String acquisitionSource: private Boolean reserved; ENREPPPPP private String training Location: private SimpleDateFormat trainingStart; private SimpleDateFormat trainingend; private String trainingStatus; CONOCE private String inServiceCountry: private String in ServiceCity; private String in ServiceAgency: private String in Service POC: private String in ServiceEmail: private String in Service Phone: private String in Service Postal Address: R 30 31 32e 33 // Constructor public RescueAnimal() { // Add Accessor Methods here 36 // Add Mutator Methods here 12 Help File Edit Source Refactor Navigate 0 0 D Dog.java D river.java 3 Search Project Run Window No Launch Configurations RescueAnimaljava 3 public class Driver public static void main(String() args) { // Instance variables // Create New Dog UNES 1/ Create New Monkey 1/ Method to process request for a rescue animal 7/ Method(s) to update information on existing animals 1/ Method to display matrix of animals based on location and status/training phase // Method to add animals // Method to out process animals for the farm or in-service placement 1/ Method to display in-service animals // Process reports from in-service agencies reporting death/retirement

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions

Question

What do you think of the MBO program developed by Drucker?

Answered: 1 week ago