Competency In this project, you will demonstrate your mastery of the following competency: Implement appropriate language constructs for an object-oriented programming language Scenario You work for...

1 answer below »

Competency


In this project, you will demonstrate your mastery of the following competency:



  • Implement appropriate language constructs for an object-oriented programming language


Scenario



Global Rain logo


You work for Global Rain, a software engineering company that specializes in custom software design and development. As a junior software developer, you are part of a software development team at Global Rain that collaborates to create software solutions for entrepreneurs, businesses, and government agencies around the world.


You have been newly assigned to a development team at Global Rain that is currently working on a project for an innovative international rescue animal training company, Grazioso Salvare. Grazioso Salvare is seeking a software application that will help track rescue animals, sometimes referred to as search and rescue animals, which are obtained and trained by the company to rescue humans or other animals from difficult (or even life-threatening) situations.


A portion of this work has already taken place on this project. Your team lead has assigned you to create one new class and modify the existing classes in the software application. You will deliver these class files to the team lead, who will consolidate them with the work from other team members and present the application to your client.


Directions


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.



Three individuals gathered around a computer



  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.



  1. 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.



  1. 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.



  1. Before you begin modifying and creating classes, your team lead reminds you to demonstrate industry standard best practices in all 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





  1. 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.



  1. Create the Monkey class, using the specification document as a guide. The Monkey class must do the following:

    • Inherit from the RescueAnimal class

    • Implement all attributes with appropriate data structures

    • Include accessors and mutators for all implemented attributes





  1. 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

    • Add attributes, as needed, to support the required functionality




What to Submit


To complete this project, you must submit the following:



RescueAnimal.java Class File

Modify the RescueAnimal.java class file in accordance with the requirements of the specification document. Be sure to include in-line comments that explicitly identify the changes you made as well as describe the functionality of the code.



Monkey.java Class File


Create a Monkey.java class file that meets the requirements laid out in the specification document. Be sure to include in-line comments that explicitly identify the changes you made as well as describe the functionality of the code.



Driver.java Class File

Modify the Driver.java class file in accordance with the requirements of the specification document. Be sure to include in-line comments that explicitly identify the changes you made as well as describe the functionality of the code.



Dog.java Class File

Submit the Dog.java class file, even though you were not required to make changes to it for this project.

Answered Same DayApr 12, 2021

Answer To: Competency In this project, you will demonstrate your mastery of the following competency: Implement...

Aditya answered on Apr 13 2021
136 Votes
import java.text.SimpleDateFormat;
public class RescueAnimal {
// Instance variables
private String name;
pri
vate String type;
private String gender;
private int age;
private float weight;
private SimpleDateFormat acquisitionDate;
private SimpleDateFormat statusDate;
private String acquisitionSource;
private Boolean reserved;
private String trainingLocation;
private SimpleDateFormat trainingStart;
private SimpleDateFormat trainingEnd;
private String trainingStatus;
private String inServiceCountry;
private String inServiceCity;
private String inServiceAgency;
private String inServicePOC;
private String inServiceEmail;
private String inServicePhone;
private String inServicePostalAddress;
// Constructor
public RescueAnimal() {
}
    
// Add Accessor Methods here returns
    public String getInServicePhone() {
        return inServicePhone;
    }
    public String getInServicePOC() {
        return inServicePOC;
    }
    public String getInServiceAgency() {
        return inServiceAgency;
    }
    public String getInServiceEmail() {
        return inServiceEmail;
    }
    public String getInServiceCity() {
        return inServiceCity;
    }
    public String...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here