Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a. Create subclasses to extend Employee. The employee type may be distinguished further based on the job type (SECRETARY, ENGINEER, MANAGER, and TECHNICIAN) and based

a. Create subclasses to extend Employee. The employee type may be distinguished further based on the job type (SECRETARY, ENGINEER, MANAGER, and TECHNICIAN) and based on the method of pay (SALARIED_EMPLOYEE, HOURLY_EMPLOYEE)

SECRETARY entity type has the specific attribute Typing_speed, whereas the ENGINEER entity type has the specific attribute Eng_type, but SECRETARY and ENGINEER share their other inherited attributes from the EMPLOYEE entity type.

SALARIED_EMPLOYEE entity type has the specific attribute Salary, whereas the HOURLY_EMPLOYEES entity type has the specific attribute Pay_scale.

Now explain the superclass and subclasses that you have just created.

Explain the disjointness and completeness constraints you have made while creating the specialization in question a.

image text in transcribed

File Edit View Layers Objects Select Iools Input Methods Help

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

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions