public void setSearchCostValid(boolean val) {
   if (val) {
     search.setCost(search.getCost());
   } else {
     search.unsetCost();
   }
 }
 public String getSearchCost() {
   return search.getCost();
 }