blob: e876d804c2d11c936d8f76ed0ff900ccd4cd525d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
package org.uscxml.datamodel.ecmascript;
import org.mozilla.javascript.ScriptableObject;
import org.mozilla.javascript.annotations.JSConstructor;
import org.mozilla.javascript.annotations.JSGetter;
import org.uscxml.Data;
import org.uscxml.DataMap;
import org.uscxml.Event;
import org.uscxml.Event.Type;
public class ECMAEvent {
private Event event;
private static final long serialVersionUID = -5241020609349204355L;
public ECMAEvent(Event event) {
this.event = event;
}
public String getName() {
return event.getName();
}
public Type getEventType() {
return event.getEventType();
}
public String getOrigin() {
return event.getOrigin();
}
public String getOriginType() {
return event.getOriginType();
}
public String getContent() {
return event.getContent();
}
public String getXML() {
return event.getXML();
}
public String getSendId() {
return event.getSendId();
}
public String getInvokeId() {
return event.getInvokeId();
}
public Data getData() {
return new Data(event.getData());
}
public DataMap getNameList() {
return event.getNameList();
}
/*
@JSGetter
public SWIGTYPE_p_std__multimapT_std__string_uscxml__Data_t getParams() {
// TODO Auto-generated method stub
return super.getParams();
}
*/
}
|