Design a payroll system, JAVA Programming

Assignment Help:

For your project, you will be designing a payroll system for a company. The company will use the system to generate payroll reports based on different kinds of employees in the company.

Accordingly, your system will be built upon a series of classes, all diagrammed in the accompanying UML structure. The first class is an abstract class Employee which has the following attributes:

·         firstName - Stores the first name of the employee
·         lastName - Stores the last name of the employee
·         id - Stores a unique individual identification number for the employee

The Employee class also has the following behaviors:

·         getFirstName() - Returns the first name of the employee
·         getLastName() - Returns the last name of the employee
·         getID() - Returns the identification number of the employee
·         toString() - Formats and returns the employee's personal information
·         getDepartment() - Returns the employee's department as a string (used in subclass toString() implementations)
·         currentPay() - Returns the employee's current pay for the current pay cycle, based on how they are paid

All subclasses of the Employee class are to override the toString() method to individualize the output for the specific type of the employee.

All salaried employees are paid a base salary that is dispensed annually depending on the number of pay cycles. For example, if an employee makes $24,000 annually and is paid in 12 cycles, then their pay per cycle is $2,000. All CEO employees are salaried, and work in the Executive department. 

           All floor staff employees are paid a percentage of their sales based on a commission percentage per cycle. For example, if an employee makes $75,000 in sales and is paid 4.5% commission, then they earn $3,375 this pay cycle. All floor staff employees are commissioned, and work in the Sales department. 

           All help desk employees are paid per cycle based on an hourly rate for each hour worked. For example, if an employee earns $42.50 per hour and works 28 hours, then they earn $1,190 this pay cycle. All help desk employees are hourly, and work in the Support department. 

           You are responsible for creating and implementing all interfaces and implementing classes. They are to function as necessary within the general structure of the larger program, and are to be Employee types, as well. 

           The final class which you will write is a basic driver class. The output must correspond to the given screenshots. Your driver must accept user input in accordance with the screenshots provided. It must also provide the specific output provided in the screenshots.


Related Discussions:- Design a payroll system

Develop tennis draw software, Project Description: We need to develop so...

Project Description: We need to develop software that has a database of players with the ability to delete and add players at will, once captured there can be a draw to set them

What is actionform, An ActionForm is a JavaBean that extends org.apache.str...

An ActionForm is a JavaBean that extends org.apache.struts.action.ActionForm.  ActionForm handles the session state for web application and the ActionForm object is automatically p

Gps and gprs fleet management system, GPS and GPRS fleet management system ...

GPS and GPRS fleet management system Project Description: I want to develop fleet management system Skills required: HTML, PHP, Java, Website Design

Develop an employee application, Employee application Project Descriptio...

Employee application Project Description: Subsequent Technology should be used 1) UI (jsp, jstl ,html, etc) 2) Framework (Spring MVC and hibernate) 3) Database (MYSQ

43560 square feet., calculate the size of the tract of land by the size of ...

calculate the size of the tract of land by the size of an acre to get the number of acres.

Explain what is fontmetrics in java, Explain what is FontMetrics in Java? ...

Explain what is FontMetrics in Java? No word wrapping is completed when you draw a string in an applet, even if you embed newlines in the string along with \n. If you expect th

Explain nested classes (or outer and inner classes) in java?, In Java not a...

In Java not all classes must be described separate from each other. You may put the definition of one class under the definition of another class. The class inside class is called

Simon game project, i''m trying to make a code to make the simon says game ...

i''m trying to make a code to make the simon says game and i can''t figure it outt

Need an engineer for flex reporting tool, Need an engineer who has knowledg...

Need an engineer who has knowledge working on Flex Reporting tool. Who knows how data needs to be taken care of from DB, SharePoint, ERP and then process using logic/intelligence u

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd