public void setSearchNameValid(boolean val) {
   if (val) {
     search.setName(search.getName());
   } else {
     search.unsetName();
   }
 }
 public String getSearchName() {
   return search.getName();
 }