1 package at.ac.tuwien.sbc.valesriegler.types;
3 import java.io.Serializable;
5 import at.ac.tuwien.sbc.valesriegler.common.HasId;
9 * A table is a thing, where people can put things at. Possibly a laptop, to
10 * have free hands to hold a pizzabox on the knees.
15 public class Table implements Serializable, HasId {
16 private static int idNext = 0;
19 private int groupId = -1;
21 public Table(int id) {
33 public int getGroupId() {
37 public void setGroupId(int groupId) {
38 this.groupId = groupId;
41 public boolean isFree() {
48 public String toString() {
49 return "Table [id=" + id + "]";