public void setSearchDepartmentIdValid(boolean val) {
   if (val) {
     search.setDepartmentId(search.getDepartmentId());
   } else {
     search.unsetDepartmentId();
   }
 }
 public void setSearchDepartmentId(Integer val) {
   if (search.isDepartmentIdSet()) {
     search.setDepartmentId(val);
   }
 }