A E H I N P S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addHours(double) - Method in class HourlyEmployee
-
Add the appropriate hours to their time card
E
H
- HourlyEmployee - Class in <Unnamed>
-
A representation of an hourly employee, which will keep track of their hours in order to be able to calcuate their current expected pay
- HourlyEmployee(String, String, int, double) - Constructor for class HourlyEmployee
-
Create an Hourly Employee with the following infomation and setting the shift to "day"
- HourlyEmployee(String, String, int, double, String) - Constructor for class HourlyEmployee
-
Create an Hourly Employee with the following infomation
I
- IDNum - Variable in class HourlyEmployee
-
Their Employee ID number
N
- name - Variable in class HourlyEmployee
-
The name by which the person will be represented
P
- PartTimeEmployee - Class in <Unnamed>
- PartTimeEmployee(String, int) - Constructor for class PartTimeEmployee
-
Create a new part time empolyee, which is mostly an HourlyEmployee working the part time shift at partTime wages
- partTimeWage - Static variable in class PartTimeEmployee
-
Public variable to keep the default starting part time wage of 10
- pay(double) - Method in interface Employee
-
Calculate the current pay expected for the employee
- pay(double) - Method in class HourlyEmployee
-
Process the hours that they have worked, returning the pay amount ((Hours worked * rate) * (1 - tax rate)) and resetting the hours to zero
- pay(double) - Method in class SalariedEmployee
-
Process the pay, returning the final amount (salary * (1 - tax rate)*)
S
- SalariedEmployee - Class in <Unnamed>
-
A representation of a salaried employee, who is paid a fixed amount every pay period
- SalariedEmployee(String, String, int, double) - Constructor for class SalariedEmployee
-
All salaried employees have name, title, id and current pay period salary
- setShift(String) - Method in class HourlyEmployee
-
Set their work shift
T
- title - Variable in class HourlyEmployee
-
Their job title or description
- toString() - Method in interface Employee
-
Returns the string representation of an employee
- toString() - Method in class HourlyEmployee
-
How to display the employee
- toString() - Method in class SalariedEmployee
-
Return the string value as title + name
All Classes All Packages