Cook book written in Java
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

21 lines
405 B

package db;
import java.util.List;
import ksiazka.kucharska.CB_View;
public class SearchRecipeNameTag extends SearchRecipe {
public SearchRecipeNameTag(CB_View v) {
super(v);
}
public List<String> obtainRecipeNames() {
Cookbook myCb = new Cookbook();
List<String> names = myCb.obtainSearchedNames(tV.getSearchValue(), tV.getSearchValue());
myCb.closeConnection();
return names;
}
}