]> git.somenet.org - pub/jan/sbc.git/blob - src/main/java/at/ac/tuwien/sbc/valesriegler/group/actions/OrderResponse.java
JMS: pizzeriaGui now displays everything correctly.
[pub/jan/sbc.git] / src / main / java / at / ac / tuwien / sbc / valesriegler / group / actions / OrderResponse.java
1 package at.ac.tuwien.sbc.valesriegler.group.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.GroupData;
7
8 /**
9  * response to the group's interest in pizza.
10  * 
11  * @author jan
12  * 
13  */
14 public class OrderResponse extends AbstractAction implements Serializable {
15         private final int waiterId;
16
17         public OrderResponse(GroupData groupdata, int waiterId) {
18                 super(groupdata);
19                 this.waiterId = waiterId;
20         }
21
22         public int getWaiterId() {
23                 return waiterId;
24         }
25
26         @Override
27         public String toString() {
28                 return "OrderResponse [waiterId=" + waiterId + ", getGroupdata()=" + getGroupdata() + "]";
29         }
30
31 }