- don't copy fields from current (old data) to new instance (updated data)
return ""; //NOI18N
}
- // Copy all fields
- BranchOffices.copyBranchOfficeData(this.getCurrentBranchOffice(), branchOffice);
-
// Initialize updated instance
final BranchOffice updatedBranchOffice;
department.setDepartmentBranchOffice(this.getDepartmentBranchOffice());
department.setDepartmentHeadquarter(this.getDepartmentHeadquarter());
department.setDepartmentId(this.getDepartmentId());
- System.out.println("this.departmentLead=" + this.getDepartmentLead());
department.setDepartmentLead(this.getDepartmentLead());
department.setDepartmentUserOwner(this.getDepartmentUserOwner());