]> git.somenet.org - pub/jan/sbc.git/blob - src/main/java/at/ac/tuwien/sbc/valesriegler/pizzeria/actions/TableNew.java
added some not really helpful class descriptions + removed types that got duplicated...
[pub/jan/sbc.git] / src / main / java / at / ac / tuwien / sbc / valesriegler / pizzeria / actions / TableNew.java
1 package at.ac.tuwien.sbc.valesriegler.pizzeria.actions;
2
3 import java.io.Serializable;
4
5 import at.ac.tuwien.sbc.valesriegler.common.AbstractAction;
6 import at.ac.tuwien.sbc.valesriegler.types.Table;
7
8 /**
9  * Indicate the creation of a new table.
10  * 
11  * @author jan
12  * 
13  */
14 public class TableNew extends AbstractAction implements Serializable {
15         private final Table table;
16
17         public TableNew(Table table) {
18                 super(null);
19                 this.table = table;
20         }
21
22         public Table getTable() {
23                 return table;
24         }
25
26         @Override
27         public String toString() {
28                 return "TableNew [table=" + table + "]";
29         }
30
31 }