private FormDeletion getFormData(FormDeletion form) { form.setDeletionDate(inputDeletionDate.getValue()); form.setInformation(information.getValue()); form.setQuantity(inputGoodsQuantity.getValue()); form.setIdGoods((String) inputGoodsSelect.getValue()); form.setDeletionId(this.deletionId); form.setPrice(inputGoodsPrice.getValue()); return form; }
@Override public FormDeletion getFormData() { FormDeletion form = new FormDeletion(function); form.setDeletionDate(inputDeletionDate.getValue()); form.setInformation(information.getValue()); form.setQuantity(inputGoodsQuantity.getValue()); form.setIdGoods((String) inputGoodsSelect.getValue()); form.setDeletionId(this.deletionId); form.setPrice(inputGoodsPrice.getValue()); return form; }