Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I chose the Check in process, but I'm not sure I understand this part too well on what is needed, any assistance is appreciated! Directions

I chose the Check in process, but I'm not sure I understand this part too well on what is needed, any assistance is appreciated! Directions

Your supervisor has given you a specification document which details Pet BAGs software needs and includes a UML Class diagram. Using these documents, you will create both a Java class and a summary report. Your summary report will include pseudocode and a flowchart for one method (pet check in or pet check out), and an explanation of how your work meets object-oriented principles.

Pet.java Class File

Before you begin, it is important to understand what your client needs the software to do, and what work has already been done by your team. Review the Pet BAG Specification Document, located in the Supporting Materials section, which includes a UML Class diagram. Pay close attention to the class hierarchy, attributes, and behaviors.

To begin, open the Virtual Lab by clicking on the link in the Virtual Lab Access module. Then open your integrated development environment (IDE) and create the Pet class based on the specifications in the UML Class diagram. The Pet class must include the following:

All attributes with appropriate data structures. Note that the types are not specified in this UML class diagram. You will need to think about what the most appropriate data type is for each attribute.

At least one constructor method. You may use a default constructor. To score exemplary on this criterion, your constructor must initialize values for the petType, petName, petAge, and daysStay attributes.

Accessors and mutators for all attributes

Note: You are only being asked to create one class. Though the UML diagram shows the Pet class as part of a larger application, for this project, you are not required to connect it to other classes or to try and run it as a program. Instead, you are practicing the skill of creating a class from a UML Class diagram. image text in transcribed

IT 145 Pet BAG Specification Document Overview Pet Boarding and Grooming (Pet BAG) is a company that provides boarding and grooming services for dogs and cats. They want to modernize their operations by introducing custom software that will help replace inefficient paper-based processes. UML Class Diagram Work on the Pet BAG application has already begun. Use this UML Class diagram, prepared by your supervisor, to understand the relationships between the Pet, Dog, and Cat classes

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

Intelligent Information And Database Systems Second International Conference Acids Hue City Vietnam March 2010 Proceedings Part 1 Lnai 5990

Authors: Manh Thanh Le ,Jerzy Swiatek ,Ngoc Thanh Nguyen

2010th Edition

3642121446, 978-3642121449

More Books

Students also viewed these Databases questions