]> git.somenet.org - pub/jan/sbc.git/blob - src/main/java/at/ac/tuwien/sbc/valesriegler/cook/actions/OrderInfo.java
cook pizza orders and let the waiters to deliver them.
[pub/jan/sbc.git] / src / main / java / at / ac / tuwien / sbc / valesriegler / cook / actions / OrderInfo.java
1 package at.ac.tuwien.sbc.valesriegler.cook.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 OrderInfo extends AbstractAction implements Serializable {
15         private final int cookId;
16
17         public OrderInfo(GroupData groupdata, int cookId) {
18                 super(groupdata);
19                 this.cookId = cookId;
20         }
21
22         public int getCookId() {
23                 return cookId;
24         }
25
26         @Override
27         public String toString() {
28                 return "OrderInfo [cookId=" + cookId + "]";
29         }
30
31 }