1 package at.ac.tuwien.sbc.valesriegler.group.actions;
3 import java.io.Serializable;
5 import at.ac.tuwien.sbc.valesriegler.common.AbstractAction;
6 import at.ac.tuwien.sbc.valesriegler.types.GroupData;
7 import at.ac.tuwien.sbc.valesriegler.types.Table;
10 * Response to the wish of getting a table to sitdown.
15 public class TableResponse extends AbstractAction implements Serializable {
16 private final Table table;
17 private final int waiterId;
19 public TableResponse(GroupData groupdata, Table table, int waiterId) {
22 this.waiterId = waiterId;
25 public Table getTable() {
29 public int getWaiterId() {
34 public String toString() {
35 return "TableResponse [table=" + table + ", waiterId=" + waiterId + "]";