public SimpleStringProperty GetSSPOrderedMeals() { sspOrderedMeals.set(""); String hilf = new String(""); for (MealAndQuantity maq : orderedMeals) { hilf = hilf + maq.quantity + "X " + maq.meal.getMealName().get() + "\n"; } sspOrderedMeals.set(hilf); return sspOrderedMeals; }
public SimpleStringProperty GetSSPPrice() { price = 0; for (MealAndQuantity maq : orderedMeals) { price = price + maq.meal.getMealPriceAsDouble() * maq.quantity; } sspPrice.set(Double.toString(price)); return sspPrice; }
public void setTelf(String telf) { telefono.set(telf); }
public void setNombre(String fName) { nombre.set(fName); }
public void setPaymentMethod(String pPaymentMethod) { mPaymentMethod.set(pPaymentMethod); }
public void setVendor(String pVendor) { mVendor.set(pVendor); }
public void setAmount(String pAmount) { mAmount.set(pAmount); }
public void setDesc(String desc) { description.set(desc); }
public void setDate(String pDate) { mDate.set(pDate); }
public void setNom(String Lnom) { nom.set(Lnom); }
public void setImage(String imagepath) { image.set(imagepath); }
public void setDate(String d) { date.set(d); }
public void runNussinov() { nussinov = new Nussinov(sequence.get()); int nussinovScore = nussinov.apply(); // TODO maybe give the score out dotBracket.set(nussinov.getBracketNotation()); }
public void setAños(String años) { años1.set(años); }