public class EmployeeManager { private EmployeeDao employeeDao; public EmployeeManager(EmployeeDao employeeDao) { this. employeeDao = employeeDao; } (省略)
public class EmployeeManager { private EmployeeDao employeeDao; public void setEmployeeDao(EmployeeDao employeeDao) { this. employeeDao = employeeDao; } (省略)
public class EmployeeManager { private EmployeeDao employeeDao; public void addDaoObject(EmployeeDao employeeDao) { this. employeeDao = employeeDao; } (省略)