Package dataModel
Class Chef
- java.lang.Object
-
- dataModel.Employee
-
- dataModel.Chef
-
public class Chef extends Employee
Chef
Class responsible for handling the information about a chef.- Since:
- 2017-07-22
- Version:
- 1.0
-
-
Method Summary
Modifier and Type Method Description double
computeSalary()
Computes the salary of the chef-
Methods inherited from class dataModel.Employee
addOrder, computeEmpStats, getEvaluation, getName, getNumberOfOrders, getSalary, getShortReport
-
-
-
-
Method Detail
-
computeSalary
public double computeSalary()
Computes the salary of the chef- Specified by:
computeSalary
in classEmployee
- Returns:
- the salary of the chef
-
-