]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sun, 25 Mar 2018 01:26:40 +0000 (03:26 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 25 Mar 2018 01:26:40 +0000 (03:26 +0200)
- ops, didn't rename getter/setter for employeeBasicData

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/beans/business/employee/FinancialsAdminEmployeeWebRequestBean.java

index a463c3b958bdc5f3b985cb8f73b18fd67a4c5a39..07bc852cd1dcb6fbbcee533d5c4daf79be010150 100644 (file)
@@ -200,7 +200,7 @@ public class FinancialsAdminEmployeeWebRequestBean extends BaseFinancialsBean im
         * <p>
         * @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
         * <p>
         * @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());