return this.getDepartment();
return this;
    public Department getDepartmentUnit(){        List<Unit> parentUnits = this.getParentUnits();        if (!parentUnits.isEmpty()) {            for (Unit parentUnit : parentUnits) {                if (unitDepartment(parentUnit)) {                    return parentUnit.getDepartment();                } else if (parentUnit.hasAnyParentUnits()) {                    Department department = parentUnit.getDepartmentUnit();                    if (department != null) {                        return department;                    }                }            }        } else if (unitDepartment(this)) {            return this.getDepartment();        }        return null;            }