01: /* Event.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: May 30, 2007 1:44:23 PM, Created by henrichen
10: }}IS_NOTE
11:
12: Copyright (C) 2007 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.zkmob;
20:
21: /**
22: * Event to be sent back to ZK server.
23: * @author henrichen
24: *
25: */
26: public class Event {
27: private String _uuid;
28: private String _cmd;
29: private Object[] _data;
30:
31: private boolean _implicit;
32:
33: public Event(String uuid, String cmd, Object[] data) {
34: _uuid = uuid;
35: _cmd = cmd;
36: _data = data;
37: }
38:
39: public String getUuid() {
40: return _uuid;
41: }
42:
43: public String getCmd() {
44: return _cmd;
45: }
46:
47: public Object[] getData() {
48: return _data;
49: }
50:
51: public void setImplicit(boolean b) {
52: _implicit = b;
53: }
54:
55: public boolean isImplicit() {
56: return _implicit;
57: }
58: }
|