From: Roland Häder Date: Sun, 25 Mar 2018 01:26:40 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1db0b108975a5a6a499c3282b170f1ec9b0888bf;p=jfinancials-war.git Please cherry-pick: - ops, didn't rename getter/setter for employeeBasicData Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/jfinancials/beans/business/employee/FinancialsAdminEmployeeWebRequestBean.java b/src/java/org/mxchange/jfinancials/beans/business/employee/FinancialsAdminEmployeeWebRequestBean.java index a463c3b9..07bc852c 100644 --- a/src/java/org/mxchange/jfinancials/beans/business/employee/FinancialsAdminEmployeeWebRequestBean.java +++ b/src/java/org/mxchange/jfinancials/beans/business/employee/FinancialsAdminEmployeeWebRequestBean.java @@ -200,7 +200,7 @@ public class FinancialsAdminEmployeeWebRequestBean extends BaseFinancialsBean im *

* @return Employee's assigned basic company data */ - public BasicData getEmployeeCompany () { + public BasicData getEmployeeBasicData () { return this.employeeBasicData; } @@ -209,7 +209,7 @@ public class FinancialsAdminEmployeeWebRequestBean extends BaseFinancialsBean im *

* @param employeeBasicData Employee's assigned basic company data */ - public void setEmployeeCompany (final BasicData employeeBasicData) { + public void setEmployeeBasicData (final BasicData employeeBasicData) { this.employeeBasicData = employeeBasicData; } @@ -381,7 +381,7 @@ public class FinancialsAdminEmployeeWebRequestBean extends BaseFinancialsBean im private void clear () { // Clear all fields this.setEmployeeBranchOffice(null); - this.setEmployeeCompany(null); + this.setEmployeeBasicData(null); this.setEmployeeDepartment(null); this.setEmployeeEmailAddress(null); this.setEmployeeHeadquarter(null); @@ -398,7 +398,7 @@ public class FinancialsAdminEmployeeWebRequestBean extends BaseFinancialsBean im */ private Employable createEmployee () { // Init instance - final Employable employee = new BusinessEmployee(this.getEmployeeCompany(), this.getEmployeeNumber(), this.getEmployeePersonalData()); + final Employable employee = new BusinessEmployee(this.getEmployeeBasicData(), this.getEmployeeNumber(), this.getEmployeePersonalData()); // Set all othewr data employee.setEmployeeBranchOffice(this.getEmployeeBranchOffice());