1 package at.ac.tuwien.sbc.valesriegler.types;
3 import java.io.Serializable;
6 * A table is a thing, where people can put things at. Possibly a laptop, to
7 * have free hands to hold a pizzabox on the knees.
12 public class Table implements Serializable {
13 private static int idNext = 0;
16 private int groupId = -1;
18 public Table(int id) {
30 public int getGroupId() {
34 public void setGroupId(int groupId) {
35 this.groupId = groupId;
38 public boolean isFree() {
45 public String toString() {
46 return "Table [id=" + id + "]";