public boolean isSearchNameValid() {
   return search.isNameSet();
 }
 public void setSearchName(String val) {
   if (search.isNameSet()) {
     search.setName(val);
   }
 }