* <p>
* @return Employee's assigned basic company data
*/
- public BasicData getEmployeeCompany () {
+ public BasicData getEmployeeBasicData () {
return this.employeeBasicData;
}
* <p>
* @param employeeBasicData Employee's assigned basic company data
*/
- public void setEmployeeCompany (final BasicData employeeBasicData) {
+ public void setEmployeeBasicData (final BasicData employeeBasicData) {
this.employeeBasicData = employeeBasicData;
}
private void clear () {
// Clear all fields
this.setEmployeeBranchOffice(null);
- this.setEmployeeCompany(null);
+ this.setEmployeeBasicData(null);
this.setEmployeeDepartment(null);
this.setEmployeeEmailAddress(null);
this.setEmployeeHeadquarter(null);
*/
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());