Question

UML Class Diagram with Inheritance

Objectives

Use UML

Correctly indicate inheritance

Demonstrate permissions

Understand inheritance relationships

Labwork

Please read all of the directions carefully. You will create a UML class diagram reflecting the class hierarchy for a fictional program that manages university personnel as constructed according to the graph displayed below. You will need to think about the attributes and behaviors that are unique to each class, and also those attributes and behaviors that are common amongst the subclasses and derived from the respective superclass (parent).

Personnel Student Employee TA
Figure 1. Class Hierarchy. The arrows point from the child class to its parent class(es);
note: this diagram is not in UML class diagram format. The arrow tips should be open triangles pointing to the parent class.

UML Class Diagram Requirements and Other Important Information

You can create your UML class diagram using any tool that you want. One free option is Creately. You have to be logged in to export a pdf or image. However, you can login using your TAMU google account.

Remember, you aren't writing code, only constructing a UML diagram showing the class interfaces and connectivity between the classes.

A complete / thought out solution would be way too large and time consuming for this labwork. So create just enough detail to demonstrate the following:

Inheritance relationship (i.e. correct arrows)

Attributes that make sense for the class.
(Don’t waste your time doing too many. I’d recommend about 2 per class.)

Methods that make sense for the class.
(Don’t waste your time doing too many. I’d recommend about 2 per class.)

Member permissions that make sense illustrating all three levels.

Constructors that incorporate parameters needed in the parent(s).

Derived classes should make use of at least one member (attribute or method) available through inheritance.

Submission

eCampus

0 0
Add a comment Improve this question Transcribed image text
Answer #1

UML class diagram

Below is the UML class diagram. as per your instruction, i have included only minimal attributes and methods. i have specified constructor also.

Personnel ID: integer Name String Personnel 0 Read 0 Print0 Student Employee Student ID: Integer Name String Co String Employee_ID Integer Name String EmployeeO Reado) Print0 Studento Reado Print0) TA TA ID: Integer Name String TAO Read0) Print0

*********************END***************PLS GIVE ME GOOD RATING************

Add a comment
Know the answer?
Add Answer to:
UML Class Diagram with Inheritance Objectives Use UML Correctly indicate inheritance Demonstrate permissions Understand inheritance relationships...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1) This exercise is about Inheritance (IS-A) Relationship. A) First, draw the UML diagram for class...

    1) This exercise is about Inheritance (IS-A) Relationship. A) First, draw the UML diagram for class Student and class ComputerSystemsStudent which are described below. Make sure to show all the members (member variables and member functions) of the classes on your UML diagram. Save your UML diagram and also export it as a PNG. B) Second, write a program that contains the following parts. Write each class interface and implementation, in a different .h and .cpp file, respectively. a) Create...

  • Programming Assignment 5: UML Diagram Objectives: After successfully completing this assignment, students will practice Object Oriented...

    Programming Assignment 5: UML Diagram Objectives: After successfully completing this assignment, students will practice Object Oriented design by creating an UML diagram for a Java program. Program Statement: Bank System You were asked to create a simple UML diagram for a bank system. Each bank has a specific identification number, a name, and a location that needs to be stored. Tellers serve customers’ loans, checking and savings accounts. The bank must know each tellers’ name and identification number for record...

  • Assignment Requirements I have also attached a Class Diagram that describes the hierarchy of the inheritance...

    Assignment Requirements I have also attached a Class Diagram that describes the hierarchy of the inheritance and interface behaviors . The link to the PDF of the diagram is below MotorVehical.pdf Minimize File Preview User Define Object Assignment: Create a Intellij Project. The Intellij project will contain three user defined classes. The project will test two of the User Define Classes by using the invoking each of their methods and printing the results. You are required to create three UML...

  • Purpose Demonstrate the ability to create and use subclasses and inheritance. This includes overriding method behaviors...

    Purpose Demonstrate the ability to create and use subclasses and inheritance. This includes overriding method behaviors and using polymorphism. Assignment Create an Aircraft class that has several properties that are common to all aircraft (Ex: number of engines, seat capacity). You define the name of the Class and the actual fields. The fields MUST BE PRIVATE!!! You must define a constructor that allows you to provide at least some of the field values used for an aircraft. You must define...

  • Design a detailed UML class diagram for the Family Dental Care system. Your solution should demonstrate...

    Design a detailed UML class diagram for the Family Dental Care system. Your solution should demonstrate all three inter-class relationships, namely Association, Inheritance and Aggregation/composition. The classes should include attributes and methods. The Scenario is Given Below: Family Dental Care (FDC) is a leading up market dental surgery located in Kandy. It provides all types of dental treatments to patients which include extractions, nerve fillings, maxillofacial surgeries (i.e. surgeries involving jaw bone) and sophisticated dental implants.  It is visited by prominent...

  • Project 7: Vehicles 1 Objective In the last couple projects, you’ve created and used objects in...

    Project 7: Vehicles 1 Objective In the last couple projects, you’ve created and used objects in interesting ways. Now you’ll get a chance to use more of what objects offer, implementing inheritance and polymorphism and seeing them in action. You’ll also get a chance to create and use abstract classes (and, perhaps, methods). After this project, you will have gotten a good survey of object-oriented programming and its potential. This project won’t have a complete UI but will have a...

  • The purpose of this is to use inheritance, polymorphism, object comparison, sorting, reading binary files, and...

    The purpose of this is to use inheritance, polymorphism, object comparison, sorting, reading binary files, and writing binary files. In this application you will modify a previous project. The previous project created a hierarchy of classes modeling a company that produces and sells parts. Some of the parts were purchased and resold. These were modeled by the PurchasedPart class. Some of the parts were manufactured and sold. These were modeled by the ManufacturedPart class. In this you will add a...

  • Additional code needed: PartA: BurgerOrder class (1 point) Objective: Create a new class that represents an...

    Additional code needed: PartA: BurgerOrder class (1 point) Objective: Create a new class that represents an order at a fast-food burger joint. This class will be used in Part B, when we work with a list of orders. As vou work through this part and Part B, draw a UML diagram of each class in using the UML drawing tool 1) Create a new Lab5TestProject project in Netbeans, right-click on the lab5testproject package and select New>Java Class 2) Call your...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT