if(employee.getActive().booleanValue()){
if(employee.getActive().booleanValue() && contract.equals(employee.getCurrentContract())){
    public List getWorkingEmployees(){                IUnit unit = this.getUnit();        List employees = new ArrayList();                if(unit != null){                                                   for(IContract contract : unit.getWorkingContracts()){                IEmployee employee = contract.getEmployee();                               if(employee.getActive().booleanValue()){                    employees.add(employee);}            }                                                for(IUnit subUnit : unit.getAssociatedUnits()){                for(IContract contract : subUnit.getWorkingContracts()){                    IEmployee employee = contract.getEmployee();                    if(employee.getActive().booleanValue()){                        employees.add(employee);                    }                }            }                                }                   return employees;    }