public boolean isSearchDepartmentIdValid() {
   return search.isDepartmentIdSet();
 }
 public void setSearchDepartmentId(Integer val) {
   if (search.isDepartmentIdSet()) {
     search.setDepartmentId(val);
   }
 }