if (departmentUnit == null && getDepartmentUnitID() != null && !getDepartmentUnitID().equals(0)) { departmentUnit = (IUnit) readDomainObject(Unit.class, getDepartmentUnitID());
if (getDepartmentUnitID() != null && !getDepartmentUnitID().equals(0)) { return  (IUnit) readDomainObject(Unit.class, getDepartmentUnitID());
    public IUnit getDepartmentUnit() throws FenixFilterException, FenixServiceException {       if (departmentUnit == null && getDepartmentUnitID() != null && !getDepartmentUnitID().equals(0)) {           departmentUnit = (IUnit) readDomainObject(Unit.class, getDepartmentUnitID());       }       return departmentUnit;    }